/* ======================= SECTION : HERO PROJET ======================= */
#hero {
  width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background-color: var(--white);
  #hero-core { 
    --hero-text-color: var(--white);
    --hero-breadcrumb-color: rgba(250, 250, 240, 0.5);
    padding: 8rem 2rem 6rem 2rem; width: 100%; background-color: var(--bg-color, var(--black)); background-image: url("../images/grid-layout-transparent-white.svg"); background-position: center center; background-size: cover; background-repeat: no-repeat; color: var(--hero-text-color); max-height: 80vh;
    &.theme-dark {
      --hero-text-color: var(--black);
      --hero-breadcrumb-color: rgba(28, 26, 23, 0.5);
      background-image: url("../images/grid-layout-transparent-black.svg");
    }
    .hero-content { height: 70vh; max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; gap: 10rem;
      .hero-left, .hero-right { display: flex; flex-direction: column; gap: 1rem; height: 8rem; justify-content: flex-end; }
      .hero-right { width: 60%; p { font-weight: 300; } }
      h1 { font-size: 5rem; margin: 0; padding: 0; line-height: 0.8; }
      .link-arrow { color: var(--hero-text-color); font-weight: 400; }
      .breadcrumb ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 14px; color: var(--hero-breadcrumb-color); .breadcrumb-separator { padding-right: 0.5rem; } a:hover { color: var(--hero-text-color); } } } }
  .hero-image { margin-top: -40vh; height: 100vh; padding: 0 2rem; width: 100%; z-index: 1; display: flex; justify-content: center; img { height: 100%; width: 100%; max-width: 1400px; object-fit: cover; object-position: center center; } }

  @media (max-width: 768px) {
    #hero-core {
      padding: 8rem 1rem 3rem 1rem;
      height: auto !important;
      .hero-content {
        flex-direction: column;
        gap: 2rem;
        height: auto;
        .hero-left, .hero-right { width: 100%; height: auto; align-items: flex-start; justify-content: flex-start; }
        h1 { font-size: 3.5rem; margin-top: 0.5rem; }
        .hero-right { width: 100%; p { font-size: 1rem; line-height: 1.5; } }
      }
    }
    .hero-image {
      margin-top: -8vh;
      height: 50vh;
      padding: 0 1rem;
    }
  }
}

/* ======================= SECTION : CONTENU DU PROJET ======================= */
.first-paragraphe {
  padding: 8rem 0; display: flex; flex-direction: column; align-items: flex-end; gap: 2.5rem;
  p { margin-left: 40%; max-width: 60%; font-weight: 400; line-height: 1.4rem; }
  header { display: flex; align-items: center; justify-content: space-between; width: 60%; font-weight: 300;}
  .pastilles { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; li { font-size: 0.8125rem; font-weight: 350; color: var(--black); border: 1px solid var(--black); border-radius: 999px; padding: 0.2rem 0.8rem; line-height: 1.4; } }
  
  @media (max-width: 768px) {
    padding: 4rem 0; align-items: flex-start; gap: 2rem;
    p { margin-left: 0; max-width: 100%; }
    header { width: 100%; flex-direction: column; align-items: flex-start; gap: 1rem; }
  }
}
.image-full { 
  padding-bottom: 40px; max-height: 95vh; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; img {width: 100%; object-fit: cover;}
  @media (max-width: 768px) { max-height: 50vh; padding-bottom: 20px; }
}
.image-two {
  box-sizing: border-box;
  position: relative;
  padding-bottom: 40px;
  display: flex;
  align-items: stretch;
  gap: 40px;
  width: 100%;

  img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    display: block;
  }
  .image {
    &:first-child { width: 40%; }
    &:last-child { width: 60%; }
  }
  @media (max-width: 768px) {
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
    .image { width: 100%; }
  }
}
.image-three {
  box-sizing: border-box;
  position: relative;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  grid-template-rows: 0.8fr 0.8fr;
  gap: 20px;
  width: 100%;

  img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    display: block;
  }

  .image:nth-child(3) {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  @media (max-width: 768px) {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
  }
}
.paragraphe {
  padding: 6rem 0; 
  position: relative;
  display: flex;
  gap: 2rem;

  .titre-section {
    width: 50%;
  }
  p {
    max-width: 60%;
    font-weight: 400;
    line-height: 1.4rem; 
  }
  @media (max-width: 768px) {
    flex-direction: column; padding: 4rem 0; gap: 1.5rem;
    .titre-section { width: 100%; h2 { margin-bottom: 0.5rem; } }
    p { max-width: 100%; }
  }
}

.project-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6rem 0 2rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(28, 26, 23, 0.1);
  
  .nav-project {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-decoration: none;
    width: 30%;
    cursor: none;
    
    .nav-label {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      opacity: 0.5;
    }
    
    .nav-title {
      font-family: var(--title-font);
      font-size: clamp(1.5rem, 3vw, 2.5rem);
      color: var(--black);
      margin: 0;
    }

    .nav-cursor {
      position: fixed;
      z-index: 100;
      width: 80px;
      height: 80px;
      background-color: var(--fluo);
      border-radius: 50%;
      pointer-events: none;
      opacity: 0;
      transition: transform 0.15s ease-out, opacity 0.1s ease;
      top: 0;
      left: 0;
      
      &::before, &::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
      }
      &::before {
        width: 35px;
        height: 2px;
        background-color: var(--black);
        border-radius: 2px;
        transform: translate(-50%, -50%);
      }
      &::after {
        width: 14px;
        height: 14px;
        background-color: transparent;
        border-top: 2px solid var(--black);
        border-right: 2px solid var(--black);
        border-radius: 1px;
        transform: translate(1px, -50%) rotate(45deg);
      }
    }
  }
  
  .nav-prev {
    text-align: left;
    align-items: flex-start;
    
    .nav-cursor { transform: translate(-50%, -50%) scale(0) rotate(180deg); }
    &:hover .nav-cursor { transform: translate(-50%, -50%) scale(1) rotate(180deg); opacity: 1; }
 }
  .nav-next {
    text-align: right;
    align-items: flex-end;
    
    .nav-cursor { transform: translate(-50%, -50%) scale(0) rotate(0deg); }
    &:hover .nav-cursor { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; }
  }
  .nav-center {
    width: 40%;
    text-align: center;
    display: flex;
    justify-content: center;
    
    .btn-all-projects {
      display: inline-flex;
      align-items: center;
      padding: 12px 30px;
      border-radius: 40px;
      border: 2px solid var(--black);
      color: var(--black);
      font-family: var(--main-font);
      font-weight: 500;
      text-decoration: none;
      transition: all 0.3s ease;
      
      &:hover {
        background-color: var(--fluo);
        border-color: var(--fluo);
      }
    }
  }
  
  @media (max-width: 768px) {
    flex-direction: column;
    gap: 3rem;
    padding: 4rem 0 0;
    
    .nav-project, .nav-center {
      width: 100%;
      text-align: center;
      align-items: center;
    }
    
    .nav-center {
      order: 3;
    }
  }
}