/* Mode clair par défaut */
:root {
  --background-color: #f9f9f9;
  --background-color-inverted: #25282f;
  --text-color: #25282f;
  --header-footer-color: #f9f9f9;
  --text-header-footer: #25282f;
  --service-title-color: #37EFBA;
}

/* Mode sombre */
.dark-mode {
  --background-color: #25282f;
  --background-color-inverted: #f9f9f9;
  --text-color: #f9f9f9;
  --header-footer-color: #25282f;
  --text-header-footer: #f9f9f9;
  --service-title-color: #37EFBA;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: Lexend, sans-serif;
  line-height: 1.6;
  background: var(--background-color);  
  text-align: justify;
}

.body-content {
    background: var(--background-color);
    color: var(--text-color);
  }

header {
  background-color: #25282f;
  color: #f9f9f9;
  padding: 1rem 0;
  position: fixed; /* Ajouté */
  z-index: 1000;      /* Ajouté pour que le header reste au-dessus */
  width: 100%; /* pour qu'il prenne toute la largeur */
  top: 0;
  left: 0;
}

footer {
  background-color: #25282f;
  color: #f9f9f9;
  bottom: 0;
  left: 0;
  padding: 1rem 0;
  position: fixed; /* Ajouté */
  z-index: 1000;      /* Ajouté pour que le header reste au-dessus */
  width: 100%; /* pour qu'il prenne toute la largeur */
  text-align: center;
  padding: 1rem 0;
  font-size: 11px;
}

.service-title {
  background: linear-gradient(90deg, var(--service-title-color), var(--header-footer-color));
}

/* Activation du scroll fluide */
html {
    scroll-behavior: smooth;
  }

  /* Réinitialisation */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    max-width: 1100px;
    margin: auto;
    padding: 0 1rem;
    position: relative;
  }
  .logo img {
    max-height: 50px;
    width: auto;
  }
  nav ul {
    list-style: none;
    display: flex;
    align-items: center;
     background-color: #25282f;
    color: #f9f9f9;
  }

  nav ul li {
    margin-left: 1rem;
  }

  nav ul li a {
    color: #f9f9f9;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    white-space: nowrap;
  }

  nav ul li a:hover {
    color: #37EFBA;
  }

  /* Burger menu */
  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }

  .hamburger span {
    height: 3px;
    width: 25px;
    background: #fff;
    margin-bottom: 4px;
    border-radius: 5px;
  }

  /* Conteneur principal */
  .container {
    max-width: 1100px;
    margin: auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Section Hero avec overlay transparent */
  .hero {
    position: relative;
    background: url('../img/placeholder-5minnov.jpg') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
  }
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37,40,47,0.7); /* Overlay semi-transparent */
    z-index: 1;
  }
  .hero .container {
    position: relative;
    z-index: 2;
  }
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 0.1rem;
  }

  /* Sections */
  section {
    padding: 1rem 0;
    position: relative;
  }
  section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    
  }
  section p, section ul {
    max-width: 800px;
    margin: auto;
    font-size: 1rem;
    line-height: 1.8;
  }
  section ul {
    list-style: none;
  }
  section ul li {
    background: var(--background-color);
    margin: 0.5rem 0;
    padding: 1rem;
    border-left: 5px solid #37EFBA;
  }
  section ul li ul {
    list-style: square;
    margin-left: 20px;
    padding: 0px;
  }
  section ul li ul li {
    background: var(--background-color);    
    border-left: none;
    margin: 0px;
    padding: 0px;
  }
  section ul li a {
    color: #37EFBA;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
  }
  section ul li a:hover {
    text-decoration: underline;
  }

  /* Footer 
  footer {
    background: var(--background-color);
    color: var(--text-color);
    text-align: center;
    padding: 1rem 0;
    font-size: 11px;
  }*/

  footer a {
    color: #37EFBA;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
  }

  /* Effet fade-in pour chaque section */
  .fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  .fade-in-section.is-visible {
    opacity: 1;
    transform: none;
  }

  /* Responsive pour écrans moyens */
  @media (max-width: 1100px) {
    nav ul li {
      margin-left: 0.5rem;
    }
    nav ul li a {
      font-size: 0.9rem;
    }
  }

  /* Responsive / Burger menu pour mobile */
  @media (max-width: 900px) {
    nav ul {
      flex-direction: column;
      position: absolute;
      top: 70px; /* en dessous du header */
      right: 0;
      
      width: 200px;
      display: none;
      padding: 1rem;
    }
    nav ul.open {
      display: block;
    }
    nav ul li {
      margin: 1rem 0;
    }
    .hamburger {
      display: flex;
    }
    .header-container {
      justify-content: space-between;
    }
  }
 
/* Section Contact avec un design modernisé */
#contact {
  text-align: center;
  padding-top: 3rem;
  padding-bottom: 6rem;
  background: linear-gradient(135deg, #1E242C, #37EFBA); /* Dégradé plus doux */
  color: white;
}

#contact h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #E3FDFD; /* Texte plus doux */
}

#contact p {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* Conteneur du bouton */
.email-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* Bouton e-mail amélioré */
.email-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 35px;
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--text-color);
  background: var(--background-color);
  border-radius: 40px;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

/* Effet au survol */
.email-button:hover {
  background: #37EFBA;
  color: var(--background-color);
  transform: translateY(-3px); /* Légère élévation */
}

/* Effet clic mobile */
.email-button:active {
  transform: scale(0.95);
}

/* Responsive */
@media (max-width: 768px) {
  .email-button {
    width: 90%;
    text-align: center;
    font-size: 1.2rem;
    padding: 15px;
  }
}

.slogan {
  font-size: 1.5rem; /* Augmenter la taille */
  font-weight: 700; /* Texte en gras pour plus d'impact */
  text-transform: uppercase; /* Donner un effet plus technologique */
  text-align: center;
  background: linear-gradient(90deg, #37EFBA, #ffffff); /* Dégradé innovant */
  background-clip: text;
  -webkit-text-fill-color: transparent; /* Effet de texte dégradé */
  letter-spacing: 1.5px; /* Espacement léger pour modernité */
  animation: fadeIn 1.5s ease-in-out;
}
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}


.service-title {
  font-size: 1rem; /* Taille adaptée pour attirer l'attention */
  font-weight: 700;
  text-transform: uppercase; /* Met en majuscule pour plus d'impact */
  background: linear-gradient(90deg, #37EFBA, var(--background-color-inverted)); /* Effet dégradé technologique */
  background-clip: text;
  -webkit-text-fill-color: transparent; /* Effet de texte innovant */
  letter-spacing: 1.2px;
  text-align: left;
  display: inline-block;
  /*padding: 5px 15px;*/
  border-radius: 5px;
  position: relative;
  animation: fadeInSvc 1s ease-in-out;    
}


.paragraph {
  text-indent: 30px; /* Ajoute un retrait sur la première ligne */
}
/* Animation d'apparition en fade-in */
@keyframes fadeInSvc {
  from {
      opacity: 0;
      transform: translateY(10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* ============================================
   HERO SECTION - Améliorations
   ============================================ */
.hero {
  height: 100vh;
  min-height: 600px;
  background-attachment: fixed; /* Effet parallax */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37,40,47,0.85) 0%, rgba(55,239,186,0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-title-line {
  display: block;
}

.hero-title-accent {
  background: linear-gradient(90deg, #37EFBA, #00d4aa);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(20deg); }
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #37EFBA, #00d4aa);
  color: #25282f;
  box-shadow: 0 4px 15px rgba(55, 239, 186, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(55, 239, 186, 0.5);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #37EFBA;
}

.btn-secondary:hover {
  background: rgba(55, 239, 186, 0.1);
  transform: translateY(-3px);
}

/* Bouton secondaire dans les cartes (mode light) */
.app-card .btn-secondary,
.service-card .btn-secondary {
  color: #25282f;
  background: rgba(55, 239, 186, 0.15);
}

.app-card .btn-secondary:hover,
.service-card .btn-secondary:hover {
  background: rgba(55, 239, 186, 0.3);
}

.dark-mode .app-card .btn-secondary,
.dark-mode .service-card .btn-secondary {
  color: #fff;
  background: transparent;
}

.dark-mode .app-card .btn-secondary:hover,
.dark-mode .service-card .btn-secondary:hover {
  background: rgba(55, 239, 186, 0.1);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
  color: #37EFBA;
  font-size: 1.5rem;
  opacity: 1;
  transition: opacity 0.3s ease;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   SECTION TITLES - Underline décoratif
   ============================================ */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title span {
  position: relative;
  display: inline-block;
}

.section-title span::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #37EFBA, #00d4aa);
  border-radius: 2px;
  animation: underlineGrow 0.6s ease forwards;
  animation-delay: 0.3s;
}

.fade-in-section.is-visible .section-title span::after {
  width: 80px;
}

@keyframes underlineGrow {
  from { width: 0; }
  to { width: 80px; }
}

.section-title-light {
  color: #fff;
}

/* ============================================
   SECTIONS - Espacements améliorés
   ============================================ */
section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--background-color);
}

.dark-mode .section-alt {
  background: #1a1d22;
}

/* Alternance de fonds en mode clair */
#a-propos {
  background: #fff;
}

.dark-mode #a-propos {
  background: var(--background-color);
}

#services-entreprises {
  background: #fff;
}

.dark-mode #services-entreprises {
  background: var(--background-color);
}

#temoignages {
  background: #fff;
}

.dark-mode #temoignages {
  background: var(--background-color);
}

/* ============================================
   ABOUT SECTION - À propos
   ============================================ */
.about-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.about-image {
  position: relative;
}

.profile-link {
  display: block;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(55, 239, 186, 0.3);
}

.profile-link img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.profile-link:hover img {
  transform: scale(1.05);
}

.profile-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(37, 40, 47, 0.9));
  color: #37EFBA;
  padding: 2rem 1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.profile-link:hover .profile-overlay {
  opacity: 1;
}

.about-text {
  text-align: left;
}

.about-text .paragraph {
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Stats Container */
.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(55, 239, 186, 0.1), rgba(55, 239, 186, 0.05));
  border-radius: 20px;
  border: 1px solid rgba(55, 239, 186, 0.2);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #37EFBA;
  line-height: 1;
  display: inline;
}

.stat-suffix {
  font-size: 2rem;
  font-weight: 700;
  color: #37EFBA;
  display: inline;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.8;
  margin-top: 0.5rem;
}

/* ============================================
   ADVANTAGES SECTION - Pourquoi nous choisir
   ============================================ */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.advantage-card {
  background: var(--background-color);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.dark-mode .advantage-card {
  background: #2a2e36;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.advantage-card:hover {
  transform: translateY(-10px);
  border-color: #37EFBA;
  box-shadow: 0 15px 40px rgba(55, 239, 186, 0.2);
}

.advantage-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #37EFBA, #00d4aa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: #25282f;
}

.advantage-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.advantage-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* ============================================
   SERVICES CARDS - Cartes de services
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: var(--background-color);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.dark-mode .service-card {
  background: #2a2e36;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(55, 239, 186, 0.2);
  border-color: #37EFBA;
}

.service-card.featured {
  border: 2px solid #37EFBA;
  background: linear-gradient(135deg, var(--background-color), rgba(55, 239, 186, 0.05));
}

.dark-mode .service-card.featured {
  background: linear-gradient(135deg, #2a2e36, rgba(55, 239, 186, 0.1));
}

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #37EFBA, #00d4aa);
  color: #25282f;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(55, 239, 186, 0.2), rgba(55, 239, 186, 0.1));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: #37EFBA;
}

.service-card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  text-align: center;
}

.service-card > p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.85;
  max-width: 100%;
  text-align: left;
}

.service-features {
  list-style: none !important;
  margin: 0 0 1.5rem 0 !important;
  padding: 0 !important;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0 !important;
  margin: 0 !important;
  border-left: none !important;
  background: transparent !important;
  font-size: 0.9rem;
}

.service-features li i {
  color: #37EFBA;
  font-size: 0.8rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #37EFBA;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-link:hover {
  gap: 1rem;
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(5px);
}

/* ============================================
   TESTIMONIALS - Témoignages
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--background-color);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.dark-mode .testimonial-card {
  background: #2a2e36;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(55, 239, 186, 0.15);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  color: #37EFBA;
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-stars {
  color: #FFD700;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  opacity: 0.9;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  font-size: 2.5rem;
  color: #37EFBA;
}

.testimonial-info {
  text-align: left;
}

.testimonial-name {
  display: block;
  font-weight: 600;
  font-style: normal;
  color: var(--text-color);
}

.testimonial-company {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ============================================
   CONTACT SECTION - Formulaire
   ============================================ */
#contact {
  padding-bottom: 8rem;
}

.contact-subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: #37EFBA;
  margin-top: 0.25rem;
}

.contact-info-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-item a,
.contact-info-item p {
  font-size: 0.95rem;
  opacity: 0.9;
  color: inherit;
  max-width: 100%;
  margin: 0;
}

.contact-info-item a:hover {
  color: #37EFBA;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #37EFBA;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(55, 239, 186, 0.2);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: #25282f;
  color: #fff;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  font-size: 1.1rem;
  padding: 1rem 2rem;
}

/* ============================================
   NAVIGATION - Micro-interactions
   ============================================ */
nav ul li a {
  position: relative;
  padding-bottom: 5px;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #37EFBA;
  transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav ul li a.active {
  color: #37EFBA;
}

/* Theme Toggle - voir styles-toggle.css pour les animations */

/* Hamburger Animation */
.hamburger {
  background: transparent;
  border: none;
  padding: 5px;
  transition: transform 0.3s ease;
}

.hamburger:hover {
  transform: scale(1.1);
}

.hamburger span {
  transition: all 0.3s ease;
}

/* ============================================
   FOOTER - Non fixe sur mobile
   ============================================ */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-separator {
  opacity: 0.5;
}

.footer-links a {
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .services-grid,
  .advantages-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  /* Footer non-fixe sur mobile */
  footer {
    position: relative;
  }

  .body-content {
    padding-bottom: 0;
  }

  #contact {
    padding-bottom: 5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 8rem 0 4rem;
    background-attachment: scroll; /* Désactive le parallax sur mobile */
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    max-width: 250px;
    margin: 0 auto;
  }

  .about-text {
    text-align: justify;
  }

  .services-grid,
  .advantages-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info {
    order: 2;
  }

  .contact-form {
    order: 1;
  }

  section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  /* Footer content stack */
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .slogan {
    font-size: 1.2rem;
  }

  .stats-container {
    grid-template-columns: 1fr 1fr;
  }

  .stat-number {
    font-size: 2rem;
  }

  .advantage-card,
  .service-card,
  .testimonial-card {
    padding: 1.5rem;
  }
}

/* ===================================
   Section Applications Showcase
   =================================== */

.apps-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.app-card {
  background: var(--background-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.dark-mode .app-card {
  background: #2a2e36;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.app-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(55, 239, 186, 0.15);
  border-color: #37EFBA;
}

.app-card-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.app-logo {
  max-height: 120px;
  max-width: 120px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.app-card:hover .app-logo {
  transform: scale(1.1);
}

.app-card-content {
  padding: 2rem;
}

.app-card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.app-tagline {
  font-size: 1rem;
  color: #37EFBA;
  font-weight: 500;
  margin-bottom: 1rem;
}

.app-description {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.app-features {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.app-features li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  background: rgba(55, 239, 186, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  color: var(--text-color);
}

.app-features li i {
  color: #37EFBA;
  font-size: 0.8rem;
}

.app-platforms {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.app-platforms span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

.app-platforms span i {
  font-size: 1rem;
}

.app-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

/* Services grid 2 colonnes */
.services-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive pour apps-showcase */
@media (max-width: 900px) {
  .apps-showcase {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .app-card-image {
    height: 160px;
  }

  .app-logo {
    max-height: 100px;
    max-width: 100px;
  }

  .app-card-content {
    padding: 1.5rem;
  }

  .app-card-content h3 {
    font-size: 1.3rem;
  }

  .app-buttons {
    flex-direction: column;
  }

  .app-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .services-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .app-features {
    flex-direction: column;
    gap: 0.5rem;
  }

  .app-features li {
    width: fit-content;
  }
}

