@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

header {
    font-family: "Inter", sans-serif;
    width: 100%;
    padding: 50px 8%; /* espaço para ajudar a ficar responsivo */
    position: fixed; /* Agora o header fica fixo no topo */
    z-index: 1000; /* Garante que o header fique acima de outros elementos */
}

main, #content {
    padding-top: 135px; /* Ajuste conforme a altura real do header */
}
#navbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#navbar img {
    width: 15%;
    height: auto;
}

.btn-default {
  display: inline-block;
  padding: 14px 32px;
  background: #000;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Efeito hover */
.btn-default::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: all 0.6s ease;
}

.btn-default:hover::before {
  left: 100%;
}

.btn-default:hover {
  transform: scale(1.05);
  background: #111;
}

#nav-list {
    display: flex;
    list-style: none;
    gap: 48px;
    color: #ffffff;
}

.nav-item a {
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    font-family: "Inter", sans-serif;
    cursor: pointer;
}

#mobile_btn {   
    display: none;
}

#mobile_menu {
    display: none;
}

.rolagem{
    background: linear-gradient(to bottom,rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8), rgba(0,0,0,0));

}


/* RESPONSIVO */
@media screen and (max-width: 1170px) {
    main, #content {
        padding-top: 70px; /* ou menos, conforme o tamanho do seu header no mobile */
    }

    #nav-list,
    #navbar.btn-default {
        display: none;
        color: #ffffff;
    }

    #mobile_btn {
        display: block;
        border: none;
        background-color: transparent;
        font-size: 1.5rem;
        cursor: pointer;
    }

    #mobile_menu.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #mobile_nav_list {
        display: flex;
        flex-direction: column;
        gap: 24px;
        margin: 12px 0px; 
        color: #ffffff;
    }

    .nav-item {
        list-style: none;
        text-align: center;
    }
    .nav-item a{
        font-size: 1rem;
    }
}
