/* ===== RESET BÁSICO ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
}

/* ===== HEADER ===== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: fixed; /* se quiser que fique fixa no topo */
  top: 0;
  left: 0;
  z-index: 1000;

  height: 80px; /* mais previsível que 10dvh */
  padding: 0 40px; /* padding ajustado */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== NAVBAR CONTAINER ===== */
.navbar {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== LOGO ===== */
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-pata {
  width: 30px;
  height: 30px;
  object-fit: contain;
}




/* ===== NAVEGAÇÃO ===== */
nav {
  display: flex;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

nav a:hover {
  background-color: rgba(255, 191, 191, 0.281);
  color: #000;
}

nav a.active {
  border: 2px solid #ff5e5e;
  background: #ff5e5e;
  color: #fff;
  font-weight: bold;
}

nav a svg {
  flex-shrink: 0;
}

/* ===== BOTÕES DE LOGIN / SIGNIN ===== */
.signin-buttons {
  display: flex;
  gap: 1rem;
  margin-left: 20px; /* ajustado para evitar estouro */
}

.signin-buttons a {
  padding: 0.6rem 1.2rem;
  border: 2px solid #ff5e5e;
  border-radius: 10px;
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  background: linear-gradient(to top, #ff5e5e 50%, transparent 50%);
  background-size: 100% 200%;
  background-position: bottom;
  transition: all 0.3s ease;
}

.signin-buttons a:hover {
  background-position: top;
  color: rgb(219, 115, 115);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 900px) {
  header {
    padding: 0 20px;
    height: 70px;
  }

  nav {
    gap: 1rem;
  }

  .logo {
    margin-right: 20px;
    font-size: 1.3rem;
  }

  .signin-buttons a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
  }

  nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .signin-buttons {
    margin-left: 0;
  }
}