
/* HEADER */
.topo {
  position: fixed;
  top: 10px;
  left: 5%;
  width: 90%;
  border-radius: 120px;
  background-color: transparent;
  color: #fff;
  padding: 10px 0;
  z-index: 1000;
  transition: background 0.5s;
}

.topo.scrolled {
  background-image: none;
  background-color: var(--primaria);
  box-shadow: 0 0 15px var(--creme);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 10px var(--creme); }
  50% { box-shadow: 0 0 30px var(--creme); }
}

/* Estilo do menu mobile */
.btn-menu-mobile {
  display: none;
  font-size: 1rem;
  cursor: pointer;
  color: #fff;
}

.btn-menu-mobile i {
  font-size: 2.8rem;
  color: var(--creme);
}

.menu-mobile {
  position: fixed;
  top: 0;
  right: 0%;
  width: 50%;
  height: 80vh;
  background-color: var(--primaria);
  text-align: right;
  padding: 32px 0;
  border-radius: 120px 0 0 120px;
  pointer-events: none;
  transition: 0.5s;
  z-index: 1000;

  transform: translateX(100%);
}

.menu-mobile ul {
  list-style: none;
  padding: 64px 0;
}

.menu-mobile ul li a {
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  padding: 24px;
  display: block;
  transition: 0.3s;
}

.menu-mobile ul li a:hover {
  text-decoration: none;
  color: var(--creme);
  font-weight: bold;
}

.menu-mobile .bi-x-lg {
  font-size: 1.5rem;
  color: var(--creme);
  padding: 24px;
}

.menu-mobile .bi-x-lg:hover {
  color: var(--marromEscuro);
}

.menu-mobile.abrir-menu {
  transform: translateX(0);
  pointer-events: auto;
}

.no-scroll {
  overflow: hidden;
  height: 100vh; /* impede rolagem no mobile */
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7); /* 70% */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.overlay.ativo {
  opacity: 1;
  pointer-events: auto; /* BLOQUEIA tudo */
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 220px;
  margin-right: 10px;
  vertical-align: middle;
}

.menu {
  list-style: none;
  display: flex;
  gap: 40px;
  font-size: 18px;
  flex-wrap: wrap;
}

.menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.4s ease;
}

.menu li a:hover {
  color: var(--creme);
}