/* ============================================
   LE CINOCHE DE FRED — STYLE MAGAZINE CINÉ MODERNE (FLAT & CLAIR)
   ============================================ */

:root {
  --bg: #f7f6f3;          /* Fond principal */
  --bg-alt: #ebe8e1;      /* Fond secondaire (sections alternées) */
  --txt: #1a1a1a;         /* Texte principal */
  --muted: #555;          /* Texte secondaire */
  --accent: #b22222;      /* Rouge cinéma */
  --accent-hover: #d03a3a;/* Rouge plus vif (hover) */
  --border: #ddd6c9;      /* Gris clair chaud */
  --card-bg: #fff;        /* Fond cartes */
}

/* BASE */
html, body {
  background: var(--bg);
  color: var(--txt);
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.7;
  font-size: 1.05rem;
  scroll-behavior: smooth;
}

/* =======================
   NAVBAR MODERNE TRANSPARENTE
======================= */
.navbar {
  background: rgba(255, 255, 255, 0.85);   /* transparence */
  backdrop-filter: blur(10px);              /* effet flou */
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Logo dans la navbar */
.logo-img {
  height: 56px;                /* taille augmentée */
  width: auto;
  display: block;
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.2)); /* léger relief */
  transition: height 0.3s ease;
}

/* Quand on scrolle un peu → effet plus opaque */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

/* Lien de nav sur fond clair */
.nav-link {
  color: var(--txt) !important;
  font-weight: 500;
  opacity: 0.9;
}
.nav-link:hover {
  color: var(--accent-hover) !important;
  opacity: 1;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(26,26,26,0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* =======================
   HERO
======================= */
.hero {
  background: linear-gradient(180deg, #f9f8f6 0%, #f3f1ed 100%);
  color: var(--txt);
  padding-block: 4rem;
}
.hero .kicker {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.hero h1 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--txt);
}
.hero .lead {
  color: var(--muted);
  font-size: 1.1rem;
}

/* =======================
   BOUTONS
======================= */
.btn-accent {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: none;
  transition: background 0.25s ease;
}
.btn-accent:hover {
  background: var(--accent-hover);
  color: #fff;
}
.btn-outline-accent {
  color: var(--accent);
  border: 1px solid var(--accent);
  background: transparent;
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: #fff;
}

/* Bouton doré — version claire */
.btn-gold {
  background: #d5b455; /* ton doré doux */
  color: #1a1a1a;
  font-weight: 600;
  border: 1px solid #c4a33c;
  border-radius: 8px;
  padding: 0.7rem 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.25s ease;
}

.btn-gold:hover {
  background: #c7a034; /* doré plus profond */
  border-color: #b58e2a;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  color: #000;
}

/* =======================
   SECTIONS
======================= */
.section-pad {
  padding-block: 3.5rem;
}
.section-bg {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-kicker {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: var(--txt);
}

/* =======================
   CARTES
======================= */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.card-img-top {
  aspect-ratio: 16/9;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}
.card-body {
  color: var(--txt);
}
.card-title {
  font-family: "Playfair Display", serif;
  color: var(--txt);
  font-weight: 600;
}
.card-text {
  color: var(--muted);
}

/* =======================
   COUP DE PROJECTEUR
======================= */
.spotlight {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}
.spotlight .badge {
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  font-size: 0.75rem;
}

/* =======================
   LE SAVIEZ-VOUS
======================= */
.fact {
  border-left: 4px solid var(--accent);
  background: var(--card-bg);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.fact p {
  margin-bottom: 0;
}

/* =======================
   BANDES-ANNONCES
======================= */
.trailers {
  background: var(--card-bg);
  border: 1px dashed var(--accent);
  border-radius: 12px;
  padding: 1rem;
}

/* =======================
   DIVIDERS
======================= */
.divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}
.divider-accent {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 2rem 0;
}

/* =======================
   FOOTER
======================= */
footer {
  background: #f1efeb;
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.footer-link {
  color: var(--muted);
  text-decoration: none;
}
.footer-link:hover {
  color: var(--accent);
}
.text-accent {
  color: var(--accent) !important;
}

/* =======================
   BOUTON RETOUR HAUT
======================= */
#backToTop {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  width: 48px;
  height: 48px;
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
#backToTop:hover {
  background: var(--accent-hover);
}

/* =======================
   RESPONSIVE
======================= */
@media (max-width: 992px) {
  .navbar-brand span { display: none; }
  .hero h1 { font-size: 2rem; }
}
@media (max-width: 576px) {
  .hero { padding: 3rem 1rem; }
  .card { margin-bottom: 1rem; }
}

/* Sur mobile, on réduit un peu */
@media (max-width: 768px) {
  .logo-img {
    height: 48px;
  }
}

/* ============================================
   Lien "Voir plus" — version mise en avant
   ============================================ */
.link-light {
  display: inline-block;
  color: #fff; /* texte clair */
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, #b22222 0%, #8b1a1a 100%); /* rouge cinéma profond */
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.link-light:hover {
  background: linear-gradient(90deg, #d03a3a 0%, #b22222 100%);
  box-shadow: 0 5px 12px rgba(0,0,0,0.25);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Petits ajustements visuels pour le titre de section */
.d-flex.justify-content-between.align-items-end.mb-3 {
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.6rem;
  margin-bottom: 1.5rem !important;
}

/* =======================
   CHARTE DE PARTICIPATION
======================= */
.charte-block {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  max-width: 850px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.charte-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.text-gold {
  color: #b58e2a;
}

/* Lien spécial Charte dans la navbar */
.nav-link[href*="charte"] {
  font-weight: 600;
  color: var(--accent);
}

.nav-link[href*="charte"]:hover {
  color: var(--accent-hover);
  text-shadow: 0 0 6px rgba(210, 58, 58, 0.3);
}

.text-justify {
  text-align: justify;
  text-justify: inter-word;
}

/* ===== HERO IMAGES (pages secondaires) ===== */
.hero-image-wrapper {
  max-width: 900px;
  margin-inline: auto;
}

.hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-radius: 14px;
}

/* Un peu de resserrement sur mobile */
@media (max-width: 576px) {
  .hero {
    padding: 2rem 1rem;
  }
  .hero-img {
    border-radius: 10px;
  }
}

/* ======== CITATION STYLE MAGAZINE ======== */
blockquote {
  position: relative;
  background: #fdf6f0; /* ivoire doux, façon papier */
  border-left: 5px solid #b22222; /* ton rouge cinéma */
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-family: 'Playfair Display', serif;
}

/* Guillemets décoratifs */
blockquote::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 4rem;
  color: rgba(178, 34, 34, 0.15);
  font-family: "Cinzel", serif;
  line-height: 1;
}

blockquote p {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0.6rem;
  color: #2c2c2c;
  z-index: 2;
  position: relative;
}

blockquote footer {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  font-family: 'Quicksand', sans-serif;
  color: #666;
  text-align: right;
  display: block;
}