* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.6;
  padding: 0 20px;
}

.info-tech {
  margin-top: 2rem;
}

.info-tech h2 {
  font-size: 1.5rem;
}

.info-tech {
  display: grid;
  grid-template-columns: repeat(4, 2fr);
  gap: 1rem 2rem;
}

.tech-item {
  background-color: #e3f0ff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.film-detail {
  display: flex;
  flex-direction: row;
  gap: 40px;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  flex-wrap: wrap;
}

.film-poster img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.film-content {
  flex: 1;
  min-width: 300px;
}

.film-title {
  font-size: 2rem;
  font-weight: 700;
}

.film-director {
  font-size: 1.1rem;
  color: #1280ff;
  margin-bottom: 10px;
}

.film-meta p {
  font-size: 1rem;
  margin-bottom: 5px;
}

.film-synopsis {
  margin: 30px 0;
}

.film-synopsis h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.film-synopsis p {
  color: #444;
  font-size: 1rem;
}

.film-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  background: #111;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 25px;
  transition: background 0.3s ease;
  font-size: 0.95rem;
}

.btn:hover {
  background: #333;
}

@media (max-width: 768px) {
  .film-detail {
    flex-direction: column;
    align-items: center;
  }

  .film-content {
    text-align: center;
  }

  .film-actions {
    justify-content: center;
  }
}

.film-carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  max-width: 100%;
}

.film-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.film-carousel img {
  flex: 0 0 auto;
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  scroll-snap-align: start;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.film-carousel img:hover {
  transform: scale(1.03);
}

.synopsis-container {
  position: relative;
  max-width: 800px;
  margin: 20px auto;
}

.synopsis {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  transition: max-height 0.3s ease;
}

.synopsis.expanded {
  -webkit-line-clamp: unset;
  display: block;
}

.toggle-synopsis {
  background-color: transparent;
  border: none;
  color: #333;
  font-weight: 500;
  cursor: pointer;
  margin-top: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  text-decoration: underline;
}

.back-to-catalogue {
  display: inline-block;
  font-size: 0.95rem;
  color: #555;
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.back-to-catalogue:hover {
  color: #000;
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .info-tech {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .info-tech {
    grid-template-columns: 1fr;
  }
}

.press {
  display: flex;
  gap: 20px; /* espace entre les deux blocs */
  flex-wrap: wrap; /* permet de passer à la ligne sur petits écrans */
}

.press-quote {
  flex: 1;
  min-width: 250px;
  border-left: 3px solid #1280ff;
  padding-left: 15px;
}