@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);
}


body {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-color: var(--dark);
    margin: 0;
    height: 100%;
}

.container {
    display: flex;
    flex-direction: column;
}

#background-video {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    margin-top: 70px;
}


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






.logo-nav {
    font-size: 17px;
    margin-left: 10px;
    letter-spacing: -0.8px;
    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: 1%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.h1 {
    font-size: 80px;
    font-weight: 500;
    letter-spacing: -5px;
}

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

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



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

.titre-section-container-center {
    max-width: 800px;
    width: 90%;
    margin-top: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 5%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

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

.title-section, .title-section-long {
    font-size: 44px;
    font-weight: 500;
    letter-spacing: -2px;
    color: var(--white);
}

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

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

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

.stat-one, .stat-two {
    border-right: 1px solid transparent;
    border-image: repeating-linear-gradient(
      to bottom,
      var(--point) 0,
      var(--point) 4px,
      transparent 4px,
      transparent 10px
    ) 1;
    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;
    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;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    gap: 10px;
    margin-top: 30px;
}

.card-a, .card-b, .card-c, .card-d , .card-e, .card-f, .card-g {
    width: 33%;
    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: 80%;
    letter-spacing: -0.5px;
    color: rgb(94, 94, 94);
  }

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

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

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

  .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;
  }

  .carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    margin-top: 20px;
  }

  .carousel-track {
    display: flex;
    transition: transform 0.4s ease;
  }

  .carousel-item {
    flex: 0 0 25%; /* 4 visibles par ligne */
    box-sizing: border-box;
    padding: 10px;
  }
  
  .carousel-item > div {
    background-image: url('../img/echap.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgb(24, 24, 24);
    letter-spacing: -0.3px;
  }
  

  .title-item {
    margin-top: auto;
    color: var(--white);
    font-size: 20px;
    font-weight: 500;
    margin-left: 10px;
  }

  .inter-item {
    color: grey;
    margin-left: 10px;
    margin-bottom: 20px;
  }

  .btn-carrousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-left: auto;
    z-index: 10;
    width: 100px;
    margin-right: 100px;
    margin-top: -30px;
  }

  /* Buttons */
  .carousel-btn {
    background: #222;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 5px;
    opacity: 0.8;
    transition: opacity 0.3s;
    z-index: 10;
    font-size: 25px;
  }
  .carousel-btn:hover {
    opacity: 1;
  }


  .map-container {
    width: 95%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    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 {
    height: 400px;
    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;
    font-size: 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;
    transition: opacity 0.3s ease;
  }
  
  .popup.active {
    display: flex;
    opacity: 1;
  }
  
  .popup-content {
    background-color: rgb(0, 0, 0);
    width: 100%;
    max-width: 700px;
    border-left: 1px solid rgb(28, 28, 28);
    margin-left: auto;
    height: 100%;
    display: flex;
    overflow-y: scroll;
    flex-direction: column;
    animation: slideInFromLeft 0.4s ease forwards;
  }
  
  /* Animation d'entrée */
  @keyframes slideInFromLeft {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
  /* Animation de sortie */
  @keyframes slideOutToLeft {
    from {
      transform: translateX(0);
      opacity: 1;
    }
    to {
      transform: translateX(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: 30px;
  }

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

  .h2-pop {
    color: grey;
  }

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

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

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

  .prob-pop {
    display: flex;
    flex-direction: column;
    padding-left: 30px;
  }

  .list {
    color: grey;
    margin-top: 7px;
    max-width: 80%;
  }

  .list li {
    margin-top: 10px;
  }

  .trait-pop {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    height: 1px;
    background-color: rgb(34, 34, 34);
  }

  
  .close {
    margin-left: auto;
    margin-right: 40px;
    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;
    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: 1.8s;
  }
  
  @keyframes lightnav {
    to {
      width: 77%;
      box-shadow: 0 0 70px 8px var(--white);
    }
  }
  
  

  
  
  .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;
  }
  

  
  .active-container {
    margin-left: auto;
    display: flex;
    align-items: center;
    color: var(--primary);
  }
  

  
  
  #burgerWrapper {
    margin-right: 10px;
    margin-left: auto;
    display: none;
  }
  
  .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;
  }

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

  .name-nav:hover {
    text-decoration: underline;
  }

  .link-pc {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 10px;
    margin-right: 10px;
  }



  .link-pc a {
    text-decoration: none;
    color: grey;
  }

  .link-menu:hover {
    color: var(--white);
  }

  .mobile-marge {
    display: none;
  }

  .prix-pop {
    color: var(--white);
    margin-left: 30px;
    margin-right: 30px;
    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;
    transition: 0.3s;
  }

  .whatsapp-btn:hover {
    transform: translateY(-4px);
    transition: 0.3s;
  }

  
  .whatsapp-btn svg {
    flex-shrink: 0;
  }
  
  .info-what {
    color: var(--white);
    text-align: center;
    letter-spacing: -0.7px;
  }

  .block-nav-link {
    display: none;
  }

  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;
  }