.header-bg {background-color: var(--cor2);box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);position: relative;top: 0;z-index: 1000; height: 130px; box-sizing: border-box; overflow: hidden; }
.header {display: flex;gap: 45px;align-items: center; height: 100%;}
.header .logo { display: flex; align-items: center; }
.header .logo img {  }

.nav-menu { display: none; padding: 35px 0 0; }
.nav-list { display: flex; list-style: none; gap: 32px; margin: 0; padding: 0 0 20px; justify-content: space-between; }
.nav-list li > * { text-decoration: none; color: var(--branco); font: 15px var(--font1); transition: color 0.3s ease; position: relative; }
.nav-list li button { background: none; border: 0; cursor: pointer; padding: 0; }

/* .nav-list li a:hover { color: #007bff; } */
.nav-list li > *::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--cor1); transition: width 0.3s ease; }
.nav-list li.ativo  > *::after,
.nav-list li > *:hover::after { width: 100%; }

.nav-menu .categorias {  justify-content: space-between; position: relative; font: 500 15px montserrat; color: var(--cor2); height: 45px; padding-left: 20px; } 
.nav-menu .categorias .first { height: 100%; background: var(--branco); left: 0; width: calc(100vw - var(--width) + 100% - (73vw - var(--width)) / 2 - var(--scrollbarWidth) + var(--scrollbarWidth) / 2);position: absolute; }
.nav-menu .categorias .link { position: relative; z-index: 2; }
.nav-menu .categorias .link a { color: var(--cor2); text-decoration: none; position: relative; display: inline-block; }
.nav-menu .categorias .link a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -6px; left: 0; background-color: var(--cor1); transition: width 0.3s ease; }
.nav-menu .categorias .link:hover a::after,
.nav-menu .categorias .link.ativo a::after { width: 100%; }
.nav-menu .categorias .link.ativo a { font-weight: 700; }

.menu-hamburger { display: flex; flex-direction: column; justify-content: space-between; width: 30px; height: 24px; cursor: pointer; z-index: 1001; transition: all 0.3s ease; }
.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); }
 
.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; max-width: 380px; height: 100vh; background: linear-gradient(180deg, var(--cor2) 0%, #1f1f1f 100%); border-left: 3px solid var(--cor1); box-shadow: -10px 0 30px rgba(0, 0, 0, 0.28); transition: right var(--transition2) ease; z-index: 999; overflow-y: auto; }
.mobile-menu.active { right: 0; }
.mobile-nav { padding: 6.5rem 1.7rem 2rem; }
.mobile-nav ul { margin: 0; padding: 0; }
.mobile-nav ul li { margin: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.mobile-nav ul .servicos > p { text-align: center; font: 700 20px montserrat; color: var(--cor1); padding: 10px 0; }
.mobile-nav ul li a { display: block; padding: 16px 4px; text-decoration: none; color: var(--branco); font: 600 15px var(--font1); letter-spacing: 0.3px; transition: color var(--transition1) ease, padding-left var(--transition1) ease, background-color var(--transition1) ease; }
.mobile-nav ul li button { display: block; width: 100%; text-align: left; padding: 16px 4px; background: none; border: 0; text-decoration: none; color: var(--branco); font: 600 15px var(--font1); letter-spacing: 0.3px; transition: color var(--transition1) ease, padding-left var(--transition1) ease, background-color var(--transition1) ease; cursor: pointer; }
.mobile-nav ul li a:hover { color: var(--cor1); padding-left: 12px; background: rgba(255, 127, 13, 0.08); }
.mobile-nav ul li button:hover { color: var(--cor1); padding-left: 12px; background: rgba(255, 127, 13, 0.08); }
.mobile-nav ul li.ativo a { font-weight: 700; color: var(--cor1); }

.menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(46, 46, 46, 0.62); opacity: 0; visibility: hidden; transition: opacity var(--transition2) ease, visibility var(--transition2) ease; z-index: 998; }
.menu-overlay.active { opacity: 1; visibility: visible; }

.nav-list li .img { display: flex; align-items: center; justify-content: center; }

.nav-list .contato a { gap: 10px; }
.nav-list .contato span { font-size: 10.99px; color: var(--cor1); }
.nav-list .contato.zap span { color: var(--zap); } 
.nav-list .contato .texto { display: flex; flex-direction: column; }

.portfolio-modal-open { overflow: hidden; }
.portfolio-modal-overlay { position: fixed; inset: 0; z-index: 1300; background: rgba(0, 0, 0, 0.72); display: none; align-items: center; justify-content: center; padding: 30px; }
.portfolio-modal-overlay.is-active { display: flex; }
.portfolio-modal-overlay[hidden] { display: none !important; }
.portfolio-modal { position: relative; width: min(100%, 1060px); background: #111; border: 3px solid var(--cor1); border-radius: 8px; box-shadow: 0 20px 70px rgba(0, 0, 0, 0.55); padding: 28px 28px 20px; }
.portfolio-modal-close { position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 4px; background: var(--cor1); color: var(--branco); font: 700 15px / 1 roboto; cursor: pointer; transition: .2s; z-index: 2; }
.portfolio-modal-close:hover { filter: brightness(1.1); }
.portfolio-modal-slider .splide__slide { display: flex; align-items: center; justify-content: center; }
.portfolio-slide-img { display: block; width: 100%; height: min(70vh, 720px); background: #000; border-radius: 6px; overflow: hidden; }
.portfolio-slide-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.portfolio-modal-slider .splide__arrow { width: 44px; height: 44px; border-radius: 7px; background: var(--cor1); opacity: 1; box-shadow: 0 5px 14px rgba(0, 0, 0, 0.25); }
.portfolio-modal-slider .splide__arrow:hover { background: var(--cor2); }
.portfolio-modal-slider .splide__arrow svg { width: 20px; height: 20px; fill: var(--branco); }
.portfolio-modal-slider .splide__arrow--prev { left: 12px; }
.portfolio-modal-slider .splide__arrow--next { right: 12px; }


.whats-href.py { transition: 1s ease; }
.whats-href.py:hover { transform: rotate(360deg); }
.whats-href.py::after { display: none !important; }

.parent-mobile { display: flex; align-items: center; gap: 15px; }

@media (max-width: 1250px){
    .nav-list { gap: 14px; }
    .nav-list li > * { font-size: 12px; }
    .nav-menu .categorias { font-size: 12px; }
    .header { gap: 25px; justify-content: space-between; }
    .nav-list .contato .img { display: flex; align-items: center; justify-content: center; width: 20px; }
    .nav-list .contato img { display: block; width: 100%; height: 100%; }
}

@media(max-width: 990px){
    .header-bg { height: 100px; }
    .mobile-nav ul li.servicos { padding: 0 !important; border-bottom: none; }
}

@media (min-width: 991px) { 
    .nav-menu { display: block; align-self: flex-end; flex: 1; }
    .menu-hamburger { display: none; }
    .parent-mobile { display: none; }
    .mobile-menu { display: none; }
}

@media (max-width: 767px) {
    .header .logo img { max-width: 200px; object-fit: contain; }
    .mobile-menu { max-width: 340px; }
    .mobile-nav { padding-top: 6rem; }
    .portfolio-modal-overlay { padding: 18px; }
    .portfolio-modal { padding: 20px 14px 14px; }
    .portfolio-slide-img { height: min(64vh, 540px); }
    .portfolio-modal-slider .splide__arrow { width: 38px; height: 38px; }
    .portfolio-modal-slider .splide__arrow--prev { left: 8px; }
    .portfolio-modal-slider .splide__arrow--next { right: 8px; }
}
