/* NAV mobile */
body.menu-active {
  overflow: hidden;
  position: relative; /* nécessaire pour le ::before */
}

/* Overlay sombre sur tout le body sauf header et menu */
body.menu-active::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* opacité de l'ombre */
  z-index: 900; /* en dessous du menu (998) et du header (1000) */
}

.nav-menu-mobile {
  position: fixed; /* couvre toute la largeur écran */
  top: 63px; /* hauteur de ton header, ajuste si besoin */
  left: 0;
  width: 100%;
  background-color: #050F1B;
  z-index: 998;
  transform: translateY(-140%); /* caché au-dessus */
  transition: transform 0.4s ease-in-out;
  border-bottom: 1px solid rgba(156, 125, 60, 0.5);
  padding: 20px;
  box-shadow: 0 4px 100px rgba(0, 0, 0, 0.3);
}

/* Quand actif → descend */
.nav-menu-mobile.active {
  transform: translateY(0);
}

/* Mobile nav links */
.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 13px;
  font-family: Figtree;
}

.mobile-nav-links li a {
  text-decoration: none;
  color: #9c7d3c;
  font-weight: 500;
  transition: color 0.2s ease;
}

.mobile-nav-links li a:hover {
  color: #d1aa62;
}

/* Carré réseaux sociaux */
.social-media-box {
  position: relative;
  left: 10px;         
  background-color: #020509;
  padding: 11px;
  width: 82%;
  left: 0;
  margin-top: 30px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #9c7d3c;
  border: 1px solid rgba(156, 125, 60, 0.5);
}

.social-media-box p {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 500;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.instagram-link {
  color: #9c7d3c;
  font-size: 28px;
  margin: 0 10px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 27px;
  height: 27px;
  margin: 7px;
  cursor: pointer;
  z-index: 1001;
  transition: transform 0.4s ease;
}

.hamburger .bar {
  width: 18px;
  height: 2px;
  background-color: #9c7d3c;
  margin: 3px 0;
  transition: 0.4s;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}




.Btn {
    width: 40px;
    height: 40px;
    background: #02080F;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    border: none;
    z-index: 1000;
  }


  .scroll-to-top {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  position: fixed;
  cursor: pointer;
  z-index: 999;
}
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}


  .arrow path {
    fill: #9c7d3c;
  }

.container-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
    flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
    .logo {
      height: 70px;
      margin: -2px 0px -2px 0px;
    }
  }

@media screen and (min-width: 768px) {
    .logo {
      height: 80px;
      margin: -4px 0px -4px 0px;
    }
  }

.nav-menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.nav-menu li {
    display: inline;
}

.nav-menu a {
    text-decoration: none;
    color: #9c7d3c;
    font-weight: bold;
    font-size: 14px;
    font-family: Figtree;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #fff;
}

    h1 {
            text-align: center;
            color: #9c7d3c;
            
        }
    
    .social-icons a {
        color: #9c7d3c;
        font-size: 20px;
        margin: 0 10px;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .social-icons a:hover {
        color: white;
    }

    footer {
            background: #050F1B;
            color: #9c7d3c;
            border-top: 1px solid rgba(156, 125, 60, 0.5);
            text-align: center;
            padding: 1px 0;
            margin-top: 10px;
            width: 100%;
            padding-bottom: 20px;
        }
    body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #020509;
        }
    .container {
            width: 100%;
            margin: 0 auto;
            overflow: hidden;
        }

    header {
            position: relative;
            padding: 10px 0;
            z-index: 1000;
            width: 100%;
            border-bottom: 1px solid rgba(156, 125, 60, 0.5);
            top: 0;
            background: #050F1B;
    }
    .social-icons a {
            margin: 0 10px;
            text-decoration: none;
            color: #9c7d3c;
        }
        .card {
            display: flex;
            width: 80%;
            max-width: 900px;
            border-radius: 15px;
            overflow: hidden;
            margin: 0 auto;
            border-radius: 10px;
            text-align: center;
            background: white;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            top: 9px;
            bottom: 9px;
        }

        .card img {
            width: 60%;
            object-fit: cover;
        }

        .card-content {
            width: 40%;
            background: #071322;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .card-content h2 {
            font-size: 19px;
            color: #9c7d3c;
            font-family: Arial, sans-serif;
        }

      .nav-footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    gap: 20px;
   }

  .nav-footer li{
    margin: 0;
    display: inline-block;
    margin-bottom: 10px;
  }

  .nav-footer a {
    font-size: 12px;
    font-family: Figtree;
    font-weight: bold;
    text-decoration: none;
    color: #9c7d3c;
    transition: color 0.3s ease;
  }

  .nav-footer a:hover {
    color: #fff;
  }

  .horizontal-separator {
    margin: -10px auto 20px auto;
    width: 90px;
    height: 1px;
    background-color: #9c7d3c;
}

    .ep-square {
      width: 70%; 
      height: fit-content;
      margin: 20px auto 16px auto; 
      background-color: #050F1B;
      border-radius: 10px;
      padding: 1px 2px;
      margin-top: 10px;
      margin-bottom: -10px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .ep-square img {
      max-width: 5%;
      max-height: 5%;
      object-fit: contain;
      display: block;
    }
     @media (max-width: 749px) {
    .ep-square img {
        max-width: 21%;
        max-height: 21%;
        object-fit: contain;
        display: block;
    }    
     }

     .footer-text {
    font-size: 13px;
    color: #c8c8c8;
  }

  .copyright {
    font-size: 13px;
}

*:focus {
    outline: none !important;
    box-shadow: none !important;
  }
  
* {
    -webkit-tap-highlight-color: transparent;
  }

  .formulaire-de-contact {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  padding-top: 10px;
  padding-bottom: 30px;
  background-color: #071322;
  border: 1px solid rgba(156, 125, 60, 0.5);
  border-radius: 5px;
  margin-top: 30px;
  margin-bottom: 30px;
  color: #adacac;
  font-family: Arial, sans-serif;
}

.titre-contact {
  text-align: center;
  font-family: Figtree;
  color: #9c7d3c;
  font-size: 20px;
  justify-content: center;
  margin-bottom: 2rem;
  padding-top: 10px;
}

.titre-contact::after {
  content: "";
  display: block;
  width: 120px; /* ajuste à la taille de ton SVG */
  height: 100px;
  margin: 0 auto;
  background-image: url('laurier\ contact.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 999;
  margin-top: -22px;
  margin-bottom: -20px;
}

.formulaire-de-contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.formulaire-de-contact__form label {
  font-size: 14px;
  margin-bottom: -7px;
  color: #adacac;
}

.formulaire-de-contact__form input,
.formulaire-de-contact__form textarea {
  padding: 0.8rem;
  border: 1px solid #9c7d3c;
  background-color: transparent;
  color: #adacac;
  border-radius: 5px;
  font-size: 1rem;
  resize: vertical;
}

.formulaire-de-contact__form input:focus,
.formulaire-de-contact__form textarea:focus {
  outline: none;
  border-color: #adacac;
  background-color: #0a0d12;
}

.formulaire-de-contact__form button {
  background-color: #9c7d3c;
  color: #020509;
  border: none;
  padding: 0.9rem;
  padding-right: 40px;
  padding-left: 40px;
  margin: 0 auto;
  font-size: 12px;
  text-transform: uppercase;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.formulaire-de-contact__form button:hover {
  background-color: #b99753;
}

.merci-message {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #0a0d12;
  color: #9c7d3c;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  z-index: 999;
  border: 1px solid #9c7d3c;
}

.merci-message {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.merci-message.show {
  opacity: 1;
}

@media (max-width: 749px) {
    .formulaire-de-contact {
        padding : 2rem;
        width: 76%;
    }
     }


@media (min-width: 749px) {
    .formulaire-de-contact {
        padding-left: 140px;
        padding-right: 140px;
    }
     }


/* Cartes */
.contact-card {
  background-color: #071322;
  border: 1px solid rgba(156, 125, 60, 0.5);
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
  position: relative;
  margin: 0 auto;
  margin-bottom: 30px;
  z-index: 1;
}

/* Titres */
.contact-card h3 {
  margin-top: 10px;
  margin-bottom: 25px;
  font-size: 15px;
  font-family: Figtree;
  color: #9c7d3c; 
  z-index: 2;
  position: relative;
}

/* Paragraphes */
.contact-card p {
  margin: 6px 0 1px 2px;
  display: flex;
  font-family: Figtree;
  align-items: center;
  font-size: 13px;
  color: #C8C8C8; 
  z-index: 2;
  position: relative;
}

/* Icônes Font Awesome */
.contact-card p i {
  margin-right: 15px;
  margin-bottom: 3px;
  color: #9c7d3c;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Responsive : empilement sur mobile */
@media (max-width: 769px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }
  .contact-card {
    width: 80%;
  }
}

/* Responsive : empilement sur mobile */
@media (min-width: 769px) {
  .contact-card {
    width: 64%;
  }
}