
/* =========================
   RESET GLOBAL
========================= */
body {
  margin: 0;
     margin-top: 0 !important;
  font-family: 'Inter', sans-serif;
  background: #0e0e0e;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================
   HEADER
========================= */
.site-header {
  background: #b0342c;
  color: #fff;
  padding: 15px 20px;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  color: white;
  font-weight: bold;
}

.main-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* =========================
   HERO
========================= */
.hero-header {
  position: relative;
  height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
    filter: blur(10px) brightness(0.6) contrast(1.05);
  transform: scale(1.1);
}

.hero-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.65) 60%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
}

.pub-date {
  display: block;
  margin-top: 5px;
  opacity: 0.8;
}

/* =========================
   PLAN DE VENTE
========================= */
.plan-vente-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.col,
.col-ft {
  background: white;
  padding: 15px;
  border-radius: 10px;
    text-align: center;
    text-align: left;
  display: flex;
  flex-direction: column;
    text-align: center;
    align-items: center;
}

.col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}



.ft-list a {
  display: block;
  margin-bottom: 5px;
  
}


.is-hidden {
    display: none;
}

.netflix-more {
    text-align: center;
    margin: 30px 0;
}

.netflix-more button {
    background: transparent;
    border: none;
    color: #e50914;
    font-size: 48px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.netflix-more button:hover {
    transform: scale(1.2);
}






/* =========================
   PDF PREVIEW
========================= */
.doc-preview img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* =========================
   HOME GRID
========================= */

.titre-grille-home {
   padding:  40px 40px 0 50px;
}


.home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 5px;
}

.home-card {
  background: white;
  padding: 15px;
  border-radius: 10px;
  transition: 0.2s;
}

.home-card:hover {
  transform: translateY(-2px);
}

.lpl-welcome {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0,0,0,0.85);
    color: #fff;

    font-size: 64px;
    font-weight: 700;
    letter-spacing: 2px;

    z-index: 9999999;

    animation: welcomeZoom 1.8s ease forwards;
    will-change: transform, opacity;
}

@keyframes welcomeZoom {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
        background: rgba(0,0,0,0.85);
    }

    50% {
        opacity: 0.7;
        transform: translateY(-40px) scale(1.08);
        background: rgba(0,0,0,0.5);
    }

    100% {
        opacity: 0;
        transform: translateY(-120px) scale(1.15);
        background: rgba(0,0,0,0);
    }
}



.is-hidden {
    display: none;
}

.netflix-more {
    text-align: center;
    margin: 30px 0;
}

.netflix-more button {
    background: transparent;
    border: none;
    color: #e50914; /* rouge Netflix */
    font-size: 48px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.netflix-more button:hover {
    transform: scale(1.2);
}



/* =========================
   AFFICHES
========================= */
.affiches-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.affiches-header {
  text-align: center;
  margin-bottom: 20px;
}

.affiches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

/* CARD */
.affiche-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.2s;
}

.affiche-card:hover {
  transform: translateY(-3px);
}

/* LINK */
.affiche-link {
  display: block;
}

/* IMAGE */
.affiche-image {
  aspect-ratio: 3 / 4;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.affiche-image img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: 0.3s;
}

.affiche-card:hover .affiche-image img {
  transform: scale(1.03);
}

/* CONTENT */
.affiche-content {
  padding: 10px;
  text-align: center;
}

.affiche-title {
  font-weight: 600;
}

.affiche-tag {
  margin-top: 5px;
  font-size: 12px;
  padding: 3px 8px;
  background: #eee;
  border-radius: 999px;
  display: inline-block;
}

/* FOOTER BUTTON */
.affiche-footer {
  padding: 12px;
  display: flex;
  justify-content: center;
  border-top: 1px solid #eee;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 12px;
  padding: 8px 14px;

  background: #b0342c;
  color: #fff;
  text-decoration: none;

  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;

  transition: 0.2s ease;
}

.download-btn:hover {
  background: #333;
  transform: translateY(-1px);
}

/* FILTERS */
.affiche-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 6px 12px;
  background: #eee;
  border-radius: 20px;
  font-size: 13px;
    color: black;
}

.filter-btn:hover {
  background: #ddd;
}

/* FALLBACK */
.no-image {
  font-size: 12px;
  color: #666;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .plan-vente-wrapper {
    grid-template-columns: 1fr;
  }

  .affiches-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .affiches-grid {
    grid-template-columns: 1fr;
  }

  .hero-header {
    height: 180px;
  }
}








/* =========================
   SINGLE AFFICHE
========================= */

.single-affiche {
  margin: 0;
}

/* LAYOUT */
.single-affiche-container {
  display: flex;
  flex-direction: row;
    justify-content: center;
    padding:20px;
}

/* =========================
   IMAGE
========================= */

.single-affiche-left img {
  max-width:  500px;
  border-radius: 10px;
  background: #eee;
  display: block;
    
}

/* =========================
   COLONNE DROITE
========================= */

.single-affiche-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
    padding:20px;
}

/* TITRE */
.single-affiche-right h1 {
  margin: 0;
}

/* TAG */
.affiche-tag {
  margin-top: 8px;
  font-size: 13px;
  padding: 4px 10px;
  background: #eee;
  border-radius: 999px;
    color: black;
}

/* DESCRIPTION */
.affiche-description {
  margin-top: 15px;
  line-height: 1.5;
  color: #444;
}

/* =========================
   BOUTON DOWNLOAD
========================= */

.download-btn.big {
  margin-top: 20px;
  padding: 10px 18px;
  background: #b0342c;
  color: #fff;
  border-radius: 25px;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: 0.2s;
}

.download-btn.big:hover {
  background: #333;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .single-affiche-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .single-affiche {
    padding: 15px;
  }

  .download-btn.big {
    width: 100%;
    text-align: center;
  }
}




.plans-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.plan-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}

.plan-card:hover {
  transform: translateY(-3px);
}

.plan-preview {
  aspect-ratio: 3 / 4;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.plan-title {
  padding: 10px;
  font-weight: 600;
  text-align: center;
}

.plan-date {
  font-size: 12px;
  text-align: center;
  padding-bottom: 10px;
    padding-top: 10px;
  color: #A6A6A6;
}

.p-plan-date{
    margin-top: 0px;
}

.no-preview {
  font-size: 12px;
  color: #888;
}

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

@media (max-width: 768px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================
   SINGLE ACTU
========================= */





.single-actu {
 
  margin: 0 auto;
 
}

.actu-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: white;
  padding: 40px;
  border-radius: 10px;
}


.actu-content {
      display: flex;
  flex-direction: column;
    align-items: center;
  gap: 16px;
    
    }

.actu-image {
    display: flex;
    justify-content: center;
}


.actu-image img {
  max-width: 500px;
  border-radius: 10px;
  object-fit: cover;
}

.actu-content h1 {
  margin: 0;
}

.actu-text {
  line-height: 1.6;
  color: #333;
    width: 60%
}

.download-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 14px;
  background: #b0342c;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  
}












/* ===================== */
/* HOME */
/* ===================== */







/* ===================== */
/* BACKGROUND GLOBAL */
/* ===================== */

.home-netflix-dark {
  background: #0e0e0e;
  min-height: 100vh;
}

/* ===================== */
/* HERO FULL WIDTH */
/* ===================== */

.netflix-hero {
  display: block;
  height: 75vh;
  position: relative;

  background-size: cover;
  background-position: center;

  text-decoration: none;
  color: #fff;
}

.netflix-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.8),
    rgba(0,0,0,0.5),
    rgba(0,0,0,0.1)
  );
}

.netflix-hero-content {
  position: absolute;
  bottom: 40px;
  left: 40px;
  max-width: 70%;
}

.netflix-hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
}

.netflix-hero-content p {
  opacity: 0.7;
  margin-top: 10px;
}

/* ===================== */
/* GRID NETFLIX */
/* ===================== */

.netflix-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 40px;
}

/* ===================== */
/* CARDS */
/* ===================== */

.netflix-card {
  aspect-ratio: 1 / 1.35;
  background-size: cover;
  background-position: center;

  border-radius: 0px;
  overflow: hidden;
  position: relative;

  transition: transform 0.2s ease;
  text-decoration: none;
}

.netflix-card:hover {
  transform: scale(1.03);
}



.netflix-card span {
 
  bottom: 10px;
  left: 10px;

  color: #fff;
  font-size: 15px;
  font-weight: 500;
}



.netflix-card .card-text {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;

  display: flex;
  flex-direction: column;
  gap: 5px;

  color: #fff;
  z-index: 2;
}

.netflix-card .card-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 6px;
}

.netflix-card .card-date {
  font-size: 12px;
  opacity: 0.7;
}

.netflix-card .overlay {
   position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  z-index: 1;
}


@media (max-width: 1200px) {
  .netflix-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .netflix-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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




.card-tag {
  display: inline-block;
  padding: 3px 8px;

  background: rgba(176, 52, 44, 0.9);
  border-radius: 999px;

  font-size: 11px;
  font-weight: 500;

  width: fit-content;
}




.hero-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;

  background: #fff;
  color: #000;

  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;

  transition: 0.2s ease;
}

.hero-btn:hover {
  background: #b0342c;
  color: #fff;
  transform: translateY(-2px);
}

.btn-ensavoir {
  display: inline-block;

  border-radius: 0;
  background-color: white;
  color: black;

  padding: 12px 18px;
  margin-top: 10px;

  font-weight: 600;
  text-decoration: none;

  transition: 0.2s ease;
}

.btn-ensavoir:hover {
  background: #b0342c;
  color: white;
}



.netflix-hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

/* IMAGE ANIMÉE */
.hero-bg {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;

  transform: scale(1.08);
  filter: blur(8px);

  animation: heroZoomBlur 1.8s ease-out forwards;
}

/* ANIMATION */
@keyframes heroZoomBlur {
  0% {
    transform: scale(1.08);
    filter: blur(8px);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    filter: blur(0);
    opacity: 1;
  }
}




/* =========================
   PAGE FT
========================= */





.ft-search-wrapper {
  display: flex;
    flex-direction: column;
  justify-content: center;
    align-items: center;
  margin-bottom: 80px;
    margin-top: 80px;
}

.ft-search-form {
  display: flex;
  gap: 10px;
}

.ft-search-form input {
  padding: 8px;
  width: 300px;
}


/* ===================== */
/* SEARCH BAR FICHES TECHNIQUES */
/* ===================== */

.ft-search-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.ft-search-input {
  padding: 10px 14px;
  width: 320px;
  max-width: 90%;

  border: 1px solid #ddd;
  border-radius: 999px;
  outline: none;

  font-size: 14px;
}

.ft-search-input:focus {
  border-color: #b0342c;
  box-shadow: 0 0 0 2px rgba(176, 52, 44, 0.15);
}

.ft-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 16px;

  background: #b0342c;
  color: #fff;
  border: none;

  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;

  cursor: pointer;
  transition: 0.2s ease;
}

.ft-search-btn:hover {
  background: #333;
  transform: translateY(-1px);
}

.page-ft {
    padding: 70px 0;
}



/* ===================== */
/* FOOTER NEWS GRID */
/* ===================== */

.site-footer {
    background: #404040;
}

.titre-footer {
    color: white;
    font-size: 22px;
}

.footer-news {
  padding: 40px 20px;
  text-align: center;
}

.footer-news h3 {
  margin-bottom: 20px;
}

.footer-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.footer-news-card {
  text-decoration: none;
  color: inherit;
}

.footer-news-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border-radius: 0px;
  transition: 0.2s ease;
}

.footer-news-card:hover .footer-news-img {
  transform: scale(1.03);
}

.footer-news-title {
    color: white;
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.2;
    font-weight: 500;
}

.footer-copy {
  margin-top: 30px;
  font-size: 12px;
  opacity: 0.6;
}





/* =========================
   DARK MODE GLOBAL (INVERSION PROPRE)
========================= */

/* Fond général */
body {
  background: #0e0e0e !important;
  color: #f5f5f5;
}

/* Textes par défaut */
p, span, li, a, h1, h2, h3, h4, h5 {
  color: #f5f5f5;
}

/* Inverse les blocs blancs existants */
.col,
.col-ft,
.plan-card,
.affiche-card,
.home-card,
.actu-wrapper,
.single-affiche-left,
.single-affiche-right,
.plans-grid {
  background: #0e0e0e !important;
  color: #f5f5f5;
}

/* Inputs / search */
input, textarea {
  background: #1a1a1a;
  color: #f5f5f5;
  border: 1px solid #333;
}

/* Footer (plus lisible en dark) */
.site-footer {
   border-top: 8px solid rgba(255,255,255,0.05);
  color: #141414;
}

/* Bordures douces */
hr {
  border-color: #2a2a2a;
}

/* Boutons secondaires (pas tes rouges) */
button {
  color: #f5f5f5;
}





.netflix-card-single {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  border-radius: 0px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.netflix-card-single .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
     z-index: 1;
}

.netflix-card-single .card-text {
  position: absolute;
    
  bottom: 10px;
  left: 10px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 4px;
     z-index: 3;
}

.netflix-card-single .card-title {
  font-weight: 600;
  font-size: 14px;
}

.netflix-card-single .card-tag {
  font-size: 12px;
  opacity: 1;
}


/* FIX CARDS DANS COLONNES */
.col .netflix-card {
  width: 100%;
  margin-bottom: 15px;
}

/* OPTION : espacement affiches */
.col .netflix-card:last-child {
  margin-bottom: 0;
}










/* =========================
  FORMULAIRE DEMANDE ACCES
========================= */







.lpl-acf-form {
    max-width: 520px;
    margin: 60px auto;
    padding: 30px;
    background: #b0342c;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    font-family: system-ui, sans-serif;
}

.lpl-acf-form h1 {
    font-size: 26px;
    margin-bottom: 20px;
}

/* champs */
.acf-form .acf-fields {
    border: 0 !important;
}

.acf-form .acf-field {
    margin-bottom: 18px;
}

/* labels */
.acf-form .acf-label label {
    font-weight: 600;
    font-size: 14px;
}

/* inputs */
.acf-form input[type="text"],
.acf-form input[type="email"],
.acf-form textarea,
.acf-form select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: #000;
}

/* bouton */
.acf-form input[type="submit"] {
    background: #000;
    color: #fff;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
}

.acf-form input[type="submit"]:hover {
    opacity: 0.85;
}

.acf-field select {
    background: #000;
    color: #fff;
    border: 1px solid #333;
}

.acf-field select option {
    background: #000;
    color: #fff;
}




/* message succès */
.acf-notice.-success {
    background: #e8f5e9;
    border-left: 4px solid #2e7d32;
}



.lpl-intro {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 25px;
}


.lpl-alert {
    background: #111 !important;
    color: #fff !important;
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 600px;
}

.lpl-alert p {
    color: #fff !important;
    margin: 0;
}


/* =========================
  carte commerciaux
========================= */


.acf-form-submit {
    display: none !important;
}


.lpl-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.lpl-card {
    border: 1px solid #ddd;
    padding: 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    color: #000; /* 👈 IMPORTANT */
}

.lpl-card:hover {
    border-color: #000;
    transform: translateY(-1px);
}

.lpl-card strong {
    display: block;
    font-size: 14px;
    color: #000;
}

.lpl-card span {
    font-size: 12px;
    color: #666;
}

.lpl-card.active {
    background: #000;
    color: #fff;
}

.lpl-card.active span {
    color: #bbb;
}

.lpl-card-none {
    border: 2px dashed #999;
    background: #f9f9f9;
    font-style: italic;
}

.lpl-submit {
     margin: 20px auto 0 auto;
    padding: 12px 18px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    display: block;
    text-align: center;
}


@media (max-width: 900px) {
    .lpl-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

