/**
 * HERO SPLIT SECTION - Style Sky Zone FINAL
 * Partie gauche: Texte / Partie droite: Vidéo
 * Séparation avec ligne oblique simple
 * Mobile: Overlay texte sur vidéo avec glassmorphism
 */

/* ========================================
   HERO SPLIT CONTAINER
======================================== */
.hero-section {
  position: relative;
  height: 70vh;
  min-height: 550px;
  display: flex;
  overflow: hidden;
  background: #f8f9fa;
  justify-content: space-between;
}

/* ========================================
   LEFT SIDE - TEXT CONTENT
======================================== */
.hero-left {
  position: relative;
  z-index: 10;
  width: 50%;
  display: flex;
  align-items: center;
  padding: 4rem 2rem 4rem 4rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  /* Clip path pour ligne oblique */
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
}

.hero-text-wrapper {
  max-width: 600px;
  margin-left: auto;
  padding-right: 3rem;
}

.hero-title {
  margin: 0 0 1.5rem 0;
}

.title-line-1 {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.title-line-2 {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-top: 0.25rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-cta .btn-primary,
.hero-cta .btn-secondary {
  width: 100%;
  max-width: 400px;
  justify-content: center;
  text-align: center;
}

/* ========================================
   RIGHT SIDE - VIDEO
======================================== */
.hero-right {
  position: absolute;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  overflow: hidden;
}

.hero-video-container {
  position: relative;
  width: 100%;
  height: 100%;
  padding-bottom: 0;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 0, 0.1) 0%,
    rgba(199, 13, 128, 0.1) 50%,
    rgba(30, 42, 74, 0.2) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* ========================================
   DECORATIVE SHAPES
======================================== */
.hero-left .shape {
  position: absolute;
  z-index: 1;
}

.hero-left .shape-circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.05;
  top: -100px;
  right: -50px;
}

.hero-left .shape-triangle {
  width: 0;
  height: 0;
  border-left: 150px solid transparent;
  border-right: 150px solid transparent;
  border-bottom: 260px solid var(--fuchsia);
  opacity: 0.04;
  bottom: -80px;
  left: -100px;
  transform: rotate(15deg);
}

/* ========================================
   MASQUER LE DIVIDER (non utilisé)
======================================== */
.hero-divider {
  display: none;
}

/* ========================================
   RESPONSIVE - TABLET
======================================== */
@media (max-width: 992px) {
  .hero-left {
    padding: 3rem 2rem;
    clip-path: polygon(0 0, 100% 0, 93% 100%, 0 100%);
  }

  .hero-text-wrapper {
    padding-right: 2rem;
  }

  .title-line-1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }

  .title-line-2 {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
  }
}

/* ========================================
   RESPONSIVE - MOBILE STACK VERTICAL
======================================== */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column; /* Stack vertical */
    height: auto;
    min-height: auto;
  }

  /* Vidéo en haut - 65vh (plus grande) */
  .hero-right {
    position: relative; /* Plus absolute */
    width: 100%;
    height: 65vh;
    order: 1; /* En premier */
  }

  .hero-video-container {
    width: 100%;
    height: 100%;
  }

  /* Texte en bas - hauteur auto */
  .hero-left {
    position: relative;
    width: 100%;
    min-height: auto;
    padding: 3rem 1.5rem;
    clip-path: none; /* Enlever le clip oblique */
    order: 2; /* En second */
  }

  .hero-text-wrapper {
    max-width: 100%;
    padding-right: 0;
    margin-left: 0;
    text-align: center; /* Centrer le contenu */
  }

  /* Garder les couleurs normales (pas besoin de blanc) */
  .title-line-1 {
    /* Garde var(--orange) */
  }

  .title-line-2 {
    /* Garde var(--navy) */
  }

  .hero-subtitle {
    /* Garde #4a5568 */
  }

  /* Ajuster les boutons */
  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    max-width: 100%;
    font-size: 0.95rem;
    padding: 0.875rem 1.5rem;
  }

  /* Masquer les shapes décoratives sur mobile */
  .hero-left .shape {
    display: none;
  }
}

/* ========================================
   RESPONSIVE - PETIT MOBILE
======================================== */
@media (max-width: 480px) {
  .hero-right {
    height: 55vh; /* Vidéo un peu plus petite sur très petit écran */
  }

  .hero-left {
    padding: 2rem 1rem;
  }

  .title-line-1 {
    font-size: 1.5rem;
  }

  .title-line-2 {
    font-size: 1.875rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
}