/* =========================================================
   KAIZEN ONLINE : THEME v3
   Chargé en DERNIER sur toutes les pages (après kaizen.css).
   1. Tokens & échelle 2K / 4K
   2. Base (scroll, typo, utilitaires)
   3. Navbar (+ bouton PLAY)
   4. Boutons & icônes
   5. Hero d'accueil (zoom, flou, vague violette)
   6. Sections de l'accueil
   7. Configuration requise
   8. Page PLAY
   9. Footer
  10. Pages internes : passage en rem (grands écrans)
  11. Animations d'apparition / accessibilité
   ========================================================= */

/* =========================================================
   1. TOKENS & ECHELLE
   ========================================================= */
:root {
  /* couleurs du logo : violet "KAIZEN" + rouge "ONLINE" */
  --k-purple:      #8b3dff;
  --k-purple-2:    #5a12d6;
  --k-purple-3:    #b98cff;
  --k-purple-soft: rgba(139, 61, 255, 0.14);
  --k-purple-line: rgba(139, 61, 255, 0.42);
  --k-accent:      #e94f4f;
  --k-accent-2:    #b92c2c;
  --k-bg:          #14161f;
  --k-bg-alt:      #191b22;
  --k-bg-deep:     #0e0f15;
  --k-card:        linear-gradient(170deg, rgba(34, 34, 50, 0.92), rgba(18, 18, 28, 0.96));
  --k-brand-grad:  linear-gradient(90deg, var(--k-purple) 0%, #b44bff 45%, var(--k-accent) 100%);
  --k-ease:        cubic-bezier(.2, .7, .2, 1);
}

/* Toute l'interface est en rem : on agrandit la racine sur les grands
   ecrans pour que le site garde les memes proportions qu'en 1080p.
   1920px -> 16px | 2560px (2K) -> 20px | 3840px (4K) -> 30px        */
html { font-size: 100%; }
@media (min-width: 2048px) {
  html { font-size: clamp(16px, calc(100vw / 128), 30px); }
}

/* =========================================================
   2. BASE
   ========================================================= */
/* Un seul conteneur de defilement : la fenetre (le body ne doit pas
   devenir scrollable, sinon ancres / parallax / scrollTo cassent). */
html {
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
html, body { max-width: 100%; }
body {
  overflow-x: clip !important;
  overflow-y: visible !important;
  background: var(--k-bg);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

:focus-visible { outline: 2px solid var(--k-purple-3); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(139, 61, 255, 0.45); color: #fff; }
::-webkit-scrollbar-thumb:hover { background: var(--k-purple-2); }

.kz-ico { width: 1.1em; height: 1.1em; flex-shrink: 0; display: inline-block; vertical-align: -0.15em; }

/* Kickers et tags : violet du logo (le rouge reste pour les actions) */
.section-kicker {
  border-color: var(--k-purple-line);
  background: var(--k-purple-soft);
  color: var(--k-purple-3);
  font-size: 0.75rem;
  padding: 0.38rem 1rem;
  box-shadow: 0 0 1.4rem rgba(139, 61, 255, 0.18);
}
.power-tag { color: var(--k-purple-3); }
.section-heading { font-size: clamp(1.9rem, 1.2rem + 1.6vw, 2.75rem); }
.section-head { max-width: 47rem; margin-bottom: 3.2rem; }
.section-sub { font-size: 1.05rem; }

/* =========================================================
   3. NAVBAR
   ========================================================= */
.navbar-v2 .navbar-content {
  width: min(74rem, calc(100% - 2rem));
  max-width: min(74rem, 100%);
  margin-top: 1rem;
  padding: 0.4rem 0.45rem 0.4rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(139, 61, 255, 0.28);
  background: rgba(14, 13, 24, 0.72);
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.navbar-v2.is-scrolled .navbar-content {
  background: rgba(12, 11, 20, 0.9);
  border-color: rgba(139, 61, 255, 0.4);
}
.nav-brand { padding-right: 0.8rem; }
.nav-brand img { height: 1.95rem; }
.navbar-v2 .navbar-nav { gap: 0.15rem; }
.navbar-v2 .navbar-nav .nav-link {
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.5rem;
  letter-spacing: 0.05em;
}
.navbar-v2 .navbar-nav .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 -2px 0 var(--k-purple-3);
}

/* Bloc gauche : logo + bouton PLAY (toujours tout a gauche) */
.nav-left { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.nav-left .nav-brand { border-right: 1px solid var(--k-border); }

.navbar-v2 .nav-link.nav-play,
.mobile-nav .nav-link.nav-play {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  text-decoration: none;
  font-family: 'Gabarito', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, rgba(139, 61, 255, 0.45), rgba(90, 18, 214, 0.35));
  border: 1px solid rgba(185, 140, 255, 0.5);
  box-shadow: 0 0 1.2rem rgba(139, 61, 255, 0.3);
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.navbar-v2 .nav-left .nav-link.nav-play {
  height: 2.4rem;
  padding: 0 1.05rem;
  border-radius: 0.6rem;
  font-size: 0.92rem;
}
.navbar-v2 .nav-link.nav-play .kz-ico { width: 0.8em; height: 0.8em; color: var(--k-purple-3); }
.navbar-v2 .nav-link.nav-play:hover,
.navbar-v2 .nav-link.nav-play.active {
  background: linear-gradient(180deg, #9b52ff, var(--k-purple-2));
  box-shadow: 0 0 1.6rem rgba(139, 61, 255, 0.6);
  transform: translateY(-1px);
}
.navbar-v2 .nav-link.nav-play:hover .kz-ico,
.navbar-v2 .nav-link.nav-play.active .kz-ico { color: #fff; }

.icon-btn { width: 2.4rem; height: 2.4rem; border-radius: 0.6rem; }
.discord-btn { border-radius: 0.6rem; }
.discord-btn svg { width: 1.5rem; height: 1.5rem; padding: 0.25rem; border-radius: 0.45rem; }
.nav-cta { height: 2.4rem; padding: 0 1.2rem; border-radius: 0.6rem; font-size: 0.92rem; gap: 0.45rem; }
.nav-cta .kz-ico { width: 1em; height: 1em; }

@media (max-width: 1280px) {
  .navbar-v2 .navbar-nav .nav-link { padding: 0.45rem 0.6rem; font-size: 0.85rem; }
}
@media (max-width: 1100px) {
  .navbar-v2 .navbar-nav { display: none; }
  .navbar-v2 .burger {
    display: flex;
    width: 34px; height: 34px;
    flex-shrink: 0;
    border: 1px solid var(--k-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
  }
  .navbar-v2 .burger span { width: 15px; height: 2px; margin: 2px 0; }
  .navbar-v2 .burger.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .navbar-v2 .burger.open span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .navbar-actions { margin-left: auto; }
}
@media (max-width: 900px) {
  .nav-left { gap: 0.45rem; }
  .nav-left .nav-brand { border-right: 0; padding-right: 0; margin-right: 0; }
  .navbar-v2 .nav-left .nav-link.nav-play { height: 34px; padding: 0 0.75rem; font-size: 0.75rem; border-radius: 9px; }
}
@media (max-width: 900px) {
  .navbar-v2 .navbar-content { width: 100%; max-width: 100%; margin-top: 0.7rem; }
  .icon-btn { width: 34px; height: 34px; }
  .nav-cta { height: 34px; padding: 0 0.8rem; font-size: 0.75rem; }
}
@media (max-width: 400px) {
  .nav-cta { font-size: 0; padding: 0 0.6rem; }
  .nav-cta .kz-ico { width: 18px; height: 18px; }
}
.mobile-nav { background: radial-gradient(80% 60% at 50% 30%, rgba(90, 18, 214, 0.25), transparent 70%), rgba(10, 9, 18, 0.97); }
.mobile-nav .nav-link.active { background: rgba(139, 61, 255, 0.2); color: #fff; }
.mobile-nav .nav-link.nav-play { margin: 0.3rem 0; }
.mobile-nav .nav-link.nav-play .kz-ico { width: 0.8em; height: 0.8em; }

/* =========================================================
   4. BOUTONS
   ========================================================= */
.kz-btn {
  position: relative;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 3.25rem;
  padding: 0 1.5rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-family: 'Gabarito', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: transform .2s var(--k-ease), box-shadow .2s ease, background .2s ease, border-color .2s ease, filter .2s ease;
}
.kz-btn:hover { transform: translateY(-2px); }
.kz-btn:active { transform: translateY(0); }
.kz-btn .kz-ico { width: 1.15em; height: 1.15em; }

.kz-btn-red {
  background: linear-gradient(180deg, #f26a6a 0%, var(--k-accent) 45%, var(--k-accent-2) 100%);
  box-shadow: 0 0.5rem 1.4rem rgba(185, 44, 44, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.kz-btn-red:hover { box-shadow: 0 0.7rem 1.8rem rgba(233, 79, 79, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4); }

.kz-btn-purple {
  background: linear-gradient(180deg, #a466ff 0%, var(--k-purple) 45%, var(--k-purple-2) 100%);
  box-shadow: 0 0.5rem 1.4rem rgba(90, 18, 214, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.kz-btn-purple:hover { box-shadow: 0 0.7rem 1.9rem rgba(139, 61, 255, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35); }

.kz-btn-glass {
  background: rgba(14, 12, 24, 0.55);
  border-color: rgba(185, 140, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.kz-btn-glass:hover { background: rgba(139, 61, 255, 0.25); border-color: var(--k-purple-3); }

.kz-btn-discord { background: #5865f2; box-shadow: 0 0.5rem 1.4rem rgba(88, 101, 242, 0.35); }
.kz-btn-discord:hover { background: #4a56e0; box-shadow: 0 0.7rem 1.8rem rgba(88, 101, 242, 0.5); }

/* reflet qui traverse au survol */
.kz-btn-red::after, .kz-btn-purple::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
  pointer-events: none;
}
.kz-btn-red:hover::after, .kz-btn-purple:hover::after { left: 130%; }

/* Les anciens boutons rouges : emoji remplace par une icone */
.btn-red .kz-ico, .btn-ghost .kz-ico { width: 1.05em; height: 1.05em; }

/* =========================================================
   5. HERO D'ACCUEIL
   ========================================================= */
.kz-hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7.5rem 1.5rem 11rem;
  box-sizing: border-box;
  overflow: hidden;
  text-align: center;
  background: #0b0a12;
}

/* Fond : image floutee + zoom lent (Ken Burns) + parallax JS */
.kz-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  will-change: transform;
}
.kz-hero-bg-img {
  position: absolute;
  inset: -3%;
  /* flou + couleurs deja "cuits" dans l'image : aucun filtre CSS a recalculer (perf Chrome) */
  background: #0b0a12 url('../img/bg-hero.webp') center 40% / cover no-repeat;
  transform: translateZ(0);
}

/* Lumiere : vignette + halo violet derriere le logo + fondu bas */
.kz-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(42% 38% at 50% 40%, rgba(139, 61, 255, 0.22), transparent 70%),
    radial-gradient(120% 90% at 50% 45%, transparent 45%, rgba(6, 5, 12, 0.72) 100%),
    linear-gradient(180deg, rgba(6, 5, 12, 0.55) 0%, rgba(6, 5, 12, 0.08) 30%, rgba(6, 5, 12, 0.18) 62%, rgba(20, 14, 38, 0.85) 100%);
}

.kz-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 62rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kz-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(185, 140, 255, 0.32);
  background: rgba(12, 10, 22, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e6dcff;
  font-family: 'Gabarito', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.kz-eyebrow .sep { opacity: 0.45; }
.kz-live-dot {
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: #3ad07f;
  box-shadow: 0 0 0.6rem rgba(58, 208, 127, 0.9);
  animation: kzPulse 1.8s ease-in-out infinite;
}
@keyframes kzPulse { 50% { opacity: 0.35; } }

/* Logo : ombre portee + aura violette */
.kz-hero-title { margin: 1.4rem 0 0.4rem; line-height: 0; }
/* L'ombre et l'aura sont "cuites" dans logo-hero.webp (marge de 16 % autour du logo) :
   aucun filtre CSS a recalculer, meme sur un ecran 240 Hz. */
.kz-hero-title { --lw: min(29rem, 76vw, 42vh); }
.kz-hero-logo {
  display: block;
  width: calc(var(--lw) * 1.32);
  max-width: none;
  height: auto;
  margin: calc(var(--lw) * -0.16);
  animation: kzFloat 7s ease-in-out infinite;
  will-change: transform;
}
@keyframes kzFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-0.6rem); }
}

.kz-hero-tagline {
  max-width: 46rem;
  margin: 0.6rem auto 0;
  color: #e9e6f5;
  font-size: 1.18rem;
  line-height: 1.65;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
  text-wrap: balance;
}
.kz-hero-tagline strong { color: #fff; }
.kz-hero-tagline span { display: block; }
.kz-hero-tagline .line-1 { color: #fff; font-weight: 600; font-size: 1.12em; }
.kz-hero-tagline .line-2 { margin-top: 0.2rem; }

.kz-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2.1rem;
}

/* Bouton IP : libelle + IP + joueurs en ligne */
.kz-ip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  height: 3.6rem;
  padding: 0 1.1rem 0 1.25rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, #f26a6a 0%, var(--k-accent) 45%, var(--k-accent-2) 100%);
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 0.6rem 1.8rem rgba(185, 44, 44, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform .2s var(--k-ease), box-shadow .2s ease;
  font-family: 'Gabarito', system-ui, sans-serif;
}
.kz-ip:hover { transform: translateY(-2px); box-shadow: 0 0.8rem 2.2rem rgba(233, 79, 79, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.kz-ip::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.kz-ip:hover::after { left: 130%; }
.kz-ip > .kz-ico { width: 1.3rem; height: 1.3rem; opacity: 0.95; }
.kz-ip-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; text-align: left; }
.kz-ip-text small {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}
.kz-ip-text span {
  min-width: 15.5ch;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.kz-ip-online {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 1.9rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(10, 8, 16, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.kz-ip-online[hidden] { display: none; }
.kz-ip.copied { animation: kzCopied .5s ease; }
@keyframes kzCopied { 50% { transform: scale(1.04); } }

.kz-hero .kz-btn { height: 3.6rem; }

/* Petits arguments sous les boutons */
.kz-hero-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}
.kz-hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: 0.7rem;
  background: rgba(12, 10, 22, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #cfd3df;
  font-size: 0.88rem;
}
.kz-hero-facts .kz-ico { color: var(--k-purple-3); width: 1.05rem; height: 1.05rem; }
.kz-hero-facts strong { color: #fff; font-weight: 700; }

/* Indicateur de scroll (au-dessus de la decoupe) */
.kz-scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(5.5rem, 8.5vw, 10rem);
  z-index: 6;
  width: 1.5rem;
  height: 2.4rem;
  margin-left: -0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 0.4rem;
  box-sizing: border-box;
  opacity: 0.8;
  transition: opacity .2s ease, border-color .2s ease;
}
.kz-scroll::before {
  content: '';
  width: 3px; height: 0.5rem;
  border-radius: 999px;
  background: #fff;
  animation: scrollDot 1.6s ease-in-out infinite;
}
.kz-scroll:hover { opacity: 1; border-color: var(--k-purple-3); }

/* Decoupe en bas du hero : plus haute + 3 couches violettes */
.kz-hero-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 5;
  height: clamp(80px, 8.5vw, 13rem);
  line-height: 0;
  pointer-events: none;
}
.kz-hero-divider svg { display: block; width: 100%; height: 100%; }
.kz-hero-divider .l2 { fill: var(--k-purple-2); opacity: 0.55; }
.kz-hero-divider .l3 { fill: var(--k-bg-alt); }
.kz-hero-divider .edge {
  fill: none;
  stroke: var(--k-purple-3);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  opacity: 0.85;
  filter: drop-shadow(0 0 6px rgba(139, 61, 255, 0.9));
}

/* =========================================================
   6. SECTIONS DE L'ACCUEIL
   ========================================================= */
.section-wrapper { padding: 5.5rem 0; }
.kz-home .section-wrapper.alt-bg { background: var(--k-bg-alt); }
#features { padding-top: 3.5rem; }

/* fond qui prolonge la vague */
.kz-home #features {
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(139, 61, 255, 0.12), transparent 70%),
    var(--k-bg-alt);
  border-top: 0;
}

.powers-section { max-width: 76rem; padding: 0 1.5rem; }
.powers-grid { gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); }
.power-card { border-radius: 1.1rem; }
.power-card::before { background: radial-gradient(120% 80% at 50% 0%, rgba(139, 61, 255, 0.22), transparent 60%); }
.power-card:hover { border-color: var(--k-purple-line); }
.power-media { height: 13.5rem; }
.power-body { padding: 0 1.6rem 1.7rem; }
.power-body h3 { font-size: 1.5rem; }
.power-link .arrow { color: var(--k-purple-3); }

.testimonial { max-width: 56rem; border-left-color: var(--k-purple); border-radius: 1rem; padding: 1.7rem 1.9rem; }
.testimonial-avatar { width: 4rem; height: 4rem; border-color: var(--k-purple-line); }

/* Trailer */
.trailer-v2 { padding: 5.5rem 1.5rem; }
.trailer-wrap { max-width: 60rem; }
.trailer-frame { border-radius: 1.1rem; border-color: rgba(139, 61, 255, 0.25); box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.55), 0 0 4rem rgba(139, 61, 255, 0.12); }
.trailer-sound { gap: 0.5rem; }
.trailer-sound .kz-ico { width: 1.05rem; height: 1.05rem; }
.trailer-sound .kz-ico-on { display: none; }
.trailer-sound.is-on .kz-ico-on { display: inline-block; }
.trailer-sound.is-on .kz-ico-off { display: none; }

/* Partenaires */
.partners-v2 { max-width: 67.5rem; }
.partner-featured { border-radius: 1.1rem; padding: 2.2rem; gap: 2.5rem; }
.partner-logo { width: 9.5rem; height: 9.5rem; border-radius: 1.1rem; }
.partner-role { color: var(--k-purple-3); border-color: var(--k-purple-line); background: var(--k-purple-soft); }
.partner-cta:hover { border-color: var(--k-purple); background: rgba(139, 61, 255, 0.08); }
.partner-cta .arrow { color: var(--k-purple-3); }

/* CTA final */
.final-cta {
  padding: 6rem 1.5rem 6.5rem;
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(139, 61, 255, 0.2), transparent 70%),
    linear-gradient(180deg, #100e1a 0%, #16141f 100%);
  border-top: 1px solid rgba(139, 61, 255, 0.3);
}
.final-cta::before {
  background: linear-gradient(90deg, transparent, var(--k-purple), var(--k-accent), transparent);
  box-shadow: 0 0 22px rgba(139, 61, 255, 0.8);
}
.final-cta-inner { max-width: 48rem; }
.final-cta-actions { gap: 0.8rem; margin-top: 2.2rem; }
.final-cta-char { width: clamp(190px, 22vw, 26rem); }

/* =========================================================
   7. CONFIGURATION REQUISE
   ========================================================= */
.kz-req { position: relative; padding: 6rem 1.5rem; background: var(--k-bg); overflow: hidden; }
.kz-req::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 50% at 10% 20%, rgba(139, 61, 255, 0.1), transparent 70%),
    radial-gradient(35% 45% at 90% 80%, rgba(233, 79, 79, 0.07), transparent 70%);
}
.kz-req-wrap { position: relative; max-width: 76rem; margin: 0 auto; }

/* bandeau "ce qu'il te faut" */
.kz-req-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0 0 2.4rem;
  padding: 0;
  list-style: none;
}
.kz-req-chips li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.kz-req-chips .chip-ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.7rem;
  background: var(--k-purple-soft);
  border: 1px solid var(--k-purple-line);
  color: var(--k-purple-3);
}
.kz-req-chips .chip-ico .kz-ico { width: 1.25rem; height: 1.25rem; }
.kz-req-chips strong { display: block; color: #fff; font-family: 'Gabarito', sans-serif; font-size: 1.02rem; }
.kz-req-chips span { display: block; color: var(--k-muted); font-size: 0.82rem; margin-top: 0.1rem; }

/* 3 colonnes de configuration */
.kz-req-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}
.kz-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1.1rem;
  background: var(--k-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: transform .25s var(--k-ease), border-color .25s ease, box-shadow .25s ease;
}
.kz-tier:hover { transform: translateY(-4px); border-color: var(--k-purple-line); }

.kz-tier-head {
  position: relative;
  padding: 1.35rem 1.6rem 1.25rem;
  background: linear-gradient(110deg, rgba(90, 18, 214, 0.55) 0%, rgba(90, 18, 214, 0.12) 70%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.kz-tier.is-min  .kz-tier-head { background: linear-gradient(110deg, rgba(90, 18, 214, 0.28) 0%, rgba(90, 18, 214, 0.05) 70%, transparent 100%); }
.kz-tier.is-high .kz-tier-head { background: linear-gradient(110deg, rgba(233, 79, 79, 0.5) 0%, rgba(139, 61, 255, 0.28) 60%, transparent 100%); }
.kz-tier-name {
  display: block;
  color: #fff;
  font-family: 'Gabarito', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}
.kz-tier-fps {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: 0.4rem;
  font-family: 'Gabarito', sans-serif;
}
.kz-tier-fps b { font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.kz-tier-fps span { color: #d9ccff; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.kz-fps-bar { margin-top: 0.9rem; height: 0.35rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.kz-fps-bar i { display: block; height: 100%; border-radius: inherit; background: var(--k-brand-grad); }

.kz-tier-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--k-purple);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 1rem rgba(139, 61, 255, 0.6);
}

/* carte recommandee : bordure degradee */
.kz-tier.is-reco {
  border-color: transparent;
  background:
    linear-gradient(170deg, rgba(36, 32, 56, 0.97), rgba(18, 16, 30, 0.98)) padding-box,
    linear-gradient(160deg, var(--k-purple-3), var(--k-purple-2) 45%, var(--k-accent)) border-box;
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.5), 0 0 3rem rgba(139, 61, 255, 0.18);
}

.kz-tier-list { margin: 0; padding: 0.6rem 1.6rem 1.5rem; list-style: none; flex: 1; }
.kz-tier-list li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.15rem 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}
.kz-tier-list li:last-child { border-bottom: 0; }
.kz-tier-list .kz-ico { grid-row: span 2; width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; color: var(--k-purple-3); }
.kz-tier-list dt, .kz-tier-list .lbl {
  color: #fff;
  font-family: 'Gabarito', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kz-tier-list .val { color: #b9bfcc; font-size: 0.92rem; line-height: 1.5; }
.kz-tier-list .val em { font-style: normal; color: #8f95a6; font-size: 0.84rem; }

.kz-req-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
  padding: 1.2rem 1.5rem;
  border-radius: 0.9rem;
  background: rgba(139, 61, 255, 0.07);
  border: 1px dashed rgba(185, 140, 255, 0.3);
  color: #c9cdd8;
  font-size: 0.95rem;
  line-height: 1.6;
}
.kz-req-note p { margin: 0; flex: 1 1 28rem; }
.kz-req-note strong { color: #fff; }

@media (max-width: 1000px) {
  .kz-req-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kz-req-grid { grid-template-columns: 1fr; max-width: 34rem; margin: 0 auto; }
  .kz-tier.is-reco { order: -1; }
}
@media (max-width: 560px) {
  .kz-req { padding: 4rem 1.1rem; }
  .kz-req-chips { grid-template-columns: 1fr; gap: 0.6rem; }
  .kz-tier-fps b { font-size: 2.2rem; }
}

/* =========================================================
   8. PAGE PLAY
   ========================================================= */
.kz-play-page { background: #0d0c15; }
.kz-play {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 8.5rem 1.5rem 6rem;
  box-sizing: border-box;
  overflow: hidden;
}
.kz-play-bg {
  /* hauteur FIXE (un ecran) : le fond ne bouge plus quand la page s'allonge */
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100vh;
  height: 100lvh;
  min-height: 46rem;
  z-index: -2;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.kz-play-bg::before {
  content: '';
  position: absolute;
  inset: -4%;
  background: #0d0c15 url('../img/bg-play.webp') center / cover no-repeat;
}
.kz-play::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100vh;
  height: 100lvh;
  min-height: 46rem;
  z-index: -1;
  background:
    radial-gradient(45% 55% at 24% 55%, rgba(139, 61, 255, 0.28), transparent 70%),
    linear-gradient(180deg, rgba(13, 12, 21, 0.6) 0%, rgba(13, 12, 21, 0.35) 40%, #0d0c15 100%);
}

.kz-play-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  align-items: center;
  gap: 2rem;
  max-width: 82rem;
  margin: 0 auto;
}

/* personnage */
.kz-play-char {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 30rem;
}
.kz-play-char::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 90%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 61, 255, 0.42) 0%, rgba(90, 18, 214, 0.16) 40%, transparent 70%);
  animation: kzAura 5s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes kzAura { 50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.8; } }
.kz-play-char img {
  position: relative;
  width: 100%;
  max-width: 30rem;
  max-height: 44rem;
  object-fit: contain;
  filter: drop-shadow(0 1.6rem 2rem rgba(0, 0, 0, 0.6)) drop-shadow(0 0 2rem rgba(139, 61, 255, 0.35));
  animation: kzFloat 7s ease-in-out infinite;
}

/* titre facon coup de pinceau */
.kz-play-title {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto 2.6rem;
  padding: 1.1rem 3.2rem 1.2rem;
  color: #fff;
  font-family: 'Gabarito', sans-serif;
  font-size: clamp(1.9rem, 1rem + 2.2vw, 3.1rem);
  font-weight: 900;
  white-space: nowrap;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 0.2rem 0 rgba(0, 0, 0, 0.35), 0 0.4rem 1.2rem rgba(0, 0, 0, 0.5);
  isolation: isolate;
}
.kz-play-title::before {
  content: '';
  position: absolute;
  inset: 0 -1rem;
  z-index: -1;
  background: url('../img/brush.svg') center / 100% 100% no-repeat;
  filter: drop-shadow(0 0.6rem 1.4rem rgba(90, 18, 214, 0.55));
  transform: rotate(-1.5deg);
}
.kz-play-sub {
  max-width: 36rem;
  margin: -1.2rem auto 2.6rem;
  text-align: center;
  color: #c9cdd8;
  font-size: 1.05rem;
  line-height: 1.65;
}

/* cartes d'etapes, disposees en quinconce */
.kz-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
/* quinconce sans chevauchement : 1 en haut a gauche, 2 a droite (centre), 3 en bas decale */
.kz-steps { grid-template-rows: auto auto; align-items: start; }
.kz-step:nth-child(1) { grid-column: 1; grid-row: 1; }
.kz-step:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.kz-step:nth-child(3) { grid-column: 1; grid-row: 2; margin-left: 2rem; margin-right: -2rem; }

.kz-step {
  --notch: 1.1rem;
  position: relative;
  padding: 1.7rem 1.8rem 1.8rem;
  background: linear-gradient(165deg, rgba(20, 16, 34, 0.96), rgba(9, 8, 15, 0.98));
  clip-path: polygon(var(--notch) 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, var(--notch) 100%, 0 calc(100% - var(--notch)), 0 var(--notch));
  transition: transform .25s var(--k-ease);
  filter: drop-shadow(0 1rem 1.6rem rgba(0, 0, 0, 0.5));
}
.kz-step:hover { transform: translateY(-4px); }
/* liseré violet (suit la forme biseautee) */
.kz-step::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.5px;
  background: linear-gradient(150deg, var(--k-purple-3), var(--k-purple-2) 50%, rgba(233, 79, 79, 0.8));
  clip-path: inherit;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
/* sceaux aux 4 coins */
.kz-step .corner {
  position: absolute;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--k-purple-3);
  transform: rotate(45deg);
  box-shadow: 0 0 0.6rem var(--k-purple);
}
.kz-step .corner.tl { top: 0.55rem; left: 0.55rem; }
.kz-step .corner.tr { top: 0.55rem; right: 0.55rem; }
.kz-step .corner.bl { bottom: 0.55rem; left: 0.55rem; }
.kz-step .corner.br { bottom: 0.55rem; right: 0.55rem; }

.kz-step-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.9rem; }
.kz-step-num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border: 1.5px solid var(--k-purple);
  background: rgba(139, 61, 255, 0.12);
  color: var(--k-purple-3);
  font-family: 'Gabarito', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}
.kz-step h2 {
  margin: 0;
  color: #fff;
  font-family: 'Gabarito', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.kz-step p { margin: 0 0 1.3rem; color: #b9bfcc; font-size: 0.95rem; line-height: 1.65; }
.kz-step p b { color: #fff; font-weight: 600; }
.kz-step .kz-btn { height: 2.9rem; font-size: 0.92rem; letter-spacing: 0.08em; text-transform: uppercase; }
.kz-step-actions { display: flex; justify-content: center; }

.kz-path {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin: -0.4rem 0 1.2rem;
  font-size: 0.8rem;
}
.kz-path span {
  padding: 0.2rem 0.55rem;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e5e7ee;
}
.kz-path i { color: var(--k-purple-3); font-style: normal; }

.kz-ip-field {
  display: flex;
  align-items: stretch;
  width: 100%;
  margin-bottom: 0.2rem;
  border-radius: 0.6rem;
  overflow: hidden;
  border: 1px solid var(--k-purple-line);
  background: rgba(0, 0, 0, 0.35);
}
.kz-ip-field code {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  font-family: 'Gabarito', system-ui, sans-serif;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  min-height: 2.9rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.kz-ip-field button {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.45rem;
  padding: 0 0.95rem;
  border: 0;
  background: linear-gradient(180deg, #a466ff, var(--k-purple-2));
  color: #fff;
  font-family: 'Gabarito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter .2s ease;
}
.kz-ip-field button:hover { filter: brightness(1.12); }

/* aide sous les etapes */
.kz-play-help {
  max-width: 82rem;
  margin: 5rem auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
}
.kz-help-card {
  padding: 1.8rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.kz-help-card h2 { margin: 0.8rem 0 0.6rem; color: #fff; font-size: 1.5rem; }
.kz-help-card > p { margin: 0 0 1.3rem; color: var(--k-muted); line-height: 1.65; }
.kz-help-links { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.kz-help-links .kz-btn { height: 2.8rem; font-size: 0.9rem; padding: 0 1.1rem; }

.kz-faq { display: flex; flex-direction: column; gap: 0.7rem; }
.kz-faq details {
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color .2s ease, background .2s ease;
}
.kz-faq details[open] { border-color: var(--k-purple-line); background: rgba(139, 61, 255, 0.06); }
.kz-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  color: #fff;
  font-family: 'Gabarito', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.kz-faq summary::-webkit-details-marker { display: none; }
.kz-faq summary .kz-ico { color: var(--k-purple-3); transition: transform .25s ease; }
.kz-faq details[open] summary .kz-ico { transform: rotate(180deg); }
.kz-faq details p { margin: 0; padding: 0 1.3rem 1.2rem; color: #b9bfcc; line-height: 1.65; font-size: 0.95rem; }
.kz-faq details a { color: var(--k-purple-3); }

@media (max-width: 1100px) {
  .kz-play-grid { grid-template-columns: 1fr; gap: 0; }
  .kz-play-char { min-height: 0; max-width: 22rem; margin: 0 auto -1rem; }
  .kz-play-char img { max-height: 22rem; }
  .kz-play-help { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .kz-play { padding: 6.5rem 1.1rem 4rem; }
  .kz-steps { grid-template-columns: 1fr; gap: 1.1rem; }
  .kz-step:nth-child(n) { grid-column: 1; grid-row: auto; margin: 0; }
  .kz-play-title { padding: 0.9rem 1.6rem 1rem; margin-bottom: 2rem; white-space: normal; }
  .kz-play-char { max-width: 15rem; }
  .kz-play-char img { max-height: 15rem; }
  .kz-play-help { margin-top: 3rem; }
}

/* =========================================================
   9. FOOTER
   ========================================================= */
.site-footer::before { background: var(--k-brand-grad); }
.footer-inner { max-width: 73.75rem; padding: 3.2rem 1.5rem 2.2rem; }
.footer-logo { height: 2.75rem; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5)); }
.footer-about { max-width: 21rem; }
.footer-col h4 { color: var(--k-purple-3); }
.footer-ip { gap: 0.55rem; }
.footer-ip .kz-ico { width: 1rem; height: 1rem; opacity: 0.8; }
.footer-ip:hover { border-color: var(--k-purple-3); }
.footer-social { width: 2.1rem; height: 2.1rem; }
.footer-social svg { width: 1.45rem; height: 1.45rem; }

/* =========================================================
  10. PAGES INTERNES : largeurs en rem (suivent l'echelle 2K/4K)
   ========================================================= */
.page-hero      { max-width: 48.75rem; padding-top: 9rem; }
.contact-section{ max-width: 60rem; padding-top: 7.5rem; }
.contact-card   { grid-template-columns: 18rem 1fr; border-radius: 1.1rem; }
.vote-section   { max-width: 62.5rem; }
.vote-cta       { max-width: 62.5rem; }
.rules-section  { max-width: 51.25rem; }
.about-section  { max-width: 56.25rem; }
.tos-section    { max-width: 56.25rem; }
.vote-logo      { height: 3.5rem; max-width: 10.5rem; }
.about-icon, .tos-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.65rem; }
.rule-num       { width: 2.1rem; height: 2.1rem; }
.step-num       { width: 1.65rem; height: 1.65rem; }
.loader-inner   { width: 12.5rem; height: 12.5rem; }
.loader-logo    { width: 8.25rem; filter: drop-shadow(0 8px 22px rgba(139, 61, 255, 0.5)); }
.loader-ring    { border-top-color: var(--k-purple); border-right-color: rgba(139, 61, 255, 0.5); }
.loader-bar     { width: min(17.5rem, 66vw); }
.loader-bar span{ background: linear-gradient(90deg, transparent, var(--k-purple), var(--k-accent), transparent); }
@media (max-width: 900px) {
  .contact-card { grid-template-columns: 1fr; }
  .page-hero { padding-top: 7rem; }
}

/* =========================================================
  11. APPARITION AU SCROLL / ACCESSIBILITE
   ========================================================= */
.kz-js .kz-reveal {
  opacity: 0;
  transform: translateY(1.6rem);
  transition: opacity .8s var(--k-ease), transform .8s var(--k-ease);
}
.kz-js .kz-reveal.is-visible { opacity: 1; transform: none; }
.kz-js .kz-reveal-d1 { transition-delay: .08s; }
.kz-js .kz-reveal-d2 { transition-delay: .16s; }
.kz-js .kz-reveal-d3 { transition-delay: .24s; }

/* entree du hero */
.kz-hero-inner > * { animation: kzIn .9s var(--k-ease) both; }
.kz-hero-inner > :nth-child(2) { animation-delay: .08s; }
.kz-hero-inner > :nth-child(3) { animation-delay: .16s; }
.kz-hero-inner > :nth-child(4) { animation-delay: .24s; }
.kz-hero-inner > :nth-child(5) { animation-delay: .32s; }
@keyframes kzIn { from { opacity: 0; transform: translateY(1.2rem); } }

@media (prefers-reduced-motion: reduce) {
  .kz-hero-logo, .kz-play-char img, .kz-play-char::before,
  .kz-hero-inner > * { animation: none !important; }
  .kz-js .kz-reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   RESPONSIVE : HERO
   ========================================================= */
@media (max-width: 900px) {
  .kz-hero { padding: 6.5rem 1.2rem 6.5rem; }
  .kz-eyebrow { font-size: 0.62rem; letter-spacing: 0.14em; padding: 0.4rem 0.8rem; }
  .kz-eyebrow .hide-sm { display: none; }
  .kz-hero-title { --lw: min(19rem, 72vw); }
  .kz-hero-tagline { font-size: 1rem; max-width: 22rem; }
  .kz-hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 22rem; margin-inline: auto; }
  .kz-ip, .kz-hero .kz-btn { width: 100%; justify-content: center; box-sizing: border-box; }
  .kz-ip { justify-content: flex-start; gap: 0.7rem; padding: 0 0.8rem 0 1rem; }
  .kz-ip-text { flex: 1; min-width: 0; }
  .kz-ip-text span { min-width: 0; font-size: 0.98rem; letter-spacing: 0.03em; white-space: nowrap; }
  .kz-ip-online { height: 1.7rem; padding: 0 0.55rem; font-size: 0.7rem; }
  .kz-hero-facts { gap: 0.45rem; margin-top: 1.6rem; max-width: 24rem; }
  .kz-hero-facts li { font-size: 0.78rem; padding: 0.45rem 0.7rem; }
  .kz-scroll { display: none; }
  .kz-hero-divider { height: 70px; }
  .section-wrapper, .trailer-v2 { padding-top: 4rem; padding-bottom: 4rem; }
  #features { padding-top: 2.5rem; }
  .final-cta { padding: 4.5rem 1.2rem; }
}
@media (max-width: 380px) {
  .kz-ip-text span { font-size: 0.98rem; min-width: 0; }
  .kz-ip-online { display: none; }
}
/* ecrans larges mais peu hauts (portables 1366x768, 1536x864...) */
@media (max-height: 880px) and (min-width: 901px) {
  .kz-hero { padding-top: 6.2rem; padding-bottom: clamp(7rem, 9vw, 9rem); }
  .kz-hero-title { margin-top: 1rem; }
  .kz-hero-title { --lw: min(26rem, 38vh); }
  .kz-hero-tagline { font-size: 1.05rem; }
  .kz-hero-actions { margin-top: 1.4rem; }
  .kz-hero-facts { margin-top: 1.3rem; }
  .kz-scroll { display: none; }
}

/* temoignage : blockquote/figure semantiques */
figure.testimonial { margin-left: auto; margin-right: auto; }
.testimonial blockquote { margin: 0 0 0.6rem; }

/* lien d'evitement visible au clavier */
a.sr-only:focus {
  position: fixed !important;
  top: 0.8rem; left: 0.8rem;
  z-index: 10000;
  width: auto; height: auto;
  padding: 0.7rem 1rem;
  margin: 0;
  clip: auto;
  border-radius: 0.6rem;
  background: var(--k-purple);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

/* Boutique : largeurs en rem au-dessus de 980px (suivent l'echelle 2K/4K) */
@media (min-width: 981px) {
  .store-section { max-width: 75rem; }
  .store-layout  { grid-template-columns: 1fr 20rem; }
  .store-grid    { grid-template-columns: repeat(auto-fill, minmax(13.75rem, 1fr)); }
  .trust-note    { max-width: 27.5rem; }
}

/* =========================================================
   PETALES DE SAKURA (js/particles.js)
   Au-dessus du contenu mais sous la navbar, jamais cliquables.
   ========================================================= */
#sakura-canvas {
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  opacity: 0.85;
}
@media (max-width: 700px) { #sakura-canvas { opacity: 0.7; } }

/* =========================================================
   PAGE ABOUT : 4 cartes sur une ligne, icones SVG
   ========================================================= */
.about-section { max-width: 76rem; }
.about-stats { max-width: 60rem; margin-left: auto; margin-right: auto; }
.about-stat strong { color: var(--k-purple-3); }
.about-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.about-card { display: flex; flex-direction: column; }
.about-card:hover { border-color: var(--k-purple-line); }
.about-icon {
  color: var(--k-purple-3);
  background: var(--k-purple-soft);
  border-color: var(--k-purple-line);
}
.about-icon .kz-ico { width: 1.25rem; height: 1.25rem; }
.about-quote {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(120deg, rgba(139, 61, 255, 0.14), rgba(20, 22, 31, 0.9) 70%);
  border-color: var(--k-purple-line);
}
@media (max-width: 1100px) { .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .about-grid { grid-template-columns: 1fr; } }

/* =========================================================
   PAGE CONTACT
   ========================================================= */
.kz-contact { padding: 0 1.5rem 5rem; }
.kz-contact-hero { padding-bottom: 2.4rem; }
.kz-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: 1.6rem;
  max-width: 68rem;
  margin: 0 auto;
  align-items: start;
}
.kz-contact-side { display: flex; flex-direction: column; gap: 1.2rem; }

.kz-ticket {
  position: relative;
  padding: 1.6rem;
  border-radius: 1.1rem;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(88, 101, 242, 0.28), transparent 60%),
    linear-gradient(165deg, rgba(36, 34, 58, 0.95), rgba(18, 17, 30, 0.97));
  border: 1px solid rgba(88, 101, 242, 0.45);
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.4);
}
.kz-ticket-ico {
  display: grid; place-items: center;
  width: 2.8rem; height: 2.8rem;
  border-radius: 0.75rem;
  background: rgba(88, 101, 242, 0.2);
  border: 1px solid rgba(88, 101, 242, 0.5);
  color: #aab2ff;
}
.kz-ticket-ico .kz-ico { width: 1.35rem; height: 1.35rem; }
.kz-ticket h2 { margin: 1rem 0 0.5rem; color: #fff; font-size: 1.25rem; line-height: 1.3; }
.kz-ticket p { margin: 0 0 1.2rem; color: #c3c8d6; font-size: 0.93rem; line-height: 1.65; }
.kz-ticket p strong { color: #fff; }
.kz-ticket .kz-btn { width: 100%; height: 3rem; font-size: 0.95rem; }

.kz-contact-list {
  margin: 0;
  padding: 0.4rem 1.3rem;
  list-style: none;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.kz-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.kz-contact-list li:last-child { border-bottom: 0; }
.kz-contact-list .ci {
  display: grid; place-items: center; flex-shrink: 0;
  width: 2.3rem; height: 2.3rem;
  border-radius: 0.6rem;
  background: var(--k-purple-soft);
  border: 1px solid var(--k-purple-line);
  color: var(--k-purple-3);
}
.kz-contact-list .ci .kz-ico { width: 1.1rem; height: 1.1rem; }
.kz-contact-list strong { display: block; color: #fff; font-size: 0.95rem; font-family: 'Gabarito', sans-serif; }
.kz-contact-list span, .kz-contact-list a { display: block; color: var(--k-muted); font-size: 0.85rem; margin-top: 0.1rem; }
.kz-contact-list a { color: var(--k-purple-3); text-decoration: none; }
.kz-contact-list a:hover { text-decoration: underline; }

.kz-contact-card {
  padding: 2rem;
  border-radius: 1.2rem;
  background: var(--k-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.45);
}
.kz-form { gap: 1.1rem; }
.kz-form .contact-row { gap: 1.1rem; }
.kz-form .contact-label { font-size: 0.72rem; color: #a9aec0; }
.kz-form .contact-input,
.kz-form .contact-textarea {
  padding: 0.8rem 1rem;
  border-radius: 0.7rem;
  background-color: rgba(6, 6, 12, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  font-size: 0.98rem;
}
.kz-form .contact-input:focus,
.kz-form .contact-textarea:focus {
  border-color: var(--k-purple);
  box-shadow: 0 0 0 3px rgba(139, 61, 255, 0.2);
}
.kz-form .contact-textarea { min-height: 11rem; max-height: 22rem; }
.kz-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b98cff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1rem;
  padding-right: 2.5rem !important;
}
.kz-select option { background: #14131f; color: #fff; }
.kz-counter { margin-top: 0.35rem; text-align: right; color: #7d8496; font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.kz-counter-min { color: #e9868a; transition: color .2s ease; }
.kz-counter-min.ok { color: #3ad07f; }

.kz-form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}
.kz-form-note { margin: 0; color: var(--k-muted); font-size: 0.85rem; }
.kz-form-note a { color: #aab2ff; }
.kz-form .kz-btn { height: 3.1rem; }
.kz-form .kz-btn.is-loading { opacity: 0.7; pointer-events: none; }
.kz-form .msg { line-height: 1.6; }

.kz-sent { text-align: center; padding: 2.5rem 1rem; }
.kz-sent-ico {
  display: inline-grid; place-items: center;
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: rgba(58, 208, 127, 0.14);
  border: 1px solid rgba(58, 208, 127, 0.5);
  color: #3ad07f;
}
.kz-sent-ico .kz-ico { width: 1.9rem; height: 1.9rem; }
.kz-sent h2 { margin: 1.1rem 0 0.4rem; color: #fff; font-size: 1.6rem; }
.kz-sent p { margin: 0 0 1.6rem; color: var(--k-muted); }

@media (max-width: 900px) {
  .kz-contact { padding: 0 1.1rem 3.5rem; }
  .kz-contact-grid { grid-template-columns: 1fr; }
  .kz-contact-card { padding: 1.4rem; }
  .kz-form-foot .kz-btn { width: 100%; }
}

/* =========================================================
   PAGE RULES : grille compacte 2 colonnes + filtre
   ========================================================= */
.kz-rules { padding: 0 1.5rem 5rem; }
.kz-rules-hero { max-width: 56rem; padding-bottom: 2.2rem; }
.kz-rules-hero .section-sub strong { color: #fff; }
.kz-rules-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.kz-rules-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d6d9e0;
  font-size: 0.88rem;
}
.kz-rules-chips .kz-ico { color: var(--k-purple-3); width: 1rem; height: 1rem; }

.kz-rules-wrap { max-width: 76rem; margin: 0 auto; }
.kz-rules-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}
.kz-rules-banner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.4rem;
  border-radius: 1rem;
  background: linear-gradient(120deg, rgba(233, 79, 79, 0.16), rgba(20, 22, 31, 0.92) 75%);
  border: 1px solid rgba(233, 79, 79, 0.32);
}
.kz-rules-banner-ico {
  display: grid; place-items: center; flex-shrink: 0;
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.65rem;
  background: rgba(233, 79, 79, 0.15);
  border: 1px solid rgba(233, 79, 79, 0.45);
  color: #ff8a8a;
}
.kz-rules-banner-ico .kz-ico { width: 1.25rem; height: 1.25rem; }
.kz-rules-banner h2 { margin: 0 0 0.3rem; color: #fff; font-size: 1.08rem; }
.kz-rules-banner p { margin: 0; color: #cfd3dc; font-size: 0.9rem; line-height: 1.6; }

.kz-rules-filter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.1rem 1.3rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.kz-filter-label {
  color: var(--k-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kz-filter-btns { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.kz-filter-btns button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #d6d9e0;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.kz-filter-btns button b { color: var(--k-muted); font-weight: 700; }
.kz-filter-btns button:hover { border-color: var(--k-purple-line); }
.kz-filter-btns button.is-active { background: var(--k-purple-soft); border-color: var(--k-purple); color: #fff; }
.kz-filter-btns button.is-active b { color: var(--k-purple-3); }
.dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; display: inline-block; }
.dot.perm { background: #ff6b6b; box-shadow: 0 0 6px rgba(255, 107, 107, 0.8); }
.dot.temp { background: #ffb066; box-shadow: 0 0 6px rgba(255, 176, 102, 0.8); }
.dot.mute { background: #b98cff; box-shadow: 0 0 6px rgba(185, 140, 255, 0.8); }

.kz-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: stretch;
}
.kz-rule {
  --sev: #ffb066;
  --sev-bg: rgba(255, 159, 67, 0.12);
  --sev-line: rgba(255, 159, 67, 0.4);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.4rem 1.2rem;
  border-radius: 1rem;
  background: var(--k-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-top: 3px solid var(--sev);
  transition: transform .2s ease, border-color .2s ease;
}
.kz-rule[hidden] { display: none; }
.kz-rule:hover { transform: translateY(-3px); }
.kz-rule.sev-perm { --sev: #ff6b6b; --sev-bg: rgba(233, 79, 79, 0.14); --sev-line: rgba(233, 79, 79, 0.45); }
.kz-rule.sev-mute { --sev: #b98cff; --sev-bg: rgba(139, 61, 255, 0.14); --sev-line: rgba(139, 61, 255, 0.45); }

.kz-rule-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.75rem; }
.kz-rule-num {
  display: grid; place-items: center; flex-shrink: 0;
  width: 2.1rem; height: 2.1rem;
  border-radius: 0.55rem;
  background: var(--sev-bg);
  border: 1px solid var(--sev-line);
  color: var(--sev);
  font-family: 'Gabarito', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
}
.kz-rule-head h2 { flex: 1; margin: 0; color: #fff; font-size: 1.08rem; line-height: 1.3; }
.kz-rule-badge {
  flex-shrink: 0;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--sev-bg);
  border: 1px solid var(--sev-line);
  color: var(--sev);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.kz-rule-text { margin: 0 0 0.6rem; color: #c3c8d4; font-size: 0.92rem; line-height: 1.6; }
.kz-rule-text strong { color: #fff; }
.kz-rule-extra { margin: 0 0 0.6rem; color: var(--k-muted); font-size: 0.85rem; line-height: 1.55; }
.kz-rule-extra b { color: #e3e5ec; }
.kz-rule-sanction {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: auto;
  padding: 0.7rem 0.85rem;
  border-radius: 0.65rem;
  background: var(--sev-bg);
  border: 1px solid var(--sev-line);
}
.kz-rule-sanction .kz-ico { color: var(--sev); width: 1.05rem; height: 1.05rem; margin-top: 0.15rem; }
.kz-rule-sanction p { margin: 0; color: #e4e6ec; font-size: 0.86rem; line-height: 1.55; }
.kz-rule-sanction b { color: var(--sev); }
.kz-rule-sanction em { color: #fff; font-style: normal; text-decoration: underline; text-underline-offset: 3px; }

.kz-rules-foot {
  display: flex;
  align-items: center;
  gap: 1rem 1.2rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
  padding: 1.2rem 1.4rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.kz-rules-foot-ico { color: #ffb066; flex-shrink: 0; }
.kz-rules-foot-ico .kz-ico { width: 1.4rem; height: 1.4rem; }
.kz-rules-foot p { flex: 1 1 26rem; margin: 0; color: #c3c8d4; font-size: 0.9rem; line-height: 1.6; }
.kz-rules-foot p strong { color: #fff; }
.kz-rules-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.kz-rules-actions .kz-btn { height: 2.8rem; font-size: 0.9rem; }

@media (max-width: 960px) {
  .kz-rules-top { grid-template-columns: 1fr; }
  .kz-rules-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .kz-rules { padding: 0 1.1rem 3.5rem; }
  .kz-rule-head { flex-wrap: wrap; }
  .kz-rule-badge { order: 3; margin-left: 2.9rem; }
  .kz-rules-chips li { font-size: 0.8rem; }
}

/* =========================================================
   PAGE CHANGELOG (salon Discord #changelog)
   ========================================================= */
.kz-cl { padding: 0 1.5rem 5rem; }
.kz-cl-hero { max-width: 52rem; padding-bottom: 2.6rem; }
.kz-cl-hero .section-sub strong { color: #fff; }
.kz-cl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem 1.2rem;
  margin-top: 1.6rem;
}
.kz-cl-hero-actions .kz-btn { height: 2.9rem; font-size: 0.92rem; }
.kz-cl-meta { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--k-muted); font-size: 0.85rem; }
.kz-cl-meta .kz-ico { color: var(--k-purple-3); }

.kz-cl-wrap { max-width: 56rem; margin: 0 auto; }
.kz-cl-list { position: relative; margin: 0; padding: 0; list-style: none; }
/* ligne de temps */
.kz-cl-list::before {
  content: '';
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  left: 6.25rem;
  width: 2px;
  background: linear-gradient(180deg, var(--k-purple), rgba(139, 61, 255, 0.15));
}
.kz-cl-item {
  position: relative;
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 2.1rem;
  padding-bottom: 1.6rem;
}
.kz-cl-item[hidden] { display: none; }
.kz-cl-item::before {
  content: '';
  position: absolute;
  left: calc(6.25rem - 0.38rem);
  top: 0.9rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #14131f;
  border: 2px solid var(--k-purple-3);
  box-shadow: 0 0 0.7rem rgba(139, 61, 255, 0.7);
}
.kz-cl-item.is-latest::before { background: var(--k-purple); }
.kz-cl-date { text-align: right; padding-top: 0.35rem; }
.kz-cl-date .d { display: block; color: #fff; font-family: 'Gabarito', sans-serif; font-size: 1.8rem; font-weight: 800; line-height: 1; }
.kz-cl-date .m { display: block; margin-top: 0.25rem; color: var(--k-muted); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }

.kz-cl-card {
  padding: 1.4rem 1.6rem 1.1rem;
  border-radius: 1.1rem;
  background: var(--k-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.35);
}
.kz-cl-item.is-latest .kz-cl-card {
  border-color: transparent;
  background:
    linear-gradient(170deg, rgba(36, 32, 56, 0.97), rgba(18, 16, 30, 0.98)) padding-box,
    linear-gradient(160deg, var(--k-purple-3), var(--k-purple-2) 50%, var(--k-accent)) border-box;
}
.kz-cl-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin-bottom: 0.55rem; }
.kz-cl-tag {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kz-cl-tag.latest { background: var(--k-purple); color: #fff; box-shadow: 0 0 0.8rem rgba(139, 61, 255, 0.55); }
.kz-cl-tag.ver { background: rgba(233, 79, 79, 0.14); border: 1px solid rgba(233, 79, 79, 0.45); color: #ff8a8a; }
.kz-cl-ago { color: var(--k-muted); font-size: 0.78rem; }
.kz-cl-title { margin: 0 0 0.8rem; color: #fff; font-size: 1.35rem; line-height: 1.3; }

.kz-cl-body { color: #c7cbd6; font-size: 0.95rem; line-height: 1.7; overflow-wrap: anywhere; }
.kz-cl-body p { margin: 0 0 0.8rem; }
.kz-cl-body .cl-h { margin: 1.1rem 0 0.5rem; color: #fff; line-height: 1.35; }
.kz-cl-body h3.cl-h { font-size: 1.15rem; }
.kz-cl-body h4.cl-h { font-size: 1.02rem; color: var(--k-purple-3); }
.kz-cl-body h5.cl-h { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: #e2d6ff; }
.kz-cl-body .cl-h:first-child { margin-top: 0; }
.kz-cl-body .cl-sub { color: #858b9b; font-size: 0.8rem; }
.kz-cl-body ul, .kz-cl-body ol { margin: 0 0 0.9rem; padding-left: 1.3rem; }
.kz-cl-body li { margin: 0.2rem 0; }
.kz-cl-body ul li::marker { color: var(--k-purple-3); }
.kz-cl-body li.sub { margin-left: 1.2rem; list-style-type: circle; }
.kz-cl-body strong { color: #fff; }
.kz-cl-body a { color: var(--k-purple-3); }
.kz-cl-body blockquote {
  margin: 0 0 0.9rem;
  padding: 0.4rem 0 0.4rem 0.9rem;
  border-left: 3px solid rgba(185, 140, 255, 0.5);
  color: #b4b9c6;
}
.cl-inline { padding: 0.1rem 0.35rem; border-radius: 0.3rem; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 0.88em; }
.cl-code {
  margin: 0 0 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 0.6rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  color: #e6e6f0;
  font-size: 0.85rem;
  line-height: 1.55;
}
.cl-emoji { width: 1.35em; height: 1.35em; vertical-align: -0.3em; object-fit: contain; }
.cl-mention { padding: 0 0.25rem; border-radius: 0.3rem; background: rgba(88, 101, 242, 0.25); color: #c9cdff; font-weight: 600; }
.cl-spoiler { padding: 0 0.2rem; border-radius: 0.25rem; background: #2b2d36; color: transparent; cursor: pointer; transition: color .2s ease; }
.cl-spoiler.is-open { color: inherit; background: rgba(255, 255, 255, 0.08); }

.kz-cl-embed {
  margin: 0 0 0.9rem;
  padding: 0.8rem 1rem;
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.25);
  border-left: 4px solid var(--em, var(--k-purple));
  color: #c7cbd6;
  font-size: 0.9rem;
}
.kz-cl-embed strong { display: block; margin-bottom: 0.3rem; color: #fff; }
.kz-cl-embed img { margin-top: 0.6rem; border-radius: 0.4rem; max-height: 20rem; }

.kz-cl-images { display: grid; gap: 0.5rem; margin: 0.2rem 0 1rem; }
.kz-cl-images.n2, .kz-cl-images.n4 { grid-template-columns: 1fr 1fr; }
.kz-cl-images.n3 { grid-template-columns: 2fr 1fr; }
.kz-cl-images.n3 a:first-child { grid-row: span 2; }
.kz-cl-images a { display: block; overflow: hidden; border-radius: 0.6rem; border: 1px solid rgba(255, 255, 255, 0.08); }
.kz-cl-images img { display: block; width: 100%; height: 100%; max-height: 26rem; object-fit: cover; transition: transform .4s ease; }
.kz-cl-images a:hover img { transform: scale(1.03); }

.kz-cl-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}
.kz-cl-author { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--k-muted); font-size: 0.85rem; }
.kz-cl-author img { width: 1.5rem; height: 1.5rem; border-radius: 50%; }
.kz-cl-open { display: inline-flex; align-items: center; gap: 0.35rem; color: #aab2ff; font-size: 0.85rem; text-decoration: none; }
.kz-cl-open:hover { text-decoration: underline; }
.kz-cl-open .kz-ico { width: 0.9rem; height: 0.9rem; }
.kz-cl-more { display: flex; justify-content: center; margin-top: 0.6rem; }

.kz-cl-empty {
  max-width: 34rem;
  margin: 0 auto;
  padding: 2.6rem 2rem;
  text-align: center;
  border-radius: 1.2rem;
  background: var(--k-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.kz-cl-empty-ico {
  display: inline-grid; place-items: center;
  width: 3.4rem; height: 3.4rem;
  border-radius: 0.9rem;
  background: var(--k-purple-soft);
  border: 1px solid var(--k-purple-line);
  color: var(--k-purple-3);
}
.kz-cl-empty-ico .kz-ico { width: 1.5rem; height: 1.5rem; }
.kz-cl-empty h2 { margin: 1rem 0 0.5rem; color: #fff; font-size: 1.4rem; }
.kz-cl-empty p { margin: 0 0 1.5rem; color: var(--k-muted); line-height: 1.65; }
.kz-cl-empty p strong { color: #fff; }

@media (max-width: 700px) {
  .kz-cl { padding: 0 1rem 3.5rem; }
  .kz-cl-list::before { left: 0.35rem; }
  .kz-cl-item { grid-template-columns: 1fr; gap: 0.5rem; padding-left: 1.6rem; }
  .kz-cl-item::before { left: 0; top: 0.35rem; }
  .kz-cl-date { text-align: left; padding-top: 0; }
  .kz-cl-date time { display: flex; align-items: baseline; gap: 0.5rem; }
  .kz-cl-date .d { font-size: 1.1rem; }
  .kz-cl-card { padding: 1.1rem 1.1rem 0.9rem; }
  .kz-cl-title { font-size: 1.15rem; }
}

/* =========================================================
   PERFORMANCES (Chrome)
   backdrop-filter oblige Chrome a re-flouter tout ce qui passe
   dessous a chaque image (petales, video, scroll) : on le remplace
   par des fonds plus opaques, visuellement quasi identiques.
   ========================================================= */
.navbar-v2 .navbar-content,
.kz-eyebrow,
.kz-hero-facts li,
.kz-btn-glass,
.trailer-sound,
.hero-video-badge,
.partner-card,
.mobile-nav {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
.navbar-v2 .navbar-content { background: rgba(14, 12, 24, 0.9); }
.navbar-v2.is-scrolled .navbar-content { background: rgba(11, 10, 19, 0.96); }
.kz-eyebrow { background: rgba(12, 10, 22, 0.72); }
.kz-hero-facts li { background: rgba(12, 10, 22, 0.72); }
.kz-btn-glass { background: rgba(14, 12, 24, 0.8); }
.kz-hero-bg { contain: strict; }

/* Parallax du fond gere par le navigateur (thread compositeur, zero JS)
   quand il le permet (Chrome / Edge 115+). Sinon : repli JS dans index.php. */
@supports (animation-timeline: scroll()) {
  .kz-hero-bg {
    animation: kzParallax linear both;
    animation-timeline: scroll(root block);
    animation-range: 0 100vh;
  }
  @keyframes kzParallax { to { transform: translate3d(0, 35vh, 0); } }
}
@media (prefers-reduced-motion: reduce) { .kz-hero-bg { animation: none !important; } }

/* =========================================================
   TRAILER : lecteur maison + chapitres
   ========================================================= */
.kz-trailer {
  position: relative;
  padding: 6rem 1.5rem 5.5rem;
  background:
    radial-gradient(45% 55% at 50% 58%, rgba(139, 61, 255, 0.22), transparent 70%),
    radial-gradient(30% 40% at 85% 90%, rgba(233, 79, 79, 0.1), transparent 70%),
    var(--k-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.kz-trailer-wrap { position: relative; max-width: 64rem; margin: 0 auto; }
.kz-trailer .section-head { margin-bottom: 2.4rem; }

.kz-player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 1.2rem;
  overflow: hidden;
  background: #05050a;
  isolation: isolate;
  box-shadow:
    0 0 0 1px rgba(185, 140, 255, 0.28),
    0 1.8rem 4.5rem rgba(0, 0, 0, 0.6),
    0 0 5rem rgba(139, 61, 255, 0.22);
}
.kz-player-video { display: block; width: 100%; height: 100%; object-fit: cover; background: #05050a; cursor: pointer; }
/* voile en apercu, pour faire ressortir le bouton */
.kz-player::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 60% at 50% 50%, rgba(5, 4, 12, 0.15), rgba(5, 4, 12, 0.6));
  transition: opacity .35s ease;
}
.kz-player[data-state="playing"]::after,
.kz-player[data-state="paused"]::after { opacity: 0; }

.kz-player-big {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1.6rem 0.7rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 8, 20, 0.78);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.5);
  transition: transform .25s var(--k-ease), opacity .3s ease, background .2s ease;
}
.kz-player-big:hover { transform: translate(-50%, -50%) scale(1.04); background: rgba(30, 14, 60, 0.9); }
.kz-player-big-ico {
  display: grid; place-items: center;
  width: 3.6rem; height: 3.6rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #a466ff, var(--k-purple-2));
  box-shadow: 0 0 0 0 rgba(139, 61, 255, 0.6);
  animation: kzRing 2.2s ease-out infinite;
}
.kz-player-big-ico .kz-ico { width: 1.5rem; height: 1.5rem; margin-left: 0.2rem; }
@keyframes kzRing {
  0%   { box-shadow: 0 0 0 0 rgba(139, 61, 255, 0.55); }
  100% { box-shadow: 0 0 0 1.2rem rgba(139, 61, 255, 0); }
}
.kz-player-big-txt { display: flex; flex-direction: column; align-items: flex-start; text-align: left; font-family: 'Gabarito', sans-serif; }
.kz-player-big-txt b { font-size: 1.15rem; font-weight: 700; }
.kz-player-big-txt small { color: #c9bfff; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.kz-player[data-state="playing"] .kz-player-big,
.kz-player[data-state="paused"] .kz-player-big,
.kz-player[data-state="error"] .kz-player-big { opacity: 0; pointer-events: none; }

.kz-player-error {
  position: absolute; inset: auto 1rem 1rem 1rem; z-index: 4;
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.8rem 1rem; border-radius: 0.7rem;
  background: rgba(40, 10, 14, 0.9); border: 1px solid rgba(233, 79, 79, 0.5); color: #ffb3b3; font-size: 0.9rem;
}

/* barre de controle */
.kz-player-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.6rem 1rem 0.8rem;
  background: linear-gradient(180deg, transparent, rgba(4, 3, 10, 0.85));
  opacity: 0;
  transform: translateY(0.4rem);
  transition: opacity .25s ease, transform .25s ease;
}
.kz-player[data-state="paused"] .kz-player-bar,
.kz-player[data-state="playing"]:hover .kz-player-bar,
.kz-player[data-state="playing"]:focus-within .kz-player-bar,
.kz-player[data-state="preview"]:hover .kz-player-bar { opacity: 1; transform: none; }
.kz-pbtn {
  display: grid; place-items: center; flex-shrink: 0;
  width: 2.3rem; height: 2.3rem;
  border: 0; border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}
.kz-pbtn:hover { background: var(--k-purple); }
.kz-pbtn .kz-ico { width: 1.05rem; height: 1.05rem; }
.kz-player .i-pause, .kz-player .i-sound { display: none; }
.kz-player[data-state="playing"] .i-play { display: none; }
.kz-player[data-state="playing"] .i-pause { display: inline-block; }
.kz-player:not(.is-muted) .i-muted { display: none; }
.kz-player:not(.is-muted) .i-sound { display: inline-block; }
.kz-ptime { color: #e4e1f0; font-size: 0.8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

.kz-progress {
  position: relative;
  flex: 1;
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}
.kz-progress::before { content: ''; position: absolute; inset: -0.6rem 0; }   /* zone de clic plus grande */
.kz-progress i {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--k-brand-grad);
  transform: scaleX(0);
  transform-origin: left center;
}
.kz-progress-chapters span {
  position: absolute; top: -0.15rem; z-index: 2;
  width: 2px; height: 0.7rem;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 2px;
}
.kz-progress-chapters span:first-child { display: none; }

/* chapitres sous la video */
.kz-chapters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.kz-chapters button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #d6d9e0;
  font-family: 'Gabarito', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.kz-chapters button .t {
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(139, 61, 255, 0.2);
  color: var(--k-purple-3);
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
}
.kz-chapters button:hover { border-color: var(--k-purple-line); transform: translateY(-1px); color: #fff; }
.kz-chapters button.is-active { background: var(--k-purple-soft); border-color: var(--k-purple); color: #fff; }
.kz-chapters button.is-active .t { background: var(--k-purple); color: #fff; }

@media (max-width: 700px) {
  .kz-trailer { padding: 4rem 1rem; }
  .kz-player { border-radius: 0.9rem; }
  .kz-player-big { padding: 0.5rem 1.1rem 0.5rem 0.5rem; gap: 0.7rem; }
  .kz-player-big-ico { width: 2.8rem; height: 2.8rem; }
  .kz-player-big-txt b { font-size: 0.98rem; }
  .kz-player-bar { opacity: 1; transform: none; padding: 1.2rem 0.6rem 0.5rem; gap: 0.5rem; }
  .kz-ptime { display: none; }
  .kz-pbtn { width: 2rem; height: 2rem; }
  .kz-chapters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -1rem; padding: 0 1rem; }
  .kz-chapters::-webkit-scrollbar { display: none; }
  .kz-chapters button { white-space: nowrap; }
}

/* badge "membres" dans le bouton Discord du hero */
.kz-btn-badge {
  display: inline-flex;
  align-items: center;
  height: 1.7rem;
  padding: 0 0.6rem;
  margin-left: 0.2rem;
  border-radius: 999px;
  background: rgba(10, 8, 30, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}
.kz-btn-badge[hidden] { display: none; }

/* =========================================================
   PAGE WIKI (tableau Trello affiche dans le site)
   ========================================================= */
.kz-wiki { padding: 0 1.5rem 5rem; }
.kz-wiki-hero { max-width: 56rem; padding-bottom: 2rem; }
.kz-wiki-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.6rem;
}
.kz-wiki-actions .kz-btn { height: 2.9rem; font-size: 0.9rem; padding: 0 1.1rem; }
.kz-wiki-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: min(24rem, 100%);
  height: 2.9rem;
  padding: 0 1rem;
  border-radius: 0.8rem;
  background: rgba(6, 6, 12, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--k-muted);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.kz-wiki-search:focus-within { border-color: var(--k-purple); box-shadow: 0 0 0 3px rgba(139, 61, 255, 0.2); }
.kz-wiki-search input {
  flex: 1; min-width: 0;
  border: 0; outline: 0; background: none;
  color: #fff; font: inherit; font-size: 0.95rem;
}
.kz-wiki-meta { margin: 1rem 0 0; color: var(--k-muted); font-size: 0.85rem; }

.kz-wiki-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  max-width: 82rem;
  margin: 0 auto 1.6rem;
}
.kz-wiki-tab {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #d6d9e0; font-size: 0.85rem; font-weight: 600;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}
.kz-wiki-tab b { color: var(--k-purple-3); font-size: 0.78rem; }
.kz-wiki-tab:hover { border-color: var(--k-purple-line); background: var(--k-purple-soft); color: #fff; }

.kz-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
  gap: 1.1rem;
  align-items: start;
  max-width: 82rem;
  margin: 0 auto;
}
.kz-col {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.9rem;
  scroll-margin-top: 6rem;
  transition: opacity .2s ease;
}
.kz-col.is-dim { opacity: 0.45; }
.kz-col-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.2rem 0.3rem 0.8rem; }
.kz-col-head h2 { margin: 0; color: #fff; font-size: 1rem; line-height: 1.3; }
.kz-col-count {
  flex-shrink: 0;
  min-width: 1.6rem; height: 1.6rem; padding: 0 0.45rem;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--k-purple-soft); border: 1px solid var(--k-purple-line);
  color: var(--k-purple-3); font-size: 0.75rem; font-weight: 700;
}
.kz-col-cards { display: flex; flex-direction: column; gap: 0.55rem; }
.kz-col-empty { margin: 0.3rem; color: var(--k-muted); font-size: 0.85rem; }

.kz-tcard {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(170deg, rgba(34, 33, 50, 0.95), rgba(20, 19, 31, 0.98));
  color: #e6e8ee;
  text-align: left;
  font: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.kz-tcard[hidden] { display: none; }
.kz-tcard:hover { transform: translateY(-2px); border-color: var(--k-purple-line); box-shadow: 0 0.6rem 1.4rem rgba(0, 0, 0, 0.35); }
.kz-tcard-cover { display: block; margin: -0.75rem -0.85rem 0.2rem; max-height: 9rem; overflow: hidden; }
.kz-tcard-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kz-tcard-band { display: block; height: 0.35rem; margin: -0.75rem -0.85rem 0.2rem; background: var(--lc); }
.kz-tcard-labels { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.kz-tlabel {
  padding: 0.12rem 0.5rem;
  border-radius: 0.35rem;
  background: color-mix(in srgb, var(--lc) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--lc) 55%, transparent);
  color: var(--lc);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em;
  min-width: 1.6rem; min-height: 0.5rem;
}
.kz-tcard-name { font-size: 0.92rem; font-weight: 600; line-height: 1.4; color: #fff; }
.kz-tcard-meta { display: flex; flex-wrap: wrap; gap: 0.7rem; color: #8f95a6; font-size: 0.78rem; }
.kz-tcard-meta span { display: inline-flex; align-items: center; gap: 0.25rem; }
.kz-tcard-meta .kz-ico { width: 0.85rem; height: 0.85rem; }
.kz-tcard-meta .done { color: #4bce97; }

/* fenetre de detail */
.kz-modal {
  width: min(44rem, calc(100% - 2rem));
  max-height: min(85vh, 52rem);
  padding: 0;
  border: 1px solid var(--k-purple-line);
  border-radius: 1.1rem;
  background: linear-gradient(170deg, #1d1a2e, #12111c);
  color: #e6e8ee;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.kz-modal::backdrop { background: rgba(5, 4, 10, 0.75); }
.kz-modal[open] { animation: kzModalIn .25s var(--k-ease); }
@keyframes kzModalIn { from { opacity: 0; transform: translateY(1rem) scale(0.98); } }
.kz-modal-inner { max-height: min(85vh, 52rem); overflow-y: auto; padding: 1.8rem 2rem 1.4rem; }
.kz-modal-close {
  position: absolute; top: 0.8rem; right: 0.8rem; z-index: 2;
  width: 2.3rem; height: 2.3rem;
  display: grid; place-items: center;
  border-radius: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.kz-modal-close:hover { background: var(--k-purple); }
.kz-modal-list { color: var(--k-purple-3); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.kz-modal-title { margin: 0.4rem 2.5rem 0.8rem 0; color: #fff; font-size: 1.5rem; line-height: 1.3; }
.kz-modal-inner > .kz-tcard-labels { margin-bottom: 1rem; }
.kz-modal-cover { display: block; width: 100%; max-height: 18rem; object-fit: cover; border-radius: 0.7rem; margin-bottom: 1rem; }
.kz-modal-body { margin-top: 0.4rem; }
.kz-modal-body .cl-img { display: block; max-width: 100%; border-radius: 0.6rem; margin: 0.6rem 0; }
.kz-modal-empty { color: var(--k-muted); font-style: italic; }
.kz-modal-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.2rem;
  margin-top: 1.2rem; padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  color: var(--k-muted); font-size: 0.82rem;
}
.kz-modal-foot span, .kz-modal-foot a { display: inline-flex; align-items: center; gap: 0.35rem; }
.kz-modal-foot a { margin-left: auto; color: var(--k-purple-3); text-decoration: none; }
.kz-modal-foot a:hover { text-decoration: underline; }
.kz-modal-foot .kz-ico { width: 0.9rem; height: 0.9rem; }

@media (max-width: 700px) {
  .kz-wiki { padding: 0 1rem 3.5rem; }
  .kz-wiki-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -1rem; padding: 0 1rem; }
  .kz-wiki-tab { white-space: nowrap; }
  .kz-modal-inner { padding: 1.4rem 1.2rem 1.1rem; }
  .kz-modal-title { font-size: 1.25rem; }
}

/* =========================================================
   AVIS DES JOUEURS (carrousel)
   ========================================================= */
.kz-reviews { margin-top: 3.5rem; }
.kz-reviews-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.kz-reviews-head h3 { margin: 0; color: #fff; font-size: 1.35rem; }
.kz-reviews-nav { display: flex; gap: 0.45rem; }
.kz-reviews-nav[hidden] { display: none; }
.kz-reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 1rem) / 3);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.3rem;
}
.kz-reviews-track::-webkit-scrollbar { display: none; }
.kz-reviews-track.is-single { grid-auto-columns: min(46rem, 100%); justify-content: center; }
.kz-review {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 0;
  padding: 1.5rem 1.5rem 1.3rem;
  border-radius: 1rem;
  background: var(--k-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid var(--k-purple);
  scroll-snap-align: start;
}
.kz-review-q { position: absolute; top: 1.1rem; right: 1.2rem; width: 2rem; height: 2rem; color: rgba(139, 61, 255, 0.35); }
.kz-review blockquote {
  margin: 0;
  color: #e3e5ec;
  font-size: 0.97rem;
  line-height: 1.7;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kz-review figcaption { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.kz-review figcaption img { width: 2.5rem; height: 2.5rem; border-radius: 0.6rem; object-fit: cover; border: 1px solid var(--k-purple-line); image-rendering: pixelated; }
.kz-review figcaption b { display: block; color: #fff; font-family: 'Gabarito', sans-serif; font-size: 0.95rem; }
.kz-review figcaption small { display: block; color: var(--k-muted); font-size: 0.78rem; letter-spacing: 0.04em; }

@media (max-width: 1000px) { .kz-reviews-track { grid-auto-columns: calc((100% - 1rem) / 2); } }
@media (max-width: 640px)  { .kz-reviews-track { grid-auto-columns: 86%; } .kz-reviews-head h3 { font-size: 1.15rem; } }
.kz-review blockquote { padding-right: 2.2rem; }
.kz-reviews-head { position: relative; justify-content: center; }
.kz-reviews-nav { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.kz-player-error[hidden] { display: none; }
[hidden] { display: none !important; }
@media (max-width: 700px) {
  .kz-player-big-txt b { white-space: nowrap; }
  .kz-player-big-txt small { display: none; }
  .kz-wiki-search { width: 100%; }
  .kz-wiki-actions .kz-btn { flex: 1 1 0; min-width: 0; padding: 0 0.6rem; font-size: 0.82rem; }
}

/* =========================================================
   PERF ECRANS HAUTE FREQUENCE (120 / 144 / 240 Hz)
   Plus aucune animation qui repeint (box-shadow, filter) :
   uniquement transform / opacity, geres par la carte graphique.
   ========================================================= */
.kz-player-big-ico { position: relative; animation: none; }
.kz-player-big-ico::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(185, 140, 255, 0.7);
  animation: kzRing2 2.2s ease-out infinite;
  will-change: transform, opacity;
  pointer-events: none;
}
@keyframes kzRing2 {
  from { transform: scale(1);   opacity: 0.8; }
  to   { transform: scale(1.55); opacity: 0; }
}
.kz-play-char img { will-change: transform; }
.kz-live-dot { will-change: opacity; }
@media (prefers-reduced-motion: reduce) { .kz-player-big-ico::after { animation: none; } }

/* =========================================================
   WIKI v2 : menu des categories + une categorie a la fois
   ========================================================= */
.kz-wiki-hero { padding-bottom: 2rem; }
.kz-wk {
  display: grid;
  grid-template-columns: 17rem minmax(0, 1fr);
  gap: 1.6rem;
  max-width: 84rem;
  margin: 0 auto;
  align-items: start;
}
.kz-wk-side {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
  scrollbar-width: thin;
  padding: 1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.kz-wk-search {
  display: flex; align-items: center; gap: 0.55rem;
  height: 2.7rem; padding: 0 0.85rem;
  border-radius: 0.7rem;
  background: rgba(6, 6, 12, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--k-muted);
}
.kz-wk-search:focus-within { border-color: var(--k-purple); box-shadow: 0 0 0 3px rgba(139, 61, 255, 0.2); }
.kz-wk-search .kz-ico { width: 1rem; height: 1rem; }
.kz-wk-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #fff; font: inherit; font-size: 0.9rem; }
.kz-wk-nav { display: flex; flex-direction: column; gap: 0.9rem; }
.kz-wk-fam { display: flex; flex-direction: column; gap: 0.15rem; }
.kz-wk-fam-title {
  padding: 0 0.6rem 0.3rem;
  color: #7d8496;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.kz-wk-tab {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.6rem;
  color: #cfd3dc;
  font-size: 0.9rem; font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.kz-wk-tab .kz-ico { width: 1rem; height: 1rem; color: #7d8496; flex-shrink: 0; }
.kz-wk-tab span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kz-wk-tab b { color: #7d8496; font-size: 0.75rem; font-weight: 700; }
.kz-wk-tab:hover { background: rgba(255, 255, 255, 0.05); color: #fff; }
.kz-wk-tab.is-active { background: var(--k-purple-soft); color: #fff; box-shadow: inset 3px 0 0 var(--k-purple); }
.kz-wk-tab.is-active .kz-ico, .kz-wk-tab.is-active b { color: var(--k-purple-3); }
.kz-wiki .is-searching .kz-wk-tab.is-active { background: none; box-shadow: none; }
.kz-wk-links { display: flex; flex-direction: column; gap: 0.3rem; padding-top: 0.8rem; border-top: 1px dashed rgba(255, 255, 255, 0.08); }
.kz-wk-links a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.6rem; color: var(--k-muted); font-size: 0.82rem; text-decoration: none; border-radius: 0.5rem; }
.kz-wk-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.kz-wk-links .kz-ico { width: 0.9rem; height: 0.9rem; }

.kz-wk-main { min-width: 0; }
.kz-wk-results { margin: 0 0 1rem; color: var(--k-muted); font-size: 0.9rem; }
.kz-wk-panel { margin-bottom: 2rem; }
.kz-wk-head {
  display: flex; align-items: center; gap: 0.8rem;
  padding-bottom: 1rem; margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.kz-wk-head-ico {
  display: grid; place-items: center; flex-shrink: 0;
  width: 2.6rem; height: 2.6rem; border-radius: 0.7rem;
  background: var(--k-purple-soft); border: 1px solid var(--k-purple-line); color: var(--k-purple-3);
}
.kz-wk-head-ico .kz-ico { width: 1.25rem; height: 1.25rem; }
.kz-wk-head h2 { margin: 0; flex: 1; color: #fff; font-size: 1.6rem; }
.kz-wk-head-count { color: var(--k-muted); font-size: 0.85rem; }
.kz-wk-group { margin-bottom: 1.6rem; }
.kz-wk-group-title {
  display: flex; align-items: center; gap: 0.6rem;
  margin: 0 0 0.8rem;
  color: var(--k-purple-3);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.kz-wk-group-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--k-purple-line), transparent); }
.kz-wk-group-title span { color: #7d8496; letter-spacing: 0; }
.kz-wk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); gap: 0.9rem; }

.kz-wk-card {
  display: flex; flex-direction: column;
  padding: 0;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(170deg, rgba(34, 33, 50, 0.95), rgba(20, 19, 31, 0.98));
  color: #e6e8ee; text-align: left; font: inherit;
  cursor: pointer; overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}
.kz-wk-card:hover { transform: translateY(-3px); border-color: var(--k-purple-line); }
.kz-wk-cover {
  position: relative;
  display: grid; place-items: center;
  aspect-ratio: 16 / 9;
  background: #0c0b14;
  overflow: hidden;
}
.kz-wk-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kz-wk-cover-ico { width: 1.8rem; height: 1.8rem; color: rgba(185, 140, 255, 0.35); }
.kz-wk-cover:not(.is-empty) .kz-wk-cover-ico { display: none; }
.kz-wk-cover.is-empty { aspect-ratio: auto; height: 3rem; background: linear-gradient(120deg, color-mix(in srgb, var(--lc, #5a12d6) 35%, transparent), transparent); }
.kz-wk-cover.is-empty .kz-wk-cover-ico { width: 1.2rem; height: 1.2rem; }
.kz-wk-card-body { display: flex; flex-direction: column; gap: 0.45rem; padding: 0.7rem 0.85rem 0.85rem; }
.kz-wk-card-name { color: #fff; font-size: 0.95rem; font-weight: 600; line-height: 1.35; }

@media (max-width: 1000px) {
  .kz-wk { grid-template-columns: 1fr; gap: 1rem; }
  .kz-wk-side {
    position: sticky; top: 4.4rem; z-index: 20;
    max-height: none; overflow: visible;
    padding: 0.6rem;
    background: rgba(14, 12, 24, 0.96);
  }
  .kz-wk-nav { flex-direction: row; gap: 0.35rem; overflow-x: auto; scrollbar-width: none; }
  .kz-wk-nav::-webkit-scrollbar { display: none; }
  .kz-wk-fam { flex-direction: row; gap: 0.35rem; flex-shrink: 0; }
  .kz-wk-fam-title { display: none; }
  .kz-wk-tab { flex-shrink: 0; padding: 0.45rem 0.7rem; border: 1px solid rgba(255, 255, 255, 0.08); }
  .kz-wk-tab span { overflow: visible; }
  .kz-wk-tab.is-active { box-shadow: none; border-color: var(--k-purple); }
  .kz-wk-links { display: none; }
  .kz-wk-head h2 { font-size: 1.3rem; }
}
@media (max-width: 560px) {
  .kz-wk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .kz-wk-card-name { font-size: 0.85rem; }
}
.kz-wk-grid { align-items: start; }
.kz-wk > * { min-width: 0; }

/* Sections sous le hero : rendues seulement a l'approche (allege le 1er affichage) */
.kz-req, #partners, .final-cta { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.kz-btn-badge { gap: 0.3em; }

/* FAQ de la page Play : contenu anime (voir play.php) */
.kz-faq details { overflow: hidden; }
.kz-faq-body p { margin: 0; padding: 0 1.3rem 1.2rem; color: #b9bfcc; line-height: 1.65; font-size: 0.95rem; }
.kz-faq details.is-closing summary .kz-ico { transform: none; }
.kz-faq summary .kz-ico { transition: transform .28s cubic-bezier(.2,.7,.2,1); }
.kz-play { overflow-anchor: none; }
