html{
  scroll-behavior: smooth;
}
header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  max-width: 1200px; 
  margin: 0 auto;
  padding: 2rem;
}

body {
  background-color: #222222;
  color: #E0E0E0;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: block; 
  overflow-x: hidden;
}
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  background: radial-gradient(
    circle 20px at var(--x) var(--y),
    rgba(98, 37, 213, 0.25) 0%,  
    rgba(98, 37, 213, 0.2) 40%, 
    rgba(98, 37, 213, 0.2) 75%, 
    transparent 2000%             
  );
  mix-blend-mode: screen;
  transition: background 0.5s ease-out;
    animation: glowPulse 8s ease-in-out infinite;

}

@keyframes glowPulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  40% {
    opacity: 0.9;
    transform: scale(1.05);
  }
  75% {
    opacity: 0.6;
    transform: scale(1);
  }
}

h1{
  font-family: "Montserrat", sans-serif;
  font-size: 5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -3px;
  margin-bottom: 0;
  color: #A393EB;
}

h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 2.2rem;
  line-height: 1.5;
  color: #E0E0E0;
  max-width: 800px;
  margin-top: 2rem;
}

h3{
  font-family: "roboto";
  font-weight: 400;
  font-size: 1.5rem;
  color: #E0E0E0;
  margin-top: 3rem;
}

.mail{
  text-decoration: none;
}

.gras{
  color: #A393EB;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.gras:hover{
  opacity: 0.8;
}

.presentation{
  display: flex;
  align-items: center;
  gap: 5rem;
}


.logo img{
  width: 350px;
  border-radius: 50%;
}

.cv {
  margin-top: 2.5rem;
}

.boutoncv {
  display: inline-block;
  padding: 1rem 2rem;
  border: 2px solid #A393EB;
  color: #A393EB;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.boutoncv:hover {
  background-color: #A393EB;
  color: #222222;
  box-shadow: 0 0 25px rgba(163, 147, 235, 0.4);
  transform: translateY(-3px);
}

.logocv{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projets-section {
  max-width: 1300px;
  margin: 100px auto;
  padding: 0 2rem;
}

.titre-section {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -2px;
  color: #E0E0E0;
  margin-bottom: 3rem;
  position: relative;
}

.titre-section::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #A393EB;
  margin-top: 5px;
  border-radius: 2px;
}

.slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 60px 0;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.7, 0, 0.3, 1);
}

.slide {
  min-width: 100%;
  padding: 0 5%; 
  box-sizing: border-box; 
  opacity: 0.1; 
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.7, 0, 0.3, 1);
  pointer-events: none; 
}

.slide.active {
  opacity: 1;
  pointer-events: auto; 
  transform: translateY(0) scale(1);
}

.projet-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.image-cote {
  flex: 1.2; 
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6); 
  transition: transform 0.5s ease;
  position: relative;
}

.figma{
  position: absolute;
  z-index: 99;
  background-color: #A393EB;
  top: 0;
  left: 5px;
  padding: 5px 10px;
  border-radius: 10px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
}

.indesign{
  position: absolute;
  z-index: 99;
  background-color: #A393EB;
  top: 0;
  left: 5px;
  padding: 5px 10px;
  border-radius: 10px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
}

.image-cote:hover {
  transform: scale(1.02);
}

.image-cote img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-cote {
  flex: 1; 
}

.info-cote h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 3,5rem;
  color: #A393EB;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.info-cote p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #B0B0B0;
  margin-bottom: 2.5rem;
}

.group-boutons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.bouton-action {
  font-family: 'Montserrat', sans-serif;
  padding: 0.9rem 2rem;
  border: 2px solid #A393EB;
  color: #A393EB;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  letter-spacing: 1px;
  white-space: nowrap;
}

.bouton-action:hover {
  background: #A393EB;
  color: #222;
  box-shadow: 0 0 20px rgba(163, 147, 235, 0.4);
  transform: translateY(-3px);
}

.bouton-action.secondaire {
  border-color: #A393EB;
  color: #A393EB;
}

.bouton-action.secondaire:hover {
  background: #A393EB;
  color: #222;
  box-shadow: 0 0 20px rgba(163, 147, 235, 0.4);
}

.slider-nav {
  margin-top: 4rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.nav-btn {
  background: transparent;
  border: 2px solid rgba(163, 147, 235, 0.4);
  color: #A393EB;
  font-size: 1.2rem;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-btn:hover {
  background: #A393EB;
  color: #222;
  border-color: #A393EB;
  box-shadow: 0 0 20px rgba(163, 147, 235, 0.4);
  transform: scale(1.1);
}

.nav-btn.prev:hover {
  transform: translateX(-5px);
}

@media (max-width: 768px) {
  header {
      padding: 1rem;
      text-align: center;
  }

  .presentation {
      flex-direction: column-reverse; 
      gap: 3rem;
  }

  h1 {
      font-size: 3rem;
      letter-spacing: -1px;
  }

  h2 {
      font-size: 1.4rem;
      margin-top: 1rem;
  }

  .logo img {
      width: 200px; 
  }

  .projets-section {
      margin: 50px auto;
      padding: 0 1rem;
  }

  .titre-section {
      font-size: 2.2rem;
      text-align: center;
  }
  
  .titre-section::after {
      margin: 5px auto 0;
  }

  .slide {
      padding: 0; 
  }

  .projet-content {
      flex-direction: column; 
      gap: 2rem;
      text-align: center;
  }

  .info-cote h3 {
      font-size: 2.2rem;
  }

  .info-cote p {
      font-size: 1rem;
  }

  .group-boutons {
      justify-content: center; 
  }

  .nav-btn {
      width: 45px;
      height: 45px;
      font-size: 1rem;
  }
}