/* --- video.css (CORRIGÉ) --- */

:root {
  --accent-gold: #d4af37;
  --bg-main: #050505;
  --bg-card: rgba(255, 255, 255, 0.03);
  --text-muted: #aaa;
  --border-subtle: rgba(255, 255, 255, 0.08);
}

body {
  background-color: var(--bg-main);
  background-image: radial-gradient(
    circle at 50% 0%,
    #1a1500 0%,
    var(--bg-main) 60%
  );
  color: #fff;
  font-family: "Inter", sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header (CORRIGÉ : Bleu -> Or) */
.video-header {
  text-align: center;
  padding: 8rem 2rem 3rem;
  /* Changement ici : Code couleur Or (212, 175, 55) au lieu de Bleu */
  background: radial-gradient(
    circle at center,
    rgba(212, 175, 55, 0.08) 0%,
    transparent 70%
  );
}

.badge-header {
  background: rgba(212, 175, 55, 0.05);
  color: var(--accent-gold);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: inline-block;
  margin-bottom: 1rem;
}

.video-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.text-gold {
  color: var(--accent-gold);
  font-style: italic;
}

.video-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Guide Progression */
.progression-guide {
  max-width: 1000px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
  text-align: center;
}

.intro-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.prof-recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.prof-card {
  background: rgba(255, 255, 255, 0.02);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 2px solid var(--accent-gold);
  text-align: left;
  transition: transform 0.2s;
}

.prof-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-3px);
}

.prof-card strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #fff;
  font-size: 1rem;
}

.prof-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Container */
.video-container {
  max-width: 1100px;
  margin: 0 auto 6rem;
  padding: 0 2rem;
}

/* Labels de section */
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
}

.main-video-link,
.video-card-link {
  text-decoration: none;
  display: block;
}

/* --- SECTION À LA UNE --- */
.main-video-card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 4rem;
  border: 1px solid var(--border-subtle);
  transition:
    transform 0.3s,
    border-color 0.3s;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.main-video-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-thumbnail.big {
  min-height: 350px;
  background-color: #000;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Play Button */
.play-button {
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  transition: all 0.3s;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding-left: 4px;
}

.video-thumbnail:hover .play-button {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: scale(1.1);
  color: #000;
}

.duration {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
}

.video-info-large {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tag {
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.video-info-large h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
  color: #fff;
  line-height: 1.2;
}

.video-info-large p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.meta {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

/* --- GRILLE VIDÉOS --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* CADRE AUTOUR DES 3 VIDÉOS DU BAS */
.video-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-card .video-thumbnail {
  height: 180px;
  background-color: #1a1a1a;
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.video-card .play-button {
  width: 45px;
  height: 45px;
  font-size: 1rem;
}

.tags-row {
  margin-bottom: 0.5rem;
}

.category-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.category-tag.strategy {
  background: rgba(52, 152, 219, 0.1);
  color: #5d9cec;
  border: 1px solid rgba(52, 152, 219, 0.3);
}
.category-tag.analysis {
  background: rgba(155, 89, 182, 0.1);
  color: #ac92ec;
  border: 1px solid rgba(155, 89, 182, 0.3);
}

.video-details h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: #eee;
  line-height: 1.4;
  transition: color 0.2s;
}

.video-card:hover h3 {
  color: var(--accent-gold);
}

.description {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
  flex-grow: 1;
}

.author {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
  margin-top: auto;
}

/* --- SECTION STUDIO REPLAY --- */
.vid-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  margin: 5rem 0;
}

.future-studio-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.studio-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  justify-content: space-between;
}

.studio-text {
  flex: 1;
}

.status-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #888;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Titre blanc uni (W3C friendly & lisible) */
.studio-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin: 0 0 1rem;
  color: #ffffff;
}

.studio-text p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-interest {
  background: transparent;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 10px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
  text-transform: uppercase;
}

.btn-interest:hover {
  background: var(--accent-gold);
  color: #000;
}

/* Visuel Téléphone */
.studio-visual {
  flex: 0 0 250px;
  display: flex;
  justify-content: center;
}

.fake-phone {
  width: 160px;
  height: 280px;
  background: #000;
  border: 4px solid #333;
  border-radius: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: rotate(-5deg);
}

.screen {
  width: 90%;
  height: 90%;
  background: linear-gradient(180deg, #1e1e1e, #000);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #444;
}

.chess-piece {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 900px) {
  .main-video-card {
    grid-template-columns: 1fr;
  }
  .video-thumbnail.big {
    min-height: 250px;
  }
  .video-info-large {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .studio-content {
    flex-direction: column;
    text-align: center;
  }
  .studio-visual {
    display: none;
  }
  .video-header h1 {
    font-size: 2.8rem;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-nav-group {
    justify-content: center;
    width: 100%;
    gap: 2rem;
  }
}
