/*Header*/

/* Reset de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #ebedf0;
}

.navbar {
  background-color: #ffffff;
  height: 80px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  width: 100%;
}

.container {
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  /* Espace entre logo, menu et bouton */
  align-items: center;
}

/* --- Logo --- */
.logo img {
  height: 50px;
  /* Ajustez selon votre image réelle */
  display: block;
}

/* --- Liens de navigation --- */
.nav-links {
  display: flex;
  gap: 25px;
  /* Espace entre les liens */
}

.nav-links a {
  text-decoration: none;
  color: #7a7a7a;
  /* Gris pour les liens inactifs */
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #2c5282;
  /* Bleu plus foncé pour l'élément actif */
}

/* --- Bouton "Demander un devis" --- */
.btn-quote {
  background-color: #fffb03e1;
  /* Couleur dorée/orangée */
  color: #1a365d;
  /* Texte foncé sur le bouton */
  padding: 10px 20px;
  margin-top: 50px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: background-color 0.3s, transform 0.2s;

}

.btn-quote:hover {
  background-color: #ed8936;
  transform: translateY(-2px);
  /* Petit effet au survol */
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
    /* Cache le menu sur tablette/mobile (à remplacer par un menu burger) */
  }
}


/*Header*/

/*-------------------------------*/


@media (max-width: 992px) {

  /* Cible l'image du logo à l'intérieur du menu mobile */
  .nav-logo-mobile img {
    width: 150px;
    /* Ajustez cette valeur (ex: 80px, 120px) selon vos besoins */
    height: auto;
    /* Garde les proportions de l'image */
    display: block;
    margin: 0 auto;
    /* Centre le logo horizontalement si besoin */
  }
  .contact-info{
    gap: 30px;
  }

  /* Optionnel : Ajuster l'espace autour du logo */
  .nav-logo-mobile {
    margin-bottom: 20px;
    /* Réduit l'espace sous le logo */
    text-align: center;
    /* Centre le conteneur */
  }
}


/*-------------------------------*/


/* --- CONFIGURATION ORDINATEUR (Par défaut) --- */
.menu-toggle,
.menu-close,
.nav-logo-mobile,
.nav-footer-mobile {
  display: none;
  /* Masqués partout sauf sur mobile */
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #1a2b4b;
  font-weight: 600;
}

.btn-quote {
  background: #f9d423;
  padding: 10px 20px;
  border-radius: 8px;
  color: #1a2b4b;
  text-decoration: none;
  font-weight: bold;
}

/* --- STYLE RESPONSIVE (Tablette et Mobile) --- */
@media (max-width: 992px) {

  .nav-actions-desktop,
  .nav-links {
    display: none;
    /* On cache la barre de navigation standard */
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
  }

  /* Le volet blanc à droite */
  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    /* Totalement hors écran à droite */
    width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    /* Devient visible via flex mais reste à right -100% */
    flex-direction: column;
    padding: 40px 25px;
    transition: right 0.4s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  /* Classe activée par JS */
  .nav-wrapper.show {
    right: 0;
    /* Entre dans l'écran */
  }

  /* Éléments internes au menu mobile */
  .menu-close {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    color: #ffffff;
  }

  .nav-logo-mobile {
    display: block;
    width: 140px;
    margin-bottom: 40px;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .nav-footer-mobile {
    display: block;
    margin-top: auto;
    /* Pousse les infos vers le bas */
  }

  .btn-quote-mobile {
    display: block;
    background: #f9d423;
    color: #1a2b4b;
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 25px;
  }

  .nav-contact-details {
    color: #666;
    font-size: 14px;
  }

  .nav-contact-details p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  @media (max-width: 550px) {

    /* Bouton Contact Footer */
    .btn-contact-footer {
      display: inline-block;
      background: white;
      color: #1a2a40;
      width: 100%;

      border-radius: 8px;
      text-decoration: none;
      font-weight: bold;

      transition: transform 0.3s;
    }

    .btn-contact-footer:hover {
      transform: scale(1.05);
      /* Petit zoom */
    }
  }
}

/* Voile d'arrière-plan */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 9998;
}

.overlay.active {
  display: block;
}





/* Footer*/


.main-footer {
  background-color: #05061d;
  /* Bleu marine foncé */
  color: #ffffff;
  padding: 60px 5% 20px;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  width: 150px;
  margin-bottom: 20px;
  background: white;
  /* Pour faire ressortir le logo si fond transparent */
  padding: 5px;
  border-radius: 5px;
}

.footer-col h4 {
  color: #f8aa50;
  /* Couleur dorée pour les titres */
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: #f6ad55;
}

/* Icônes Sociaux */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.social-icons a:hover {
  background: #f6ad55;
  transform: translateY(-3px);
  /* Petit zoom vers le haut */
}

/* Bouton Contact Footer */
.btn-contact-footer {
  display: inline-block;
  background: white;
  color: #1a2a40;
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: transform 0.3s;
}

.btn-contact-footer:hover {
  transform: scale(1.05);
  /* Petit zoom */
}

/* Bas de page */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #718096;
}

.bottom-links a {
  color: #718096;
  margin-left: 20px;
  text-decoration: none;
}

/* État initial des liens dans la colonne Liens Rapides */
.footer-col ul li a {
  display: inline-block;
  /* Nécessaire pour que l'animation fonctionne bien */
  color: #a0aec0;
  text-decoration: none;
  transition: all 0.3s ease;
  /* Animation fluide pour le mouvement et la couleur */
  font-size: 0.9rem;
}

/* Effet au survol : Décalage vers la droite et changement de couleur */
.footer-col ul li a:hover {
  color: #f6ad55;
  /* Devient jaune doré */
  transform: translateX(8px);
  /* Se décale de 8 millimètres vers la droite */
}

/* État initial des cercles sociaux */
.social-icons a {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.1);
  /* Fond gris translucide par défaut */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  /* L'icône elle-même est blanche */
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Effet au survol : Le cercle devient jaune et l'icône devient foncée */
.social-icons a:hover {
  background-color: #f6ad55;
  /* Le fond devient jaune doré */
  color: #1a2a40;
  /* L'icône (le logo) devient bleu nuit pour le contraste */
  transform: translateY(-3px);
  /* Optionnel : petit bond vers le haut */
}