@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
:root {
  --primary: #ffaa00;
  --red : rgb(230, 23, 23);
  --orange: orange;
  --white: #FFFFFF;
  --black: #111111;
  --dark: #000000;
  --point: rgb(72, 72, 72);
  --black-border: #000000;
  --btn-shadow-black: rgba(0, 0, 0, 0.4);
}

html, body {
  overflow-x: hidden;
  margin: 0;
  height: 100%;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--dark);
}

.container {
  position: relative;  /* position relative pour ancrer le video absolu */
  height: 100vh;       /* hauteur de l'écran */
  display: flex;
  flex-direction: column;
}

#background-video {
  position: absolute;
  top: 200px;      /* en haut du container */
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transform: scale(1.5);
  transform-origin: center center;
}



.header {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--white);
}


nav {
    background: rgba(80, 80, 80, 0.2);
    border-radius: 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(101, 101, 101, 0.3);
    width: 90%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    border-radius: 15px;
    margin-top: 10px;
    padding: 4px;

}

nav::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0; /* départ à 0 pour animer vers 77% */
    height: 1px;
    border-radius: 0 2px 2px 0;
    background: var(--white);
    box-shadow: 0 0 0 0 var(--white);
    transition: none;
    animation: lightnav 1s ease forwards;
    animation-delay: 1s;
  }
  
  @keyframes lightnav {
    to {
      width: 77%;
      box-shadow: 0 0 70px 8px var(--white);
    }
  }




.nav-card {
    color: var(--white);
    border: 1px solid var(--black-border);
    box-shadow: 
      inset 0 1px 3px -0.25px rgba(255, 255, 255, 0.12),
      inset 0 0.5px 0.25px -0.25px rgba(255, 255, 255, 0.16),
      inset 0 -0.75px 0.5px var(--btn-shadow-black),
      0 4px 4px -1px var(--btn-shadow-black),
      0 2px 3px -1px var(--btn-shadow-black),
      0 0.5px 0.5px var(--btn-shadow-black),
      0 0 0 0.75px var(--btn-shadow-black);
    background-color: #0C0C0C;
    width: 100%;
    height: 50px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    z-index: 2;
    position: relative;
}

.logo-nav {
    font-size: 13px;
    margin-left: 10px;
    letter-spacing: -0.2px;
    font-weight: 500;
}

.trait-nav {
    width: 1px;
    height: 35px;
    background-color: rgb(50, 50, 50);
    margin-left: 10px;
}

.title-header-container {
    margin-top: auto;
    margin-bottom: 30%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    text-align: center;
    max-width: 95%;
}

@media (max-height: 500px) { 
    .title-header-container {
        margin-bottom: 30%;
    }
}


.h1 {
    font-size: 5vh;
    font-weight: 500;
    letter-spacing: -0.2vh;
}

.h2 {
    font-size: 20px;
    letter-spacing: -1px;
    color: grey;
}

main {
    height: 1000px;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1400px;
    padding-top: 100px;
}



.titre-section-container {
    max-width: 800px;
    width: 90%;
    display: flex;
    flex-direction: column;
    margin-left: 3%;
}

.titre-section-container-center {
    max-width: 800px;
    width: 90%;
    display: flex;
    flex-direction: column;
    margin-left: 3%;
    margin-top: 70px;
}

.info-section {
    color: var(--primary);
    margin-bottom: 5px;
    letter-spacing: -0.6px;
}

.title-section {
    font-size: 3vh;
    font-weight: 500;
    letter-spacing: -0.15vh;
    color: var(--white);
}

.title-section-long {
    font-size: 2.7vh;
    font-weight: 500;
    letter-spacing: -0.15vh;
    color: var(--white);
}


.text-section-title {
    color: rgb(113, 113, 113);
    margin-top: 10px;
    font-size: 16px;
    font-weight: 400;
    max-width: 600px;
    letter-spacing: -0.1vh;
}

.stats-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin-top: 75px;
    margin-bottom: 80px;
}

.stat {
    height: 230px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-one, .stat-two {
    text-align: center;
}

#reprog-ok, #cent-ok, #diag-ok {
    color: var(--primary);
    font-size: 100px;
    letter-spacing: -8px;
}

.color-title-stat {
    font-size: 25px;
    letter-spacing: -1px;
    color: var(--white);
}


.card-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    gap: 10px;
    margin-top: 30px;
}

.card-container-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    gap: 10px;
    margin-top: 10px;
}

.card-a, .card-b, .card-c, .card-d , .card-e, .card-f, .card-g {
    width: 95%;
    height: 300px;
    border: 1px solid rgb(24, 24, 24);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
    position: relative;
}

.card-a {
    background-image: url('../img/echap.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  .card-b {
    background-image: url('../img/adblue.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  .card-c {
    background-image: url('../img/comp.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  .card-d {
    background-image: url('../img/e85.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  .card-e {
    background-image: url('../img/stage.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  .card-f {
    background-image: url('../img/frm.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  .card-g {
    background-image: url('../img/immo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  .card-a:hover, .card-b:hover, .card-c:hover, .card-d:hover, .card-e:hover, .card-f:hover, .card-g:hover {
    transform: translateY(-10px);
    transition: 0.3s;
    cursor: pointer;
  }

  .sticker-card {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: yellow;
    border: 1px solid black;
    color: black;
    height: 30px;
    width: auto;
    display: flex;
    align-items: center;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 7px;
    font-weight: 500;
  }


  .title-card {
    margin-top: auto;
    color: #FAFAFA;
    letter-spacing: -0.8px;
    font-size: 20px;
    font-weight: 500;
    margin-left: 10px;
  }
  
  .sous-title-card {
    margin-bottom: 10px;
    margin-left: 10px;
    font-size: 15px;
    max-width: 90%;
    letter-spacing: -0.5px;
    color: rgb(94, 94, 94);
  }

  .cs-main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
    width: 95%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    gap: 60px;
  }

  .img-carrousel {
    width: 90%;
    max-width: 350px;
    border-radius: 20px;
  }

  .nous-container {
    display: flex;
    flex-direction: column;
    width: 90%;
  }

  .info-cs-one, .info-cs-two, .info-cs-three, .info-cs-four {
    height: auto;
    display: flex;
    padding-bottom: 20px;
    padding-top: 20px;
    flex-direction: column;
  }

  .info-cs-one, .info-cs-two, .info-cs-three {
    border-bottom: 1px solid rgb(28, 28, 28);
  }

  .title-info {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.9px;
    color: var(--white);
  }

  .logo-info {
    width: 25px;
    margin-right: 10px;
  }

  .text-info {
    color: rgb(113, 113, 113);
    margin-top: 10px;
    font-size: 16px;
    letter-spacing: -0.08vh;
  }

  

  .map-container {
    width: 95%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .map-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .map-contact-img {
    width: 95%;
    border-radius: 10px;
  }

  .map {
    width: 100%;
  }

  .contact-info {
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 20px;
    letter-spacing: -0.5px;
  }
  

  .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.771);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;

  }
  
  .popup.active {
    display: flex;
    opacity: 1;
  }
  
  .popup-content {
    background-color: rgb(0, 0, 0);
    width: 100%;
    height: 100%;
    display: flex;
    overflow-y: scroll;
    flex-direction: column;
    animation: slideInFromLeft 0.4s ease forwards;
  }
  
  /* Animation d'entrée */
  @keyframes slideInFromLeft {
    from {
      transform: translateY(100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* Animation de sortie */
  @keyframes slideOutToLeft {
    from {
      transform: translateY(0);
      opacity: 1;
    }
    to {
      transform: translateY(100%);
      opacity: 0;
    }
  }
  
  /* Classe pour lancer l'animation de sortie */
  .popup-content.slide-out {
    animation: slideOutToLeft 0.4s ease forwards;
  }

  .h1-pop, .h2-pop {
    color: var(--white);
    margin-left: 15px;
  }

  .h1-pop {
    font-size: 30px;
    letter-spacing: -1px;
    font-weight: 500;
  }

  .h2-pop {
    color: grey;
    margin-right: 30px;
  }

  .label-pop {
    color: var(--white);
    margin-left: 10px;
    letter-spacing: -0.6px;
    display: flex;
    align-items: center;
  }

  .icone-pop {
    width: 24px;
    margin-right: 4px;
  }

  .text-solution-pop {
    margin-left: 10px;
    color: grey;
    margin-right: 10px;
  }



  .prob-pop ul.list {
    padding-left: 30px; /* Indentation à gauche */
    margin: 0;
    list-style-type: disc; /* Tirets par défaut */
    color: grey; /* Par exemple, la couleur du texte */
    max-width: 90%;
    margin-right: 30px;
  }
  
  .prob-pop ul.list li {
    margin-bottom: 8px; /* Espacement entre les lignes */
    line-height: 1.4;
  }
  

  .trait-pop {
display: none;
  }

  
  .close {
    margin-left: auto;
    margin-right: 20px;
    margin-top: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
  }


  nav {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    width: 90%;
    max-width: 1000px;
    background: rgba(39, 39, 39, 0.2);
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(101, 101, 101, 0.3);
    padding: 7px;
    z-index: 100;
    display: flex;
    margin-top: 6px;
    flex-direction: column;
  }
  
  /* Initial state du pseudo-élément */
  nav::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0; /* départ à 0 pour animer vers 77% */
    height: 1px;
    border-radius: 0 2px 2px 0;
    background: var(--blue);
    box-shadow: 0 0 0 0 var(--blue);
    transition: none;
    animation: lightnav 1s ease forwards;
    animation-delay: 1.8s;
  }
  
  @keyframes lightnav {
    to {
      width: 77%;
      box-shadow: 0 0 70px 8px var(--blue);
    }
  }
  
  
  .dotted-line-nav {
    height: 1px;
    width: 100%;
    background-image: repeating-linear-gradient(
      to left,
      var(--point) 0,
      var(--point) 4px,
      transparent 4px,
      transparent 10px
    );
    position: relative;
    top: 100px;
  }
  
  
  .card-nav {
    position: relative;
      height: 55px;
      width: 100%;
      border-radius: 15px;
      display: flex;
      align-items: center;
      z-index: 200;
      border: 1px solid var(--black-border);
      box-shadow: 
        inset 0 1px 3px -0.25px rgba(255, 255, 255, 0.12),
        inset 0 0.5px 0.25px -0.25px rgba(255, 255, 255, 0.16),
        inset 0 -0.75px 0.5px var(--btn-shadow-black),
        0 4px 4px -1px var(--btn-shadow-black),
        0 2px 3px -1px var(--btn-shadow-black),
        0 0.5px 0.5px var(--btn-shadow-black),
        0 0 0 0.75px var(--btn-shadow-black);
      background-color: #111111;
      border-radius: 15px;
  }
  
  .home-nebryx-nav {
    margin-left: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
  }
  
  .puce-home {
    width: 110px;
    margin-top: 2px;
  }
  
  
  .active-container {
    margin-left: auto;
    display: flex;
    align-items: center;
    color: var(--primary);
  }
  
  .rond-miner {
    background-color: var(--primary);
    border: 1px solid green;
    height: 10px;
    width: 10px;
    border-radius: 100px;
    margin-right: 5px;
  }
  
  
  #burgerWrapper {
    margin-right: 10px;
    margin-left: auto;
  }
  
  .burger-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .burger-lines {
    width: 19px;
    height: 2px;
    background: #929292;
    transition: all 0.3s ease;
  }
  
  .menu {
    position: relative;
    color: var(--white);
  
    width: 100%;
    border-radius: 15px;
    align-items: center;
    z-index: 200;
  
    height: 0px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    display: flex;
    align-items: center;
    transition: opacity 0.4s ease, height 0.4s ease;
  }
  
  .menu.active {
    height: auto;
    opacity: 1;
    pointer-events: auto;
    margin-top: 10px;
    padding-bottom: 20px;
  }

  .link-pc {
    display: none;
  }


  .name-nav {
    margin-left: 15px;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.6px;
  }


  .block-nav-link {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
  }

  .link-menu {
    text-decoration: none;
    color: var(--white);
  }

  .link-mobile {
    text-decoration: none;
    color: var(--white);
    margin-left: 20px;
  }

#nous {
  height: 30px;
}



.prix-pop {
  color: var(--white);
  margin-left: auto;
  margin-right: auto;
  font-size: 30px;
  font-weight: 500;
  align-self: flex-start; 
  letter-spacing: -1px;
}

.whatsapp-btn {
  display: inline-flex;
  align-self: flex-start; 
  align-items: center;
  gap: 8px;
  background-color: #00b844;
  border: 1px solid rgb(74, 255, 74);
  box-shadow: 0px 10px 100px green;
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 500;
  letter-spacing: -0.8px;
  text-decoration: none;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
}


.whatsapp-btn svg {
  flex-shrink: 0;
}

.info-what {
  color: var(--white);
  text-align: center;
  letter-spacing: -0.7px;
}

.link-mobile {
  letter-spacing: -0.4px;
}


footer {
  width: 100%;
  border-top: 1px solid rgb(28, 28, 28);
  margin-top: 30px;
  height: 100px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
}

.copy {
  color: grey;
  margin-left: auto;
  margin-right: auto;
}

.link-footer-container {
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
}

.footer-link {
  color: grey;
  text-decoration: none;
  margin-top: 20px;
}

.footer-link:hover {
  color: var(--white);
  text-decoration: underline;
}

.mention-container {
  width: 95%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  color: var(--white);
}


.return-home {
  text-decoration: none;
  color: var(--dark);
  margin-top: 30px;
  height: 40px;
  padding-left: 10px;
  padding-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: rgb(255, 255, 255);
  max-width: 250px;
}

.return-home:hover {
  text-decoration: underline;
}