/* Variables CSS cohérentes */
:root {
  --primary: #d4af37;
  --primary-light: #f4d03f;
  --secondary: #f39c12;
  --dark: #000000;
  --light: #f5f5f5;
  --text: #333333;
  --text-light: #777777;
  --success: #27ae60;
  --warning: #e74c3c;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--white);
  padding-top: 80px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
    z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-hover);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px;
  margin-right: 10px;
}


.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  color: var(--dark);
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 8px;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(212, 175, 55, 0.1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-icon {
  position: relative;
  font-size: 20px;
  color: var(--dark);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}

.cart-icon:hover {
  color: var(--primary);
  background: rgba(212, 175, 55, 0.1);
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--dark);
  cursor: pointer;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 80px 0 60px;
  text-align: center;
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
  opacity: 0.9;
}

.breadcrumb a {
  color: white;
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 8px;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: white;
}

.page-header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Services Overview */
.services-overview {
  padding: 80px 0;
  background: var(--light);
}

.intro-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.intro-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.intro-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 50px;
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.stat-item {
  background: white;
  padding: 30px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
    z-index: 999;  text-align: center;
  transition: var(--transition);
  border: 1px solid #f0f0f0;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.stat-label {
  color: var(--text-light);
  font-weight: 500;
}

/* Services Categories */
.services-categories {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.category-card {
  background: white;
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
    z-index: 999;  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid #f0f0f0;
  position: relative;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.category-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: white;
  transition: var(--transition);
}

.category-card:hover .category-icon {
  transform: scale(1.1);
}

.category-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.category-card p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.service-count {
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Detailed Services */
.detailed-services {
  padding: 80px 0;
  background: var(--light);
}

.service-category {
  display: none;
  margin-bottom: 60px;
}

.service-category.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.category-header {
  text-align: center;
  margin-bottom: 50px;
}

.category-header h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.category-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.service-img {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(212, 175, 55, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.service-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.service-duration {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.service-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text);
}

.service-features i {
  color: var(--success);
  font-size: 12px;
}

/* Pricing Plans */
.pricing-plans {
  padding: 80px 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.plan-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
    z-index: 999;  overflow: hidden;
  transition: var(--transition);
  border: 1px solid #f0f0f0;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.plan-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
}

.plan-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0 0 15px 15px;
}

.plan-header {
  padding: 40px 30px 20px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.05),
    rgba(244, 208, 63, 0.02)
  );
}

.plan-header h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
}

.plan-header p {
  color: var(--text-light);
  font-size: 14px;
}

.plan-features {
  padding: 20px 30px;
}

.plan-features ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text);
}

.plan-features i {
  color: var(--success);
  font-size: 14px;
}

.plan-footer {
  padding: 20px 30px 30px;
}

.plan-footer .btn {
  width: 100%;
}

/* Process Section */
.process-section {
  padding: 80px 0;
  background: var(--light);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.step-item {
  background: white;
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
    z-index: 999;  text-align: center;
  position: relative;
  transition: var(--transition);
  border: 1px solid #f0f0f0;
}

.step-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.step-number {
  position: absolute;
  top: -15px;
  right: 20px;
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.step-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.1),
    rgba(244, 208, 63, 0.05)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--primary);
}

.step-item h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.step-item p {
  color: var(--text-light);
  line-height: 1.6;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--border-radius);
  color: white;
  box-shadow: var(--shadow-hover);
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  color: white;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer-about p {
  margin-bottom: 15px;
  opacity: 0.9;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  opacity: 0.9;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  opacity: 0.9;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--primary);
}

.footer-newsletter p {
  opacity: 0.9;
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-family: inherit;
}

.newsletter-form button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 14px;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: var(--shadow);
    z-index: 100;
  transition: var(--transition);
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
    z-index: 999;}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: white;
}

.btn-dark:hover {
  background: #333;
  transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navigation entre catégories */
.category-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.category-nav-btn {
  padding: 12px 24px;
  background: white;
  border: 2px solid #f0f0f0;
  border-radius: 25px;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.category-nav-btn:hover,
.category-nav-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Style pour les textes d'introduction des sections */
.intro-text {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Animation d'apparition au scroll */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    transition: var(--transition);
    box-shadow: var(--shadow);
    z-index: 999;  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .intro-content h2 {
    font-size: 1.8rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .category-header h2 {
    font-size: 1.6rem;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .plan-card.featured {
    transform: none;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cta-container {
    padding: 40px 30px;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .cta-btns {
    flex-direction: column;
    gap: 15px;
  }

  .category-nav {
    gap: 10px;
  }

  .category-nav-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .page-header h1 {
    font-size: 1.8rem;
  }

  .intro-content h2 {
    font-size: 1.6rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .service-card {
    margin: 0 -10px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }
}

/* Bouton Détails visible sur toutes les tailles d'écran */
.service-details-mobile {
  margin-top: auto;
  padding: 0;
  text-align: center;
  display: block;
}

.service-details-mobile .btn {
  width: 100%;
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 15px 20px;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: block;
}

.service-details-mobile .btn:hover {
  background-color: #b8941f;
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

/* Sur mobile, masquer l'overlay pour éviter la confusion */
@media (max-width: 767px) {
  .service-overlay {
    display: none;
  }
}