.fm-header, .fm-header * { box-sizing: border-box; }

.fm-header{
  position: relative;
  width: 100%;
  background: transparent;
  z-index: 99999;
}

.fm-header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  min-height: 64px;
}

/* Logo */
.fm-logo{ display:flex; align-items:center; }
.fm-logo img{
  height: 42px;
  width: auto;
  max-width: 180px;
}

/* Botão hamburguer (mobile) */
.fm-menu-toggle{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
  z-index: 100000;
  color: #000; /* troque para #fff se o fundo for escuro */
}

/* NAV: começa SEMPRE fechado */
.fm-nav{
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #000;
  z-index: 99999;
}

.fm-nav.open{
  display: block !important;
}

.fm-menu{
  list-style: none;
  margin: 0;
  padding: 0;
}

.fm-menu a{
  display: block;
  padding: 14px 16px;
  color: #fff;
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,0.12);
}

/* DESKTOP: mostra menu em linha e esconde botão */
@media (min-width: 992px){
  /* No desktop o botão continua aparecendo */
  .fm-menu-toggle{ display: inline-flex !important; }

  /* No desktop o menu fica fechado por padrão também */
  .fm-nav{
    display: none !important;
    position: absolute;
    top: 100%;
    right: 16px;
    left: auto;
    width: 320px;
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    border-radius: 12px;
    overflow: hidden;
  }

  .fm-nav.open{
    display: block !important;
  }

  .fm-menu{
    display: block;
  }

  .fm-menu a{
    padding: 14px 16px;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: #fff;
  }
}