
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --gold: #b6c0eb;
    --dark: #111111;
    --white: #ffffff;
}

body { 
    font-family: 'Inter', sans-serif; 
    background: #fff; 
    color: var(--dark); 
    overflow-x: hidden; 
}

header {
    position: fixed; 
    top: 0;
    width: 100%;
    height: 100px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    z-index: 9999;
    border-bottom: 1px solid #eeeeee;
    transition: all 0.4s ease;
}

.logo {
    font-weight: 800;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #111111;
    text-decoration: none;
}

#logonav {  
    filter: contrast(1.1); 
    max-height: 160px; 
    height: auto; 
    width: auto; 
    display: block; 
    object-fit: contain;
}

.menu-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #111111;
    padding-left: 10px;
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('../img/photo-1551703599-6b3e8379aa8c.jpg') center/cover;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: #fff;
}

.hero h1 { font-size: clamp(3rem, 10vw, 6rem); font-weight: 800; letter-spacing: -3px; }

.btn-gold {
    background: var(--gold); color: #fff; padding: 15px 40px;
    text-decoration: none; font-weight: 700; text-transform: uppercase;
    display: inline-block; margin-top: 25px;
}

.overlap-section { margin-top: -100px; padding-bottom: 80px; position: relative; z-index: 10; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.overlap-grid { display: grid; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,0.1); }
.image-box img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 450px; padding: 25px;}
.content-box { padding: 60px; }
.content-box h2 { font-size: 3rem; line-height: 1; margin-bottom: 25px; }

footer { background: #e5e5e578; color: #444; padding: 40px; text-align: center; font-size: 0.8rem; letter-spacing: 2px; }

@media (max-width: 768px) {
    .overlap-grid { grid-template-columns: 1fr; }
}

.brands {
    padding: 100px 20px;
    text-align: center; 
    background: #fff;
}

.brands h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 50px;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.brands-grid {
    display: flex;
    justify-content: center; 
    align-items: center;    
    gap: 60px;            
    flex-wrap: wrap; 
}

.brands-grid img {
    height: 30px;   
    width: auto;
    filter: grayscale(1);   
    opacity: 0.5;
    transition: 0.3s;
}

.brands-grid img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.footer-cta {
    background-color: #e7f5de;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 50px 60px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
}

.cta-text h2 {
    color: #252525;
    margin-bottom: 5px;
}

.cta-text p {
    color: #252525;
    opacity: 0.9;
}

.btn-outline-white {
    padding: 15px 35px;
    border: 2px solid #252525 !important;
    color: #4b4949 !important;
    text-decoration: none !important;
    font-weight: 800;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.btn-outline-white:hover {
    background: #252525 !important;
    color: #f5f6fa !important;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-top: 140px; 
}

.footer-logo {
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-desc {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;    
}

.footer-col h4 {
    color: #b6c0eb; 
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.footer-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-list li {
    margin-bottom: 12px !important;
}

.footer-list a {
    text-decoration: none !important;
    color: #ffffff !important; 
    font-size: 0.9rem;
    transition: 0.3s;
    display: block;
}

.footer-list a:hover {
    color: var(--green, #28a745) !important;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #666;
}

.footer-links a {
    color: #666 !important;
    text-decoration: none !important;
    margin-left: 20px;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Inter', sans-serif !important; 
}

.brands {
    padding: 80px 20px;
    text-align: center;
    background: #fff;
}

.brands-grid {
    display: flex;
    justify-content: center; 
    align-items: center;    
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.brands-grid img {
    height: 35px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.5;
    transition: 0.3s ease;
}

.brands-grid img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.main-footer {
    background-color: #000 !important;
    color: #fff !important;
    padding: 0 8% 40px;
    position: relative;
    margin-top: 40px;
}

.footer-list {
    list-style: none !important; 
    padding: 0 !important;
    margin: 0 !important;
}

.footer-list li {
    margin-bottom: 12px !important;
    list-style-type: none !important; 
}

.footer-list a {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-list a:hover {
    color: var(--gold) !important;
    opacity: 1;
}

.btn-outline-white {
    display: inline-block;
    padding: 15px 35px;
    border: 1px solid #4b4b4b !important;
    background: transparent !important;
    color: #4b4b4b !important;
    text-decoration: none !important;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'inter', sans-serif !important;
}

.overlap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    align-items: center; 
}

.content-box {
    padding: 60px;
    background-color: #ffffff;
}

.content-box h2 {
    font-family: 'inter', sans-serif !important;
    font-size: 3rem;
    line-height: 1.1;
    color: #111;
    margin-bottom: 25px;
    font-weight: 800;
}

.content-box h2 strong {
    color: var(--gold); 
    font-weight: 800;
}

.content-box p {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444; 
    margin-bottom: 35px;
}

.btn-overlap {
    display: inline-block;
    padding: 15px 45px;
    border: 1.5px solid var(--gold);
    background: transparent;
    color: #000 !important; 
    text-decoration: none !important; 
    font-family: 'Inter', sans-serif !important;
    font-weight: 700;
    /*text-transform: uppercase;*/
    font-size: 0.85rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-overlap:hover {
    background: #cbfcd6;
    color: #fff !important;
}

*:not(i):not([class*="fa-"]) {
    font-family: 'Inter', sans-serif !important;
}

.fab, .fas, .far, .fa, i {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands" !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo, .footer-logo, .footer-col h4, .cta-text h2 {
    font-family: 'inter', sans-serif !important;
    font-weight: 800;
}

h2, .titulo-secao {
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
    font-weight: bold;
    font-family: sans-serif; 
}

.servicos-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.servico-card {
    flex: 1;
    text-align: left; 
    min-width: 250px;
}

.servico-card img {
    display: block; 
    width: 100%;  
    height: auto;  
    max-height: 200px; 
    object-fit: contain;
    margin-bottom: 15px;
}

.tecnologias-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.tecnologias-logos img {
    height: 40px;
    filter: grayscale(100%); 
    opacity: 0.6;
}

#homeespaco {
padding: 100px 20px;
}

#contatoimg {
padding-left: 0;
}

.services-title {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 50px;
    font-weight: bold;
    color: #000;
}

.services-grid {
    display: flex;
    justify-content: center; 
    align-items: flex-start;
    gap: 30px; 
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    flex: 1; 
    text-align: left; 
    min-width: 250px;
}

.service-image {
    width: 100%;
    margin-bottom: 15px;
}

.service-image img {
    width: 100%;     
    height: 180px;    
    object-fit: cover; 
    /*background-color: #f0f0f0;*/
    border-radius: 4px;
    display: block;
}

.service-card p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #333;
}

.minimal-footer {
    background-color: #e5e5e578;
    padding: 60px 0 40px 0;
    border-top: 1px solid #f0f0f0;
    width: 100%;
    color: #444;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    padding: 0 40px;
    gap: 100px;
}

.footer-brand-col {
    flex: 1.2;
    max-width: 450px;
    font-size: 1rem;
}

.footer-logo-min {
    height: 160px;
    width: auto;
    margin-bottom: -20px;
    filter: grayscale(1);
    transition: 0.3s;
    display: center;
}

.footer-logo-min:hover {
    filter: grayscale(0); 
}

.footer-links-grid {
    display: flex;
    gap: 80px;
    font-size: 1rem;
    margin-top: 25px;
}

.link-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;    
}

.link-group h4 {
    font-family: 'inter', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: #111;
}

.link-group a, .link-group span {
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    color: #000000;
    font-size: 1rem;
    transition: color 0.3s;
}

.link-group a:hover {
    color: #28a745; 
}

.footer-social-min {
    gap: 15px;
    margin-top: 15px;
}

.footer-social-min a {
    color: #bbb;
    font-size: 1.1rem;
    transition: 0.3s;
    padding: 10px;
}

.footer-social-min a:hover {
    color: var(--green, #28a745);
}

.footer-copyright {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #cbcbcb;
    font-size: 0.8rem;
    color: #aaa;
}

.main-header {
    background: #ffffff;
    padding: 10px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

#sobreimg {
padding-left: 0;
padding-right:40px;
}

.social-icons-header a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff !important;
    font-size: 0.8rem;
    margin-left: 8px;
}

.social-icons-header .fb { background: #3b5998; }
.social-icons-header .tw { background: #55acee; }
.social-icons-header .ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%,#d6249f 60%,#285AEB 90%); }
.social-icons-header .wa { background-color: #25D366 !important; }

.btn-cta-header {
    background-color: #28a745;
    color: #ffffff !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #28a74633;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cta-header:hover {
    background-color: transparent;
    color: #28a745 !important;
    transform: translateY(-2px); 
}

.btn-cta-header:hover {
    background-color: #28a745;
    color: #030303 !important;
    transform: scale(1.05);
}

.btn-cta-mobile {
    display: none;
}

.nav-links {
    display: flex;
    gap: 40px; 
    align-items: center;
}

.nav-links > a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding-bottom: 8px;
    transition: color 0.3s;
}

.nav-links > a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: #28a745; 
    transition: width 0.3s ease;
}

.nav-links > a:hover::after,
.nav-links > a.active::after {
    width: 100%;
}

.nav-links > a:hover, 
.nav-links > a.active {
    color: #28a745;
}

.social-icons-header {
    display: flex;
    align-items: center;
    gap: 4px;
}
.social-icons-header a, 
.social-icons-header a::after {
    text-decoration: none !important;
    width: auto; 
    height: auto;
    background: none;
    content: none !important;
}
.social-icons-header i {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
}

html { scroll-behavior: smooth; }
.page-section { display: none; }
.page-section.active { display: block; animation: fadeIn 0.4s ease-in-out; }
        
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}

.nav-links a { cursor: pointer; }
.nav-links a.active { color: #28a745 !important; font-weight: 800; border-bottom: 1px #28a745; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
}


#mikrotik {
height: 130px; 
width: auto;
}

#ubiquiti {
height: 190px; 
width: auto;
}

#huawei {
height: 190px;
width: auto;
}

#intelbras {
height: 100px; 
width: auto;
}

#homeprof {
margin-top: -160px;
}

#hometext {
margin-top: -250px;
}

#services{
padding-bottom: 40px;
padding-top: 380px;
}

@media (max-width: 768px) {
    .services-grid {
        flex-direction: column;
        align-items: center;
    }
    .service-card {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .header-right, .social-icons-header, .header-right-desktop {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    .header-container {
        justify-content: space-between !important;
        padding: 10px 20px !important;
    }

    .nav-links {
        display: none !important;
        flex-direction: column !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        padding: 20px !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
        z-index: 9999 !important;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links a {
        padding: 15px !important;
        border-bottom: 1px solid #eeeeee !important;
        width: 100% !important;
        text-align: center !important;
        display: block !important;
        color: #333 !important;
    }

    .btn-cta-mobile {
        display: block !important;
        background: #28a745 !important;
        color: #ffffff !important;
        margin-top: 10px !important;
        border-radius: 5px !important;
    }

    .hero { height: auto !important; padding: 100px 20px !important; }
    .hero-inner { margin-top: 0 !important; }
    .overlap-section { margin-top: 0 !important; padding: 40px 10px !important; }
    .overlap-grid { grid-template-columns: 1fr !important; display: flex !important; flex-direction: column !important; }
    .content-box { order: 1 !important; }
    .image-box { order: 2 !important; }
    /*.brands-grid img { height: 60px !important; width: auto !important; }*/
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .overlap-grid {
        grid-template-columns: 1fr;
    }
    .content-box {
        padding: 40px 20px;
        text-align: center;
    }
    .content-box h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .footer-cta {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        width: 95%;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 220px;
    }
}

@media (max-width: 768px) {

#logonav {  
    max-height: 120px; 
}

#mikrotik {
max-height: 100px; 
width: auto;
}

#ubiquiti {
min-height: 150px;
width: auto;
max-height: 210;
}

#huawei {
min-height: 150px;
width: auto;
max-height: 210;
}

#intelbras {
height: 70px; 
width: auto;
}

#services{
padding-bottom: 20px;
padding-top: 170px;
}

#serviceslala {
     margin-top: -20px;   
}

#servicesph2 {
    padding-bottom: 1px;    

    /*max-width: 300px; max-height: 100px;*/
}

#serviceimgbox {
    /*max-width: 250px; padding: 1px;*/
    display: none;       
}

#homeimg{
    /*max-width: 320px; max-height: 320px; object-fit: contain; margin-top: -20%;*/
display: none;    
    
}

#sobreimg {
/*padding-left: 0;padding-right: 0;max-width: 290px;max-height: 290px;margin-top: -40%;*/
display: none;
    
}

#sobreimgbox {
/*height: 260px;*/    
}

#homeespaco {
padding-top: 0;
}

#contatoimgbox {
    /*height: 280px; width: 280px;*/
}

#contatoimg {
    /*padding: 0; margin-top: -38%;*/
    display: none;
}

#contatocontent {
    /*max-height: 430px;*/
}

#contatogrid{
    max-height: 720px; 
}

html {
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1 {
    font-size: 28px;
    font-weight: 700;
}

h2 {
    font-size: 22px;
    font-weight: 600;
}

h3 {
    font-size: 18px;
    font-weight: 600;
}

p {
    font-size: 15px;
}

.main-header {
    padding: 12px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    max-height: 58px;
    width: auto;
    height: auto;
}

.header-right {
    display: none;
}

.mobile-menu-btn {
    display: block;
    font-size: 26px;
}

.nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    display: none;
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.nav-links.active {
    display: flex;
}

.nav-links a {
    padding: 14px 0;
    font-size: 15px;
}

.hero {
    padding: 110px 20px 70px 20px;
    text-align: center;
}

.hero p {
    margin-top: 14px;
}

.overlap-section {
    padding: 60px 20px;
    border-radius: 20px;
}

.overlap-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.image-box img {
    width: 100%;
    max-width: 420px;
    height: 260px;
    object-fit: contain;
}

.image-box{
    max-height: 350px;
    max-width: 350px;
}

.content-box {
    text-align: center;
    max-width: 480px;
}

.content-box p {
    margin-top: 2px;
    margin-bottom: 2px;
}

.btn-overlap {
    display: inline-block;
    margin-top: 18px;
}

.services-section {
    padding: 70px 20px;
    text-align: center;
}

.services-grid,
.servicos-grid {
    display: flex;
    flex-direction: column;
    gap: 35px;
    align-items: center;
}

.service-card,
.servico-card {
    width: 100%;
    max-width: 420px;
    padding: 24px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    text-align: center;
}

.service-card img,
.servico-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 18px;
}

.service-card p,
.servico-card p {
    margin-top: 2px;
}

.brands {
    padding: 70px 20px;
    text-align: center;
}

.brands h2 {
    margin-bottom: 35px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 35px;
    padding: 10px 20px;
    font-size: 20px;
}

.footer-links-grid {
    /*display: grid;grid-template-columns: 1fr 1fr; gap: 25px;*/
display: none;
    
}

.footer-logo-min {
    max-height: 95px;
    height: auto;
}

.footer-copyright {
    /*padding: 25px 20px;*/
    font-size: 13px;
    margin: 0;
}


}

@media (max-width: 768px) {
    .brands-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow: hidden !important;
        width: 100% !important;
        padding: 20px 0 !important;
        justify-content: flex-start !important;
    }

    .brands-grid img {
        flex: 0 0 140px !important; 
        max-height: 120px;
        object-fit: contain !important;
/*        margin-right: 40px !important;*/
        animation: deslizarAuto 10s ease-in-out infinite alternate !important;
    }
}

@keyframes deslizarAuto {
    0% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(-620px);
    }
}



@media (min-width: 769px) and (max-width: 1025px) {
    html {
        font-size: 16px;
    }
    
    .header-right-desktop {
        display: none !important;
    }
    
    #services {
    padding-bottom: 40px;
    padding-top: 170px;
    }

    .header-container {
        padding: 15px 30px !important;
    }

    .logo img {
        max-height: 70px !important;
    }

    .hero {
        padding: 120px 40px 80px 40px !important;
    }

    .overlap-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 30px !important;
        align-items: center !important;
    }

    #homeimg, #sobreimg, #contatoimg, #serviceimgbox {
        display: block !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .services-grid, .servicos-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
    }

    .service-card, .servico-card {
        max-width: 100% !important;
    }

    .brands-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow: hidden !important;
        width: 100% !important;
        padding: 30px 0 !important;
    }

    .brands-grid img {
        flex: 0 0 180px !important;
        height: 100px !important;
        margin-right: 50px !important;
        animation: deslizarAuto 12s ease-in-out infinite alternate !important;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr !important;
        text-align: left !important;
        padding-top: 100px !important;
    }

    .footer-cta {
        flex-direction: row !important;
        justify-content: space-between !important;
        width: 90% !important;
    }
    
    .footer-links-grid {
    display: none;
    }
    
    #hometext {
        margin-top: -450px;
    }

    #homeprof {
        margin-top: -560px;
    }
}

@media (max-width: 376px) {
    html {
        font-size: 14px;
    }

    h1 { font-size: 24px !important; }
    h2 { font-size: 20px !important; }

    #services {
        padding-bottom: 20px !important;
        padding-top: 150px !important;
    }

    #hometext {
        margin-top: 0 !important;
    }

    #homeprof {
        margin-top: 0 !important;
    }

    .hero {
        padding: 70px 15px 40px 15px !important;
    }

    .overlap-section {
        padding: 30px 10px !important;
    }

    .service-card, .servico-card {
        max-width: 100% !important;
        padding: 20px !important;
    }

    .brands-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow: hidden !important;
        width: 100% !important;
        padding: 15px 0 !important;
    }

    .brands-grid img {
        flex: 0 0 120px !important;
        height: 60px !important;
        margin-right: 20px !important;
        animation: deslizarAuto 8s ease-in-out infinite alternate !important;
    }

    .footer-container {
        padding-top: 150px !important;
        gap: 25px !important;
    }

    .footer-cta {
        width: 95% !important;
        padding: 20px !important;
    }

    #homeimg, #sobreimg, #contatoimg, #serviceimgbox {
        display: none !important;
    }
}

@keyframes deslizarAuto {
    0% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(-420px);
    }
}

@media (max-width: 430px) {
    .nav-links {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        display: none !important;
        flex-direction: column !important;
        padding: 20px !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
        z-index: 9999 !important;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links a {
        padding: 15px !important;
        border-bottom: 1px solid #eeeeee !important;
        width: 100% !important;
        text-align: center !important;
        color: #333 !important;
        font-size: 16px !important;
    }

    .overlap-section {
        margin-top: 0 !important;
        padding: 40px 15px !important;
    }

    .overlap-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
    }

    #mikrotik, #intelbras {
        height: 60px !important;
        width: auto !important;
    }

    #ubiquiti, #huawei {
        height: 100px !important;
        width: auto !important;
    }

    #homeimg, #sobreimg, #contatoimg, #serviceimgbox, .footer-links-grid {
        display: none !important;
    }

    #services {
        padding-bottom: 20px;
        padding-top: 50px;
    }

    .content-box {
        padding: 20px !important;
        text-align: center !important;
    }

    .content-box h2 {
        font-size: 24px !important;
    }

    .footer-cta {
        flex-direction: column !important;
        text-align: center !important;
        gap: 20px !important;
        width: 90% !important;
        margin: 0 auto !important;
    }

    .footer-container {

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    #contatogrid {
        max-height: none !important;
        height: auto !important;
    }
    
    #homenserv {
        padding-top: 0;
    }
    
    #btnav {
    color: white !important;
    }

/*    .btn-cta-mobile {
#        display: block !important;
#        background: #28a745 !important;
#        color: #ffffff !important;
#        padding: 12px !important;
#        margin-top: 10px !important;
#        border-radius: 5px !important;
#       text-align: center !important;
    }*/
}

