/* ================================================================
   DOCUMENTAIRE PAGE - CINEMATIC (LIGHT THEME)
   Au fil du court - Immersive Documentary
   ================================================================ */

/* ================================================================
   HERO SECTION
   ================================================================ */
.doc-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--court-green);
}

.doc-hero-bg {
  position: absolute;
  inset: -10%;
  background: url('../img/court.JPG') center center / cover no-repeat;
  opacity: 0.4;
  transform: scale(1.1);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1.2); }
}

.doc-hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(27, 77, 62, 0.7) 0%, rgba(27, 77, 62, 0.5) 50%, rgba(27, 77, 62, 0.9) 100%);
}

.doc-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 var(--space-md);
}

.doc-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ball-yellow);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeInDown 1s var(--ease-out) 0.2s forwards;
}

.doc-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 400;
  line-height: 0.95;
  color: var(--surface-white);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeInUp 1.2s var(--ease-out) 0.4s forwards;
}

.doc-hero-title span {
  display: block;
  font-style: italic;
  color: var(--ball-yellow);
  font-size: 0.6em;
  text-shadow: 0 0 60px var(--ball-glow);
}

.doc-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out) 0.6s forwards;
}

/* Scroll Indicator */
.doc-scroll-cue {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.2s forwards;
}

.doc-scroll-cue .mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}

.doc-scroll-cue .mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--ball-yellow);
  border-radius: 2px;
  animation: scrollMouse 2s ease-in-out infinite;
}

@keyframes scrollMouse {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
}

.doc-scroll-cue span {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
}

/* ================================================================
   VIDEO SECTION
   ================================================================ */
.video-section {
  padding: var(--space-xl) 0;
  background: var(--surface-white);
  position: relative;
}

.video-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--court-green), transparent);
}

.video-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.video-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--court-green-dark);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: all 0.8s var(--ease-out);
}

.video-wrapper.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.video-wrapper::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--court-green), var(--ball-yellow), var(--court-green));
  border-radius: calc(var(--radius-lg) + 3px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.video-wrapper:hover::before {
  opacity: 0.8;
}

.video-player {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Video Info */
.video-info {
  max-width: 800px;
  margin: var(--space-lg) auto 0;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out) 0.2s;
}

.video-info.visible {
  opacity: 1;
  transform: translateY(0);
}

.video-info-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.video-info-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--court-green);
  margin: var(--space-sm) auto 0;
  border-radius: 2px;
}

.video-info p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-top: var(--space-md);
}

/* ================================================================
   PODCAST SECTION - MINIMALIST
   ================================================================ */
.podcast-section {
  padding: var(--space-xl) var(--space-md);
  background: var(--surface-cream);
}

.podcast-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(27, 77, 62, 0.08);
  border: 1px solid rgba(27, 77, 62, 0.08);
}

/* Podcast Visual - Waveform */
.podcast-visual {
  background: var(--court-green);
  padding: var(--space-lg) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.podcast-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 50px;
}

.podcast-waveform span {
  width: 4px;
  background: var(--ball-yellow);
  border-radius: 2px;
  animation: waveform 1.2s ease-in-out infinite;
}

.podcast-waveform span:nth-child(1) { height: 20px; animation-delay: 0s; }
.podcast-waveform span:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.podcast-waveform span:nth-child(3) { height: 50px; animation-delay: 0.2s; }
.podcast-waveform span:nth-child(4) { height: 30px; animation-delay: 0.3s; }
.podcast-waveform span:nth-child(5) { height: 45px; animation-delay: 0.4s; }
.podcast-waveform span:nth-child(6) { height: 25px; animation-delay: 0.5s; }
.podcast-waveform span:nth-child(7) { height: 40px; animation-delay: 0.6s; }
.podcast-waveform span:nth-child(8) { height: 50px; animation-delay: 0.7s; }
.podcast-waveform span:nth-child(9) { height: 30px; animation-delay: 0.8s; }
.podcast-waveform span:nth-child(10) { height: 15px; animation-delay: 0.9s; }

@keyframes waveform {
  0%, 100% { transform: scaleY(0.5); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Podcast Content */
.podcast-content {
  padding: var(--space-lg);
  text-align: center;
}

.podcast-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--court-green);
  background: rgba(27, 77, 62, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.podcast-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.podcast-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Audio Player */
.podcast-player {
  margin-bottom: var(--space-sm);
}

.podcast-player audio {
  width: 100%;
  height: 50px;
  border-radius: var(--radius-md);
}

.podcast-duration {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

/* ================================================================
   RELATED ARTICLES
   ================================================================ */
.related-section {
  padding: var(--space-xl) 0;
  background: var(--surface-white);
}

.related-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.related-header .section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--court-green);
  margin-bottom: var(--space-xs);
}

.related-header .section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--text-dark);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.related-card {
  display: block;
  background: var(--surface-white);
  border: 1px solid rgba(27, 77, 62, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
}

.related-card:hover {
  transform: translateY(-8px);
  border-color: var(--court-green);
  box-shadow: var(--shadow-lg);
}

.related-card-image {
  height: 200px;
  background: var(--court-green);
  position: relative;
  overflow: hidden;
}

.related-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.related-card:hover .related-card-image img {
  transform: scale(1.1);
}

.related-card-content {
  padding: var(--space-md);
}

.related-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
  transition: color 0.3s ease;
}

.related-card:hover .related-card-title {
  color: var(--court-green);
}

.related-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  .doc-hero {
    min-height: 100vh;
  }
  
  .doc-hero-title {
    font-size: clamp(2.5rem, 15vw, 5rem);
  }
  
  .podcast-section {
    padding: var(--space-lg) var(--space-sm);
  }
  
  .podcast-content {
    padding: var(--space-md);
  }
  
  .podcast-title {
    font-size: 1.4rem;
  }
  
  .podcast-waveform span {
    width: 3px;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .related-card-image {
    height: 180px;
  }
  
  .related-card-title {
    font-size: 1.3rem;
  }
  
  .doc-scroll-cue {
    display: none;
  }
}
