
/**************** CODE GLOBAL ****************/
* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  box-sizing: border-box;
  list-style: none;
}

body {
  min-height: 100vh;
  width: 100%;
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  z-index: 950;
}

nav ul {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  z-index: 960;
}

#icons {
  cursor: pointer;
  box-sizing: border-box;
  
}

@media (max-width: 1156px) {
  #icons {
    display: block;
    top: 16px;
    right: 16px;
    z-index: 999;
    background-color: #0a121a;
    border-radius: 15px;
    box-sizing: border-box;
    width: 50px;
    height: 54px;
  }
  #icons:before {
    content: url(img/icons8-menu.png);
  }
  .active #icons:before{
    content: url(img/icons8-multiplier-50.png);
  }

  nav ul {
    position:fixed;
    left: -100%;
    top: 5%;
    flex-direction: column;
    width: 100%;
    align-items: center;
    transition: 0.25s;
  }

  nav li {
    padding: 3px 0;
  }
  
  nav.active ul {
    left: 0 ;
    height: 100vh;
    z-index: 999;
    background-color: #0a121a;
  }

  .slider-content h1 {
    font-size: 2rem;
  }

  .section {
    flex-direction: column;
    align-items: center;
    padding: 5px !important;
  }

  .skills {
    padding: 20px !important;
  }

  .logos-slide {
    height: 150px;
  }

  .footer-content h3 {
    font-size: 1.2em;
  }
}



nav li {
  height: 50px;
  font-size: 1.2rem;
  margin: 15px;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 970;
}


nav a {
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: white;
  border-radius: 15px;

}

nav a:hover {
  transition: 0.5s;
  background: var(--clr);
  color: white;
  box-shadow: 0 0 35px var(--clr);
}


.accueil  {
  height: 100vh;
}

.video-background {
  position: absolute;
  object-fit: cover;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  /* Place la vidéo en arrière-plan */
  filter: brightness(0.15);
}

footer {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Cela pousse le contenu en bas */
  height: 250px;
  background-color: #0a121a;
}

.footer-content {
  padding-top: 100px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

footer h3 {
  font-size: 2rem;
}

footer a{
  height: 50px;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: white;
  border-radius: 15px;
}

footer p {
  color: white;
  margin-bottom: 10px;
  text-align: center;
}

footer a:hover {
  transition: 0.5s;
  background: var(--clr);
  color: white;
  box-shadow: 0 0 35px var(--clr);
}

.slider {
  width: 100%;
  height: 100vh;
  z-index: -10;
}

.slider-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  width: 100%;
}

.slider video {
  object-fit: cover;
}

h1 {
  font-size: 4rem;
}

.slider-content p {
  font-size: 2rem;
  z-index: -9;
}

.section {
  color: white;
  padding: 70px 200px;
  display: flex;
  justify-content: space-between;
}


.section-title {
  text-align: center;
  font-size: 1.5rem;
  text-transform: uppercase;
}


.section-text p {
  font-size: 1.2em;
}

.dark {
  background-color: #0a121a;
  color: white;
}

.light {
  color: black;
  background-color: white;
}

.w30 {
  width: 30%;
}

.w65 {
  width: 65%;
}

.w100 {
  width: 100%;
}

.menu {
  display: none;
  height: 70px;
  position: absolute;
}


/**************** FIN CODE GLOBAL ****************/


/**************** Index ****************/

.auto-type {
  color: #2272FF;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-86 {
  all: unset;
  width: 200px;
  height: 60px;
  font-size: 24px;
  background: transparent;
  border: none;
  position: relative;
  color: #f0f0f0;
  cursor: pointer;
  z-index: 1;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-86 a {
  color: white;
}

.button-86::after,
.button-86::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -99999;
  transition: all .4s;
}

.button-86::before {
  transform: translate(0%, 0%);
  width: 100%;
  height: 100%;
  background: #0a121a;
  border-radius: 10px;
}

.button-86::after {
  transform: translate(10px, 10px);
  width: 35px;
  height: 35px;
  background: #ffffff15;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 50px;
}

.button-86:hover::before {
  transform: translate(5%, 20%);
  width: 110%;
  height: 110%;
}

.button-86:hover::after {
  border-radius: 10px;
  transform: translate(0, 0);
  width: 100%;
  height: 100%;
}

.²:active::after {
  transition: 0s;
  transform: translate(0, 5%);
}


.qualite-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2px;
}

.qualite-item {
  color: black;
  display: flex;
  flex-direction: column;
  width: 500px;
  background-color: white;
  margin-bottom: 70px;
  border-radius: 15px;
  overflow: hidden;
}

.qualite-item img {
  width: 100%;
}

.qualite-text {
  padding: 25px 25px;
  text-align: justify;
}

.qualite-text h3 {
  font-size: 1.5rem;
}

.qualite-text p {
  font-size: 1rem;
}

.skills {
  padding: 70px 200px;
}

.skills h2 {
  text-align: center;
  font-size: 2.5rem;
  text-transform: uppercase;
}


@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  word-wrap: break-word;
  padding: 60px 0;
  background: white;
  white-space: nowrap;
  position: relative;
}

.logos h2 {
  text-align: center;
  font-size: 3rem;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}
 

.logos-slide {
  display: inline-block;
  animation: 15s slide infinite linear;
  height: 300px;
  padding: 50px 0;
}

.logos-slide img {
  height: 200px;
  margin: 0 40px;
}


/**************** DEBUT CODE FORMULAIRE ****************/

.container {
  position: relative;

  min-height: 70vh;
  padding: 2rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form {
  width: 100%;
  max-width: 820px;
  background-color: #0a121a;
  border-radius: 10px;
  box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.contact-form {
  background-color: white;
  position:static;
}


form {
  padding: 2.3rem 2.2rem;
  z-index: 1;
  overflow: hidden;
  position: relative;
}

.title {
  color: #0a121a;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.7rem;
}

.input-container {
  position: relative;
  margin: 1rem 0;
}

.input {
  width: 100%;
  outline: none;
  border: 2px solid #0a121a;
  background: none;
  padding: 0.6rem 1.2rem;
  color: #0a121a;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 5px;
  transition: 0.3s;
}

textarea.input {
  padding: 0.8rem 1.2rem;
  min-height: 150px;
  border-radius: 5px;
  resize: none;
  overflow-y: auto;
}

.input-container label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  padding: 0 0.4rem;
  color: #0a121a;
  font-size: 0.9rem;
  font-weight: 400;
  pointer-events: none;
  z-index: 1000;
  transition: 0.5s;
}

.input-container.textarea label {
  top: 1rem;
  transform: translateY(0);
}

.btn {
  padding: 0.6rem 1.3rem;
  background-color: #0a121a;
  border: 2px solid ;
  font-size: 0.95rem;
  color: white;
  line-height: 1;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  margin: 0;
  width: 100%;
}

.btn:hover {
  background-color: transparent;
  color: #0a121a;
}

.input-container span {
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  padding: 0 0.4rem;
  color: transparent;
  pointer-events: none;
  z-index: 500;
}

.input-container span:before,
.input-container span:after {
  content: "";
  position: absolute;
  width: 10%;
  opacity: 0;
  transition: 0.3s;
  height: 5px;
  background-color: white;
  top: 50%;
  transform: translateY(-50%);
}

.input-container span:before {
  left: 50%;
}

.input-container span:after {
  right: 50%;
}

.input-container.focus label {
  top: 0;
  transform: translateY(-50%);
  left: 25px;
  font-size: 0.8rem;
}

.input-container.focus span:before,
.input-container.focus span:after {
  width: 50%;
  opacity: 1;
}

.contact-info {
  padding: 2.3rem 2.2rem;
  position: relative;
}

.contact-info .title {
  color: white;
}

.text {
  color: white;
  margin: 1.5rem 0 2rem 0;
}





.square {
  position: absolute;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(181%, 11%);
  opacity: 0.2;
}

@media (max-width: 850px) {
  .form {
    grid-template-columns: 1fr;
  }

  .contact-info:before {
    bottom: initial;
    top: -75px;
    right: 65px;
    transform: scale(0.95);
  }

  .contact-form:before {
    top: -13px;
    left: initial;
    right: 70px;
  }

  .square {
    transform: translate(140%, 43%);
    height: 350px;
  }



  .text {
    margin: 1rem 0 1.5rem 0;
  }

  .social-media {
    padding: 1.5rem 0 0 0;
  }
}

@media (max-width: 650px) {
  .container {
    padding: 1.5rem;
  }

  .contact-info:before {
    display: none;
  }

  .square,
  .big-circle {
    display: none;
  }

  form,
  .contact-info {
    padding: 1.7rem 1.6rem;
  }

  .text,
  .information,
  .social-media p {
    font-size: 0.8rem;
  }

  .title {
    font-size: 1.15rem;
  }


  .input {
    padding: 0.45rem 1.2rem;
  }

  .btn {
    padding: 0.45rem 1.2rem;
  }


  

}


/**************** FIN CODE FORMULAIRE ****************/

/**************** DEBUT CODE REMERCIEMENTS ****************/

.thank-you-container {
  padding: 150px;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.thank-you-container button {
  background-color: #0a121a;
  color: white;
  height: 50px;
  width: 200px;
  border-radius: 15px;
  cursor: pointer;
}

.thank-you-container button:hover {
  height: 55px;
  width: 225px;
  transition: 0.5s;
} 




/**************** FIN CODE REMERCIEMENTS ****************/
