/* ================= HEADER ================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  
}

/* ================= FAIXA ================= */
.header-bar {
  width: 100%;
  max-width: 1100px;
  /* CONTROLE LARGURA */
  height: 85px;
  /* CONTROLE ALTURA */
  margin: 14px auto;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .18);
  display: flex;
  align-items: center;
  transition: .3s ease;
  
}

/* sombra ao scroll */
header.scrolled .header-bar {
  box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}

/* ================= NAVBAR ================= */
.navbar {
  width: 100%;
  padding: 0 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  
}

/* ================= LOGO ================= */
.navbar .logo {
  height: 60px;
  width: auto;
  margin-left: 45px;
}

/* ================= MENU ================= */
.navbar ul {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 36px;
  list-style: none;
  
}

.btn-ps {
  display: inline-flex;
  margin-right: 10px;
  align-items: center;
  gap: 8px;                     /* espaço entre ícone e texto */
  padding: 12px 25px;
  border-radius: 16px;
  border: 2px solid #117be8;    /* borda azul */
  background: #117be8;
  color: #ffffff;                /* ícone e texto azul */
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;

}

.btn-ps:hover {
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(255,255,255,0.2);
  color: #117be8 ;
}

.navbar li {
  text-decoration: none;
  color: #117be8;
  font-weight: 650;
  font-size: 1.2rem;
  /* AUMENTA O TEXTO */
  line-height: 1;
  display: flex;
  align-items: center;
}

.navbar a.active {
  font-weight: 600;
  position: relative;
}


/* ================= MOBILE ================= */
.btn-mobile {
  display: none;
  background: none;
  color: #117be8;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .header-bar {
    height: 56px;
    max-width: calc(100% - 24px);
    background: rgba(255, 255, 255, 0.9);
  }

  .navbar .logo {
    height: 42px;
    margin-left: 10px;
  }
  .btn-ps {
    display: block;
  }
  .navbar ul {
    display: none;

    position: absolute;
    height: auto;
    width: 300px;
    top: 56px; /* ajuste conforme altura da header-bar no mobile */
    flex-direction: column;
    background-color: rgba(255,255,255,0.95);
    padding: 20px;
    border-radius: 12px;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    align-items: center;
  }

  /* CLASSE SHOW */
  .navbar ul.show {
    display: flex;
  }

  .navbar .btn-ps {
    display: none;
  }
  .btn-mobile {
    display: block;
  }

}