/* TOPBAR UNIVERSAL */
.topbar, .topbar * {
  font-family: 'Patua One', 'Segoe UI', Arial, sans-serif !important;
}
.topbar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 32px auto;
  padding: 22px 0 0 0;
  box-sizing: border-box;
  gap: 32px;
  background: none;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.nav-links a {
  font-family: 'Patua One', 'Segoe UI', Arial, sans-serif;
  color: #fff;
  font-weight: 700;
  font-size: 1.3em;        /* Tamanho menor, igual ao site original */
  text-decoration: none;
  margin: 0 6px;
  padding: 4px 0;
  letter-spacing: 0.01em;
  transition: color 0.16s;
  display: flex;
  align-items: center;
  position: relative;
  line-height: 1.0;
}

.nav-links a + a::before {
  content: "|";
  color: #2ecc71;
  font-weight: 600;
  opacity: 0.88;
  margin: 0 10px 0 0;
  font-size: 1.14em;
  display: inline-block;
  line-height: 1;
  transform: translateY(1px);
}
.nav-links a:hover {
  color: #3ae374;
}
.lang-flags {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 13px;
  margin-top: 10px;
}
.lang-flags img {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  box-shadow: 0 1px 5px #1126;
  transition: transform .15s;
}

.lang-flags img:hover { transform: scale(1.13); }

/* --- TOPBAR MOBILE --- */
@media (max-width: 700px) {
  .topbar {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 0 8px 0;
    background: rgba(17, 25, 40, 0.93);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 3px 14px #0006;
    gap: 5px;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
  }
  .nav-links a {
    font-size: 1.01em;
    margin: 0 3px;
    padding: 2px 0;
  }
  .nav-links a + a::before {
    margin: 0 5px 0 0;
    font-size: 1.09em;
    transform: translateY(1px);
  }
   .lang-flags {
    justify-content: center;
    align-items: center;
    margin: 10px auto 0 auto; /* Centraliza horizontal, espaço em cima */
    gap: 15px;
    width: 100%;
    padding: 0;
  }
  .lang-flags img {
    width: 36px;
    height: 36px;
    box-shadow: 0 1px 5px #1126;
  }
}
