
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Space+Grotesk:wght@300..700&display=swap');



*{
    box-sizing: border-box;
}

html{
  overflow-x: hidden;
}


body{
    background: #140036;
    margin: 0;
    padding: 0;
  overflow-x: hidden;
}


h1, h2, h3, p, nav{
    color: #E7CFFA;
}

h1{
    font-size: 7vw;
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    position: relative;
}

.fond-blur{
  position: absolute;
  width: 100%;
  height: 100%;
  background: #370093;
  z-index: -1;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(400px);
}

.fond-blur-gauche{
  position: absolute;
  width: 100%;
  height: 100%;
  background: #370093;
  z-index: -3;
  top: 10%;
  left: 0;
  transform: translate(-50%, -50%);
  filter: blur(400px);
}

.fond-blur-droite{
  position: absolute;
  width: 100%;
  height: 100%;
  background: #370093;
  z-index: -3;
  top: -40%;
  left: 40%;
  filter: blur(400px);
}

h2{
    font-size: 3vw;
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
}



header{
    margin: 0;
    height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre verticalement */
    align-items: center; /* Centre horizontalement */
    text-align: center; /* Centre le texte */
    overflow: hidden;
}

.flex-detail-projet{
  display: flex;
  gap: 10px;
}


nav {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-family: "Space Grotesk", sans-serif;
}

.nav-container {
  position: relative;
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 11px 15px;
  background-color: transparent; /* Transparent par défaut */
  border-radius: 9999px;
  border: 2px solid transparent;
  align-items: center;
  transition: background-color 0.3s ease, border 0.3s ease;
}

.nav-container.scrolled {
  background-color: #14003633;
  border: 2px solid #FFFFFF26;
  backdrop-filter: blur(30px);
  border-radius: 9999px;
}

.nav-item {
  position: relative;
  color: white;
  font-size: 1.3vw;
  padding: 10px 20px;
  border-radius: 9999px;
  cursor: pointer;
  z-index: 1;
  transition: color 0.3s;
  white-space: nowrap;
}

/* Élément qui sert de fond glissant */
.nav-highlight {
  position: absolute;
  top: 20%;
  left: 0;
  width: 0;
  height: 60%;
  background-color: #FCF5FF26;
  border-radius: 9999px;
  transition: all 0.4s ease;
  z-index: 0;
}

.projects-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}

.project {
    position: relative;
    width: 60%;
    border-radius: 20px;
    cursor: pointer;
  }

  .project:hover{
    -webkit-box-shadow: 0px 0px 20px 2px rgba(203,200,200,0.25); 
    box-shadow: 0px 0px 20px 2px rgba(203,200,200,0.25);
  }
  
  /* Logo tout au fond */
  .logo-gauche {
    position: absolute;
    top: 7%;
    left: -15%;
    width: 120px;
    z-index: -1;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  .logo-droit {
    position: absolute;
    top: 8%;
    right: -5%;
    width: 120px;
    z-index: -1;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  .logo-gauche svg,
.logo-droit svg {
  width: 25vw;
  height: auto;
  max-width: 370px; /* ou la taille d'origine */
  display: block;
}

.logo-gauche,
.logo-droit {
  aspect-ratio: auto; /* ou explicite genre 370 / 379 */
}
  
  /* Le fond flouté, semi-transparent */
  .project-bg {
    position: absolute;
    inset: 0;
    background-color: #10002B8C;
    backdrop-filter: blur(15px);
    border: 1px solid #FFFFFF26;
    border-radius: 20px;
    z-index: 1;
  }
  
  /* Le contenu normal */
  .project-content {
    position: relative;
    z-index: 2;
    padding: 0 40px 0 40px;
    overflow: hidden;
    text-decoration: none;
  }
  
  .project-content h3 {
    margin: 30px 0 50px 0;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 1.5vw;
    text-decoration: none;
    
  }

  .project-content h4 {
    margin: 30px 0 50px 0;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    font-size: 0.9vw;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 25px;
    border-radius: 999px; /* pour un effet pill arrondi */
  }
  
  .project-content img {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    transform: translateY(40px);
    transition: transform 0.3s ease;
  }

  .project:hover img {
    transform: translateY(0px); /* Tu peux ajuster la valeur */
  }

  .details-projet{
    display: flex;
    justify-content: space-between;
  }

  .sect-description{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10%;
    margin-bottom: 10%;
    gap: 150px;
    flex-wrap: wrap;
    /*margin: 0 20% 0 20%;*/
  }


  .photo-container {
    position: relative;
    width: 20%;
  }
  
  .photo-container img {
    width: 100%;
    border-radius: 10px;
    height: auto;
    object-fit: cover;
  }

  .text-container {
    max-width: 30%;
  }
  
  .text-container h3 {
    font-size: 3vw;
    margin: 0;
    font-family: "Space Grotesk", sans-serif;

  }
  
  .text-container h4 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.6vw;
    color: #E7CFFA;
    margin: 10px 0 20px;
  }
  
  .text-container p {
    line-height: 1.6;
    font-size: 1vw;
    font-family: "Space Grotesk", sans-serif;
  }

  footer{
    position: relative;

  }

  .titre-footer-tel{
    display: none;
  }

  .footer-call {
    margin: 100px auto;
    border: 2px solid #FCF5FF40;
    border-radius: 50px;
    max-width: 80%;
    background: linear-gradient(to right, #1a0033, #220044);
    color: white;
    padding:40px 100px 40px 100px ;
  }
  
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
    
  }
  
  .footer-left h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 2vw;
    font-weight: 700;
  }
  
  .footer-left h3 strong {
    font-weight: bold;
  }
  
  .mentions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 30px;
    margin-top: 20px;
    font-size: 0.9vw;
    color: #cccccc;
  }
  
  
  .footer-right p {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    font-size: 1vw;
    margin-bottom: 40px;
    max-width: 350px;
  }
  
  .contact-btn {
    font-size: 1vw;
    background-color: white;
    color: #220044;
    padding: 20px 30px;
    border: none;
    border-radius: 999px;
    font-weight: bold;
    cursor: pointer;
  }

  .contact-btn-footer{
    display: none;
  }

  .reseau-titre-footer{
    display: none;
  }

  @media (max-width: 768px){

    .titre-footer-tel{
      display: block;
    }

    .sect-description{
      flex-direction: column;
      gap: 50px;
      margin-top: 0;

    }

    .photo-container {
      position: relative;
      width: 50%;
    }
    
    .photo-container img {
     display: none;
    }
  
    .text-container {
      max-width: 80%;
      margin-top: 0;
    }
    
    .text-container h4 {
      font-size: 1.5em;
      text-align: center;
    }
    
    .text-container p {
      font-size: 1em;
      font-weight: medium;
      text-align: center;
    }

    .logo-gauche {
      position: absolute;
      top: 0%;
      left: 1%;
      width: 120px;
      z-index: -1;
      transform: translate(-50%, -50%);
      pointer-events: none;
    }
  
    .logo-droit {
      position: absolute;
      top: 0%;
      right: -35%;
      width: 120px;
      z-index: -1;
      transform: translate(-50%, -50%);
      pointer-events: none;
    }

    .logo-gauche svg,
    .logo-droit svg {
      width: 30vw;
    }

    .footer-call {
      margin: 0 auto;
      padding: 30px 20px 10px 20px ;
      width: 100%;
      height: auto;
      max-width: 100%;
      border-top-left-radius: 15px;
      border-top-right-radius: 15px;
      border-bottom-left-radius: 0px;
      border-bottom-right-radius: 0px;
      border-bottom: 0;

    }

    .footer-call h3{
      font-size: 2em;
      font-family: "Space Grotesk", sans-serif;
      margin: 0;
    }

    .footer-call h4{
      font-size: 1em;
      font-family: "Space Grotesk", sans-serif;
      color: #E7CFFA;
      margin: 0;
    }

    .mentions{
      font-size: 1em;
      font-family: "Space Grotesk", sans-serif;
      margin: 0;
      display: flex;
      justify-content: space-between;
     width: 100%;
    }

    .footer-left{
      width: 100%;
    }

    .reseau_footer{
      margin-top: 40px;
      display: flex;
      gap: 40px;
    }

    .reseau_footer svg{
      width: 50px;
      height: 50px;
    }

    .contact-btn {
      display: none;
    }


    .contact-btn-footer{
      padding: 12px 10px;
      width: 100%;
      font-size: 1.25em;
      margin: 10px 0;
      display: block;
      font-size: 1.2em;
    background-color: white;
    color: #220044;
    border: none;
    border-radius: 999px;
    font-weight: bold;
    cursor: pointer;
    }

    .footer-right p {
      font-size: 1em;
      margin: 0;
    }

    .footer-content {
      display: flex;
      flex-direction: column-reverse;
      justify-content: center;
      gap: 32px;
      align-items: flex-start ;
    }

    .titre-footer{
      display: none;
    }

    h1{
      font-size: 9vw;
  }

  .fond-blur{
    filter: blur(200px);
  }

  header{
    height: 70vh;
}

.nav-item {
  font-size: 2.5vw;
  }

  .nav-container {
    gap: 20px;
  }
  
  h2{
    font-size: 4.5vw;
  }

  .project {
    width: 90%;
  }

  .project-content h3 {
    margin: 15px 0 20px 0;
    font-size: 1em;
  }

  .project-content h4 {
    margin: 15px 0 20px 0;
    padding: 5px 15px;
    font-size: 0.5em;
  }

  .project-content {
    padding: 0 15px 0 15px;
    height: 50%;
  }

  .project-content img {
    transform: translateY(0px);
  }
  
}
  
  





