/* General Reset */

/* Supprimer les marges et padding par défaut */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box; /* Inclure les bordures dans les dimensions */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* S'assurer que tout utilise la même méthode de calcul des dimensions */
}

body {
  background-color: #fafafa;
}

a {
  text-decoration: none;
}

/* Header Styles */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #fff;
  font-family: 'Gabarito', sans-serif;
}

.logo img {
  width: 20%;
}

.header-content {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

/* Desktop Menu */
.desktop-menu {
  margin-left: auto; /* Aligne le menu sur la droite */
  display: flex;
}

.desktop-menu .menu-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-menu .menu-list li {
  display: inline-block;
  margin-right: 40px;
}

.desktop-menu .menu-list li a {
  font-size: 18px;
  color: #000;
  font-weight: 500;
  transition: color 0.3s ease;
}

.desktop-menu .menu-list li a:hover,
.desktop-menu .menu-list li.current-menu-item a {
  color: #786AFF;
}



/* Masquer le menu mobile par défaut */
.mobile-menu {
  display: none;
}

/* Masquer le menu burger sur desktop */
.burger-menu {
  display: none;
}


.intro-text {
  font-family: 'Jost', sans-serif;
  font-size: 30px;
  color: #000;
  margin-left: 15%;
  margin-top: 10vh;
  max-width: 65%;
  line-height: 1.8;
}

/* Affichage du burger et du menu mobile uniquement en mobile */
@media (max-width: 980px) {
  /* Masquer le menu desktop */
  .desktop-menu {
    display: none;
  }

  /* Afficher l'icône burger */
  .burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
  }

  .burger-menu .burger-icon span {
    display: block;
    width: 100%;
    height: 4px;
    margin-bottom: 0.5vh;
    background-color: #000;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .burger-menu.active .burger-icon span:first-child {
    transform: rotate(45deg) translate(2px, 2px);
  }
  
  .burger-menu.active .burger-icon span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
  }
  
  /* Ajuster la transition */
  .burger-icon span {
    transition: transform 0.3s ease;
  }

  /* Mobile Menu */
  .mobile-menu {
    display: none; /* Masqué par défaut */
    position: absolute;
    top: 25%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
  }

  .mobile-menu.active {
    display: block; /* Afficher le menu lorsqu'il est actif */
  }

  .mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-menu-list li {
    margin-bottom: 15px;
  }

  .mobile-menu-list li a {
    font-size: 16px;
    color: #000;
    text-decoration: none;
  }
  .intro-text {
    font-size: 20px;
    line-height: 1.4;
  }
  .mobile-menu-list li a:hover {
    color: #786AFF;
  }
}

@media (max-width: 580px) {
  .mobile-menu-list li a {
    top :15%;
  }
}















.underline-violet {
  color: #000;
  text-decoration: underline;
  text-decoration-color: #786AFF;
  text-decoration-thickness: 2px;
}

/* Conteneur des projets */
.projets-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 0;
  margin-top: 10vh;
  padding: 0;
  width: 100vw;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 700px) {
  .projets-container {
    grid-template-columns: 1fr;
  }
}

.projet-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  width: 100%;
  aspect-ratio: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.projet-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.projet-card:hover img {
  transform: scale(1.1);
}

.projet-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Gabarito', sans-serif;
  font-size: 40px;
  font-weight: normal;
  color: #fff;
  text-align: center;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, background-color 0.5s ease;
}

.projet-card:hover .projet-title {
  opacity: 1;
}

.projet-card:hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.logo-reseau {
  display: flex;
  align-items: center;
  width: 10%;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10vh 30vh;
}

footer {
  padding-bottom: 4vh;
  background-color: #fff;
}

.logo-rs {
  width: 35px;
  margin-right: 15px;
}

.title-footer {
  font-family: 'Gabarito', sans-serif;
  font-size: 20px;
  color: #000;
  font-weight: 500;
  margin-bottom: 20px;
}

.mail-text {
  font-family: 'Gabraito', sans-serif;
  font-size: 16px;
  color: #000;
  font-weight: 500;
  text-decoration: underline;
}

.logo-footer {
  width: 15%;
}

@media (max-width: 980px) {
  .footer-content {
    display: flex;
    flex-wrap: wrap; /* Permet le retour à la ligne */
    justify-content: flex-start; /* Alignement à gauche */
    padding: 5vh 10vh; /* Espacement réduit */
    gap : 5vh;
  }

  /* Logo et réseaux sociaux sur la même ligne */
  .logo-footer {
    width: 30%; /* Taille adaptée du logo */
    margin-right: 20px; /* Espacement entre le logo et les réseaux sociaux */
  }

  .logo-reseau {
    gap: 15px; /* Espacement entre les icônes */
  }

  /* Mail en dessous */
  .mail {
    width: 100%; /* Prend toute la largeur */
    margin-top: 20px; /* Espacement au-dessus */
    margin-left : 7%; 
  }

  .mail-text {
    font-size: 16px; /* Taille de la police */
    color: #000;
    font-weight: 500;
    text-decoration: underline;
  }
}







.intro-apropos {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10vh 0;
  gap: 2vh;
}

.img-pp {
  width: 15%;
}

.name-title {
  font-family: 'Gabarito', sans-serif;
  font-size: 110px;
  color: #000;
  font-weight: 500;
}

.presentation {
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  color: #000;
  max-width:60%;
}

.apropos {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.tools {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1vh;
}

.name-tools {
  font-family: 'Gabarito', sans-serif;
  font-size: 16px;
  color: #000;
  font-weight: 500;
}

.logo-tools {
  width: 55%;
}

.tools-section {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10vh 0;
  max-width: 50%;
}

.button-cv {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  color: #fff;
  background-color: #786AFF;
  padding: 10px 20px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  margin: 10vh 0;
}

@media (max-width: 900px) {
  .name-title {
    font-size: 40px;
  }
  .presentation {
    font-size: 16px;
    max-width: 80%;
  }
  .name-tools {
    font-size: 14px;
  }
  .tools-section {
    max-width: 90%;
  }
}

.projets-filtre {
  margin-top: 10vh;
  margin-bottom:0;
  margin-right: 20vh;
  display: flex;
  justify-content: flex-end; 
}

.projets-filtre select {
  padding: 10px;
  font-size: 16px;
  color: #000;
  font-family: 'Gabarito', sans-serif;
  background-color: transparent;
  border: #000 2px solid;
  border-radius: 10px;
}

@media (max-width: 1000px) {
  .projets-filtre select {
  font-size: 14px;
  padding: 7px;
  margin-left: 70%;
}
}

.project-head {
  display: flex;
  justify-content: center;
  margin: 10vh 0;
  padding: 20px 40px;
  font-family: 'Gabarito', sans-serif;
}

.project-description {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  color: #000;
  max-width: 50%;
  margin-left: 20vh;
}

.project-title {
  font-family: 'Gabarito', sans-serif;
  font-size: 40px;
  color: #000;
  font-weight: 600;
}

.project-images {
  padding-top :20vh;
  padding-bottom : 10vh;
  display: flex;
  flex-direction: column;  
  align-items: center;      
  flex-wrap: wrap;   
  background-color: #fff;  
  gap: 15vh;   
}

.img-project {
  width: 120vh;
  height: auto;
  margin: 0 auto;
}

.taxonomies {
  color: #786AFF;
  font-family: 'Gabarito', sans-serif;
  font-size: 15px;
}

.ligne {
  border: #786AFF 1px solid;  
  display: flex;
  border-radius: 2px;
  width: 7%;
  margin: 3vh 0;
}

@media (max-width: 900px) {

  .projetct-title {
    font-size: 30px;
  }

  .project-head {
    display: flex;
  }

  .img-project {
    display: flex;
    align-items: center;
   max-width: 70%;
  }

}

@media (max-width: 680px) {
  .project-head {
    display: flex;
    flex-direction: column; 
  }
  
  .project-description {
    max-width: 80%;
    margin-left: 0;
  }

  .project-title {
    margin-bottom: 10%;
  }

}

.mes-services {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.title-services {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Gabarito', sans-serif;
  font-size: 40px;
  font-weight: 500;
  margin-top: 12vh;
}

.all-services {
  display: flex;
  justify-content: center;
  gap: 10vh;
  margin: 10vh 0;
  font-family: 'Jost', sans-serif;  
}

.title-part {
  font-size: 25px;
  font-weight: 500;
  color: #000;
  padding-bottom : 2vh;
}

@media (max-width: 900px) {
  .all-services {
    max-width: 80%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    font-size: 15px;
  }
  .title-part {
    font-size: 20px;
  }
}

.button-services {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  color: #fff;
  background-color: #786AFF;
  padding: 10px 20px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  margin-bottom: 15vh;
}

.button-contact {
  display: flex;
  justify-content: flex-end;
}

.button-contact button {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  color: #fff;
  background-color: #786AFF;
  padding: 10px 20px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  margin-top:5vh;
  margin-bottom: 10vh;
}

label {
  display: block;
  margin: 10px 0 5px;
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

input, textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #444;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Jost', sans-serif;
}

.all-contact {
  max-width: 120vh;
  margin: auto;
  padding: 20px;
}

.txt-contact {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  color: #000;
  margin: 10vh 0;
}