.header-bg {background: linear-gradient(90deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 49%, rgba(43, 43, 43, 1) 50%, rgba(43, 43, 43, 1) 100%); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);position: sticky;top: 0;z-index: 10;}
.header {display: flex;justify-content: space-between;align-items: center; height: 100%; gap: 25px; container-type: inline-size; container-name: header-1170;}
.header .logo {display: flex; align-items: center; width: 100%; height: auto; max-width: 329px;}
.header .logo img {width: 100%; height: 100%; object-fit: contain;}

.header .menu-contatos {display: flex; flex-direction: column; justify-content: space-between; padding: 22px 0 0 38px; background-color: var(--preto1); height: 100%; width: 100%; max-width: 769px;}
.header .menu-contatos .contatos {display: flex; justify-content: space-between; padding: 0 0 22px 0;}
.header .menu-contatos .contatos .esquerda {display: flex; justify-content: space-between; align-items: center; max-width: 357px; width: 100%;}
.header .menu-contatos .contatos .esquerda .contato {display: flex; gap: 6px;}
.header .menu-contatos .contatos .esquerda .contato .textos {display: flex; flex-direction: column; gap: 4px;}
.header .menu-contatos .contatos .esquerda .contato .textos .nome {font: 400 12px/1 montserrat;}
.header .menu-contatos .contatos .esquerda .contato .textos .numero {font: 400 13.68px/1 montserrat; color: var(--branco); transition: .3s;}
.header .menu-contatos .contatos .esquerda .contato .textos .numero strong {font: 700 16.18px/1 montserrat;}
.header .menu-contatos .contatos .esquerda .contato .icon {width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;}

.header .menu-contatos .contatos .esquerda .contato.whatsapp .icon {background-color: var(--verde1); margin-left: 1px;}
.header .menu-contatos .contatos .esquerda .contato.whatsapp .textos .nome {color: var(--verde1);}
.header .menu-contatos .contatos .esquerda .contato.whatsapp:hover .textos .numero {color: var(--verde1);}

.header .menu-contatos .contatos .esquerda .contato.telefone .icon {background-color: var(--amarelo1);}
.header .menu-contatos .contatos .esquerda .contato.telefone .textos .nome {color: var(--amarelo1);}
.header .menu-contatos .contatos .esquerda .contato.telefone:hover .textos .numero {color: var(--amarelo1);}


.header .menu-contatos .contatos .direita {display: flex; justify-content: space-between; max-width: 119px; width: 100%; align-items: center;}
.header .menu-contatos .contatos .direita .contato {width: 30px; height: 30px; display: flex; justify-content: center; align-items: center; border-radius: 50%; transition: .3s;}

.header .menu-contatos .contatos .direita .contato:hover {transform: scale(1.07);}

.header .menu-contatos .contatos .direita .contato.facebook {background-color: var(--azul1);}
.header .menu-contatos .contatos .direita .contato.instagram {background: linear-gradient( 135deg,#8200C9 20%, #FF0B64 50%,#FFB138 80%)}
.header .menu-contatos .contatos .direita .contato.linkedin {background-color: var(--azul2);}

.mobile-menu .contatos .contato.facebook {background-color: var(--azul1);}
.mobile-menu .contatos .contato.instagram {background: linear-gradient( 135deg,#8200C9 20%, #FF0B64 50%,#FFB138 80%)}
.mobile-menu .contatos .contato.linkedin {background-color: var(--azul2);}

.mobile-menu .contatos .contato.telefone {background-color: var(--amarelo1);}
.mobile-menu .contatos .contato.whatsapp {background-color: var(--verde1);}

.mobile-menu .contatos .contato {width: 36px; height: 36px; border-radius: 50%; display: flex; justify-content: center; align-items: center; transition: .3s;}
.mobile-menu .contatos {display: flex; gap: 10px; flex-wrap: wrap; padding: 0 2rem 3rem; max-width: 100%;}

.mobile-menu .contatos .contato:hover {transform: scale(1.05);}

.nav-menu {display: none;}
.nav-list {display: flex; list-style: none; gap: 32px; justify-content: space-between; padding: 0 0 0 13px;}
.nav-list::before {position: absolute; content: ''; height: 2px; width: calc(var(--header-nav-width) - var(--scrollbarWidth) + (100vw - 100cqw) / 2); transform: translateX(-4px); top: calc(var(--header-nav-top) - 2px); background-color: var(--cinza1);}
.nav-list li .page {text-decoration: none; color: #fff; font: 400 15px/2.028 montserrat; transition: color 0.3s ease; position: relative; height: 59px; display: flex; align-items: center;}
.nav-list li .page p {height: fit-content;}
.nav-list li.active .page,
.nav-list li .page:hover {color: var(--amarelo1);}
.nav-list li .page::after {content: ''; z-index: 2; position: absolute; width: 0; height: 5px; top: -2px; left: -5px; background-color: var(--amarelo1); transition: width 0.3s ease;}
.nav-list li.active .page::after,
.nav-list li .page:hover::after {width: calc(100% + 10px);}

.nav-list li.produtos,
.nav-list li.servicos {position: relative;}

.mobile-header {display: flex; gap: 15px; align-items: center; width: 100%; max-width: 85px; justify-content: space-between;}

.mobile-header .mobile-ligar {z-index: 10;}

.menu-hamburger {display: flex; flex-direction: column; right: clamp(20px, 6vw, 36px); justify-content: space-between; width: 30px; height: 24px; cursor: pointer; z-index: 15; transition: all 0.3s ease; -webkit-transform: translate3d(0,0,0);}
/* .menu-hamburger {display: flex; flex-direction: column; position:fixed; right: clamp(20px, 6vw, 36px); justify-content: space-between; width: 30px; height: 24px; cursor: pointer; z-index: 15; transition: all 0.3s ease; -webkit-transform: translate3d(0,0,0);} */
.menu-hamburger span {display: block; width: 100%; height: 3px; background-color: var(--branco); border-radius: 3px; transition: all 0.3s ease;}
.menu-hamburger.active span:nth-child(1) {transform: translateY(10.5px) rotate(45deg);}
.menu-hamburger.active span:nth-child(2) {opacity: 0;}
.menu-hamburger.active span:nth-child(3) {transform: translateY(-10.5px) rotate(-45deg);}

.header-bg .expansao-bg {position: absolute; transition-behavior: allow-discrete; background-color: var(--cor1); width: fit-content; transition: opacity .3s ease, display .3s ease; opacity: 0; display: none; z-index: 2; left: 50%; translate: -50% 0;}

.nav-list li.produtos:hover .expansao-bg,
.nav-list li.servicos:hover .expansao-bg {opacity: 0.9; display: flex;}
.nav-list li.produtos.open .expansao-bg,
.nav-list li.servicos.open .expansao-bg {display: flex;}


.header-bg .expansao-bg .conteudo .produto {display: flex; width: fit-content; flex: fit-content 0 0; min-width: 155px;flex-direction: column;}
.header-bg .expansao-bg .conteudo .produto .texto-nome {transition: .3s; display: flex; width: 100%; justify-content: space-between; position: relative;}
.header-bg .expansao-bg .conteudo .produto .texto-nome .texto-nome-href {font: 400 15px/2.3 montserrat; color: var(--branco); transition: .3s; display: flex; width: 100%; justify-content: space-between; position: relative;}
.header-bg .expansao-bg .conteudo .produto .texto-nome::after {position: absolute; content: ''; height: 1px; width: 100%; bottom: 0px; left: 0; background-color: var(--amarelo1);}
.header-bg .expansao-bg .conteudo .produto .texto-nome .mais {font: 400 15px/2.6 montserrat; color: var(--amarelo1); padding: 0 0 0 20px;}
.header-bg .expansao-bg .conteudo .produto .texto-nome .mais:hover {cursor: pointer;}

.header-bg .expansao-bg .conteudo .produto.active .texto-nome .texto-nome-href,
.header-bg .expansao-bg .conteudo .produto:hover .texto-nome .texto-nome-href {color: var(--amarelo1);}

.header-bg .expansao-bg .conteudo .produto .lista {padding: 15px 0 27px; display: none;}
.header-bg .expansao-bg .conteudo .produto .lista li a {font: 400 12px/1.1 montserrat; color: var(--branco); transition: .15s;}
.header-bg .expansao-bg .conteudo .produto .lista li a:hover {color: var(--amarelo1);}
.header-bg .expansao-bg .conteudo .produto .lista li a em {font-style: normal; color: var(--amarelo1);}

.header-bg .expansao-bg .conteudo .produto.active .lista {display: flex; animation-name: lista-open; animation-duration: .3s; animation-fill-mode: forwards;  interpolate-size: allow-keywords;}
.header-bg .expansao-bg .conteudo .produto .lista ul {max-height: 0; height: 100%; display: flex; flex-direction: column;}
.header-bg .expansao-bg .conteudo .produto.active .lista ul {animation-name: lista-open; animation-duration: .3s; animation-fill-mode: forwards;  interpolate-size: allow-keywords;}

@keyframes lista-open {
    from {
        max-height: 0;
        opacity: 0;
    }

    to {
        max-height: fit-content;
        opacity: 1;
    }
}


@keyframes surgir {
    from {
        max-height: 0;
    }

    to {
        max-height: fit-content;
    }
}

.header-bg .expansao-bg .conteudo {display: flex; flex-direction: column; width: 680px; flex-wrap: wrap; height: 309px; gap: 10px 53px; padding: 10px 20px 20px;}
li.servicos .expansao-bg .conteudo {width: 460px;}

.header-bg .expansao-bg .conteudo .servico {display: flex; width: fit-content; flex: fit-content 0 0; min-width: 155px;flex-direction: column;}
.header-bg .expansao-bg .conteudo .servico .texto-nome {font: 400 15px/2.3 montserrat; transition: .3s; color: var(--branco); display: flex; width: 100%; justify-content: space-between; position: relative;}
.header-bg .expansao-bg .conteudo .servico .texto-nome::after {position: absolute; content: ''; height: 1px; width: 100%; bottom: 0; left: 0; background-color: var(--amarelo1);}
.header-bg .expansao-bg .conteudo .servico .texto-nome:hover {color: var(--amarelo1);}

.header-bg .expansao-bg .conteudo .servico.active .texto-nome {color: var(--amarelo1);}

/* .mobile-menu {position: fixed; top: 0; right: -100%; width: 100%; max-width: 400px; height: 100vh; background-color: var(--preto1); box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1); transition: right 0.3s ease; z-index: 1003; overflow-y: auto;} */
.mobile-menu {position: fixed; top: 0; right: -120%; width: 100%; max-width: 400px; height: 100vh; background-color: var(--preto1); box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1); transition: right 0.3s ease; z-index: 13; overflow-y: auto;}
.mobile-menu.active {right: 0;}
.mobile-nav {padding: 2rem;}
.mobile-nav ul {list-style: none; margin: 0; padding: 0;}
.mobile-nav ul li .page {text-decoration: none; color: var(--branco); font-size: 16px; font-weight: 500; display: block; padding: 14px 0; transition: color 0.3s ease, padding-left 0.3s ease; font-family: montserrat;}
.mobile-nav ul li .page.amarelo {color: var(--amarelo1);}
.mobile-nav ul li.active .page,
.mobile-nav ul li:not(.mobile-expandir):hover .page {color: var(--amarelo1);}

.mobile-menu .logo {max-width: 450px; max-height: 70px; width: 100%; height: 100%; padding: 2rem 0 0 2rem; display: flex;}
.mobile-menu .logo .img {width: 100%; height: 100%; display: flex;}
.mobile-menu .logo .img img {width: 100%; height: 100%; filter: invert(1); object-fit: contain; object-position: left;}
.mobile-nav ul li .nome svg,
.mobile-nav ul li .nome svg path {transition: .3s;}

.mobile-nav ul li.active .nome .page {color: var(--amarelo1);}
.mobile-nav ul li.active .nome svg {transform: rotate(180deg);}
.mobile-nav ul li.active .nome svg path {fill: var(--amarelo1);}

@keyframes surgir-mobile {
    from {
        max-height: 0;
    }
    to {
        max-height: fit-content;
    }
}

@keyframes surgir-reverse-mobile {
    from {
        max-height: fit-content;
    }
    to {
        max-height: 0;
    }
}

.mobile-nav .nome {display: flex; justify-content: space-between; align-items: center;}

/* .mobile-nav li .nav-items {display: none;} */
.mobile-nav li .nav-items .list-items {list-style: none; padding: 0 0 0 1em; display: flex; flex-direction: column; height: 100%;}
.mobile-nav li .nav-items .list-items .item {display: flex; flex-direction: column;}
.mobile-nav li .nav-items .list-items .item .texto-nome {font: 500 16px/1.64 montserrat; color: var(--branco); transition: .3s;}

.mobile-nav li .nav-items .list-items .item.active .texto-nome,
.mobile-nav li .nav-items .list-items .item:hover .texto-nome {color: var(--amarelo1);}

.mobile-nav li .nav-items .list-items .item .textos {display: flex; justify-content: space-between; gap: 10px;}
.mobile-nav li .nav-items .list-items .item .lista-subcategorias {animation: .3s surgir-reverse-mobile forwards; transform: scaleY(0); opacity: 0; transition: transform .3s, opacity .3s; interpolate-size: allow-keywords; gap: 10px; list-style: none; display: flex; flex-direction: column; padding: 6px 0 10px 10px; display: none;}
.mobile-nav li .nav-items .list-items .item .lista-subcategorias .subcategoria-a {font: 400 13.5px/1.3 montserrat; transition: .3s; color: var(--branco); display: inline-flex; gap: 4px;}
.mobile-nav li .nav-items .list-items .item .lista-subcategorias .subcategoria-a .seta .icon svg path {transition: .3s;}

.mobile-nav li .nav-items .list-items .item.active .lista-subcategorias {animation: .3s surgir-mobile forwards; transform: scaleY(1); transform-origin: top; interpolate-size: allow-keywords; opacity: 1; display: flex;}
.mobile-nav li .nav-items .list-items .item.active .lista-subcategorias .subcategoria-a {color: var(--branco);}
.mobile-nav li .nav-items .list-items .item.active .lista-subcategorias .subcategoria:hover .subcategoria-a,
.mobile-nav li .nav-items .list-items .item.active .lista-subcategorias .subcategoria.active .subcategoria-a {color: var(--amarelo1);}
.mobile-nav li .nav-items .list-items .item.textos .seta .icon {transition: .3s;}
.mobile-nav li .nav-items .list-items .item.active .textos .seta .icon svg path {fill: var(--amarelo1);}
.mobile-nav li .nav-items .list-items .item.active .textos .seta .icon {transform: rotate(180deg);}



@keyframes surgir {
    from {
        max-height: 43px;
    }
    to {
        max-height: fit-content;
    }
}

@keyframes surgir-reverse {
    from {
        max-height: fit-content;
    }
    to {
        max-height: 43px;
    }
}

.mobile-nav .servicos.mobile-expandir,
.mobile-nav .servicos.mobile-expandir.reverse,
.mobile-nav .servicos.mobile-expandir.reverse .nav-items {max-height: 43px; interpolate-size: allow-keywords; animation: surgir-reverse .5s ease forwards;}

.mobile-nav .servicos.mobile-expandir.active,
.mobile-nav .servicos.mobile-expandir.active .nav-items {interpolate-size: allow-keywords; animation: surgir .5s ease forwards;}

.mobile-nav .produtos.mobile-expandir .nav-items {height: 400px; max-height: 400px;}
.mobile-nav .produtos.mobile-expandir .nav-items {border-radius: 20px; background-color: #443f2f; padding: 20px 10px; }

.mobile-nav .servicos.mobile-expandir.active .nav-items {transform: scaleY(1); opacity: 1;}

.mobile-nav .mobile-expandir .nav-items .list-items {gap: 6px;overflow-y: scroll;}

.mobile-nav .servicos.mobile-expandir .nav-items {transition: .5s ease; transform: scaleY(0); opacity: 0; display: flex; height: 100%; transform-origin: top;}


.menu-overlay {position: fixed; top: 0; visibility: hidden; left: 0; width: 100%; height: 100vh; background-color: rgba(0, 0, 0, 0.5); opacity: 0; transition: opacity 0.5s ease; z-index: 8;}
.menu-overlay.active {opacity: 1; visibility: visible}


@media (min-width: 991px) {
    .nav-menu {display: block ;}
    .mobile-header  {display: none;}
    .mobile-menu {display: none;}
}

@media (max-width: 990px) {
    .header .logo {max-width: 219px;}
    .header-bg {background: var(--branco); height: unset; position: sticky;}
    .header-bg::before {display: none;}
    .header-bg::after {content: ''; position: absolute; height: 100%; width: clamp(125px, 26vw, 180px); background-color: var(--preto1); right: 0; top: 0; z-index: -1;}  
    .header {padding: 1rem 0; gap: 65px;}
    .header .menu-contatos {display: none;}
}

@media (max-width: 600px) {
    .header {gap: 40px;}
}