/* jtt.css - Version finale propre */

/* Variables */
:root {
  --font-family: 'Poppins', sans-serif;
  --primary-color: #fff;
  --background-color: #000;
  --accent-color: #1a1a1a;
  --transition-speed: 0.3s;
}

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

/* Base */
body {
  font-family: var(--font-family);
  background: url('../images/background2.png') no-repeat center center;
  background-size: cover;
  color: var(--primary-color);
  line-height: 1.6;
  padding-bottom: 40px;
}

.header, .logo {
  border: none;
  box-shadow: none;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  padding: 0 20px;
}

.burger-menu {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 25px;
  height: 20px;
  cursor: pointer;
  z-index: 1000;
}

.burger-menu span {
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: transform var(--transition-speed), opacity var(--transition-speed);
}

.burger-menu.open span:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}
.burger-menu.open span:nth-child(2) {
  opacity: 0;
}
.burger-menu.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

.logo {
  text-align: center;
  margin: 20px 0;
}
.logo img {
  height: 50px;
  transition: transform var(--transition-speed);
}
.logo:hover img {
  transform: scale(1.1);
}

.menu {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.menu a {
  color: var(--primary-color);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.5rem;
}

/* Hero */
.hero {
  padding: 80px 20px;
  text-align: center;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero .tagline {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}
.hero .description {
  font-size: 1rem;
  line-height: 1.8;
}

/* Pitch / Distribution / Tech Sheet */
.pitch, .distribution, .tech-sheet {
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.distribution ul,
.tech-sheet ul {
  list-style: none;
  padding-left: 0;
}

.pitch h2, .distribution h2, .tech-sheet h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.pitch p, .distribution p, .tech-sheet p {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.6;
}

.info-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 800px;
  margin: 40px auto;
  gap: 20px;
}
.info-container > div {
  flex: 1;
  text-align: left;
}

/* Grille d'épisodes */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
}

.case-block {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  margin-top: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.4s ease;
  position: static;
  z-index: auto;
}

.case-media {
  width: 100%;
  border-radius: 8px;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.case-media video,
.case-media img {
  width: 100%;
  height: auto;
  max-height: 700px;
  display: block;
  border-radius: 8px;
  pointer-events: auto;
  z-index: 1;
  position: relative;
}

.case-media img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.case-media video:hover {
  transform: none;
}

.case-text {
  margin-top: 15px;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--primary-color);
}

/* Grille Photos */
.photo-grid {
  width: 100%;
  max-width: 1200px;
  margin: 60px auto;
  text-align: center;
}
.photo-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.photo-row img {
  width: calc(50% - 20px);
  max-width: 650px;
  border-radius: 10px;
  object-fit: cover;
}

/* Statistiques */
.jtt-stats {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  margin: 60px auto;
  padding: 0 20px;
  max-width: 800px;
  text-align: center;
  flex-wrap: wrap;
}
.jtt-stats .stat-item {
  flex: 1;
  min-width: 200px;
}
.jtt-stats .stat-item h3 {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.jtt-stats .stat-item p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Footer */
footer {
  width: 100%;
  background: #000;
  text-align: center;
  padding: 15px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 40px;
}
.footer-content {
  max-width: 900px;
  margin: 0 auto;
}
.follow-us {
  margin-top: 10px;
  font-size: 14px;
}
.follow-us a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  margin-left: 10px;
  transition: color 0.3s ease;
}
.follow-us a:hover {
  color: rgba(255,255,255,0.9);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero .tagline {
    font-size: 1.2rem;
  }
  .case-grid {
    grid-template-columns: 1fr;
  }
  .photo-row img {
    width: 100%;
  }
  .jtt-stats {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .jtt-stats .stat-item h3 {
    font-size: 2.5rem;
  }
}