/* FB STREAM - Structure et positions des images comme le site de référence */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #0a0a0f;
  background-image: url('../img/background.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  color: #e5e7eb;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #22c55e;
}

.main-nav {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.main-nav a {
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
}

.main-nav a:hover {
  background: rgba(34, 197, 94, 0.15);
}

.lang-switch {
  display: flex;
  gap: 0.25rem;
}

.lang-btn {
  border: none;
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.8rem;
}

.lang-btn.active {
  background: #22c55e;
  color: #0a0a0f;
}

/* Hero Slider - défilement horizontal de la droite vers la gauche (comme strongiptv.fr) */
.hero-slider {
  position: relative;
  min-height: 100vh;
  margin-top: 0;
  overflow: hidden;
}

.hero-track {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100vh;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.hero-slider .hero-track {
  width: 300%;
}

.hero-slide {
  flex: 0 0 33.333%;
  width: 33.333%;
  min-width: 33.333%;
  height: 100vh;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 15, 0.4) 0%, rgba(10, 10, 15, 0.85) 70%, #0a0a0f 100%);
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* Images cliquables pour zoom (lightbox) */
.img-zoomable {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  left: auto;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background 0.2s;
}

[dir="rtl"] .lightbox-close {
  right: auto;
  left: 1rem;
}

.lightbox-close:hover {
  background: rgba(34, 197, 94, 0.6);
}

.lightbox img {
  max-width: 95%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.hero-slide .hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 5rem 0 4rem;
  max-width: 720px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1.2rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  color: #e2e8f0;
  margin: 0 0 2rem;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.6;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35);
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #0a0a0f;
}

.btn-secondary {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
}

.btn-large {
  padding: 0.9rem 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.hero-badges span {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.hero-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-prev,
.hero-next {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.2s;
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(34, 197, 94, 0.5);
}

.hero-dots {
  display: flex;
  gap: 0.5rem;
}

.hero-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s;
}

.hero-dots .dot.active {
  background: #22c55e;
}

/* Bandeaux logos - même position que le ref */
.strip {
  padding: 1.5rem 0;
  background: rgba(15, 23, 42, 0.6);
  border-bottom: 1px solid rgba(55, 65, 81, 0.5);
}

.strip-inner {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: max-content;
  gap: 3rem;
  padding: 0 1.5rem;
}

.marquee-container {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-ltr 30s linear infinite;
}

[dir="rtl"] .marquee-track {
  animation: marquee-rtl 30s linear infinite;
}

@keyframes marquee-ltr {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-rtl {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(50%);
  }
}

.marquee-track:hover {
  animation-play-state: paused;
}

.strip-inner img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.3);
}

.strip-sport .strip-inner img {
  height: 60px;
}

.strip-inner.strip-platforms img,
.strip-platforms img {
  height: 70px;
}

.strip-text {
  text-align: center;
  color: #94a3b8;
  margin: 0 0 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.strip-section {
  padding: 3rem 0;
}

/* Films / posters strip */
.films-section .section-title .accent {
  color: #22c55e;
}

.posters-strip {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  width: max-content;
  animation: marquee-ltr 40s linear infinite;
}

[dir="rtl"] .posters-strip {
  animation: marquee-rtl 40s linear infinite;
}

.posters-strip:hover {
  animation-play-state: paused;
}

.posters-container {
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}

.posters-strip img {
  flex: 0 0 auto;
  width: 180px;
  height: 270px;
  object-fit: cover;
  border-radius: 12px;
  cursor: zoom-in;
  transition: transform 0.3s, box-shadow 0.3s;
}

.posters-strip img:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

/* Section الدوريات الكبرى - logos كرة القدم */
.leagues-section {
  padding: 3rem 0;
  background: rgba(15, 23, 42, 0.4);
}

.leagues-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.leagues-grid::-webkit-scrollbar {
  height: 6px;
}

.leagues-grid::-webkit-scrollbar-thumb {
  background: rgba(34, 197, 94, 0.5);
  border-radius: 4px;
}

.leagues-grid .league-logo {
  flex: 0 0 auto;
  min-width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(55, 65, 81, 0.5);
  transition: transform 0.2s, border-color 0.2s;
}

.leagues-grid .league-logo:hover {
  transform: scale(1.05);
  border-color: rgba(34, 197, 94, 0.4);
}

.leagues-grid .league-logo img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
}

.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  text-align: center;
}

.section-subtitle {
  color: #94a3b8;
  margin: 0 0 2rem;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.08), transparent);
  border: 1px solid rgba(55, 65, 81, 0.6);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  color: #22c55e;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #cbd5e1;
}

/* Preview app - grille comme le ref */
.preview-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.preview-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.preview-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(55, 65, 81, 0.6);
}

.preview-item img,
.strip-cov img {
  cursor: zoom-in;
}

.preview-item img {
  width: 100%;
  height: auto;
}

.preview-item-large {
  grid-column: span 2;
}

.preview-text .section-title {
  text-align: right;
}

.preview-text p {
  color: #94a3b8;
  margin: 0 0 1rem;
}

/* Devices section - image centrée comme le ref */
.devices-section {
  padding: 2rem 0;
}

.devices-img {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

/* Pricing - avec image Livraison instantanée */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto 2rem;
}

.pricing-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(55, 65, 81, 0.8);
  text-align: center;
}

.pricing-card-highlight {
  border-color: #22c55e;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.15);
}

.badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #0a0a0f;
}

.pricing-card h3 {
  margin: 0 0 0.25rem;
}

.price {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.pricing-delivery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.pricing-delivery img {
  display: inline-block;
  height: 18px;
  width: auto;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  text-align: right;
}

.pricing-features li {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.pricing-note {
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0;
}

/* Témoignages - bandeau cov */
.strip-cov {
  gap: 1rem;
}

.strip-cov img {
  height: 160px;
  width: auto;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s;
}

.strip-cov img:hover {
  transform: scale(1.05);
}

/* Download avec image à côté */
.download-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.download-text .section-title {
  text-align: right;
}

.download-info {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.download-info li {
  margin-bottom: 0.4rem;
}

.download-note {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 0.75rem;
}

.download-img img {
  border-radius: 8px;
  max-width: 300px;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  padding: 1.25rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(55, 65, 81, 0.6);
}

.faq-question {
  margin: 0 0 0.5rem;
  color: #e5e7eb;
}

.faq-answer {
  margin: 0;
  color: #94a3b8;
  font-size: 0.95rem;
}

/* Promo Banner */
.promo-banner {
  position: relative;
  background-image: url('../img/the_post-1.jpg');
  background-size: cover;
  background-position: center;
  padding: 8rem 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 15, 0.7);
  z-index: 1;
}

.promo-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.promo-mini {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin: 0;
  color: #fff;
  text-transform: uppercase;
}

.promo-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  margin: 0.5rem 0;
  color: #fff;
}

.promo-date {
  font-size: 0.9rem;
  font-weight: 600;
  background-color: #e50914;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 2rem;
}

/* Support Section */
.support-section {
  background-color: #1a1f36;
  padding: 4rem 1rem;
  text-align: center;
}

.support-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.support-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #e5e7eb;
  margin: 0;
}

.btn-support {
  background-color: #1d4ed8;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, transform 0.2s;
  text-decoration: none;
}

.btn-support:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
}

/* Footer - logos compatibilité + paiement comme le ref */
.site-footer {
  border-top: 1px solid rgba(55, 65, 81, 0.6);
  background: #0a0a0f;
  padding-top: 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-column h3,
.footer-column h4 {
  margin: 0 0 0.75rem;
  color: #22c55e;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.footer-list a:hover {
  color: #22c55e;
}

.footer-compat {
  border-top: 1px solid rgba(55, 65, 81, 0.5);
  padding: 1.5rem 1.5rem 1rem;
  text-align: center;
}

.footer-compat>p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-logos img {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
}

.footer-payment img {
  height: 24px;
  width: auto;
  margin: 0 auto;
}

.footer-bottom {
  border-top: 1px solid rgba(31, 41, 55, 0.8);
  text-align: center;
  padding: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .preview-inner {
    grid-template-columns: 1fr;
  }

  .download-inner {
    grid-template-columns: 1fr;
  }

  .download-img {
    text-align: center;
  }

  .download-img img {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .hero-slide .hero-content {
    padding: 6rem 0 5rem;
  }

  .strip-cov img {
    height: 80px;
  }

  .footer-logos img {
    height: 32px;
  }
}