:root {
    --azul-escuro: #003366; /*#002d5c;*/
    --azul-claro: #007bff; /*#0056b3;*/
    --verde: #28a745;
    --cinza-texto: #000000;
    --branco: #ffffff;
}   

html {
    scroll-behavior: smooth;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }


/* HEADER */
.btn-orcamento-topo {
    background-color: var(--verde); /* Usa o verde que já existe no seu root */
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 14px;
    transition: 0.3s;
    display: inline-block;
}

.btn-orcamento-topo:hover {
    background-color: #218838; /* Um verde um pouco mais escuro no hover */
    transform: scale(1.05);
}

/* Garante que o container do header jogue o botão para a extremidade direita */
.header-content {
    display: flex;
    justify-content: space-between; /* Logo na esquerda, botão na direita */
    align-items: center;
}
.top-header, .main-nav {
    position: fixed;
    width: 100%;
    left: 0;
    z-index: 1000; 
}

.top-header {
    top: 0;
    background: var(--branco);
}

.main-nav {
    top: 100px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    background: var(--azul-escuro);
    margin-top: -1px;
}

body {
    padding-top: 145px; 
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100% !important;
    padding: 10px 40px;
}

.header-info {
    display: flex;
    gap: 50px;
    flex: 2;
    justify-content: center;
}

.info-item {
    border-left: 1px solid #ddd;
    padding-left: 20px;
}

.info-item .label { 
    display: block; 
    font-size: 11px; 
    font-weight: bold; 
    color: var(--azul-escuro); 
}

.info-item .value { font-size: 13px; color: #000; }

.btn-whatsapp { 
    background: var(--verde); 
    color: white; 
    padding: 12px 20px; 
    text-decoration: none; 
    font-weight: bold; 
    border-radius: 4px;
}

.logo img { height: 80px; width: auto; }

/* NAVIGATION */
.nav-container {
    display: flex !important;
    justify-content: space-between !important; 
    align-items: center;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 40px;
}

.nav-links {
    display: flex !important;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 !important;          
    justify-content: flex-start !important;
}

.nav-links a { 
    color: white; 
    text-decoration: none; 
    padding: 15px 25px; 
    display: block; 
    font-size: 14px; 
    font-weight: bold; 
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active { background: var(--azul-claro); }
.nav-links button:hover, .nav-links button.active { background: var(--azul-claro); }

.social-header { display: flex; gap: 15px; }
.social-header a { color: white; font-size: 1.2rem; }

.menu-toggle { display: none; }
/* HERO / SLIDER */
.hero-slider {
    position: relative;
    width: 100%;
    height: 80vh; 
    overflow: hidden;
    background-color: #000;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0; 
    transition: opacity 0.8s ease-in-out; 
}

.slide.active { opacity: 1; z-index: 2; }

.slide::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
}

.slide-text { 
	position: relative; 
	z-index: 10; 
	color: white; 
	padding-left: 10%; 
	align-items: left;}

.prev, .next {
    position: absolute;
    top: 50%;
    z-index: 20;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 20px;
    cursor: pointer;
}
.next { right: 20px; }
.prev { left: 20px; }

/* --- SEÇÃO PRODUTOS --- */
.btn-produto {
    background-color: var(--azul-claro); 
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 14px;
    transition: 0.3s;
    display: inline-block;
}

.btn-produto:hover {
    background-color: var(--azul-escuro); 
    transform: scale(1.05);
}

/* --- SEÇÃO SERVIÇOS --- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--azul-escuro);
    margin: 40px 0;
    width: 100%;
}

.section-servicos {
    padding: 60px 40px;
    background-color: #fff;
}

.grid-servicos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.card-servico {
    position: relative;
    display: block; /* Faz o link ocupar o card todo */
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.card-servico img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-servico .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 45, 92, 0.5); /* Fundo azul semi-transparente */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    padding: 20px;
}


.card-visible-title {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
}

.overlay-text {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.overlay-text p {
    color: #eee;
    margin-top: 15px;
    font-size: 1rem;
    line-height: 1.4;
}



.card-servico:hover .overlay,
.card-servico:active .overlay {
    background: rgba(0, 45, 92, 0.85); 
    justify-content: center; 
}

.card-servico:hover .card-visible-title,
.card-servico:active .card-visible-title {
    transform: translateY(-10px); 
}

.card-servico:hover .overlay-text,
.card-servico:active .overlay-text {
    max-height: 300px; 
    opacity: 1;
}

.card-servico:hover img {
    transform: scale(1.1);
}


.btn-card-ws {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--verde);
    color: white !important;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    font-size: 14px;
    transition: transform 0.2s ease, background 0.3s ease;
}

.btn-card-ws:hover {
    background-color: #218838;
    transform: scale(1.05);
}

/* --- SEÇÃO CAPACIDADES (INFRAESTRUTURA) --- */
.infra-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px; 
    padding: 60px 20px;
}

.info-text {
    flex: 1; 
}

.info-image {
    flex: 1.2; 
}

.info-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: block;
}

.infra-title {
    color: #003366;
    font-size: 2.2rem;
    margin-bottom: 30px;
    border-bottom: 3px solid #003366;
    display: inline-block;
    padding-bottom: 5px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.info-item i {
    color: #003366;
    font-size: 1.3rem;
    width: 25px;
}

.detalhes-lista {
    list-style: none;
    padding: 0;
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 10px;
}

.detalhes-lista li {
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}
.detalhes-lista li i {
    color: #28a745;
    font-size: 1.1rem;
}
/* --- FOOTER ESTILO INDUSTRIAL --- */
.main-footer {
    background-color: var(--azul-escuro); 
    color: #ffffff;
    padding: 60px 0 0 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    padding: 0 40px 40px 40px;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px; 
}


.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: white;
}
.footer-logo span {
    color: var(--verde); 
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--verde);
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
}

.contact-list i {
    color: var(--verde);
}


.social-icons {
    display: flex;
    gap: 15px;
}

.icon-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.icon-link:hover {
    background-color: var(--verde);
    transform: translateY(-5px);
}

.mt-20 { margin-top: 25px; }

/* Sub-footer */
.sub-footer {
    background-color: rgba(0, 0, 0, 0.3); 
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sub-footer-content {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    justify-content: center;
    gap: 15px;              
}

.sub-footer p {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
}

.desenvolvedor {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #666;
}

.desenvolvedor img {
    height: 20px; 
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.desenvolvedor a:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}
/* RESPONSIVIDADE MOBILE */
@media (max-width: 768px) {
    .header-info { display: none; }
    
    .header-content { padding: 10px 20px !important; }

    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px; 
        width: 30px;
        height: 30px;
        background: transparent; 
        border: none;
        cursor: pointer;
        z-index: 1200;
        padding: 0;
    }

    
   .bar { 
        width: 100%; 
        height: 3px; 
        background-color: #ffffff !important; 
        transition: all 0.3s ease; 
        border-radius: 2px;
        display: block;
   }
    .menu-toggle.active .bar {
        background: #ffffff;
    }
    .main-nav {
        margin-top: -1px; /* Mantém o encaixe */
        padding: 2px 0;   /* Aumenta a altura para cobrir o espaço */
        min-height: 50px; /* Garante uma altura mínima sólida */
        display: flex !important; /* Força a barra a existir */
        align-items: center;
    }

    .nav-links {
        display: none !important;
        flex-direction: column;
        position: fixed;
        top: 145px; 
        left: 0;
        width: 100%;
        background: var(--azul-escuro);
        justify-content: center !important;
        z-index: 1050;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links a { text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
   
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .hero-slider { height: 60vh; }
	
    .slide-text h1 { 
		font-size: 24px; 
		text-align: left;
	}

	.slide-text p { 
		text-align: center; 
	}	
	
    .grid-servicos {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .card-servico {
        height: 250px; /* Um pouco menor no celular para caber mais na tela */
    }
    .card-visible-title {
        font-size: 1.2rem; /* Fonte um pouco menor para não quebrar em muitas linhas */
    }

    
    .card-servico.active .info-extra {
    display: block;
    opacity: 1;
    visibility: visible;
}
    .card-servico:focus .info-extra {
        opacity: 1;
        visibility: visible;
        display: block;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-list li {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-column {
        width: 100%;
    }

    .sub-footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
  .infra-container {
        flex-direction: column-reverse; 
        text-align: center;
    }
    
    .info-item {
        justify-content: center;
    }

    .detalhes-lista {
        grid-template-columns: 1fr;
    }
    

}
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
* {
    box-sizing: border-box; 
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}


.nav-item-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.dropdown-btn {
    background: none;
    border: none;
    color: white; 
    font-size: 14px; 
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    padding: 15px 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 1px;
}

.dropdown-content {
    display: none;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05); 
    text-align: center;
}

.dropdown-content a {
    padding: 12px 0;
    text-decoration: none;
    display: block;
    color: #ccc !important;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}


.dropdown-content.active {
    display: block;
}


@media (min-width: 769px) {
    .nav-item-dropdown {
        position: relative;
        display: inline-block;
    }
    
    .dropdown-content {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background-color: #002d5a; 
        min-width: 100px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    }
}

.cta-servicos {
    background-color: #f4f4f4;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid #ddd;
    margin-top: 40px;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-servicos h2 {
    color: var(--azul-escuro);
    font-size: 28px;
    margin-bottom: 15px;
}

.cta-servicos p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.btn-whatsapp-servico {
    background-color: #25d366;
    color: white;
    padding: 18px 35px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-servico:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
@media (max-width: 768px) {
    .cta-servicos h2 { font-size: 22px; }
    .btn-whatsapp-servico { width: 100%; justify-content: center; }
}