:root {
  --cor-menu: #ec4401;
}

/* NAVBAR padrão */
.navbar {
  background-color: var(--cor-menu);
  padding: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Logo à esquerda */
.logo {
  display: flex;
  align-items: center;
  border: 3px solid white;
  background-image: url("../img/logo-br.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100px;
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
  padding: 6px 14px;
  width: 140px;
  height: 50px;
}



/* Botão Hamburguer */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background-color: white;
  margin: 4px 0;
  border-radius: 3px;
  
}

/* Links */
.nav-links {
  display: flex;
  gap: 20px;
  margin-right: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3rem;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--cor-menu);
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }
}

/* DROPDOWN */
/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  color: white;
  font-weight: bold;
  font-size: 1.3rem;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: var(--cor-menu);
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 10px 0;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 200px;
  flex-direction: column;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background-color: rgba(255,255,255,0.1);
}

/* Mostra o menu ao passar o mouse */
.dropdown:hover .dropdown-menu {
  display: flex;
}

/* Responsivo: garante o dropdown no mobile também */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    min-width: 100%;
    display: none;
  }

  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    display: flex;
  }

  .dropdown-menu a {
    padding: 15px;
    text-align: center;
  }
}

/* CAROUSEL */




