/* ===== SERVICES STYLES ===== */

/* Hero Section */
.service-hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.service-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(26, 42, 108, 0.8), rgba(45, 58, 176, 0.4));
  z-index: 1;
}

.service-hero .container-fluid {
  position: relative;
  z-index: 2;
}

.service-hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  background: linear-gradient(to right, #ffffff, #e0e0ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-hero-subtitle {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.service-hero-img {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Section avec fond alterné */
.bg-light-gradient {
  background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.bg-primary-gradient {
  background: linear-gradient(to bottom, rgba(65, 84, 241, 0.1), rgba(65, 84, 241, 0.05));
}

/* Titre des sections */
.service-section-title {
  margin-bottom: 50px;
  text-align: center;
}

.service-section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.service-section-title p {
  color: #666;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

.service-section-divider {
  width: 80px;
  height: 3px;
  background: #4154f1;
  margin: 15px auto 25px;
}

/* Cartes et boîtes */
.service-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  background: #fff;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.service-card:hover .service-card-img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 25px;
}

.service-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.service-card-text {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  color: #4154f1;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-card-link i {
  margin-left: 8px;
  transition: all 0.3s ease;
}

.service-card-link:hover {
  color: #2a36b1;
}

.service-card-link:hover i {
  transform: translateX(5px);
}

/* Icône avec box */
.service-icon-box {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-icon-box::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 5px;
  bottom: 0;
  left: 0;
  background: #4154f1;
  transition: all 0.3s ease;
  z-index: -1;
}

.service-icon-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon-box:hover::before {
  height: 100%;
  opacity: 0.05;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(65, 84, 241, 0.1);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-icon i {
  font-size: 30px;
  color: #4154f1;
}

.service-icon-box:hover .service-icon {
  background: #4154f1;
}

.service-icon-box:hover .service-icon i {
  color: #fff;
}

.service-icon-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.service-icon-text {
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Fonctionnalités en grille */
.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.service-feature {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-left: 4px solid #4154f1;
}

.service-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-feature-icon {
  font-size: 26px;
  color: #4154f1;
  margin-bottom: 15px;
}

.service-feature-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.service-feature-text {
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Liste d'éléments avec icônes */
.service-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.service-list-item {
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: flex-start;
}

.service-list-item:last-child {
  border-bottom: none;
}

.service-list-icon {
  color: #4154f1;
  font-size: 20px;
  margin-right: 15px;
  margin-top: 3px;
}

.service-list-content {
  flex: 1;
}

.service-list-title {
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
  font-size: 1.1rem;
}

.service-list-text {
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Section FAQ */
.service-faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.service-faq {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-faq-question {
  background: #f8f9fa;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.service-faq-question:hover {
  background: #f0f0f0;
}

.service-faq-question i {
  font-size: 14px;
  transition: all 0.3s ease;
}

.service-faq.active .service-faq-question {
  background: #4154f1;
  color: #fff;
}

.service-faq.active .service-faq-question i {
  transform: rotate(180deg);
}

.service-faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-faq.active .service-faq-answer {
  padding: 20px;
  max-height: 1000px;
}

.service-faq-answer p {
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Témoignages */
.service-testimonials {
  background: #f8f9fa;
  padding: 50px 0;
  position: relative;
}

.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  margin: 30px 15px;
  transition: all 0.3s ease;
  text-align: center;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 50px;
  color: rgba(65, 84, 241, 0.1);
  position: absolute;
  top: -20px;
  left: -10px;
  font-family: serif;
}

.testimonial-author {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.testimonial-author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.testimonial-author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-info h5 {
  font-weight: 600;
  margin: 0;
  color: #333;
}

.testimonial-author-info p {
  color: #666;
  margin: 0;
  font-size: 0.9rem;
}

/* Call to Action */
.service-cta {
  background: linear-gradient(45deg, #4154f1, #6c7ae0);
  padding: 80px 0;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/hero-bg.webp') center center;
  opacity: 0.1;
  z-index: 1;
}

.service-cta-container {
  position: relative;
  z-index: 2;
}

.service-cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.service-cta-subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.service-cta-btn {
  display: inline-block;
  padding: 15px 40px;
  background: #fff;
  color: #4154f1;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Étapes du processus */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 160px);
  height: 3px;
  background: #e0e0e0;
  z-index: 1;
}

.process-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-step-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #4154f1;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(65, 84, 241, 0.3);
}

.process-step:hover .process-step-number {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(65, 84, 241, 0.4);
}

.process-step-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.process-step-text {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Galerie de projets */
.service-gallery {
  margin-bottom: 60px;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  gap: 10px;
}

.gallery-filter {
  padding: 8px 20px;
  background: #f0f0f0;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-filter:hover,
.gallery-filter.active {
  background: #4154f1;
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(65, 84, 241, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-title {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-item-title {
  transform: translateY(0);
}

.gallery-item-category {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transform: translateY(20px);
  transition: all 0.4s ease 0.1s;
}

.gallery-item:hover .gallery-item-category {
  transform: translateY(0);
}

/* Tarification */
.pricing-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  padding: 40px 30px;
  transition: all 0.3s ease;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.highlighted {
  background: #4154f1;
  color: #fff;
}

.pricing-card.highlighted::before {
  content: 'POPULAIRE';
  position: absolute;
  top: 20px;
  right: -35px;
  background: #ff5e14;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 40px;
  transform: rotate(45deg);
  letter-spacing: 1px;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.pricing-card.highlighted .pricing-title {
  color: #fff;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #4154f1;
}

.pricing-card.highlighted .pricing-price {
  color: #fff;
}

.pricing-period {
  font-size: 0.9rem;
  color: #666;
  display: block;
  margin-top: 5px;
}

.pricing-card.highlighted .pricing-period {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  text-align: left;
}

.pricing-feature {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
}

.pricing-card.highlighted .pricing-feature {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-feature:last-child {
  border-bottom: none;
}

.pricing-feature i {
  color: #4154f1;
  margin-right: 10px;
  font-size: 16px;
}

.pricing-card.highlighted .pricing-feature i {
  color: #fff;
}

.pricing-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #4154f1;
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.pricing-btn:hover {
  background: #2a36b1;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(65, 84, 241, 0.3);
  color: #fff;
}

.pricing-card.highlighted .pricing-btn {
  background: #fff;
  color: #4154f1;
}

.pricing-card.highlighted .pricing-btn:hover {
  background: #f0f0f0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .service-hero-title {
    font-size: 2.8rem;
  }

  .service-hero-subtitle {
    font-size: 1.2rem;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    min-width: 160px;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .service-hero-title {
    font-size: 2.2rem;
  }

  .service-hero-subtitle {
    font-size: 1.1rem;
  }

  .service-section-title h2 {
    font-size: 2rem;
  }

  .service-cta-title {
    font-size: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 576px) {
  .service-card-body {
    padding: 20px;
  }

  .service-icon-box {
    padding: 20px;
  }

  .testimonial-card {
    padding: 20px;
    margin: 20px 10px;
  }

  .service-feature-grid {
    grid-template-columns: 1fr;
  }
}
