:root {
    --bg-black: #08090e;
    --bg-dark: #0e111a;
    --card-gray: #131722;
    --text-white: #f5f5f7;
    --text-muted: #9ba1b0;
    --accent-blue: #2997ff;
    --accent-cyan: #00f0ff;
    --accent-glow: rgba(41, 151, 255, 0.25);
    --easing: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-black);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(41, 151, 255, 0.14), transparent 45%),
        radial-gradient(circle at 10% 40%, rgba(94, 92, 230, 0.08), transparent 35%),
        radial-gradient(circle at 90% 75%, rgba(41, 151, 255, 0.08), transparent 35%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ======================================================= */
/* ANIMATION D'ENTRÉE KARMAFLIX (K PREMIUM SANS BUG) */
/* ======================================================= */
#container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%; 
  height: 100%; 
  z-index: 9999;
  background-color: var(--bg-black);
  background-image: 
        radial-gradient(circle at 50% 50%, rgba(41, 151, 255, 0.18), transparent 60%),
        radial-gradient(circle at 10% 40%, rgba(94, 92, 230, 0.1), transparent 35%),
        radial-gradient(circle at 90% 75%, rgba(41, 151, 255, 0.1), transparent 35%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#container.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#container netflixintro {
  display: block;
  position: relative;
  width: 300px;
  height: 300px;
  overflow: hidden;
  animation-name: zoom-in;
  animation-delay: .5s;
  animation-duration: 3.2s;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
  background-size: 4000px;
  background-position: -1950px 0;
  filter: drop-shadow(0 0 25px rgba(41, 151, 255, 0.4)); /* Halo néon autour du K */
}

#container netflixintro::before {
  content: "";
  position: absolute;
  display: block;
  background-color: var(--bg-black);
  width: 150%;
  height: 30%;
  left: -25%;
  bottom: -27%;
  border-radius: 50%;
  z-index: 5;
  transform-origin: left center;
  background-size: 4000px;
  background-position: -1950px 0;
}

/* --- GÉOMÉTRIE ET RELIEFS DU K --- */
/* Cible le zoom sur la barre de gauche pour garder l'impact visuel massif ! */
#container netflixintro[letter="K"] {
  transform-origin: 30% center; 
}

/* 1. Barre verticale gauche */
#container netflixintro[letter="K"] .helper-1 {
  width: 19.5%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 26, 51, 0.9), rgba(0, 113, 227, 0.5));
  left: 22.4%;
  top: 0;
  transform: rotate(180deg);
  animation-name: fading-lumieres-box;
  animation-duration: 2s;
  animation-delay: .6s;
  animation-fill-mode: forwards;
  z-index: 2;
}

#container netflixintro[letter="K"] .helper-1 .effect-brush {
  animation-name: brush-moving;
  animation-duration: 2.5s;
  animation-fill-mode: forwards;
  animation-delay: 1.2s;
}

#container netflixintro[letter="K"] .helper-1 .effect-brush [class*="fur-"] {
  bottom: 0;
  height: 40%;
}

/* 2. Diagonale supérieure (Avec ombre portée 3D) */
#container netflixintro[letter="K"] .helper-2 {
  width: 19.5%;
  height: 60%;
  left: 32%;
  bottom: 46%; 
  transform-origin: bottom left;
  transform: rotate(38deg);
  overflow: hidden;
  z-index: 4;
  box-shadow: -10px 10px 25px rgba(0, 0, 0, 0.85); /* Ombre de relief marquée */
}

#container netflixintro[letter="K"] .helper-2 .effect-brush {
  animation-name: brush-moving;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  animation-delay: .5s;
}

/* 3. Diagonale inférieure (Avec ombre portée 3D) */
#container netflixintro[letter="K"] .helper-3 {
  width: 19.5%;
  height: 60%;
  left: 32%;
  top: 46%; 
  transform-origin: top left;
  transform: rotate(-38deg);
  overflow: hidden;
  z-index: 3;
  box-shadow: -8px -8px 25px rgba(0, 0, 0, 0.85); /* Ombre de relief marquée */
}

#container netflixintro[letter="K"] .helper-3 .effect-brush {
  animation-name: brush-moving;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  animation-delay: .8s;
}

/* --- DÉGRADÉ LUMINEUX FAÇON VERRE / NÉON --- */
#container netflixintro [class*="helper-"] { position: absolute; }
#container netflixintro [class*="helper-"] .effect-brush { position: absolute; width: 100%; height: 300%; top: 0; overflow: hidden; }

/* Nouveau dégradé premium (Base très sombre vers éclat de lumière blanc/cyan) */
#container netflixintro [class*="helper-"] .effect-brush::before { 
  display: block; 
  content: ""; 
  position: absolute; 
  background: linear-gradient(135deg, #001a33 0%, #0071e3 45%, #00f0ff 80%, #ffffff 100%);
  width: 100%; 
  height: 70%; 
  box-shadow: 0px 0px 30px 10px rgba(0, 113, 227, 0.5); 
}

#container netflixintro [class*="helper-"] .effect-brush [class*="fur-"] { display: block; position: absolute; bottom: 10%; height: 30%; }

/* Pointes des pinceaux adaptées aux nouvelles couleurs */
#container netflixintro [class*="helper-"] .effect-brush .fur-1 { left: 0%; width: 3.8%; background: linear-gradient(to bottom, #2997ff 0%, #0071e3 15%, rgba(0,0,0,0) 81%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-2 { left: 3.8%; width: 2.8%; background: linear-gradient(to bottom, #2997ff 0%, #0071e3 10%, rgba(0,0,0,0) 62%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-3 { left: 6.6%; width: 4.8%; background: linear-gradient(to bottom, #70b8ff 0%, #2997ff 37%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-4 { left: 11.4%; width: 4%; background: linear-gradient(to bottom, #2997ff 0%, #0071e3 23%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-5 { left: 15.4%; width: 4%; background: linear-gradient(to bottom, #70b8ff 0%, #2997ff 15%, rgba(0,0,0,0) 86%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-6 { left: 19.4%; width: 2.5%; background: linear-gradient(to bottom, #2997ff 0%, #0071e3 27%, rgba(0,0,0,0) 89%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-7 { left: 21.9%; width: 4%; background: linear-gradient(to bottom, #70b8ff 0%, #2997ff 20%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-8 { left: 25.9%; width: 2%; background: linear-gradient(to bottom, #2997ff 0%, #0071e3 30%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-9 { left: 27.9%; width: 4%; background: linear-gradient(to bottom, #00f0ff 0%, #2997ff 35%, rgba(0,0,0,0) 95%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-10 { left: 31.9%; width: 3.5%; background: linear-gradient(to bottom, #2997ff 0%, #0071e3 39%, rgba(0,0,0,0) 95%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-11 { left: 35.4%; width: 2%; background: linear-gradient(to bottom, #70b8ff 0%, #2997ff 34%, rgba(0,0,0,0) 95%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-12 { left: 37.4%; width: 2.6%; background: linear-gradient(to bottom, #2997ff 0%, #0071e3 22%, rgba(0,0,0,0) 95%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-13 { left: 40%; width: 6%; background: linear-gradient(to bottom, #00f0ff 0%, #2997ff 47%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-14 { left: 46%; width: 2%; background: linear-gradient(to bottom, #2997ff 0%, #0071e3 36%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-15 { left: 48%; width: 5.5%; background: linear-gradient(to bottom, #70b8ff 0%, #2997ff 29%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-16 { left: 53.5%; width: 3%; background: linear-gradient(to bottom, #2997ff 0%, #0071e3 39%, rgba(0,0,0,0) 95%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-17 { left: 56.5%; width: 4.1%; background: linear-gradient(to bottom, #00f0ff 0%, #2997ff 45%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-18 { left: 60.6%; width: 2.4%; background: linear-gradient(to bottom, #2997ff 0%, #0071e3 34%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-19 { left: 63%; width: 4%; background: linear-gradient(to bottom, #70b8ff 0%, #2997ff 47%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-20 { left: 67%; width: 1.5%; background: linear-gradient(to bottom, #2997ff 0%, #0071e3 27%, rgba(0,0,0,0) 95%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-21 { left: 68.5%; width: 2.8%; background: linear-gradient(to bottom, #00f0ff 0%, #2997ff 37%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-22 { left: 71.3%; width: 2.3%; background: linear-gradient(to bottom, #2997ff 0%, #0071e3 9%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-23 { left: 73.6%; width: 2.2%; background: linear-gradient(to bottom, #70b8ff 0%, #2997ff 28%, rgba(0,0,0,0) 92%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-24 { left: 75.8%; width: 1%; background: linear-gradient(to bottom, #2997ff 0%, #0071e3 37%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-25 { left: 76.8%; width: 2.1%; background: linear-gradient(to bottom, #00f0ff 0%, #2997ff 28%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-26 { left: 78.9%; width: 4.1%; background: linear-gradient(to bottom, #2997ff 0%, #0071e3 34%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-27 { left: 83%; width: 2.5%; background: linear-gradient(to bottom, #70b8ff 0%, #2997ff 21%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-28 { left: 85.5%; width: 4.5%; background: linear-gradient(to bottom, #2997ff 0%, #0071e3 39%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-29 { left: 90%; width: 2.8%; background: linear-gradient(to bottom, #00f0ff 0%, #2997ff 30%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-30 { left: 92.8%; width: 3.5%; background: linear-gradient(to bottom, #70b8ff 0%, #2997ff 19%, rgba(0,0,0,0) 100%); }
#container netflixintro [class*="helper-"] .effect-brush .fur-31 { left: 96.3%; width: 3.7%; background: linear-gradient(to bottom, #ffffff 0%, #2997ff 37%, rgba(0,0,0,0) 100%); }

/* --- SPECTRE LUMINEUX ORGANIQUE --- */
#container netflixintro [class*="helper-"] .effect-lumieres { position: absolute; width: 100%; height: 100%; opacity: 0; animation-name: showing-lumieres; animation-duration: 2s; animation-delay: 1.6s; animation-fill-mode: forwards; }
#container netflixintro [class*="helper-"] .effect-lumieres [class*="lamp-"] { position: absolute; display: block; height: 100%; box-shadow: 0px 0px 14px 2px rgba(41, 151, 255, 0.85); background: var(--color); }
#container netflixintro [class*="helper-"] .effect-lumieres [class*="lamp-"]::before { position: absolute; content: " "; display: block; width: 100%; height: 100%; background: var(--color); box-shadow: 0px 0px 14px 2px rgba(41, 151, 255, 0.85); }

#container netflixintro [class*="helper-"] .effect-lumieres .lamp-1 { --color: #00f0ff; z: 6; left: 0.7%; width: 1%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-2 { --color: #2997ff; left: 2.2%; width: 1.4%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-3 { --color: #70b8ff; left: 5.8%; width: 2.1%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-4 { --color: #5e5ce6; left: 10.1%; width: 2%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-5 { --color: #0071e3; left: 12.9%; width: 1.4%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-6 { --color: #38bdf8; left: 15.3%; width: 2.8%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-7 { --color: #a374ff; left: 21.2%; width: 2.5%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-8 { --color: #00e5ff; left: 25%; width: 2.5%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-9 { --color: #2997ff; left: 30.5%; width: 3%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-10 { --color: #818cf8; left: 36.3%; width: 3%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-11 { --color: #00f0ff; left: 41%; width: 2.2%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-12 { --color: #70b8ff; left: 44.2%; width: 2.6%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-13 { --color: #2997ff; left: 51.7%; width: 0.5%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-14 { --color: #5e5ce6; left: 52.1%; width: 1.8%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-15 { --color: #00e5ff; left: 53.8%; width: 2.3%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-16 { --color: #2997ff; left: 57.2%; width: 2%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-17 { --color: #38bdf8; left: 62.3%; width: 2.9%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-18 { --color: #a374ff; left: 65.8%; width: 1.7%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-19 { --color: #0071e3; left: 72.8%; width: 0.8%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-20 { --color: #00f0ff; left: 74.3%; width: 2%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-21 { --color: #70b8ff; left: 79.8%; width: 2%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-22 { --color: #5e5ce6; left: 78.2%; width: 2%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-23 { --color: #00e5ff; left: 78.5%; width: 2%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-24 { --color: #818cf8; left: 85.3%; width: 1.1%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-25 { --color: #2997ff; left: 86.9%; width: 1.1%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-26 { --color: #38bdf8; left: 88.8%; width: 2%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-27 { --color: #00f0ff; left: 92.4%; width: 2.4%; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-28 { --color: #70b8ff; left: 96.2%; width: 2.1%; }

#container netflixintro [class*="helper-"] .effect-lumieres .lamp-1, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-1::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-5, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-5::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-9, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-9::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-13, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-13::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-17, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-17::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-21, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-21::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-25, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-25::before { animation-delay: 0.2s; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-2, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-2::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-6, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-6::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-10, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-10::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-14, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-14::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-18, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-18::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-22, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-22::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-26, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-26::before { animation-delay: 0.8s; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-3, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-3::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-7, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-7::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-11, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-11::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-15, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-15::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-19, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-19::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-23, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-23::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-27, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-27::before { animation-delay: 1.4s; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-4, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-4::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-8, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-8::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-12, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-12::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-16, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-16::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-20, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-20::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-24, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-24::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-28, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-28::before { animation-delay: 0.5s; }

#container netflixintro [class*="helper-"] .effect-lumieres .lamp-1, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-3, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-5, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-7, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-9, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-11, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-13, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-15, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-17, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-19, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-21, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-23, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-25, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-27 { animation-name: lumieres-moving-left; animation-duration: 5s; animation-fill-mode: forwards; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-1::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-3::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-5::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-7::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-9::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-11::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-13::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-15::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-17::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-19::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-21::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-23::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-25::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-27::before { animation-name: lumieres-moving-left; animation-duration: 5.5s; }

#container netflixintro [class*="helper-"] .effect-lumieres .lamp-2, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-4, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-6, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-8, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-10, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-12, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-14, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-16, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-18, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-20, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-22, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-24, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-26, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-28 { animation-name: lumieres-moving-right; animation-duration: 5s; animation-fill-mode: forwards; }
#container netflixintro [class*="helper-"] .effect-lumieres .lamp-2::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-4::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-6::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-8::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-10::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-12::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-14::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-16::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-18::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-20::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-22::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-24::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-26::before, #container netflixintro [class*="helper-"] .effect-lumieres .lamp-28::before { animation-name: lumieres-moving-right; animation-duration: 5.5s; }

/* --- ÉCRAN DE FIN TOTALEMENT FONDU DANS LE SITE --- */
.enter-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  opacity: 0;
  animation: fadeInText 1s ease-in forwards;
  animation-delay: 2.5s; /* Ajusté avec la disparition du K */
  background: transparent;
}

.brand-text {
  /* UPDATE: Using clamp for perfect responsiveness across all devices */
  font-size: clamp(2rem, 10vw, 4.5rem); 
  font-weight: 800;
  text-transform: uppercase;
  /* UPDATE: Reduced letter spacing for mobile using a clamp-like approach for spacing, or handling in media query */
  letter-spacing: clamp(2px, 2vw, 8px); 
  margin-bottom: 25px;
  /* UPDATE: Added padding to prevent cutting off the text if it touches edges on very small screens */
  padding: 0 10px;
  text-align: center;
  
  /* Shimmer Brillant Chrome / Saphir */
  background-image: linear-gradient(110deg, #2997ff 15%, #ffffff 50%, #2997ff 85%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 25px rgba(41, 151, 255, 0.45));
  
  animation: shimmerText 4s linear infinite;
}

.enter-button {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 14px 34px;
  border: 1px solid rgba(41, 151, 255, 0.5);
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s var(--easing);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.enter-button:hover {
  background: linear-gradient(135deg, #0071e3, #2997ff);
  border-color: #2997ff;
  box-shadow: 0 0 25px rgba(41, 151, 255, 0.6);
  transform: translateY(-2px) scale(1.03);
}

/* --- KEYFRAMES --- */
@keyframes brush-moving { 0% { transform: translateY(0); } 100% { transform: translateY(-100%); } }
@keyframes fading-out { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes lumieres-moving-right { 0% { transform: translate(0); } 40% { transform: translate(-10px) scaleX(1); } 50% { transform: translate(-60px); } 100% { transform: translate(-120px) scaleX(3); } }
@keyframes lumieres-moving-left { 0% { transform: translate(0); } 40% { transform: translate(10px) scaleX(1); } 50% { transform: translate(60px); } 100% { transform: translate(120px) scaleX(3); } }

/* FIX DU BUG "MUR DE BARRES" : L'opacité tombe à 0 en douceur avant l'impact final ! */
@keyframes zoom-in { 
    0% { transform: scale(1); opacity: 1; filter: blur(0); } 
    50% { transform: scale(4); opacity: 1; filter: blur(0); } /* On grossit avec impact */
    75% { transform: scale(8); opacity: 0; filter: blur(5px); } /* Fondu total AVANT de voir les pixels géants */
    100% { transform: scale(15); opacity: 0; filter: blur(10px); } /* Continue dans le vide (invisible) */
}

@keyframes showing-lumieres { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes fading-lumieres-box { 0% { background-color: rgba(41, 151, 255, 0.4); } 100% { background-color: rgba(41, 151, 255, 0); } }
@keyframes fadeInText { to { opacity: 1; } }


/* ======================================================= */
/* RESTE DU SITE (HEADER, SECTIONS, ETC.) */
/* ======================================================= */

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    position: fixed;
    top: 0; width: 100%; z-index: 500;
    background: rgba(8, 9, 14, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-white);
}

.container { padding: 140px 40px 60px 40px; max-width: 1200px; margin: 0 auto; }
.small-container { max-width: 700px; }
.text-center { text-align: center; }
.window-height { height: 100vh; display: flex; align-items: center; justify-content: center; }

.page-header { margin-bottom: 60px; }
.section-title { font-size: 3rem; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 15px; }
.section-subtitle { color: var(--text-muted); font-size: 1.2rem; }

.hero-section { text-align: center; padding: 0 20px; }
.hero-subtitle { color: var(--accent-blue); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; margin-bottom: 15px; }
.hero-title { font-size: 4rem; font-weight: 700; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 25px; }
.gradient-text { background: linear-gradient(90deg, #2997ff, #70b8ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { font-size: 1.4rem; color: var(--text-muted); max-width: 750px; margin: 0 auto 40px auto; line-height: 1.4; }

.btn-premium, .btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s var(--easing);
}
.btn-premium { background: linear-gradient(135deg, #0071e3, #2997ff); color: var(--text-white); margin-right: 15px; box-shadow: 0 8px 20px rgba(0, 113, 227, 0.3); }
.btn-premium:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 113, 227, 0.45); }
.btn-secondary { background-color: rgba(255, 255, 255, 0.08); color: var(--text-white); border: 1px solid rgba(255, 255, 255, 0.1); }
.btn-secondary:hover { background-color: rgba(255, 255, 255, 0.14); transform: translateY(-2px); }

/* Process */
.process-section {
    padding: 100px 20px;
    background-color: transparent;
}
.container-process {
    max-width: 1100px;
    margin: 0 auto;
}
.section-tag {
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 50px;
}
.process-card {
    background-color: var(--card-gray);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 35px 25px;
    position: relative;
    transition: transform 0.4s var(--easing), border-color 0.4s var(--easing), box-shadow 0.4s var(--easing);
}
.process-card:hover {
    transform: translateY(-6px);
    border-color: rgba(41, 151, 255, 0.35);
    box-shadow: 0 12px 30px rgba(0, 113, 227, 0.12);
}
.process-step {
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(41, 151, 255, 0.2);
    margin-bottom: 15px;
    line-height: 1;
}
.process-card h3 {
    font-size: 1.3rem;
    color: var(--text-white);
    margin-bottom: 12px;
}
.process-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* FAQ */
.faq-section {
    padding: 100px 20px;
    background-color: transparent;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-section .section-title {
    text-align: center;
    margin-bottom: 40px;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    background-color: var(--card-gray);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s var(--easing);
}
.faq-item:hover {
    border-color: rgba(41, 151, 255, 0.25);
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
    transition: color 0.3s ease;
}
.faq-question:hover {
    color: var(--accent-blue);
}
.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform 0.4s var(--easing), color 0.3s ease;
}
.faq-item.active .faq-question {
    color: var(--accent-blue);
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-blue);
}
.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.5s var(--easing), padding 0.5s var(--easing), opacity 0.5s var(--easing);
}
.faq-answer p {
    color: var(--text-muted);
    line-height: 1.6;
    padding-bottom: 25px;
}
.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

/* Services & Tarifs Brillants */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--card-gray);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative; 
    overflow: hidden; 
    transition: transform 0.4s var(--easing), border-color 0.4s var(--easing), box-shadow 0.4s var(--easing);
}

.service-card::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.04), transparent);
    transform: skewX(-20deg);
    animation: shimmerCard 6s infinite;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(41, 151, 255, 0.35);
    box-shadow: 0 14px 32px rgba(0, 113, 227, 0.12);
}

.service-card.featured {
    background: linear-gradient(145deg, #161c2b, #0e121c);
    border: 1px solid rgba(41, 151, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.15);
}

.card-tag { 
    font-size: 0.78rem; 
    text-transform: uppercase; 
    color: var(--accent-blue); 
    background: rgba(41, 151, 255, 0.1); 
    border: 1px solid rgba(41, 151, 255, 0.25); 
    padding: 5px 12px; 
    border-radius: 20px; 
    display: inline-block; 
    width: fit-content; 
    margin-bottom: 20px; 
    font-weight: 600; 
    letter-spacing: 0.5px;
}
.card-tag.special { color: #a374ff; background: rgba(163, 116, 255, 0.12); border-color: rgba(163, 116, 255, 0.3); }
.service-card h3 { font-size: 1.6rem; margin-bottom: 15px; }
.card-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; margin-bottom: 30px; flex-grow: 1; }

/* Textes de prix façon "Métal liquide" */
.price-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: -5px;
}

.card-price { 
    border-top: 1px solid rgba(255, 255, 255, 0.08); 
    padding-top: 15px; 
    margin-bottom: 25px; 
}

.shiny-price {
    font-size: 2.2rem;
    font-weight: 800;
    background-image: linear-gradient(110deg, #f5f5f7 20%, #ffffff 50%, #9ba1b0 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: shimmerText 5s linear infinite;
}

.service-card.featured .shiny-price {
    background-image: linear-gradient(110deg, #2997ff 20%, #ffffff 50%, #70b8ff 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.price-limit { font-size: 1.1rem; color: var(--text-muted); font-weight: 400; -webkit-text-fill-color: var(--text-muted); }
.btn-card { color: var(--accent-blue); text-decoration: none; font-weight: 500; font-size: 0.95rem; }

/* Portfolio Showcase */
.project-case {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--card-gray);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    overflow: hidden;
    margin-top: 30px;
}
.project-info { padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.project-category { color: var(--accent-blue); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; margin-bottom: 10px; }
.project-info h2 { font-size: 2.2rem; margin-bottom: 20px; }
.project-info p { color: var(--text-muted); line-height: 1.6; margin-bottom: 30px; }
.project-preview-box { background: #1a1f2c; display: flex; align-items: center; justify-content: center; padding: 40px; }
.phone-mockup { width: 220px; height: 440px; background: #000; border: 8px solid #2d3345; border-radius: 36px; display: flex; align-items: center; justify-content: center; }
.phone-screen { color: #6e758a; font-size: 0.8rem; text-transform: uppercase; font-weight: 700; }

/* Formulaire */
.premium-form { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.form-row { display: flex; gap: 20px; }
.premium-form input, .premium-form select, .premium-form textarea {
    background-color: var(--card-gray);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-white);
    padding: 18px; border-radius: 12px; font-size: 1rem; width: 100%; outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.premium-form input:focus, .premium-form select:focus, .premium-form textarea:focus { 
    border-color: var(--accent-blue); 
    box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.15);
}
.direct-email { display: block; color: var(--accent-blue); font-size: 1.5rem; text-decoration: none; margin-top: 15px; font-weight: 600; }

/* Simulateur de devis */
.estimation-box {
    background: linear-gradient(145deg, #131722, #0d1017);
    border: 1px solid rgba(41, 151, 255, 0.35);
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.12);
}
.estimation-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}
.estimation-valeur {
    color: var(--accent-blue);
    font-size: 1.15rem;
    font-weight: 700;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s var(--easing), transform 1.2s var(--easing);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating contact */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #0071e3, #2997ff);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.4);
    transition: transform 0.3s var(--easing), box-shadow 0.3s var(--easing);
    z-index: 1000;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 113, 227, 0.6);
}

.floating-btn::before {
    content: "Démarrer un projet";
    position: absolute;
    right: 80px;
    background-color: var(--card-gray);
    color: var(--text-white);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-btn:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--bg-black);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 80px;
}

.main-footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    margin-left: 10px;
}

.main-footer a:hover {
    color: var(--text-white);
}

/* Responsive */
@media(max-width: 768px) {
    .main-header {
        flex-direction: column;
        padding: 15px 20px;
        gap: 15px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .nav-links a {
        font-size: 0.85rem;
    }
    .container {
        padding: 180px 20px 40px 20px;
    }
    .hero-title {
        font-size: 2.2rem;
        margin-top: 15px;
    }
    .section-title {
        font-size: 2rem;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .faq-answer p {
        padding-bottom: 20px;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .form-row, .project-case {
        grid-template-columns: 1fr;
    }
    .project-info {
        padding: 30px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }
    .main-footer {
        padding-bottom: 80px;
    }
    .estimation-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    /* FIX MOBILE : Ajustement du texte de marque pour qu'il ne déborde pas */
    .brand-text {
        font-size: 12vw; /* Taille calculée selon la largeur de l'écran */
        letter-spacing: 4px;
        margin-bottom: 20px;
    }
    /* FIX MOBILE : Ajustement de l'animation zoom-in pour éviter que le K ne déborde trop vite */
    #container netflixintro {
        transform: scale(0.8); /* Réduit un peu la taille de base sur mobile */
    }
}

/* Animations pour l'effet Métal/Lumière */
@keyframes shimmerText {
  to { background-position: 200% center; }
}

@keyframes shimmerCard {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}