/**
 * home-zeinet-overrides.css — Ajustements IPTV pour le thème Zeinet dark (accueil).
 */

.preloader {
  background-color: #070b14;
}

.preloader__logo {
  max-width: 140px;
  max-height: 80px;
  object-fit: contain;
  animation: zeinetPreloaderPulse 1.6s ease-in-out infinite;
}

@keyframes zeinetPreloaderPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1); }
}

.main-menu__logo img {
  max-height: 52px;
  width: auto;
}

.mobile-nav__content .logo-box img {
  max-height: 48px;
  width: auto;
}

.main-slider .image-layer {
  background-color: #0b1220;
}

.home-zeinet-flash {
  position: relative;
  z-index: 20;
  padding: 1rem 0 0;
}

.home-zeinet-flash .alert {
  margin: 0 auto;
  max-width: 1140px;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.home-zeinet-flash .alert-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #bbf7d0;
}

.home-zeinet-flash .alert-error,
.home-zeinet-flash .alert-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.home-zeinet-flash .alert-info {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #bfdbfe;
}

.plans-one__single.is-popular {
  outline: 2px solid var(--zeinet-base, #ff6b2c);
  outline-offset: 4px;
}

.plans-one__badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--zeinet-base, #ff6b2c);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.all-time-hit__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-one__img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-one__img-placeholder,
.all-time-hit__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background: linear-gradient(145deg, #121a28, #1c2738);
  color: rgba(255, 255, 255, 0.35);
  font-size: 2.5rem;
}

.live-sports__devices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.live-sports__device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  text-align: center;
  min-height: 110px;
  justify-content: center;
}

.live-sports__device img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.live-sports__device i {
  font-size: 1.75rem;
  opacity: 0.85;
  line-height: 1;
}

.service-available__cta-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  opacity: 0.75;
}

.whatsapp-float {
  z-index: 99998;
}

.chatbot-widget {
  z-index: 99997;
}

.scroll-to-top {
  z-index: 99996;
}

/* Images du template absentes du package — masquer les shapes décoratives cassées */
.feature-one-shape img,
.about-one-shape,
.save-money-shape,
.all-time-hit-bg-shape,
.live-sports-shape-1,
.service-available__shape-1,
.service-available__shape-2,
.service-available__shape-3,
.service-available__shape-4 {
  display: none !important;
}

.about-one__img-1 img,
.about-one__img-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.about-one__img-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  padding: 2.5rem;
  background: linear-gradient(145deg, #0d1422 0%, #1a2438 45%, #121a28 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.about-one__img-logo img {
  width: auto !important;
  height: auto !important;
  max-width: min(320px, 78%);
  max-height: 240px;
  object-fit: contain !important;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.45));
}

.about-one__img-logo--secondary {
  min-height: 0;
  padding: 1.5rem;
  background: linear-gradient(145deg, #121a28, #243047);
}

.about-one__img-logo--secondary img {
  max-width: 140px;
  max-height: 100px;
}

.about-one__img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background: linear-gradient(145deg, #121a28, #243047);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 3rem;
}

/* Avis clients — carrousel (2 visibles PC, défilement auto) */
.testimonial-one--iptv {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
}

.testimonial-one--iptv .testimonial-one-bg {
  display: block !important;
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.08) 0%, rgba(10, 14, 26, 0.4) 100%);
  pointer-events: none;
}

.testimonial-one--iptv .testimonial-one__header {
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.testimonial-one--iptv .testimonial-one__intro {
  margin-top: 1rem;
  opacity: 0.85;
}

.testimonial-one--iptv .testimonial-one__right {
  margin-top: 0;
  position: relative;
  z-index: 2;
}

.testimonial-one--iptv .testimonial-one__carousel.owl-carousel .owl-stage-outer {
  overflow: hidden;
  padding-top: 36px;
}

.testimonial-one--iptv .testimonial-one__carousel.owl-carousel .owl-item {
  opacity: 1;
  visibility: visible;
}

.testimonial-one--iptv .testimonial-one__single {
  height: 100%;
  width: 100%;
}

.testimonial-one--iptv .testimonial-one__content {
  height: 100%;
  min-height: 240px;
  padding: 42px 24px 28px;
  border-radius: 12px;
  box-sizing: border-box;
}

.testimonial-one--iptv .testimonial-one__quote {
  top: -28px;
  left: 24px;
  height: 56px;
  width: 56px;
}

.testimonial-one--iptv .testimonial-one__text {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  word-wrap: break-word;
}

.testimonial-one--iptv .testimonial-one__rating {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.testimonial-one--iptv .testimonial-one__avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6c63ff, #00d4ff);
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}

.testimonial-one--iptv .testimonial-one__client-name {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.testimonial-one--iptv .testimonial-one__client-sub-title {
  font-size: 0.85rem;
  line-height: 1.4;
}

.testimonial-one--iptv .testimonial-one__carousel.owl-theme .owl-nav {
  position: static;
  left: auto;
  bottom: auto;
  margin: 1.25rem 0 0;
  text-align: center;
}

.testimonial-one--iptv .testimonial-one__carousel.owl-theme .owl-nav button {
  margin: 0 6px;
}

.testimonial-one--iptv .testimonial-one__carousel.owl-theme .owl-dots {
  margin-top: 1rem;
  text-align: center;
}

.testimonial-one--iptv .testimonial-one__carousel.owl-theme .owl-dots .owl-dot span {
  background: rgba(255, 255, 255, 0.25);
}

.testimonial-one--iptv .testimonial-one__carousel.owl-theme .owl-dots .owl-dot.active span,
.testimonial-one--iptv .testimonial-one__carousel.owl-theme .owl-dots .owl-dot:hover span {
  background: var(--zeinet-base, #ff5a1f);
}

@media (max-width: 767px) {
  .testimonial-one--iptv {
    padding: 70px 0 60px;
  }

  .testimonial-one--iptv .testimonial-one__content {
    min-height: 220px;
    padding: 38px 20px 24px;
  }
}
