.mobile-navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 3rem); /* 1.5rem left + right */
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    z-index: 10000;
  }
  
  
  /* Slide-in menu */
  .slide-menu {
    position: fixed;
    top: 78px;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    z-index: 9999;
    padding: 5rem 2rem;
    transition: right 0.3s ease-in-out;
  }
  
  .slide-menu.show {
    right: 0;
  }
  
  .slide-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: end;
  }
  
  .slide-menu a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
  }
  
  .cta-slide {
    background: var(--primary-color-linear);
    padding: 0.5rem 1rem;
    border-radius: var(--border-circle);
    color: rgb(26, 0, 44);
    font-weight: 600;
  }
  
  /* Optional overlay */
  #overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
  }
  
  #overlay.show {
    display: block;
  }
  

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
  }
  
  .burger span {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
  }
  
  /* CROSS ANIMATION */
  .burger.open span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  
  .burger.open span:nth-child(2) {
    opacity: 0;
  }
  
  .burger.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }

  nav.desktop-nav{
    top: var(--spacing-xlarge);
    left: 50%;
    z-index: 9999;
    transform: translateX(-50%);
    position: fixed;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-small);
    width: calc(100% - 358px);
    border-radius: var(--border-circle);
    border: 1px solid rgba(255, 255, 255, 0.40);
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(3.200000047683716px);
}

.navlist{
    display: flex;
    position: relative;
    padding: 4px 0;
}
.navlist:hover{
    cursor: pointer;
}
.navlist a{
    padding:0 var(--spacing-medium);
}
.hover{
    position: absolute;
    height: 100%;
    opacity: 0;
    top: 0;
    border-radius:var(--border-thick);
    transition: all cubic-bezier(0.77, 0, 0.175, 1) 0.4s;  
    z-index: -1;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(2.5999999046325684px);
}
.first:hover ~.hover {
    width: 75px;
    opacity: 1;
    left: 10px;
}
.second:hover ~.hover {
    width:80px;
    opacity: 1;
    left: 110px;
}
button.cta-container{
    border-radius: var(--border-circle);
    border: none;
    font-weight: 600;
    font-size: var(--text-size-medium);
    padding: var(--spacing-tiny) var(--spacing-small);
    position: relative;
    overflow: hidden;
    z-index: 1;           
    cursor: pointer;
}
button.cta-container a{
    color: rgb(26, 0, 44);  
}

button.cta-container:hover a{
    color: var(--white);
}
button.cta-container::before{
    content: '';
    width: 0;
    height: 101%;
    border-radius: var(--border-circle);
    position: absolute;
    top: 0;
    left: 0;
    background-image: var(--primary-color-linear);
    transition: .2s ease;
    display: block;
    z-index: -1;
   }
   
   button.cta-container:hover::before{
    width: 101%;
   }

   .logo-container{
        width: 136px;
        cursor: pointer;
        .logo{
            width: 100px;
            height: 100%;
        }
    }

   .mobile-navbar {
    display: none;
  }

  .desktop-nav {
    display: flex; /* ou ce que tu veux */
  }
  @media (max-width: 768px) {
    .mobile-navbar {
      display: flex;
    }
  
    .desktop-nav {
      display: none;
    }
  }