:root {
  --primary-blue: #2d3748;
  --accent-orange: #fd0d0e;
  --primary-green: #1bdf09;
  --color-bleue: #2091c6;
  --pure-white: #ffffff;
  --light-gray: #f8f9fa;
  --dark-gray: #2d3748;
  --text-dark: #1a202c;
  --text-light: #edf2f7;
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  --shadow: 0 10px 30px rgba(10, 36, 99, 0.08);
  --shadow-hover: 0 20px 40px rgba(10, 36, 99, 0.15);
}

.dark-theme {
  --primary-blue: #2091c6;
  --accent-orange: #fd0d0e;
  --pure-white: #0f172a;
  --light-gray: #1e293b;
  --dark-gray: #2091c6;
  --text-dark: #edf2f7;
  --text-light: #1a202c;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--pure-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  transition:
    background-color 0.5s ease,
    color 0.5s ease;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 20px 0;
  transition: var(--transition);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.dark-theme header {
  background-color: rgba(15, 23, 42, 0.95);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 200px;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

nav ul {
  display: flex;
  list-style: none;
  gap: 35px;
}

nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  position: relative;
}

nav a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  background: var(--accent-orange);
  bottom: -5px;
  left: 0;
  transition: var(--transition);
}

nav a:hover {
  color: var(--accent-orange);
}

nav a:hover:after {
  width: 100%;
}

.theme-toggle {
  background: var(--primary-blue);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.theme-toggle:hover {
  transform: rotate(30deg);
}

/* Hero Section avec Video Background */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(10, 36, 99, 0.8),
    rgba(255, 107, 53, 0.1)
  );
  z-index: 0;
}

.hero-content {
  position: absolute;
  text-align: center;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.1;
  color: white;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero h1 span {
  color: var(--accent-orange);
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2px;
  color: #fff;
  opacity: 0.9;
  font-weight: 600;
}

.cta-button {
  display: inline-block;
  background: var(--primary-green);
  color: white;
  padding: 18px 45px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
  border: 3px solid transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.cta-button:hover {
  background: transparent;
  border-color: var(--primary-green);
  color: var(--primary-green);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Sections Générales */
.section-title {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
}

.section-title h2 {
  font-size: 3rem;
  color: var(--primary-blue);
  display: inline-block;
  position: relative;
  padding-bottom: 20px;
}

.section-title h2:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 5px;
  background: var(--accent-orange);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
}

.section-title p {
  font-size: 1.2rem;
  color: var(--text-dark);
  max-width: 700px;
  margin: 25px auto 0;
  opacity: 0.8;
}

section {
  padding: 100px 0;
}

/* Services Section avec Cards */
.services {
  background-color: var(--light-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.service-card {
  background: var(--pure-white);
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-hover);
}

.service-img {
  height: 220px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 30px;
}

.service-content h3 {
  font-size: 1.6rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.service-content p {
  color: var(--text-dark);
  margin-bottom: 25px;
  opacity: 0.8;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent-orange);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.service-link i {
  margin-left: 8px;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--primary-blue);
}

.service-link:hover i {
  transform: translateX(5px);
}

/* Slider Réalisations */
.realisations-slider {
  position: relative;
  padding: 50px 0;
}

.swiper {
  width: 100%;
  height: 550px;
  border-radius: 20px;
  overflow: hidden;
}

.swiper-slide {
  position: relative;
  background: var(--dark-gray);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 20px;
}

.slide-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.swiper-slide:hover .slide-img {
  transform: scale(1.05);
}

.slide-overlay {
  position: relative;
  background: linear-gradient(to top, rgba(10, 36, 99, 0.9), transparent);
  color: white;
  padding: 40px;
  width: 100%;
  z-index: 1;
  transform: translateY(100px);
  transition: var(--transition);
}

.swiper-slide:hover .slide-overlay {
  transform: translateY(0);
}

.slide-overlay h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.slide-overlay span {
  color: var(--accent-orange);
  font-weight: 600;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--accent-orange);
  background: rgba(255, 255, 255, 0.2);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  backdrop-filter: blur(5px);
  transition: var(--transition);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 24px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--accent-orange);
  color: white;
  transform: scale(1.1);
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--primary-blue);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--accent-orange);
}

/* Section Pourquoi Nous Choisir */
.why-us {
  background-color: var(--light-gray);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.why-card {
  background: var(--pure-white);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.why-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--accent-orange);
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.why-icon {
  width: 80px;
  height: 80px;
  background: rgba(10, 36, 99, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 32px;
  color: var(--primary-blue);
}

.why-card h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

/* Témoignages Clients */
.testimonials {
  position: relative;
}

.testimonial-slider {
  max-width: 900px;
  margin: 60px auto 0;
  position: relative;
}

.testimonial-card {
  background: var(--pure-white);
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin: 20px;
  position: relative;
}

.testimonial-card:before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 120px;
  color: rgba(10, 36, 99, 0.1);
  font-family: serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-orange);
}

.author-info h4 {
  color: var(--primary-blue);
  margin-bottom: 5px;
}

.author-info p {
  color: var(--text-dark);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Section Partenaires */
.partners {
  background-color: var(--light-gray);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 50px;
  align-items: center;
}

.partner-logo {
  background: var(--pure-white);
  padding: 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.partner-logo img {
  max-width: 100%;
  max-height: 60px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.partner-logo:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.partner-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* galerie */

/* ========================================= */
/*       GALERIE NETFLIX PREMIUM SLIDER      */
/* ========================================= */

.netflix-gallery {
  background: var(--light-gray);
  padding: 120px 0;
  overflow: hidden;
}

.netflix-slider {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding-bottom: 20px;
}

/* Cache la scrollbar */
.netflix-slider::-webkit-scrollbar {
  display: none;
}

.netflix-track {
  display: flex;
  gap: 25px;
  padding-left: 10px;
}

/* Netflix Card */
.netflix-card {
  min-width: 320px;
  height: 420px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  box-shadow: var(--shadow);
  transform: scale(0.92);
  transition: 0.5s ease;
}

/* Image */
.netflix-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.8s ease;
}

/* Overlay Netflix */
.netflix-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(to top, rgba(10, 36, 99, 0.92), transparent);
  transform: translateY(80px);
  opacity: 0;
  transition: 0.6s ease;
}

.netflix-overlay h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.netflix-overlay p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Hover Netflix */
.netflix-card:hover {
  transform: scale(1.05);
  z-index: 10;
}

.netflix-card:hover img {
  transform: scale(1.12);
}

.netflix-card:hover .netflix-overlay {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .netflix-card {
    min-width: 250px;
    height: 340px;
  }
}

/* Section Contact */
.contact {
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  margin-top: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.contact-details h3 {
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.contact-form {
  background: var(--pure-white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-blue);
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--pure-white);
  color: var(--text-dark);
  font-family: "Poppins", sans-serif;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-green);
}

.submit-btn {
  background: var(--dark-gray);
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.submit-btn:hover {
  background: var(--color-bleue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Footer */
footer {
  background: var(--dark-gray);
  color: white;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-col h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-col img {
  width: 200px;
}

.footer-col h3:after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--accent-orange);
  bottom: 0;
  left: 0;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent-orange);
  transform: translateY(-5px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Animation Broadcast */
.broadcast-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.05;
}

.signal-line {
  position: absolute;
  height: 1px;
  background: var(--accent-orange);
  animation: signalMove 8s linear infinite;
  width: 100%;
}

@keyframes signalMove {
  0% {
    top: 0%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .section-title h2 {
    font-size: 2.5rem;
  }

  nav ul {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .service-card,
  .why-card,
  .testimonial-card {
    padding: 25px;
  }

  .swiper {
    height: 400px;
  }
}

/* Classes d'animation pour IntersectionObserver */
.fade-in {
  opacity: 0.8;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* =============================== */
/*     HEADER RESPONSIVE 2026      */
/* =============================== */

.desktop-nav {
  display: flex;
}

.hamburger {
  display: none;
  width: 55px;
  height: 55px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  transition: 0.4s ease;
  z-index: 2001;
}

.hamburger span {
  position: absolute;
  left: 50%;
  width: 28px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 10px;
  transform: translateX(-50%);
  transition: 0.4s ease;
}

.hamburger span:nth-child(1) {
  top: 20px;
}

.hamburger span:nth-child(2) {
  bottom: 20px;
}

/* ACTIVE STATE → X */
.hamburger.active span:nth-child(1) {
  transform: translateX(-50%) rotate(45deg);
  top: 26px;
}

.hamburger.active span:nth-child(2) {
  transform: translateX(-50%) rotate(-45deg);
  bottom: 26px;
}

/* =============================== */
/*     MOBILE MENU OVERLAY         */
/* =============================== */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(25px);
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 2000;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.mobile-menu ul li a {
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
  color: white;
  position: relative;
  transition: 0.4s ease;
}

.mobile-menu ul li a:hover {
  color: var(--accent-orange);
  transform: scale(1.05);
}

/* =============================== */
/*     RESPONSIVE BREAKPOINT       */
/* =============================== */

@media (max-width: 900px) {
  nav.desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .theme-toggle {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .logo img {
    width: 160px;
  }
}
