/* Fixar a header que encolhe */
    #header_topo_fixo {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background: #CC0000;
      z-index: 9999;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.75rem 1.5rem;
      transition: all 0.3s ease;
      box-shadow: 0 2px 8px rgb(0 0 0 / 0.2);
    }
    #header_topo_fixo.small {
      padding: 0.3rem 1.5rem;
      box-shadow: 0 1px 6px rgb(0 0 0 / 0.3);
    }
    #header_topo_fixo img {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      border: 3px solid white;
      box-shadow: 0 2px 10px rgb(0 0 0 / 0.7);
      transition: width 0.3s ease, height 0.3s ease;
    }
    #header_topo_fixo.small img {
      width: 40px;
      height: 40px;
    }
    #header_topo_fixo h1 {
      color: white;
      font-weight: 700;
      font-size: 1.25rem;
      display: flex;
      align-items: center;
      gap: 0.3rem;
      transition: font-size 0.3s ease;
      margin: 0;
    }
    #header_topo_fixo.small h1 {
      font-size: 1rem;
    }
    #header_topo_fixo p {
      color: #eee;
      font-size: 0.75rem;
      margin: 0;
      transition: opacity 0.3s ease;
    }
    #header_topo_fixo.small p {
      opacity: 0;
      height: 0;
      overflow: hidden;
    }
    #header_topo_fixo button.menu-btn {
      background: none;
      border: none;
      font-size: 30px;
      color: white;
      cursor: pointer;
    }
    #header_topo_fixo a{
      text-decoration: none;

    }
    /* Ajuste no conteúdo para não ficar atrás do header fixo */
    body {
      padding-top: 80px;
      /* background: #2d406b;
      color: white; */
      font-family: Arial, sans-serif;
    }
    /* Manter o fundo da header original abaixo fixo */
    #header_fundo {
      position: relative;
      height: 250px;
      background-image: url('./header_moto_bg.jpg');
      background-size: cover;
      background-position: center;
      filter: brightness(0.9);
      z-index: 0;
      overflow: hidden;
    }

    #header_fundo::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to right, #1a0054, #001933, #2b001e); /* azul escuro > roxo > vermelho escuro */
      opacity: 0.85;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      z-index: 1;
    }
    /* Menu lateral */
    #menuLateral {
      position: fixed;
      top: 0;
      right: 0;
      height: 100vh;
      width: 14rem;
      background: #CC0000;
      box-shadow: -4px 0 8px rgb(0 0 0 / 0.5);
      transform: translateX(100%);
      transition: transform 0.3s ease;
      z-index: 10000;
      padding: 1.5rem;
      overflow-y: auto;
    }
    #menuLateral.active {
      transform: translateX(0);
    }
    #menuLateral button#fecharMenu {
      font-size: 1.5rem;
      background: none;
      border: none;
      color: white;
      font-weight: bold;
      cursor: pointer;
      margin-bottom: 2rem;
    }
    #menuLateral nav a,
    #menuLateral nav button {
      display: block;
      color: white;
      font-weight: 600;
      padding: 0.5rem 0;
      text-decoration: none;
      cursor: pointer;
      border: none;
      background: none;
      width: 100%;
      text-align: left;
    }
    #menuLateral nav a:hover,
    #menuLateral nav button:hover {
      color: #ef4444; /* vermelho */
    }
    #submenuMotos,
    #submenuForm {
      padding-left: 1rem;
      margin-top: 0.5rem;
    }
    #submenuMotos.hidden,
    #submenuForm.hidden {
      display: none;
    }
    #overlayInfo {
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

        #overlayInfo.hidden {
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
    }

    .hidden {
  display: none;
}

#menuLateral ul {
  list-style: none;
  padding-left: 1rem;
}

#menuLateral button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0.5rem;
  text-align: left;
}
.categoria-lista {
  margin-left: 1.5rem; /* aumenta o recuo */
  padding-left: 1rem;  /* opcional, pra espaçar mais o texto */
  border-left: 2px solid #ccc; /* uma linha sutil opcional */
}

.categoria-lista li a {
  display: block;
  padding: 6px 0;
  font-size: 0.95rem;
  color: #eee; /* ou a cor que você preferir */
}
.categoria-btn {
  font-weight: bold;
  margin-top: 0.5rem;
  display: block;
  color: #fff;
}

#overlayInfo p{
  font-size: 18px;
}



/* ESTILO RESPONSIVO  */

@media screen and (max-width: 420px) {
  #header_topo_fixo img{
    width: 50px;
    height: 50px;
  }
  #header_topo_fixo h1{
    font-size: 18px;
  }
  .header_topo_title h1 p{
    font-size: 15px;
  }
  #overlayInfo p{
    font-size: 15px;
  }
  #overlayInfo p span {
    font-size: 12px;
  }
  #overlayInfo a{
    font-size: 12px;
  }
  .footer_div_logo{
    width: 60px;
    height: 60px;
  }
  #footer h6{
    font-size: 12px;
  }
  .banner {
    background-position: top center;
    background-size: contain; /* ou cover, dependendo do seu caso */
    height: 180px;
  }

  .banner img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top;
  }
}
