* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    font-family: "Roboto", sans-serif;
  }
  ::-webkit-scrollbar{
    width: 20px;
  }
  ::-webkit-scrollbar-track {
    background: #000000;
    border: solid rgb(128, 26, 26) 2px;
  }
  
  ::-webkit-scrollbar-thumb{
    background-color: rgb(0, 0, 0);
    border: solid rgb(255, 255, 255) 8px;
    border-top: solid white 1px;
    border-left: solid white 1px;
    border-right: solid white 1px;
    border-radius: 0px 0px 5px 5px;
    transition: 1.2s;
  }
  ::-webkit-scrollbar-thumb:hover{
    background-color: white;
    border-top: solid #5a0d0d 5px;
    border-left: solid #5a0d0d 5px;
    border-right: solid #5a0d0d 5px;
    border-radius: 0px 0px 5px 5px;
    transition: 1.8s;
  }
  
  :root {
    --gray: #ededed;
  }
  
  html, body {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
    cursor: default;
    transition: 0.3s ease-in-out;
    background-color: rgb(224, 224, 224);
    overflow-x: hidden; /* Evita rolagem horizontal */
  }
  
  /* Corpo da página */
  body {
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Permite rolagem horizontal se necessário */
    overflow-y: auto; /* Garante rolagem vertical */
    scrollbar-width: thin;
  }

  
  header {
    width: 100%;
    height: 150px;
    margin: 0 auto;
    margin-top: -15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    z-index: 100; /* Mantém um nível alto, mas não interfere na barra */
  }
  
  #header {
    background-color: rgb(114, 0, 0);
    width: calc(100% - 0px); /* Reduz a largura para não invadir a barra de rolagem */
    height: 120px;
    border: white solid 5px;
    border-left: none;
    border-right: none;
    box-shadow: black 20px 0px 10px 0px;
    position: fixed;
    z-index: 10; /* Reduz o nível para não sobrepor a barra de rolagem */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }
  
  
  .content {
    max-width: 1000px;
    min-width: 300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 10px;
  }
  
  #logoi{
    display: none;
  }
  #btn-mobile{
    display: none;
  }
  
  nav {
    width: 100%;
    height: 90px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; /* Garante o espaçamento adequado */
    margin-left: 0; /* Remover margem negativa */
    user-select: none;
  }
  
  .brand {
    width: 100px;
    height: 80px;
    user-select: none;
    margin-right: 0;
    margin-top: 20px;
    cursor: pointer;
  }
  
  #logo{
    width: 100%;
    height: 200px;
    margin-left: -65px;
  }
  .imgl{
    mix-blend-mode: normal;
    width: 100%;
    height: 100%;
    transition: 1s;
  }
  
  .imgl:hover{
    filter: drop-shadow(0px 0px 10px white);
  }
  nav ul {
    display: flex;
    flex-direction: row;
    margin-left: -140px;
  }
  
  nav ul li {
    width: 200px;
    height: 50px;
    line-height: 10px;
    list-style: none;
    padding: 20px;
    margin-top: 35px;
    margin-left: 0px;
  }
  
  nav ul li a {
    color: white;
    text-decoration: none;
    user-select: none;
    font-size: 25px;
    margin-left: -30px;
    padding-left: 20px;
    margin-top: 0px;
  }
  nav ul li a:hover{
    color: #ffc800;
    transition: all 0.7s ease-in-out;
  }
  
  .servicomenu{
    margin-left: -80px;
  }
  #log {
    width: 60px;
    height: 60px;
    margin-left: 26vw;
    margin-top: 32px;
    border-radius: 100%;
  }
  .login {
    width: 72px;
    height: 72px;
    margin-top: -5px;
    margin-left: 20px; /* Ajuste a margem para que o botão fique mais visível */
    filter: invert(100%);
    border-radius: 100%;
  }
  
  .login:hover{
    filter: drop-shadow(0px 0px 5px black) invert(100%);
  
  }
  #log-menu{
    display: none;
  }
  
  #carho{
    width: 60px;
    height: 60px;
    margin-top: 6px;
    margin-left: 2vw;
    user-select: none;
    filter: invert(100%);
  }
  .crinho{
    margin-top: 25px;
    margin-left: 30px;
    margin-right: 10px;
    width: 100%;
    height: 100%;
    font-size: 5px;
    user-select: none;
  }
  /*Pesquisa no menu inicio 
  ]
  ]
  */
  .search-box{
    height: 40px;
    position: absolute;
    background: white;
    border-radius: 50px;
    padding: 10px;
    margin-left: 115vh;
    margin-top: 40px;
    z-index: 100; /* Garante que fique acima de outros elementos */
  }
  
  .search-txt{
    border: none;
    background: none;
    outline: none;
    float:right;
    padding: 0;
    font-size: 16px;
    transition: 0.4s;
    line-height: 40px;
    width: 0;
    margin-top: -10px;
    color: black;
  }
  
  .icone-buscar{
  width: 20px;
  margin-top: -10px;
  }
  .search-box:hover>.search-txt{
    width: 140px;
    padding: 0.6px;
  }
  
  .search-button img{
    display: none;
  }
  
section .card-wrapper {
  max-width: 1000px;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  grid-gap: 30px;
  padding-top: 2vh;
}
.card-item .alta-card{
  width: 60px;
  height: 50px;
  margin-top: -4vh;
  margin-left: 32vh;
  padding: 5px 10px 10px;
  background-color: white;
  position: absolute;
  border-radius: 100%;
  border: solid #5a0d0d 2px;
  box-shadow: none;
}


.card-content {
  width: 45%;
  height: 85%;
  margin-left: 50%;
  margin-top: -64vh;
  margin-right: 10px;
  display: flex;
  position:relative;
  flex-direction: column;
  background-color: rgb(255, 213, 213);
  border: solid 2px #5a0d0d;
  border-radius: 20px;
  align-items: center;
  justify-content: space-around;
  transition:  0.3s ease-in-out;
}
.card-content h3{
  width: 80%;
  margin-left: 20px;
  margin-right: 20px;
  margin-top:-15vh;
  text-align: center;
  font-size: 30px;
}
.card-item h5{
  font-size: 18px;
  margin-left: 5%;
  margin-top: 2%;
  padding-right: 2vh;
  text-align: justify;
}
.card-content .desc{
  text-align: justify;
  position: absolute;
  margin-top: -50%;
  font-size: 25px;
}

.card-item{
  width: 80%;
  height: 80%;
  margin-left: 10vw;
  border-radius: 20px;
  background-color: transparent;
  box-shadow: black 0px 0px 30px ;
}
.card-item h4{
  width: auto;
  margin-left: 5%;
  margin-top: 2%;
  font-size: 40px;
  color: #5a0d0d;
}
.card-item .icon-marca{
  width: 8%;
  height: 10%;
  margin-top: -3.7%;
  margin-left: 13%;
  box-shadow: none;
}
.card-item img {
  width: 40%;
  height: 40%;
  margin-left: 5%;
  margin-top: 5dvh;
  box-shadow: black 0px 0px 20px 5px;
  border-radius: 10px;
}

.card-item h4 {
  width: 90%;
}

.card-item p {
  width: 90%;
  height: 40px;
  font-size: 10px;
  margin-top: -10px;
  font-style: italic;
  color: #00000070;
}

.card-item button {
  width: 50%;
  height: 15%;
  padding: 5px 2px;
  border: none;
  background: #8c2424;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  font-size: 1.5em;
  cursor: pointer;
  transition: 0.3s ease;
  margin-left: -25%;
position: absolute;
  margin-top: 8%;
  transition:  1.0s ease-in-out;
}
.card-item button:hover {
  background: #dedede;
  color: #9c1f1f;
  box-shadow: black 0px 0px 5px;
}
@media (max-width: 676px) {
  header {
    width: 100%;
    height: 150px;
    margin: 0 auto;
    margin-top: -15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between; /* Garante que o espaço entre os elementos seja equilibrado */
    z-index: 1000;
  }
  
  #header {
    background-color: rgb(114, 0, 0);
    width: 100%;
    height: 120px;
    border: white solid 5px;
    border-left: none;
    border-right: none;
    box-shadow: black 20px 0px 10px 0px;
    position: fixed;
    z-index: 999999;
    display: flex;
    justify-content: space-between; /* Garante o espaçamento entre os itens */
    align-items: center; /* Alinha verticalmente */
    padding: 0 0px; /* Ajuste de espaçamento nas laterais */
  }
  
  .content {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  nav {
    width: 100%;
    height: 15vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-left: 0;
    background-color: transparent;
    user-select: none;
  }

  #menulist {
    display: block;
    position: absolute;
    width: 80vw; /* largura fixa para evitar mudanças no fechamento */
    top: 8.5vh; /* posição fixa do topo */
    transition: height 0.6s ease; /* Transição suave apenas na altura */
    z-index: 1000;
    height: 0px; /* Menu inicialmente fechado */
    overflow-y: auto; /* Evita rolagem ao fechar */
  }
  
  #nav.active #menulist {
    height: 75dvh; /* Altura total do menu ao abrir */
    margin-left: 0vw;
    top: 105%;
    visibility: visible; /* Torna o menu visível */
    border-radius: 0px 0px 20px;
    background-color: rgb(86, 86, 86); /* Cor de fundo do menu */
  }
  
  /* Ajustes adicionais permanecem os mesmos */
  #log{
    display: none;
  }
  #logo {
    display: none;
  }
  
  #logoi {
    display: none;
  }

  #menulist {
    display: block;
    position: absolute;
    width: 80vw; /* largura fixa para evitar mudanças no fechamento */
    top: 8.5vh; /* posição fixa do topo */
    background: #e7e7e7;
    transition: height 0.6s ease; /* Transição suave apenas na altura */
    z-index: 1000;
    height: 0px; /* Menu inicialmente fechado */
    visibility: hidden; /* Esconde o menu visualmente */
    overflow-y: hidden; /* Evita rolagem ao fechar */
  }
  
  #nav.active #menulist {
    height: 65dvh; /* Altura total do menu ao abrir */
    margin-left: 0vw;
    top: 105%;
    visibility: visible; /* Torna o menu visível */
    overflow-y: auto; /* Permite rolagem quando necessário */
    border-radius: 0px 0px 20px;
    background-color: rgb(86, 86, 86); /* Cor de fundo do menu */
  }
  
  /* Ajustes adicionais permanecem os mesmos */
  #log{
    display: none;
  }
  #logo {
    display: none;
  }
  
  #logoi {
    display: block;
    visibility: visible;
    width: 80px;
    height: 60px;
    margin-left: 35%;
    background-color: transparent;
  }
  
  .imgl {
    width: 70px;
    height: 60px;
    margin-left: 0vw;
  }
  #log-menu{
    width: 25vw;
    display:block;
    padding: 5px;
  margin-left: 10vh;
    background-color: transparent;

  }
  #log-menu .login{
    margin-left: 0vw;
  }
  #menulist li{
    width: 90%;
    height: 10vh;
    text-align: center;
    border: solid 2px white;
    border-radius: 10px;
    background-color: #08ad6e;
  }
  #menulist a {
    color: white;
  }
  
  #btn-mobile {
    width: 40vw;
    height: auto;
    display: flex;
    font-size: 1.5rem;
    border: none;
    margin-right: 100vw;
    background: none;
    cursor: pointer;
    gap: 1rem;
    color: white;
    background-color: transparent;
  }
  
  #hamburger {
    border-top: 5px solid;
    width: auto;
    height: 5vh;
    margin-left: -82dvw ;
    margin-top: 2vh;
    background-color: transparent;
  }
  
  #hamburger::after,
  #hamburger::before {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: currentColor;
    margin-top: 5px;
    transition: 0.3s;
    position: relative;
  }
  
  #nav.active #hamburger {
    border-top-color: transparent;
  }
  
  #nav.active #hamburger::before {
    transform: rotate(135deg);
  }
  
  #nav.active #hamburger::after {
    transform: rotate(-135deg);
    top: -7px;
  }
  section .card-wrapper {
    max-width: 1000px;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    grid-gap: 30px;
    padding-top: 2vh;
  }
  .card-item .alta-card{
    width: 60px;
    height: 50px;
    display: none;
    margin-top: vh;
    margin-left: 32vh;
    padding: 5px 10px 10px;
    background-color: white;
    position: absolute;
    border-radius: 100%;
    border: solid #5a0d0d 2px;
    box-shadow: none;
  }
  
  
  .card-content {
    width: 100%;
    height: 85%;
    margin-left: 0%;
    margin-top: 10vh;
    margin-right: 10px;
    display: flex;
    position:relative;
    flex-direction: column;
    background-color: rgb(255, 213, 213);
    border: solid 2px #5a0d0d;
    border-radius: 20px;
    align-items: center;
    justify-content: space-around;
    transition:  0.3s ease-in-out;
  }
  .card-content h3{
    width: 80%;
    margin-left: 20px;
    margin-right: 20px;
    margin-top:-18vh;
    text-align: justify;
    font-size: 18px;
  }
  .card-item h5{
    font-size: 15px;
    margin-left: 5%;
    margin-top: 2%;
    padding-right: 2vh;
    text-align: justify;
  }
  .card-content .desc{
    text-align: justify;
    position: absolute;
    margin-top: -90%;
    font-size: 16px;
  }
  
  .card-item{
    width: 80%;
    height: 100%;
    margin-left: 10vw;
    border-radius: 20px;
    background-color: transparent;
    box-shadow: black 0px 0px 30px ;
  }
  .card-item h4{
    width: auto;
    margin-left: 5%;
    margin-top: 2%;
    font-size: 40px;
    text-align: center;
    color: #5a0d0d;
  }
  .card-item .icon-marca{
    width: 35%;
    height: 15%;
    margin-top: -3.7%;
    margin-left: 32%;
    box-shadow: none;
  }
  .card-item img {
    width: 90%;
    height: 40%;
    margin-left: 5%;
    margin-top: 2dvh;
    box-shadow: black 0px 0px 20px 5px;
    border-radius: 10px;
  }
  
  .card-item h4 {
    width: 90%;
  }
  
  .card-item p {
    width: 90%;
    height: 40px;
    font-size: 10px;
    margin-top: -10px;
    font-style: italic;
    color: #00000070;
  }
  
  .card-item button {
    width: 50%;
    height: 15%;
    padding: 5px 2px;
    border: none;
    background: #8c2424;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    font-size: 1.5em;
    cursor: pointer;
    transition: 0.3s ease;
    margin-left: -25%;
  position: absolute;
    margin-top: 12%;
    transition:  1.0s ease-in-out;
  }
  .card-item button:hover {
    background: #dedede;
    color: #9c1f1f;
    box-shadow: black 0px 0px 5px;
  }

  #vlt{
    text-decoration: none;
    color: #5a0d0d;
    margin-top: 2%;
    margin-left: 2%;
  }
}
