/* ============================================
   SECTION VIDEOS QUI CAPTENT L'ATTENTION
   ============================================ */

.section_videos-captivantes {
  padding: 6rem 0 !important; /* Aération importante */
  background-color: #0a0a0a; /* Fond sombre comme sur l'image */
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  position: relative;
}

/* Effet étoiles sur le fond */
.section_videos-captivantes::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 30% 80%, rgba(255, 255, 255, 0.4), transparent);
  background-size: 200% 200%;
  background-position: 0% 0%;
  pointer-events: none;
  opacity: 0.6;
}

.section_videos-captivantes .container-large {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* ============================================
   TITRE STYLISÉ - "Videos That Grab Attention"
   ============================================ */
.section_videos-captivantes .videos-section-title {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

/* Ligne 1 : "Videos" */
.videos-title-line-1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Ligne 2 : "That Grab" avec cœurs */
.videos-title-line-2-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.videos-title-heart {
  width: 28px;
  height: 28px;
  filter: hue-rotate(-20deg) saturate(2) brightness(1.3); /* Orange vif */
  position: absolute;
}

.videos-title-heart-1 {
  left: -45px;
  top: -20px;
}

.videos-title-heart-2 {
  left: -25px;
  top: -20px;
}

.videos-title-line-2 {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Ligne 3 : "Attention" avec couronne */
.videos-title-line-3-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.videos-title-line-3 {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  font-style: italic;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.videos-title-crown {
  width: 40px;
  height: 40px;
  filter: hue-rotate(-20deg) saturate(2) brightness(1.3); /* Orange vif */
  margin-left: 0.8rem;
  object-fit: contain;
}

/* ============================================
   GRID DE VIDÉOS - 5 VIDÉOS (Layout comme sur l'image)
   ============================================ */
.videos-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* Ligne 1 : 2 vidéos verticales (gauche et droite) */
.videos-row-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  grid-column: 1 / -1;
}

/* Ligne 2 : 1 vidéo horizontale au centre */
.videos-row-center {
  display: flex;
  justify-content: center;
  grid-column: 1 / -1;
  margin: 1rem 0;
}

/* Ligne 3 : 2 vidéos verticales (gauche et droite) */
.videos-row-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  grid-column: 1 / -1;
}

/* Styles communs pour les vidéos */
.video-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.video-item iframe,
.video-item video {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
  display: block;
}

/* Vidéo verticale (9:16) */
.video-vertical {
  aspect-ratio: 9 / 16;
  max-width: 280px;
  width: 100%;
  margin: 0 auto;
}

/* Vidéo horizontale (16:9) */
.video-horizontal {
  aspect-ratio: 16 / 9;
  max-width: 700px;
  width: 100%;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .section_videos-captivantes {
    padding: 4rem 0 !important;
  }
  
  .section_videos-captivantes .videos-section-title {
    margin-bottom: 3rem;
  }
  
  .videos-title-heart-1 {
    left: -30px;
    width: 18px;
    height: 18px;
  }
  
  .videos-title-heart-2 {
    left: -15px;
    width: 18px;
    height: 18px;
  }
  
  .videos-title-crown {
    width: 25px;
    height: 25px;
  }
  
  .videos-grid-container {
    gap: 1.5rem;
    grid-template-columns: 1fr;
  }
  
  .videos-row-top,
  .videos-row-bottom {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .video-vertical {
    max-width: 100%;
  }
  
  .video-horizontal {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .section_videos-captivantes {
    padding: 3rem 0 !important;
  }
  
  .section_videos-captivantes .container-large {
    padding: 0 1rem;
  }
  
  .videos-grid-container {
    gap: 1.5rem;
  }
  
  .videos-title-heart-1,
  .videos-title-heart-2 {
    display: none; /* Masquer les cœurs sur très petit écran */
  }
  
  .videos-title-crown {
    width: 20px;
    height: 20px;
  }
}
