/* ===== VARIABLES ===== */
:root {
  --primary-blue: #046d2a;
  --secondary-blue: #05c685;
  --accent-yellow: #34af42;
  --light-yellow: #17f459;
  --light-gray: #f5f7fa;
  --text-dark: #333333;
  --text-light: #666666;
  --border-color: #e5e7eb;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* ===== SECTION HEADER (style de l'accueil) ===== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  color: var(--primary-blue);
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: 700;
}

.section-header p {
  font-size: 1.2em;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== VIDEO HERO ===== */
.video-hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(2, 64, 7, 0.8) 0%,
    rgba(3, 47, 31, 0.7) 100%
  );
  z-index: 2;
}

.video-hero .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
}

.video-hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.video-hero p {
  font-size: 1.5rem;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid transparent;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent-yellow);
  color: var(--primary-blue);
}

.btn-primary:hover {
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-blue);
  transform: translateY(-3px);
}

/* Contrôles vidéo */
.video-controls {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.control-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.control-btn:hover {
  background: var(--accent-yellow);
  color: var(--primary-blue);
  transform: scale(1.1);
}

/* ===== SERVICES GRID ===== */
.services-main {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
  margin: 20px;
}

.service-card {
  background: var(--white);
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-yellow));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--light-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary-blue);
  transform: scale(1.1);
}

.service-icon i {
  font-size: 2rem;
  color: var(--primary-blue);
  transition: var(--transition);
}

.service-card:hover .service-icon i {
  color: var(--white);
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
  font-weight: 700;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.service-features i {
  color: var(--accent-yellow);
  font-size: 0.8rem;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  padding: 10px 0;
}

.service-cta:hover {
  gap: 12px;
  color: var(--secondary-blue);
}

/* ===== PROCESS SECTION ===== */
.bg-light {
  background: var(--light-gray);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.process-step {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.process-step:hover {
  transform: translateY(-5px);
}

.step-number {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 3rem;
  font-weight: 800;
  color: var(--light-gray);
  line-height: 1;
}

.step-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.process-step:hover .step-icon {
  background: var(--accent-yellow);
  transform: scale(1.1);
}

.step-icon i {
  font-size: 1.8rem;
  color: var(--white);
}

.process-step:hover .step-icon i {
  color: var(--primary-blue);
}

.process-step h3 {
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
  font-weight: 600;
}

.process-step p {
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.services-cta {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--secondary-blue) 100%
  );
  color: var(--white);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--white);
}

.cta-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .video-hero {
    height: 80vh;
    min-height: 600px;
  }

  .video-hero h1 {
    font-size: 2.5rem;
  }

  .video-hero p {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .video-controls {
    bottom: 20px;
    right: 20px;
  }

  .control-btn {
    width: 45px;
    height: 45px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 30px 20px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 250px;
    justify-content: center;
  }

  /* Responsive pour les en-têtes de section */
  .section-header h2 {
    font-size: 2em;
  }

  .section-header p {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .video-hero {
    padding: 100px 0 40px;
  }

  .video-hero h1 {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Responsive mobile pour les en-têtes */
  .section-header h2 {
    font-size: 1.8em;
  }

  .section-header p {
    font-size: 1em;
  }
}

/* Micro-interactions améliorées */
.service-card:hover .service-cta {
  transform: translateX(8px);
  color: var(--secondary-blue);
}

.service-card:hover .service-cta i {
  transform: translateX(3px);
}

/* Animation sur les icônes de features */
.service-features li {
  transition: var(--transition);
}

.service-card:hover .service-features li:hover {
  transform: translateX(5px);
  color: var(--primary-blue);
}

.btn-whatsapp {
  background: #25d366;
  color: white !important;
  border: 2px solid #25d366;
}

.btn-whatsapp:hover {
  background: #128c7e;
  border-color: #128c7e;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.handlee,h3,h2 {
  font-family: "Handlee", cursive;
  font-weight: 400;
  font-style: normal;
}
