html, body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  background: #181818 !important;
  color: #fff;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none !important;
  background-color: transparent !important;
  padding-inline: clamp(12px, 4vw, 40px);
  padding-block: 0;
  height: clamp(52px, 8vw, 70px);
  box-shadow: none !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
  flex-wrap: wrap;
}

/* push content below fixed navbar and fix anchor jump under it */
body {
  padding-top: clamp(52px, 8vw, 70px);
}
[id] {
  scroll-margin-top: calc(clamp(52px, 8vw, 70px) + 8px);
}

.navbar-scrolled {
  background: #000 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

.navbar-section {
  display: flex;
  align-items: center;
}
.logo-section {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: clamp(10px, 4vw, 48px);
}
.center-section, .faq-section {
  display: none !important;
}

.logo-iptv {
  background: #000;
  color: #fff;
  font-weight: 600;
  font-size: clamp(1.2rem, 2.8vw, 1.7rem);
  padding-inline: clamp(8px, 1.6vw, 12px);
  padding-block: clamp(4px, 1.2vw, 8px);
  border-radius: 0;
  letter-spacing: 1px;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-width: 0;
  box-shadow: none;
  border: none;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
}

.logo-iptv:hover {
  text-decoration: none;
}
.logo-iptv:focus-visible {
  outline: 2px dashed rgba(255,255,255,0.6);
  outline-offset: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: clamp(16px, 4.5vw, 48px);
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-size: clamp(0.95rem, 2.2vw, 1.3rem);
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links li a:hover {
  color: #e50914;
}

/* Menu déroulant Blog */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #232526;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  min-width: 100px;
  white-space: nowrap;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 1001;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  border-radius: 4px;
  margin: 0 4px;
}

.dropdown-menu li a:hover {
  background: #a9a9a978;
  color: #ffffff;
}

.presentation {
  position: relative;
  /*min-height: 600px;*/
  padding: 0;
  margin: 0;
  margin-top: calc(-1 * clamp(52px, 8vw, 70px));
  background: none;
}
.presentation-bg {
  width: 100%;
  height: clamp(420px, 58vh, 640px);
  background: url('Photo/sofa-ocean-view.webp') center center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  min-height: 360px;
}
.presentation-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}
 .presentation-content {
  width: 100%;                 /* pleine largeur */
  background: rgba(18, 18, 18, 0.58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: clamp(10px, 2vw, 16px) clamp(12px, 2.4vw, 18px); /* ↓ padding pour réduire la hauteur */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(4px, 1.2vw, 10px);  /* ↓ espacement interne */
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;              /* bords au ras pour un bandeau pleine largeur */
  box-shadow: 0 6px 22px rgba(0,0,0,0.28);
  margin: 0;                     /* supprime la marge basse pour compacter */
  position: relative;
  z-index: 1;
}
 .presentation-content h1 {
  font-size: clamp(1.35rem, 5.2vw, 2.8rem);
  margin: 0 0 6px 0;
  color: #fff;
  line-height: 1.12;
  text-wrap: balance;
  max-width: 95%;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
  letter-spacing: .2px;
}
 .presentation-content p {
  font-size: clamp(0.98rem, 2.4vw, 1.18rem);
  line-height: 1.5;
  color: #d6d6d6;
  margin: 0 auto;
  max-width: 92%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}
@media (max-width: 600px) {
  .presentation-bg {
    height: clamp(260px, 44vh, 340px);
    background-position: center top;
  }
  .presentation-content {
    width: 100%;
    padding: clamp(10px, 3vw, 14px);   /* encore un peu plus compact sur mobile */
    border-radius: 0;
    margin-bottom: 0;
  }
  .presentation-content h1 {
    font-size: clamp(1.2rem, 6.4vw, 2rem);
    margin-bottom: 4px;
  }
  .presentation-content p {
    font-size: clamp(0.92rem, 3.4vw, 1.06rem);
  }
}

.compatibilite {
  background: none;
  padding: 8px 0 40px 0;
  text-align: center;
  display: flex;
  justify-content: center;
}

.compat-card {
  /* background: #232526; */
  /* border-radius: 18px; */
  /* box-shadow: 0 4px 24px rgba(0,0,0,0.18); */
  /* padding: 36px 32px 32px 32px; */
  /* max-width: 1200px; */
  width: 95%;
  margin: 0 auto;
}

.compat-card h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
}

.compat-slogan {
  color: #e50914;
  font-size: 1.1rem;
  margin-bottom: 32px;
  font-weight: 500;
}

.devices {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  justify-items: center;
  align-items: center;
  width: 100%;
}

.device-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 12px;
  padding: 10px 0;
}

.device-item img {
  width: 70px;
  height: 38px;
  max-width: 70px;
  min-width: 70px;
  min-height: 38px;
  max-height: 38px;
  object-fit: contain;
  background: transparent;
  display: block;
  transition: filter 0.2s, opacity 0.2s, background 0.2s;
  padding: 0 8px;
  border-radius: 8px;
  margin-bottom: 10px;
  filter: brightness(0) invert(1) grayscale(1);
  opacity: 0.92;
}

.device-item span {
  color: #fff;
  font-size: 1rem;
  margin-top: 2px;
}

.device-item:hover img {
  filter: brightness(0) invert(1) grayscale(1);
  opacity: 0.92;
}

.device-item img[alt="Smart TV"],
.device-item img[alt="Android TV"] {
  width: 70px;
  height: 38px;
  max-width: 70px;
  min-width: 70px;
  min-height: 38px;
  max-height: 38px;
}

@media (max-width: 900px) {
  /*.devices {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }*/
  
  /*.compat-card {
    padding: 24px 8px 18px 8px;
  }*/
  .device-item img {
    width: 48px;
    height: 24px;
    max-width: 48px;
    min-width: 48px;
    min-height: 24px;
    max-height: 24px;
  }
  .device-item img[alt="Smart TV"],
  .device-item img[alt="Android TV"] {
    width: 48px;
    height: 24px;
    max-width: 48px;
    min-width: 48px;
    min-height: 24px;
    max-height: 24px;
  }
}

@media (max-width: 600px) {
  .devices {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

/*.categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
  padding: 50px 10px 28px 10px;
  background: #181818;
}*/

.categorie {
  background: #232526;
  border-radius: 16px;
  padding: 24px 18px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  text-align: center;
}

.categorie h3 {
  margin-bottom: 18px;
  font-size: 1.4rem;
  color: #e50914;
}

.affiches {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.affiches img {
  width: 80px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.categorie.sport .affiches img,
.categorie.divertissement .affiches img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: #232526;
}

@media (max-width: 900px) {
  .categories {
    flex-direction: column;
    align-items: center;
  }
  .categorie {
    max-width: 90vw;
  }
}

/* CINEMA SECTION STYLE */
.categorie-cinema-block {
  display: flex;
  background: #181818;
  border-radius: 16px;
  margin-bottom: 40px;
  gap: 10px;
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.cinema-info {
  background: #232526;
  border-radius: 12px;
  padding: 32px 28px;
  min-width: 320px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  /*min-height: 420px;
  max-height: 420px;*/
  box-sizing: border-box;
  overflow: hidden;
}
.cinema-label {
  color: #e50914;
  font-weight: bold;
  font-size: clamp(1.5rem, 5vw, 3rem);
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}
.cinema-info h2 {
  font-size: clamp(1.1rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 18px 0;
  line-height: 1.2;
}
.cinema-info p {
  color: #bdbdbd;
  font-size: clamp(0.9rem, 2vw, 1.1rem); /* responsive like h2/cinema-label */
  line-height: 1.5;
  /*margin-bottom: 28px;*/
}
.cinema-btn {
  background: #232526;
  color: #fff;
  border: none;
  font-weight: bold;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.cinema-btn:hover {
  background: #e50914;
  color: #fff;
}
/*.cinema-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
  flex: 1;
  align-items: start;
  min-width: 0;
}
.cinema-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  background: #000000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}*/
.cinema-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.cinema-grid img {
  width: 100%;
  aspect-ratio: 2 / 3;   /* poster vertical */
  object-fit: cover;
  border-radius: 5px;
  background: #000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
@media (max-width: 900px) {
  .categorie-cinema-block {
    flex-direction: column;
    align-items: center;
  }
  .cinema-info {
    max-width: 95vw;
    min-width: 0;
    /*margin-bottom: 24px;*/
    min-height: unset;
    max-height: unset;
  }
  .cinema-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .cinema-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  .cinema-info {
    padding: 18px 8px;
    min-height: unset;
    max-height: unset;
  }
}

/* === Fix align & density between 900–1100px to avoid offset === */
@media (max-width: 1120px) and (min-width: 900px) {
  .categorie-cinema-block { gap: 8px; }
  .cinema-info {
    padding: 20px 18px;           /* compacter la carte */
    max-width: 340px;             /* réduit la largeur pour éviter l'étirement */
    min-width: 300px;
    justify-content: flex-start;  /* plus de centrage vertical => s'adapte au texte */
  }
  .cinema-info h2 { margin: 0 0 12px 0; }
  .cinema-info p { font-size: 0.98rem; line-height: 1.45; }
  .cinema-label { font-size: 2rem; }
  .cinema-grid { gap: 6px; align-self: flex-start; }
}

.barre-chaines {
  width: 100%;
  background: none;
  margin: 0 0 2px 0;
  padding: 0;
  text-align: center;
}
.barre-chaines-titre {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  margin-top: 18px;
}
.logos-marquee {
  overflow: hidden;
  width: 100%;
  background: none;
  padding: 8px 0 12px 0;
}
.logos-marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.logos-marquee img {
  width: 70px;
  height: 38px;
  max-width: 70px;
  min-width: 70px;
  min-height: 38px;
  max-height: 38px;
  object-fit: contain;
  background: transparent;
  display: block;
  filter: brightness(0) invert(1) grayscale(1);
  opacity: 0.92;
  transition: filter 0.2s, opacity 0.2s, background 0.2s;
  padding: 0 8px;
  border-radius: 8px;
}
.logos-marquee img:hover {
  filter: none;
  opacity: 1;
}
.logos-marquee img[alt="beIN SPORTS"] {
  width: 110px;
  height: 60px;
  max-width: 110px;
  min-width: 110px;
  min-height: 60px;
  max-height: 60px;
}
.logos-marquee img[alt="Eurosport"],
.logos-marquee img[alt="National Geographic"],
.logos-marquee img[alt="Prime Video"],
.logos-marquee img[alt="Netflix"] {
  width: 95px;
  height: 50px;
  max-width: 95px;
  min-width: 95px;
  min-height: 50px;
  max-height: 50px;
}
.logos-marquee img[alt="National Geographic"] {
  width: 85px;
  height: 44px;
  max-width: 85px;
  min-width: 85px;
  min-height: 44px;
  max-height: 44px;
}
.logos-marquee img[alt="France TV"] {
  width: 95px;
  height: 50px;
  max-width: 95px;
  min-width: 95px;
  min-height: 50px;
  max-height: 50px;
}
.logos-marquee img[alt="Canal+"] {
  filter: none !important;
  opacity: 1 !important;
}
.logos-marquee img[alt="Canal+"]:hover {
  filter: none !important;
  opacity: 1 !important;
}
.logos-marquee img[alt="M6"] {
  filter: none !important;
  opacity: 1 !important;
}
.logos-marquee img[alt="M6"]:hover {
  filter: none !important;
  opacity: 1 !important;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 900px) {
  .logos-marquee-track {
    gap: 28px;
  }
  .logos-marquee img {
    width: 48px;
    height: 24px;
    max-width: 48px;
    min-width: 48px;
    min-height: 24px;
    max-height: 24px;
  }
  .logos-marquee img[alt="beIN SPORTS"] {
    width: 80px;
    height: 42px;
    max-width: 80px;
    min-width: 80px;
    min-height: 42px;
    max-height: 42px;
  }
  .logos-marquee img[alt="Eurosport"],
  .logos-marquee img[alt="National Geographic"],
  .logos-marquee img[alt="Prime Video"],
  .logos-marquee img[alt="Netflix"] {
    width: 68px;
    height: 32px;
    max-width: 68px;
    min-width: 68px;
    min-height: 32px;
    max-height: 32px;
  }
  .logos-marquee img[alt="National Geographic"] {
    width: 60px;
    height: 28px;
    max-width: 60px;
    min-width: 60px;
    min-height: 28px;
    max-height: 28px;
  }
  .logos-marquee img[alt="France TV"] {
    width: 68px;
    height: 32px;
    max-width: 68px;
    min-width: 68px;
    min-height: 32px;
    max-height: 32px;
  }
  .barre-chaines-titre {
    font-size: 1.05rem;
  }
}

.offres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  align-items: stretch;
  grid-auto-rows: auto;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: stretch;
}
.offre-colonne {
  background: #232526;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 24px 18px;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
}
.offre-colonne h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #e50914;
  margin-bottom: 12px;
  margin-top: 0;
}
.offre-colonne p {
  font-size: 1.05rem;
  color: #ccc;
  margin: 0;
}
.offre-entete {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}
.offre-mois {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e50914;
  letter-spacing: 1px;
}
.offre-duree {
  font-size: 1.1rem;
  font-weight: 00;
  color: #e50914;
  letter-spacing: 1px;
  margin: 0;
}
.offre-liste {
  list-style: disc inside;
  color: #fff;
  font-size: 0.8rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0 0 0 0;
  padding: 0;
  text-align: left;
  line-height: 1.6;
}
.offre-liste li {
  margin-bottom: 6px;
  padding-left: 0;
}
@media (max-width: 900px) {
  .offres-grid {
    grid-template-columns: repeat(3, 1fr);
    /*grid-template-columns: repeat(3, 1fr);*/
  }
  .guide-grid {
    grid-template-columns: 1fr;
    max-width: 98vw;
    margin: 0 auto;
  }
  .offre-colonne {
    min-height: unset;
    max-height: unset;
  }
}
@media (max-width: 600px) {
  .offres-grid {
    grid-template-columns: 1fr;
  }
  .offre-colonne {
    min-height: unset;
    max-height: unset;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .offre-liste {
    text-align: left;
  }
}

/*.cinema-grid.offres-grid {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}*/

.guide-colonne {
  background: #232526;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 18px;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
}

.guide-colonne h3 {
  text-align: center;
  width: 100%;
}

.buy-btn {
  background-color: #e50914;
  color: #fff;
  border: none;
  padding: 7px 5px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.2s, transform 0.1s;
  margin: 0 auto;
  display: block;
}
.buy-btn:hover {
  background-color: #b0060f;
  transform: scale(1.05);
}
.cart-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 1px;
  vertical-align: middle;
}
.cart-icon svg {
  font-weight: bold;
  stroke-width: 3.5;
}

.subscribe-btn {
  display: inline-block;
  background-color: #e50914;
  color: #fff;
  font-weight: bold;
  font-size: 1.15em;
  padding: 12px 32px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.2s, transform 0.1s;
  margin-top: 10px;
}
.subscribe-btn:hover {
  background-color: #b0060f;
  transform: scale(1.05);
} 

#pourquoi-choisir .cinema-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  margin-top: 2em;
}
@media (max-width: 900px) {
  #pourquoi-choisir .cinema-grid {
    grid-template-columns: 1fr;
  }
} 

#pourquoi-choisir .guide-colonne {
  background: #232526;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  border: 1.5px solid #292929;
  padding: 22px 12px 18px 12px;
  text-align: center;
  color: #fff;
  transition: box-shadow 0.2s, transform 0.15s;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
#pourquoi-choisir .guide-colonne:hover {
  box-shadow: 0 8px 32px rgba(229,9,20,0.18);
  transform: translateY(-6px) scale(1.03);
  border-color: #e50914;
}
#pourquoi-choisir .offre-duree {
  color: #e50914;
  font-size: 1.08em;
  margin-bottom: 0.5em;
  font-weight: bold;
} 

.pourquoi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
@media (max-width: 900px) {
  .pourquoi-grid {
    grid-template-columns: 1fr;
    max-width: 98vw;
  }
}
.pourquoi-card {
  background: #232526;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
}
.pourquoi-card h3 {
  text-align: center;
  width: 100%;
} 

.pourquoi-main-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 36px 36px;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 10px;
}
@media (max-width: 900px) {
  .pourquoi-main-grid {
    grid-template-columns: 1fr;
    gap: 28px 0;
  }
}
.pourquoi-bigcard {
  display: flex;
  align-items: stretch;
  height: 100%;
}
.pourquoi-bigcard .cinema-info {
  background: #232526;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  border: 1.5px solid #292929;
  padding: 38px 32px 32px 32px;
  color: #fff;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100%;
}
.pourquoi-bigcard .cinema-label {
  color: #e50914;
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 0.5em;
  text-transform: uppercase;
}
.pourquoi-bigcard h2 {
  color: #fff;
  font-size: 1.5em;
  font-weight: bold;
  margin: 0 0 0.5em 0;
}
.pourquoi-bigcard p {
  color: #ccc;
  font-size: 1.08em;
  margin: 0;
} 
/* ===== FAQ (accordéon) ===== */
.faq {
  width: 100%;
  max-width: 2400px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-item {
  background: #232526;
  border: 1.5px solid #292929;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.12s, border-color 0.2s;
}


.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 700;
  color: #fff;
  position: relative;
  outline: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "＋";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  opacity: 0.8;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-content {
  padding: 0 18px 16px 18px;
  color: #ccc;
  line-height: 1.55;
  font-size: 0.98rem;
}

.faq-content p { margin: 0; }

/* Sections titles */
.section-head {
  text-align: center;
  margin-bottom: 2em;
}
.section-head .cinema-label {
  display: inline-block;
}
.section-head h2 {
  margin: 0.5em 0 0.5em 0;
}
.section-intro {
  max-width: 800px;
  margin: 0 auto;
  color: #ccc;
}

/* FAQ stacking: texte au-dessus, bloc questions en dessous */
#faq { display: block; }
#faq .categorie-cinema-block { margin-top: 16px; }

/* FAQ container width */
#faq .categorie-cinema-block {
  max-width: 800px;
 /* width: 100%;*/
  padding-inline: 16px; 
}

@media (max-width: 600px) {
  .cinema-label {
    font-size: 1.5rem;
  }
}
html {
  scroll-behavior: smooth;
}
/* === Burger button (mobile) === */
.burger { 
  display: none; 
  background: #000; 
  border: none; 
  /*border-radius: 50%; */
  width: 36px; 
  height: 30px; 
  cursor: pointer; 
  align-items: center; 
  justify-content: center; 
  flex-direction: column; 
  gap: 4px; 
  margin-left: auto; /* pousse à droite */
  margin-right: 6vw;
}
.burger span { 
  display: block; 
  width: 18px; 
  height: 2px; 
  background: #fff; 
}

/* Mode mobile */
@media (max-width: 700px) {
  .burger { display: flex; }

  /* Cacher la nav par défaut */
  .nav-links {
    display: none;
    position: fixed;
    right: 8px;
    left: auto;
    top: clamp(52px, 8vw, 70px);
    width: 75px;
    background: rgba(18, 18, 18, 0.58);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    flex-direction: column;
    padding: 12px 16px;
    gap: 10px;
    border: 1px solid #292929;
    border-radius: 8px;
    z-index: 1002;
    box-shadow: 0 10px 24px rgba(0,0,0,0.45);
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links li a { padding: 8px 4px; }

  /* Montrer quand on clique sur le bouton */
  .navbar.nav-open .nav-links { display: flex; }
}
/* === SECTION CONTACT – homogène avec le thème sombre === */
/* Conteneur de la carte/formulaire */
/* Contact: même largeur que la FAQ */
.section-head#contact + .categorie-cinema-block {
  max-width: 800px;
  padding-inline: 16px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  gap: 0;
}
.contact-wrapper {
  max-width: 100%;
  margin: 0 auto;
  /*padding: 16px;*/
  /*background: #101010;              /* fond sombre cohérent */
  /*border: 1px solid #2a2a2a;        /* même esprit que tes bordures */
  /*border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);*/
}

/* Grille du formulaire */
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

/* Contact form layout: Sujet (col1) + Nom (col2) on first row; Message full width */
.contact-form .contact-row:nth-child(1) { grid-column: 1 / 2; }  /* Sujet */
.contact-form .contact-row:nth-child(2) { grid-column: 2 / 3; }  /* Nom */

.contact-form > * { min-width: 0; }

.contact-form .contact-row:has(textarea) {
  grid-column: 1 / -1;
}
.contact-form .contact-row:has(.buy-btn) {
  grid-column: 1 / -1;
  text-align: center;
}

/* Lignes / champs */
.contact-row { width: 100%; min-width: 0; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #181818;
  background: #0f0f0f;
  color: #fff;
    font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
  box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #9aa; }

/* Focus et accessibilité */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #666;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.12);
}

/*.contact-form input.error,
.contact-form textarea.error {
  border-color: #e50914;
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.25);*/
  /* Champs requis invalides après interaction (évite le rouge au chargement) */
.contact-form input:required:invalid:not(:placeholder-shown),
.contact-form textarea:required:invalid:not(:placeholder-shown) {
  border-color: #e50914;
  box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.25);
}

/* Zone message sur 2 colonnes */
.contact-form textarea { min-height: 120px; grid-column: 1 / -1; resize: vertical; }

/* Bouton aligné au centre, style hérité .buy-btn */
.contact-form .buy-btn {
  display: inline-block;
  margin-top: 4px;
  padding: 12px 18px;               /* cohérent avec le reste */
  min-width: 180px;
}

/* Réactivité tablette */
@media (max-width: 900px) {
  .contact-wrapper { padding: 12px; }
}

/* Réactivité mobile */
@media (max-width: 600px) {
  .contact-form {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
  .contact-form .contact-row {
    grid-column: 1 / -1 !important;
  }
  .contact-form textarea { grid-column: 1 / -1 !important; }
  .contact-form .buy-btn { width: 100%; }
}
/* === FOOTER === */
.site-footer {
  background: #0f0f0f;
  border-top: 1px solid #2a2a2a;
  margin-top: 40px;
}

.site-footer .footer-inner {
  max-width: 800px;                 /* même largeur que FAQ/Contact */
  margin: 0 auto;
  padding: 24px 16px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
}

.site-footer .brand .logo-iptv { display: inline-block; margin-bottom: 8px; }
.site-footer .footer-tagline { color: #bbb; margin: 0; }

.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 8px; }


.site-footer .footer-links,
.site-footer .footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* === Footer navigation: 2 columns (3 lines) with fixed pairing === */
.site-footer .footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
  row-gap: 6px;
  align-items: start;
  justify-items: start;
}
.site-footer .footer-links li { margin: 0; }

/* Mobile: revert to single column for better readability */
@media (max-width: 600px) {
  .site-footer .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;   /* 2 par ligne */
    justify-items: center;            /* centré horizontalement */
    row-gap: 6px;
    column-gap: 18px;
  }
}

.site-footer a { color: #ccc; text-decoration: none; }
.site-footer a:hover { color: #fff; }

.site-footer .footer-bottom {
  border-top: 1px solid #2a2a2a;
  margin-top: 12px;
}

.site-footer .footer-bottom p {
  max-width: 800px;
  margin: 0 auto;
  padding: 12px 16px;
  color: #888;
  font-size: .9rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
  .site-footer .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
  }
  .site-footer .footer-links,
  .site-footer .footer-contact { align-items: center; }
}
.site-footer .footer-bottom .legal-links {
  list-style: none;
  padding: 6px 16px 14px;
  margin: 0 auto;
  max-width: 800px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
}

.site-footer .footer-bottom .legal-links a {
  color: #888;
  font-size: .85rem;
  text-decoration: none;
}
.site-footer .footer-bottom .legal-links a:hover {
  color: #fff;
  text-decoration: underline;
}
/* === BLOG === */
.blog-wrapper { max-width: 800px; margin: 0 auto; padding: 0 16px; }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.blog-card { background: #121212; border: 1px solid #2a2a2a; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; }
.blog-thumb { aspect-ratio: 16/9; width: 100%; object-fit: cover; display: block; }
.blog-body { padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.blog-meta { font-size: .85rem; color: #9aa; }
.blog-title { font-size: 1.05rem; color: #fff; margin: 0; }
.blog-excerpt { color: #cfcfcf; margin: 0; }
.blog-read { margin-top: auto; display: inline-block; color: #e50914; text-decoration: none; font-weight: 700; }
.blog-read:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}
/* === BLOG filters (homogènes avec le thème) === */
.blog-filters { 
  display: flex; 
  gap: 8px; 
  margin: 6px 0 14px; 
  flex-wrap: wrap; 
  justify-content: center; 
  align-items: center;
}
.filter-btn {
  appearance: none; 
  border: 1px solid #2a2a2a; 
  background: #232526; 
  color: #fff; 
  padding: 8px 12px; 
  border-radius: 15px; 
  cursor: pointer; 
  font: inherit; 
  line-height: 1; 
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
}
.filter-btn:hover { 
  background: #181818; 
  color: #fff; 
  border-color: #3a3a3a; 
}
.filter-btn:active { transform: translateY(1px); }
.filter-btn:focus-visible { outline: 2px dashed rgba(255,255,255,0.5); outline-offset: 2px; }
.filter-btn.is-active { 
  background: #e50914; 
  border-color: #e50914; 
  color: #ffffff; 
}
@media (max-width: 600px) {
  .blog-filters { 
    gap: 6px; 
    margin: 4px 0 12px; 
  }
  .filter-btn {
    padding: 6px 10px; 
    font-size: 0.9rem; 
    border-radius: 12px;
  }
}
/* ===== Carte 2 — Tarifs (lignes, compact) ===== */
/* Limiter les styles de listes tarifaires aux cartes 2 et 3 uniquement */
.tarifs-card .tarifs-liste,
.config-card .tarifs-liste { 
  margin-top: .6rem; 
  font-size: .95rem;
}
.tarifs-card .tarifs-liste h4,
.config-card .tarifs-liste h4 {
  margin: .5rem 0 .3rem;
  color: #e50815;
  font-weight: 700;
  font-size: 1.2rem; 
  letter-spacing: .2px;
}
.tarifs-card .tarifs-liste .ligne,
.config-card .tarifs-liste .ligne {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .35rem .2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
/* Mobile : encore un peu plus serré */
@media (max-width: 600px) {
  .tarifs-card .tarifs-liste,
  .config-card .tarifs-liste { font-size: .94rem; }
  .tarifs-card .tarifs-liste .ligne,
  .config-card .tarifs-liste .ligne { padding: .3rem .15rem; }
}
/* ===== Carte 2 — Entête (ex-index inline -> CSS) ===== */
.tarifs-card .offre-entete.center { text-align: center; }

.tarifs-card .offre-titre {
  font-size: 1.4rem;
  font-weight: 700;
  color: #e50815;
  letter-spacing: .2px;
  margin: 0;
}
.tarifs-card.offre-colonne { padding: 16px 14px; }              /* ↓ padding de la carte */
.tarifs-card .offre-entete { margin-bottom: 6px; }               /* ↓ espace sous le titre */
.tarifs-card .offre-titre { font-size: 1.3rem; }                 /* ↓ taille du titre */

/* Liste et lignes */
.tarifs-liste { margin-top: .5rem; font-size: .93rem; }          /* ↓ marge & police */
.tarifs-liste h4 { margin: .4rem 0 .2rem; }                      /* ↓ marges titres section */
.tarifs-liste .ligne { padding: .28rem .15rem; }                 /* ↓ padding des lignes */
.tarifs-liste .ligne + h4 {                                       /* ↓ séparation entre groupes */
  margin-top: .5rem;
  padding-top: .4rem;
}
/* Mobile : encore un cran en dessous */
@media (max-width: 600px) {
  .tarifs-card.offre-colonne { padding: 14px 12px; }
  .tarifs-card .offre-titre { font-size: 1.18rem; }
  .tarifs-liste { font-size: .92rem; }
  .tarifs-liste .ligne { padding: .24rem .12rem; }
  .tarifs-liste h4 { margin: .36rem 0 .18rem; }
}
/* Étendre le contenu de la carte "Nos Tarifs" sur toute la largeur */
.tarifs-card.offre-colonne {
  align-items: stretch;        /* étire les enfants à la largeur de la carte */
  box-sizing: border-box;
}

.tarifs-card .tarifs-liste {
  width: 100%;
  max-width: none;
  align-self: stretch;
  margin-left: 0;
  margin-right: 0;
  /* occupe toute la hauteur disponible dans la carte */
  flex: 1;
  display: grid;
  grid-auto-rows: min-content;
  row-gap: .22rem;                /* espacement vertical régulier */
  align-content: space-between;   /* répartit le contenu du haut en bas */
  min-height: 0;                  /* évite les débordements en flex */
}

.tarifs-card .tarifs-liste > * {
  width: 100%;
}

.tarifs-card .tarifs-liste .ligne {
  width: 100%;                 /* chaque ligne occupe 100% */
  max-width: none;
}
/* ===== Carte 1 — liste \"features\" au même format que tarifs ===== */
.features-liste { 
  margin-top: .4rem; 
}
.features-liste .ligne { 
  padding: .28rem .15rem;      /* même compaction que carte 2 */
}
.features-liste .feature-text { 
  flex: 1;                      /* occupe l'espace à gauche */
}
.features-liste .feature-ok { 
  font-weight: 700; 
  opacity: .9;                  /* check marqué à droite */
}

.config-card.offre-colonne {
  background: #232526;
  border-radius: 10px;
  border: 1px solid #292929;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  padding: 16px 14px;            /* même densité que la carte 2 */
  display: flex;
  flex-direction: column;
  align-items: stretch;          /* largeur pleine comme carte 2 */
  justify-content: flex-start;
  gap: 8px;
}

.config-card .offre-entete.center { text-align: center; }

.config-card .offre-titre {
  font-size: 1.4rem;             /* idem .tarifs-card .offre-titre */
  font-weight: 700;
  color: #e50815;                /* rouge d’accent comme carte 2 */
  letter-spacing: .2px;
  margin: 0;                     /* marge identique */
}

/* Carte 3 : utiliser exactement le même gabarit que Carte 2 */
.config-card .tarifs-liste {
  width: 100%;
  max-width: none;
  align-self: stretch;
  margin-top: .5rem;
  font-size: .93rem;
  display: grid;
  grid-auto-rows: min-content;
  row-gap: .22rem;
}
.config-card .tarifs-liste .ligne {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .28rem .15rem;        /* même padding que carte 2 compacte */
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.config-card .tarifs-liste .ligne:last-child { border-bottom: none; }
.config-card .tarifs-liste .ligne > span { color: #ffffff; }

/* Selects harmonisés */
.config-card select {
  appearance: none;
  background: #0f0f0f;
  border: 1px solid #2a2a2a;
  color: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  font: inherit;
  /* largeur responsive avec clamp */
  width: 80px;
  box-sizing: border-box;
}

.config-card .buy-btn {
  margin-top: 6px;
  align-self: stretch;   /* occupe toute la largeur dispo */
  width: 75%;
  min-width: 0;          /* empêche tout débordement */
}

@media (max-width: 600px) {
  .config-card.offre-colonne { padding: 14px 12px; }
  .config-card .offre-titre { font-size: 1.18rem; }
  .config-card .tarifs-liste .ligne { padding: .24rem .12rem; }
  /* .config-card select { min-width: 120px; }  Responsive: largeur automatique */
}
.config-card .config-note {
  margin-top: auto;              /* pousse le texte vers le bas */
  font-size: 0.9rem;
  color: #aaa;
  text-align: center;
  line-height: 1.4;
}
.ribbon { overflow: hidden; padding: 10px 0; }
.ribbon-track {
  display: inline-flex; gap: .75rem; white-space: nowrap;
  animation: slide 28s linear infinite;
}
 
@keyframes slide { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.presentation-content { animation: heroFadeIn .6s ease-out both; }
.badge {
  display: inline-block;
  padding: .5rem 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #242526 0%, #1a1b1c 100%);
  /*border: 1px solid rgba(255,255,255,.08);*/
  color: #fff;
  font-weight: 600;
  font-size: clamp(.85rem, 1.9vw, 1rem);
  white-space: nowrap;
}

.badge:hover {
  transform: none;
  border-color: rgba(255,255,255,.08);
  background: linear-gradient(180deg, #242526 0%, #1a1b1c 100%);
}

.badge-accent {
  background: linear-gradient(180deg, #ff385c, #cc2c4c);
  border-color: #ff385c;
}


/* === AVIS (inline cards) tweaks === */
.avis-grid .avis-meta{
  display:flex;
  align-items:center;
  gap:14px;                 /* espace entre nom et date */
  margin-bottom:6px;
  opacity:.95;
}
.avis-grid .avis-meta h3{ margin:0; }
.avis-grid .avis-meta time{ white-space:nowrap; }
.avis-grid .avis-meta small{ margin-left:8px; opacity:.9; }
.avis-grid .avis-meta small::before{ content:"•"; margin:0 8px 0 2px; opacity:.55; }
.avis-grid .avis-meta .stars-inline{
  margin-left:auto;         /* pousse les étoiles à droite */
  padding-left:12px;        /* espace avant les étoiles */
  font-size:1.05rem;
  letter-spacing:1px;
  color:#ffd166;
}
.avis-grid .avis-text{ margin-top:8px; line-height:1.5; }
/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  src: url('/fonts/roboto-v49-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('/fonts/roboto-v49-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
body { font-family: 'Roboto', Arial, sans-serif; }


/* DELETE SUR NETLIFY */
/*@font-face {
  font-family: 'Roboto';
  src: url('fonts/roboto-v49-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: url('fonts/roboto-v49-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}*/
