@media screen and (max-width: 700px) {
  h1 {
    font-size: 4vw !important;
  }
  small {
    font-size: 8px !important;
  }
  h2 {
    font-size: 4vw !important;
  }
  b {
    font-size: 9px !important;
  }
}

/* ===== BASE ===== */
body {
  background-color: #fff;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
    "Open Sans", "Helvetica Neue", sans-serif;
}

a:active {
  opacity: 0.7;
}

/* ===== MENU WRAPPER ===== */
.menu-wrapper {
  position: relative;
  top: 2rem;
  left: 2rem;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  z-index: 10;
  padding: 0;
  width: fit-content;
  height: auto;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* ===== HEADER ("LUÍS GALA") ===== */
.menu-header {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
    "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif Bold", Icons;
  font-style: normal;
  font-weight: 700;
  padding: 0;
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.3;
  color: rgb(0, 0, 0);
  letter-spacing: .04em;
}

a {
  text-decoration: none;      /* 🔹 remove sublinhado */
  color: rgb(0, 0, 0);        /* 🔹 mantém a cor */
  font-family: inherit;       /* 🔹 usa o mesmo tipo de letra */
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  transition: opacity 0.2s ease;
}

.menu-header a:hover {
  opacity: 0.6;               /* 🔹 ligeiro efeito ao passar o rato */
}


/* ===== MENU LINKS ===== */
#menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

#menu ul li {
  margin-bottom: 0.4rem;
}

/* ===== LINKS PRINCIPAIS ===== */
#menu ul li > a {
  font-size: 1.65rem;
  font-weight: 400;
  color: rgba(0, 0, 0, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
    "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
  font-style: normal;
  line-height: 1.0;
  text-decoration: none;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

/* ===== LINKS DOS SUBMENUS (Tokyo, Tita, etc.) ===== */
#menu ul li ul.submenu a {
  font-size: 1.30rem; /* 🔹 ligeiramente menor */
  font-weight: 400;
  color: rgba(0, 0, 0, 0.8); /* ligeiro contraste */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
    "Open Sans", "Helvetica Neue", sans-serif, "Sans Serif", Icons;
  font-style: normal;
  line-height: 1.2;
  text-decoration: none;
  transition: opacity 0.2s ease;
  cursor: pointer;
  margin-left: 0.2rem; /* ligeiro recuo visual */
}


#menu ul li a:hover,
#menu ul li ul.submenu a:hover {
  opacity: 0.6;
}

/* ===== SUBMENUS ===== */
#menu ul li ul.submenu {
  display: none;
  margin-top: 0.3rem;
  margin-left: 0.8rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

#menu ul li ul.submenu.open {
  display: block;
}

#menu ul li ul.submenu li {
  margin-bottom: 0.3rem;
}

/* ===== TRANSIÇÃO SUAVE ===== */
#menu ul li ul.submenu {
  max-height: 0;
  opacity: 0;
  transform: translateY(-5px);
}

#menu ul li ul.submenu.open {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
  .menu-wrapper {
    left: 1rem;
    top: 1rem;
  }

  .menu-header {
    font-size: 2.0rem;
  }

  #menu ul li a,
  #menu ul li ul.submenu a {
    font-size: 1.7rem;
  }
}
