/* ============================================
   STYLE COMPLÉMENTAIRE — PAGES FILMS / ANALYSES
   (Compatible avec style_index.css)
   ============================================ */

/* -------------------- POLICES -------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Playfair+Display&family=Poppins:wght@400;600&family=Oxygen&family=Quicksand&display=swap');

body {
  font-family: 'Quicksand', sans-serif;
  line-height: 1.7;
}

/* -------------------- TITRES -------------------- */
h3,
h3.titre-film,
.titre-et-note h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  color: #b22222;
  letter-spacing: .15rem;
  padding-top: 20px;
  padding-bottom: 5px;
  position: relative;
  margin-bottom: 1.2rem;
  text-transform: none;
}

h3.titre-film,
.titre-et-note h3 { padding-left: 18px; }

h3.titre-film::before,
.titre-et-note h3::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background-color: #b22222;
  border-radius: 2px;
}

/* -------------------- BLOCS D’ANALYSE -------------------- */
.analysis-block {
  background: #fff;
  color: #1a1a1a;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  border: 1px solid #ddd6c9;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.analysis-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

.analysis-block h5 {
  color: #b22222;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

.analysis-block p {
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: #1a1a1a;
}

/* -------------------- LIENS DANS LE TEXTE -------------------- */
.analysis-block a {
  color: #b22222;                /* rouge cinéma */
  text-decoration: none;         /* supprime le soulignement */
  font-weight: 600;              /* légèrement renforcé */
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.analysis-block a:hover {
  color: #d03a3a;                /* rouge plus vif au survol */
  text-shadow: 0 0 4px rgba(178,34,34,0.2);
}

/* -------------------- ENCART SPÉCIAL -------------------- */
.special-note {
  background: #fff5f5;
  border-left: 4px solid #b22222;
  padding: 1rem 1.2rem;
  margin: 1rem 0 1.5rem 0;
  border-radius: 6px;
  font-style: italic;
  color: #b22222;
}

/* -------------------- FICHE TECHNIQUE -------------------- */
.fiche-technique {
  list-style: none;
  padding-left: 0;
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

.fiche-technique li {
  margin-bottom: 0.3rem;
  border-bottom: 1px dotted #ddd6c9;
  padding-bottom: 0.3rem;
}

.fiche-technique li:last-child {
  border: none;
}

/* -------------------- TRAILERS -------------------- */
.trailer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.trailer-card {
  border: 1px solid #ddd6c9;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trailer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* Ajustement affiches bandes-annonces — afficher l’image entière */
.trailer-card .card-img-top {
  height: 400px;              /* hauteur uniforme mais raisonnable */
  object-fit: contain;        /* conserve toute l’image sans la couper */
  background-color: #f8f8f8;  /* fond neutre si les bords ne remplissent pas */
  border-bottom: 3px solid #b22222;
  padding: 4px;
  border-radius: 6px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.trailer-card .card-img-top:hover {
  transform: scale(1.02);
  opacity: 0.95;
}

/* Sur petits écrans : hauteur réduite */
@media (max-width: 768px) {
  .trailer-card .card-img-top {
    height: 300px;
  }
}

/* -------------------- LE SAVIEZ-VOUS -------------------- */
.fun-facts-cards {
  background: #fff8e7;
  border: 3px solid #b22222;
  padding: 1.5rem;
  margin: 1.8rem 0;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.fun-facts-cards h5 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: #b22222;
  text-align: center;
  font-family: 'Cinzel Decorative', serif;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.fact-card {
  background: #fff;
  border: 2px dashed #b22222;
  border-radius: 12px;
  padding: 1rem;
  font-size: 0.95rem;
  line-height: 1.4;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: justify;
}

.fact-card::before {
  content: "🎬";
  position: absolute;
  top: -12px;
  left: -10px;
  font-size: 1.2rem;
}

.fact-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 768px) {
  .analysis-block {
    padding: 1.2rem 1.3rem;
  }
  .analysis-block h5 {
    font-size: 1.1rem;
  }
}
/* ============================================
   STYLE COMPLÉMENTAIRE — PAGES FILMS / ANALYSES
   (Compatible avec style_index.css)
   ============================================ */

/* -------------------- POLICES -------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Playfair+Display&family=Poppins:wght@400;600&family=Oxygen&family=Quicksand&display=swap');

body {
  font-family: 'Quicksand', sans-serif;
  line-height: 1.7;
}

/* -------------------- TITRES -------------------- */
h3,
h3.titre-film,
.titre-et-note h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  color: #b22222;
  letter-spacing: .15rem;
  padding-top: 20px;
  padding-bottom: 5px;
  position: relative;
  margin-bottom: 1.2rem;
  text-transform: none;
}

h3.titre-film,
.titre-et-note h3 { padding-left: 18px; }

h3.titre-film::before,
.titre-et-note h3::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background-color: #b22222;
  border-radius: 2px;
}

/* -------------------- BLOCS D’ANALYSE -------------------- */
.analysis-block {
  background: #fff;
  color: #1a1a1a;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  border: 1px solid #ddd6c9;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.analysis-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

.analysis-block h5 {
  color: #b22222;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

.analysis-block p {
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: #1a1a1a;
}

/* -------------------- ENCART SPÉCIAL -------------------- */
.special-note {
  background: #fff5f5;
  border-left: 4px solid #b22222;
  padding: 1rem 1.2rem;
  margin: 1rem 0 1.5rem 0;
  border-radius: 6px;
  font-style: italic;
  color: #b22222;
}

/* -------------------- FICHE TECHNIQUE -------------------- */
.fiche-technique {
  list-style: none;
  padding-left: 0;
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

.fiche-technique li {
  margin-bottom: 0.3rem;
  border-bottom: 1px dotted #ddd6c9;
  padding-bottom: 0.3rem;
}

.fiche-technique li:last-child {
  border: none;
}

/* -------------------- TRAILERS -------------------- */
.trailer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.trailer-card {
  border: 1px solid #ddd6c9;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trailer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* -------------------- LE SAVIEZ-VOUS -------------------- */
.fun-facts-cards {
  background: #fff8e7;
  border: 3px solid #b22222;
  padding: 1.5rem;
  margin: 1.8rem 0;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.fun-facts-cards h5 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: #b22222;
  text-align: center;
  font-family: 'Cinzel Decorative', serif;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.fact-card {
  background: #fff;
  border: 2px dashed #b22222;
  border-radius: 12px;
  padding: 1rem;
  font-size: 0.95rem;
  line-height: 1.4;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: justify;
}

.fact-card::before {
  content: "🎬";
  position: absolute;
  top: -12px;
  left: -10px;
  font-size: 1.2rem;
}

.fact-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 768px) {
  .analysis-block {
    padding: 1.2rem 1.3rem;
  }
  .analysis-block h5 {
    font-size: 1.1rem;
  }
}

/* -------------------- BOUTON RETOUR HAUT -------------------- */
#backToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: radial-gradient(circle at 30% 30%, #b22222, #7a0e0e);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  display: none;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, background 0.3s ease;
}

#backToTop:hover {
  background: radial-gradient(circle at 30% 30%, #ff4444, #a31212);
  transform: scale(1.1);
}

/* 🎞️ SECTION FILMS / DOSSIERS MODERNE */
.movie-section {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, #f9f8f6 0%, #f3f1ed 100%);
}

.movie-section .section-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.movie-section .section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 0.5rem auto 0;
  background: #b22222;
  border-radius: 2px;
}

/* 🧩 Grille responsive fluide */
.movie-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  justify-content: center;
}

/* 🎬 Carte de film / dossier */
.movie-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* 🎥 Image avec effet de zoom subtil */
.movie-card-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.movie-card:hover .movie-card-img {
  transform: scale(1.08);
  filter: brightness(0.9);
}

/* 🖋️ Titre sur fond semi-transparent */
.movie-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
  color: #fff;
  padding: 1rem;
  text-align: center;
}

.movie-card-title {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

/* 🪶 Adaptation mobile */
@media (max-width: 576px) {
  .movie-card-img {
    height: 240px;
  }
  .movie-card-title {
    font-size: 0.95rem;
  }
}

/* ====== Bloc bande-annonce et sources ====== */
.analysis-block iframe {
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.source-block {
  background: #fdf6e3;
  border: 2px solid #b22222;
  box-shadow: 0 0 20px rgba(0,0,0,0.15);
  font-family: 'Playfair Display', serif;
  color: #2c2c2c;
}

.source-block a {
  color: #b22222;
  text-decoration: none;
}

.source-block a:hover {
  text-decoration: underline;
}

.film-rating {
  font-size: 1.4rem;
  color: #b22222;
  font-family: 'Cinzel', serif;
}
.film-rating .stars {
  letter-spacing: 3px;
  color: gold;
  text-shadow: 1px 1px 2px #000;
}
.film-rating .rating-label {
  font-weight: bold;
  margin-right: 8px;
}
.film-rating .rating-score {
  color: #555;
  font-size: 1.1rem;
}

/* Section Scènes cultes */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.scene-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scene-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.scene-img {
  width: 100%;
  height: 300px;          /* même hauteur pour toutes les images */
  object-fit: cover;      /* recadre l’image sans la déformer */
  border-radius: 10px;
  margin-bottom: 12px;
}

.scene-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #b22222;
  margin-bottom: 8px;
}

.scene-description {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.95rem;
  color: #333;
  text-align: justify;
}