/* Supprimer les marges par défaut du body et html */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

/* Assurer que le header est bien collé en haut */
.header {
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  padding: 15px 0;
}

/* Supprimer l'espace potentiel avant la première section */
.main > section:first-child {
  margin-top: 0;
  padding-top: 0;
}


/** Nav menu  */
/* Style de base pour le header */
.header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
}

/* Style pour les liens du menu */
.navmenu ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navmenu li {
    position: relative;
    margin: 0 10px;
}

.navmenu a {
    color: #333;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 15px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

/* Effet de survol avec dégradé */
.navmenu a:before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(45deg, #667eea, #764ba2);
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.navmenu a:hover:before {
    visibility: visible;
    width: 100%;
}

/* Animation supplémentaire au survol */
.navmenu a:hover {
    color: #667eea;
    transform: translateY(-2px);
}

/* Style pour l'élément actif */
.navmenu a.active {
    color: #667eea;
}

.navmenu a.active:before {
    visibility: visible;
    width: 100%;
}

/* Style pour le logo */
.logo img {
    max-height: 50px;
    transition: all 0.3s;
}
/* Style du bouton Devis */
.navmenu .devis-btn {
    border: 2px solid #667eea;
    border-radius: 50px;
    padding: 8px 20px !important;
    margin-left: 10px;
    transition: all 0.4s ease;
    background: transparent;
}

/* Effet de survol avec dégradé */
.navmenu .devis-btn:hover {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    border-color: transparent;
}

/* Animation pulsante subtile */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(102, 126, 234, 0); }
    100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0); }
}

.navmenu .devis-btn:hover {
    animation: pulse 1.5s infinite;
}

/* Style pour la version mobile */
@media (max-width: 1200px) {
    .navmenu .devis-btn {
        display: inline-block;
        margin: 10px 0;
        width: max-content;
    }
}
/* Style pour le menu mobile */
.mobile-nav-toggle {
    color: #333;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

@media (max-width: 1200px) {
    .mobile-nav-toggle {
        display: block;
    }
    
    .navmenu ul {
        display: none;
    }
}















#fade1 h3, #fade1 p, #fade2 h3, #fade2 p{
 color: black;

}

#services h2 {
       font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
    color: black;
}
#services h3 {
      font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
    color:  #2d3748;
}
 #services p {
         font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
    color: #718096;
 }


#testimonials span, #testimonials p {
color : black;
}



  .btn-modern {
            padding: 1rem 1.5rem;
            border-radius: 11px;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            border: none;
            cursor: pointer;
            font-size: 1rem;
         
        }

        .btn-principale-gradient {
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
        }

        .btn-principale-gradient:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
        }

        .btn-secondair-outline {
            background: transparent;
            color: #667eea;
            border: 2px solid #667eea;
            margin-left: 1cm
        }

        .btn-secondair-outline:hover {
            background: #667eea;
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
        }

        .btn-modern::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.6s;
        }

        .btn-modern:hover::before {
            left: 100%;
        }


.navmenu a.devis-btn {
    border: 2px solid #667eea;
    border-radius: 50px;
    padding: 8px 20px !important;
    margin-left: 10px;
    transition: all 0.4s ease;
}

.navmenu a.devis-btn::before {
    display: none !important; /* Désactive complètement le soulignement */
}

.navmenu a.devis-btn:hover {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    border-color: transparent;
}

        /* Style pour le header fixe */
.header.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030; /* Au-dessus de la plupart des éléments */
  background: rgba(255, 255, 255, 0.98); /* Fond légèrement transparent */
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); /* Ombre portée */
  transition: all 0.3s ease;
}

/* Compensation pour le contenu sous le header fixe */
body {
  padding-top: 70px; /* Ajustez selon la hauteur de votre header */
}

/* Version mobile */
@media (max-width: 1199.98px) {
  body {
    padding-top: 60px; /* Moins d'espace sur mobile si nécessaire */
  }
}

/* Effet de rétrécissement au scroll */
.header.fixed-top.scrolled {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Animation du logo */
.header.fixed-top.scrolled .logo img {
  height: 40px; /* Taille réduite */
  transition: all 0.3s ease;
}


.footer {
    font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}