<nav class="main-nav">
  <a href="/<%= lang %>/" class="logo">VIANEXU</a>
  <div class="nav-r">
    <% const otherLang = lang === 'pt' ? 'en' : 'pt'; %>
    <a href="/<%= otherLang %>/" class="lang-toggle"><%= otherLang.toUpperCase() %></a>
    <% if (user) { %>
      <a href="/<%= lang %>/dashboard" class="btn btn-ghost btn-sm"><%= t.nav.dashboard %></a>
      <a href="/<%= lang %>/logout"    class="btn btn-ghost btn-sm"><%= t.nav.signout %></a>
    <% } else { %>
      <a href="/<%= lang %>/login"  class="btn btn-ghost btn-sm"><%= t.nav.signin %></a>
      <a href="/<%= lang %>/signup" class="btn btn-accent btn-sm"><%= t.nav.signup %></a>
    <% } %>
  </div>
</nav>
