/* 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, footer {
  background-color: #25282f;
  color: #f9f9f9;
  padding: 1rem 0;
    position: relative; /* Ajouté */
    z-index: 1000;      /* Ajouté pour que le header reste au-dessus */
}

.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;
  }

  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: 0 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 / 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: 4rem 0;
  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);
  }
}


.theme-toggle-container {
  position: none;
  top: 20px;
  right: 20px;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

.toggle-icon {
  transition: opacity 0.3s ease;
}

.theme-toggle.dark .toggle-icon {
  stroke: #37EFBA;
}

