/* RESET DE BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  

  body {
    font-family: 'Poppins', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
  }

  #particles-js {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
    background-color: #0f0f0f;
  }
  
  
  /* HEADER */
  header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    background-color: rgba(10, 10, 10, 0.85);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(10px);
  }
  
  header h1 {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 1px;
  }
  
  nav a {
    margin-left: 2rem;
    text-decoration: none;
    color: #aaaaaa;
    font-size: 0.95rem;
    transition: color 0.3s ease;
  }
  
  nav a:hover {
    color: #ffffff;
  }
  
  /* HERO */
  .hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
  }

  .hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* foncé mais transparent */
    z-index: 0;
  }
  .hero {
    position: relative;
    z-index: 1;
  }
  
  .hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #f04a4a, #ff7b7b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .hero p {
    font-size: 1.1rem;
    color: #bbbbbb;
  }
  
  /* SECTION GÉNÉRALE */
  .section {
    padding: 7rem 2rem 5rem;
    max-width: 1000px;
    margin: auto;
  }
  
  .section h3 {
    font-size: 2.3rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
  }
  
  .section h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #f04a4a;
    margin: 10px auto 0;
    border-radius: 3px;
  }
  
  /* PROJETS / SERVICES */
  .projects, .services, .testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .project-card, .service-card, .testimonial {
    background: #1a1a1a;
    border: 1px solid #2c2c2c;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
  }
  
  .project-card:hover,
  .service-card:hover,
  .testimonial:hover {
    transform: translateY(-5px);
    border-color: #f04a4a;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
  }
  
  .social-icons a {
    display: inline-block;
    transition: transform 0.3s ease;
  }
  
  .social-icons a:hover {
    transform: scale(1.1);
  }
  
  .social-icons img {
    width: 40px;
    height: 40px;
  }
  
  
  /* RESPONSIVE NAVIGATION */
  @media screen and (max-width: 768px) {
    header {
      flex-direction: column;
      align-items: flex-start;
    }
  
    nav {
      margin-top: 1rem;
    }
  
    nav a {
      margin: 0 1rem 1rem 0;
      display: inline-block;
    }
  
    .hero h2 {
      font-size: 2.5rem;
    }
  
    .section h3 {
      font-size: 2rem;
    }
  }
  
 /* Animation reveal */
.section,
.project-card,
.testimonial {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.section.show,
.project-card.show,
.testimonial.show {
  opacity: 1;
  transform: translateY(0);
}



/* Section Nos Travaux */
#works {
    padding: 7rem 2rem 5rem;
    max-width: 1200px;
    margin: auto;
    text-align: center;
  }
  
  #works h3 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
  }
  
  #works h4 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  
  .miniatures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .miniature-card {
    background: #1a1a1a;
    border: 1px solid #2c2c2c;
    border-radius: 12px;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .miniature-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  
  .miniature-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
  }
  
  .miniature-card p {
    font-size: 1rem;
    color: #bbbbbb;
  }
  
  /* Section Vidéos */
  .video-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .video-card {
    background: #1a1a1a;
    border: 1px solid #2c2c2c;
    border-radius: 12px;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .video-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  
  .video-card video {
    width: 100%;
    border-radius: 8px;
  }
  
  .video-card p {
    font-size: 1rem;
    color: #bbbbbb;
    margin-top: 1rem;
  }
  