.navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 30px 88px;
        background-color: tranparent;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 10;
        transition: background 0.5s ease, padding 0.8s ease;
    }

    .nav-left a {
      color: #fff;
      text-decoration: none;
      margin-right: 28px;
      font-weight: 40;
      font-size: 19px;
    }

    .nav-right {
      color: #fff;
      display: flex;
      align-items: center;
      gap: 40px;
      font-size: 14px;
    }
    .nav-right span {
            font-weight: 40;
      font-size: 19px;
    }
    .language-switcher {
  position: relative;
}
details.language-dropdown {
  position: relative;
}

details.language-dropdown summary {
  list-style: none;          /* remove a seta padrão do details */
}

details.language-dropdown summary::-webkit-details-marker {
  display: none;             /* esconde seta no Chrome/Safari */
}

details.language-dropdown[open] summary {
  /* opcional: estilo quando aberto */
  opacity: 1;
}
.world-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1); /* elastic + suave */
  transform-origin: center center;
}
.world-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1.1);
}
.world-icon.spin {
  transform: rotate(360deg);
}

/* Para desktop: hover já ativa (opcional, mas legal ter os dois) */
.globe-btn:hover .world-icon {
  transform: rotate(360deg);
}

/* Impede que o dropdown interfira no toque/hover */
.language-switcher {
  touch-action: manipulation; /* melhora resposta ao toque */
}
.globe-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  gap: 6px;          /* pequeno espaço caso volte a ter texto */
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 12px;
  min-width: 160px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.22s ease;
  pointer-events: none;
  z-index: 50;
}
.language-switcher:hover .language-dropdown,
.language-switcher:focus-within .language-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  display: block !important;
}

/* Itens do menu */
.language-dropdown select, .language-dropdown option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 20px;
  color: white;
  font-size: 15px;
  font-weight: 250;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'Montserrat', sans-serif;
}

.language-dropdown select:hover {
  background: rgba(255, 255, 255, 0.18);
}
  
.language-dropdown option.active {   /* opcional - se quiser classe active */
  background: rgba(255, 255, 255, 0.22);
  font-weight: 500;
}

.logo-container {
  position: absolute;               /* tira do fluxo flex para não empurrar nav-left/right */
  left: 50%;
  transform: translateX(-50%);
  width: 180px;                     /* tamanho FINAL na navbar */
  height: 60px;                     /* ajusta conforme o teu logo */
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

/* O logo em si */
.logo {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Estado inicial: grande e no centro da viewport */
.logo-initial {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;                     /* tamanho INICIAL maior – ajusta ao teu gosto */
  z-index: 150;                     /* acima de tudo no início */
  pointer-events: none;
}

/* Quando já chegou ao topo (opcional: fundo na navbar) */
.navbar.scrolled {
  background: rgba(10, 10, 20, 0.65);
  backdrop-filter: blur(12px);
  padding: 15px 60px;               /* navbar mais compacta */
}
