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

:root {
  --pink:       #FF2878;
  --pink-light: #FF6BAA;
  --pink-glow:  rgba(255,40,120,0.7);
  --teal:       #00E5C8;
  --teal-light: #5AFFF0;
  --dark:       #04060D;
  --text:       #F2EDF8;
}

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--dark);
  color: var(--text);
  font-family: 'Noto Sans', sans-serif;
}

/* ─── BACKGROUND VIDEO (blurred) ─── */
.bg-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,
    rgba(4,6,13,0.10) 0%,
    rgba(4,6,13,0.28) 55%,
    rgba(4,6,13,0.70) 100%);
  z-index: 2;
  pointer-events: none;
}

.bg-wrap #bgVideo {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  filter: blur(12px) saturate(1.9) brightness(0.85);
  pointer-events: none;
}

/* ─── MASQUER TOUT L'UI WISTIA ─── */
wistia-player::part(play-button),
wistia-player::part(control-bar),
wistia-player::part(playbar),
wistia-player::part(bottom-bar),
wistia-player::part(logo),
wistia-player::part(wistia-logo),
wistia-player::part(big-play-button),
wistia-player::part(watermark) { display: none !important; }

.w-bottom-bar, .w-bpb-wrapper, .wistia_watermark,
.w-playbar, .w-big-play-button, .w-fullscreen-btn,
.w-volume-control, .w-settingsControl, .w-playbar-wrapper,
.wistia_click_to_play, [class*="w-chrome"], [class*="wistia_watermark"],
.w-play-button-container, .w-play-button,
a[href*="wistia.com"], img[src*="wistia"] { display: none !important; }

/* ─── HERO ─── */
.hero {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  gap: 0;
}

/* ─── LOGO ─── */
.logo {
  position: absolute;
  top: 22px; left: 28px;
  width: 140px;
  opacity: 0;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.85));
  animation: fadeIn 1.2s ease 0.3s forwards;
}
@media (max-width:600px) { .logo { width: 100px; top: 16px; left: 16px; } }

/* ─── BADGE ─── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,229,200,0.08);
  border: 1px solid rgba(0,229,200,0.28);
  border-radius: 100px;
  padding: 6px 18px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 14px;
  opacity: 0;
  animation: slideDown 0.8s ease 0.5s forwards;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--teal);
  animation: pulseDot 1.8s infinite;
}

/* ─── HEADLINE ─── */
.headline {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.0;
  text-align: center;
  color: #fff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 860px;
  padding: 0 20px;
  opacity: 0;
  animation: slideUp 0.9s ease 0.7s forwards;
  text-shadow: 0 4px 40px rgba(0,0,0,0.9);
}
.headline .hl-pink {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-light) 60%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── SUBLINE ─── */
.subline {
  font-size: clamp(0.85rem, 1.9vw, 1rem);
  color: rgba(242,237,248,0.6);
  text-align: center;
  max-width: 520px;
  padding: 0 24px;
  margin-top: 10px;
  line-height: 1.6;
  opacity: 0;
  animation: slideUp 0.9s ease 0.9s forwards;
}

/* ─── VIDEO STAGE ─── */
.video-stage {
  width: min(660px, 88vw);
  margin: 20px 0 16px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(0,0,0,0.9);
  opacity: 0;
  animation: scaleIn 1s ease 1.0s forwards;
}

.video-stage wistia-player {
  display: block !important;
  width: 100% !important;
  height: 42vh !important;
  border-radius: 10px !important;
  overflow: hidden;
}

/* ─── CTA ─── */
.cta-wrap {
  opacity: 0;
  animation: slideUp 0.8s ease 1.3s forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #C01A5C 0%, var(--pink) 45%, #D4236A 100%);
  background-size: 200% 100%;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 44px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  animation: shimmerBg 2.8s ease-in-out infinite, ctaPulse 2.2s ease-in-out 2s infinite;
  box-shadow:
    0 0 0 1px rgba(255,40,120,0.5),
    0 0 30px rgba(255,40,120,0.5),
    0 0 60px rgba(255,40,120,0.2),
    0 10px 30px rgba(0,0,0,0.7);
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta::before {
  content: '';
  position: absolute;
  top: -50%; left: -70%;
  width: 35%; height: 200%;
  background: rgba(255,255,255,0.2);
  transform: skewX(-22deg);
  animation: sweep 2.8s ease-in-out infinite;
}
.cta::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: scanLine 2.8s ease-in-out infinite;
}
.cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 0 0 2px rgba(255,40,120,0.7),
    0 0 55px rgba(255,40,120,0.7),
    0 0 90px rgba(255,40,120,0.3),
    0 12px 40px rgba(0,0,0,0.8);
}
.cta-arrow { font-size: 1.15em; animation: arrowBounce 1.1s ease-in-out infinite; }

.urgency {
  font-size: 0.72rem;
  color: rgba(242,237,248,0.42);
  letter-spacing: 0.05em;
  text-align: center;
}
.urgency strong { color: var(--teal-light); font-weight: 500; }

/* ─── PARTICLES ─── */
.particles { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.particle  { position: absolute; border-radius: 50%; opacity: 0; animation: floatUp var(--dur) ease-in var(--delay) infinite; }

/* ─── KEYFRAMES ─── */
@keyframes fadeIn    { to { opacity: .95; } }
@keyframes slideDown { from { opacity:0; transform:translateY(-14px); } to { opacity:1; transform:translateY(0); } }
@keyframes slideUp   { from { opacity:0; transform:translateY(18px);  } to { opacity:1; transform:translateY(0); } }
@keyframes scaleIn   { from { opacity:0; transform:scale(.95);        } to { opacity:1; transform:scale(1);     } }
@keyframes pulseDot  { 0%,100% { opacity:1; transform:scale(1);   } 50% { opacity:.4; transform:scale(1.5); } }
@keyframes shimmerBg { 0% { background-position:0% 50%; } 50% { background-position:100% 50%; } 100% { background-position:0% 50%; } }
@keyframes sweep     { 0% { left:-70%; opacity:0; } 15% { opacity:1; } 55% { left:120%; opacity:0; } 100% { left:120%; opacity:0; } }
@keyframes scanLine  { 0%,100% { opacity:.4; transform:scaleX(.3); } 50% { opacity:1; transform:scaleX(1); } }
@keyframes ctaPulse  {
  0%,100% { box-shadow: 0 0 0 1px rgba(255,40,120,.5), 0 0 30px rgba(255,40,120,.5), 0 0 60px rgba(255,40,120,.2), 0 10px 30px rgba(0,0,0,.7); }
  50%     { box-shadow: 0 0 0 2px rgba(255,40,120,.8), 0 0 60px rgba(255,40,120,.8), 0 0 100px rgba(255,40,120,.35), 0 10px 30px rgba(0,0,0,.7); }
}
@keyframes arrowBounce { 0%,100% { transform:translateX(0); } 50% { transform:translateX(6px); } }
@keyframes floatUp {
  0%   { transform:translateY(100vh) translateX(0) scale(0); opacity:0; }
  8%   { opacity:1; }
  92%  { opacity:.4; }
  100% { transform:translateY(-10vh) translateX(var(--drift)) scale(2); opacity:0; }
}

/* ─── RESPONSIVE ─── */
@media (max-width:600px) {
  .headline { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .video-stage wistia-player { height: 36vh !important; }
  .cta { padding: 14px 28px; width: 100%; max-width: 280px; justify-content: center; }
}
@media (max-height:700px) {
  .badge { margin-bottom: 8px; }
  .video-stage wistia-player { height: 30vh !important; }
}
