/* Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Topo Superior */
.top-bar {
    background-color: #00254d;
    color: white;
    padding: 10px 0;
    font-size: 1em;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar .contact-info {
    display: flex;
    gap: 15px;
}
.top-bar .contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.top-bar .social-icons {
    display: flex;
    gap: 10px;
}
.top-bar .social-icons a {
    color: white;
    text-decoration: none;
    font-size: 1.5em;
}

/* Navegação Principal */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: relative;
    z-index: 1000;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .logo img {
    width: 150px;
    height: auto;
}
header nav {
    flex: 1;
    text-align: center;
    text-transform: uppercase;
}
header nav ul {
    list-style: none;
    display: inline-flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}
header nav ul li {
    text-align: center;
}
header nav ul li a {
    text-decoration: none;
    color: #00254d;
    font-size: 1em;
    font-weight: bold;
}
header nav ul li a:hover {
    text-decoration: underline;
}


/* Menu Mobile */
header .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
header .menu-toggle div {
    width: 25px;
    height: 3px;
    background-color: #00254d;
    margin: 5px 0;
}
header nav.mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: center;
}
header nav.mobile ul {
    flex-direction: column;
    width: 100%;
}
header nav.mobile ul li {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}
header nav.mobile ul li a {
    color: #00254d;
}
header nav.mobile ul li:last-child {
    border-bottom: none;
}
header.nav-active nav.mobile {
    display: flex;
}
/* Estilos do ícone do menu para mobile */
.mobile-menu-icon {
    display: none;
    font-size: 1.5em;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1000;
    padding: 20px;
    overflow-y: auto; /* Permitir rolagem no menu, se necessário */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.mobile-menu .logo-mobile img {
    width: 100px; /* Tamanho ajustado da logo */
    height: auto; /* Mantém a proporção da imagem */
    margin: 10px auto; /* Centraliza a logo com espaçamento */
}

.mobile-menu.open {
    display: block;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: #00254d;
    font-size: 1em;
    font-weight: bold;
    display: block;
    text-transform: uppercase;
}

.close-icon {
    font-size: 1.5em;
    cursor: pointer;
}

.cta-button {
    background-color: #ff6600;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s ease;
    text-align: center;
    text-transform: uppercase;
}

.cta-button:hover {
    background-color: #cc5200; /* Sombreamento ao passar o mouse */
}

.mobile-menu ul li a.cta-button {  
    color: white; /* Texto branco */  
}





/* Banner */
.banner {
    background-image: url('images/banner-desktop-principal.jpg');
    background-position: center center;
    background-size: cover;
    height: 637px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    padding: 20px 0px 110px 0px;
}
.banner h1 {
    font-size: 3em;
}
.banner p {
    font-size: 1.5em;
    margin: 10px 0;
}

.features-over-banner {
    position: relative; /* Mantém dentro do fluxo do layout */
    margin-top: -85px; /* Eleva a seção para sobrepor o banner */
    z-index: 10; /* Garante que fique acima do banner */
}

.features-over-banner .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.feature {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.feature .icon {
    background-color: #00254d;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.5em;
}

.feature h3 {
    color: #00254d;
    font-size: 1.2em;
    margin-bottom: 10px;
    font-weight: bold;
}

.feature p {
    color: #333;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Espaço (respiro) após a sobreposição */
.features-over-banner {
    margin-bottom: 50px;
}

/* Bloco Serviços - Nossos Serviços */
.services-section {
    background-color: #f5f8fa; /* Cor de fundo mais clara */
    padding: 80px 20px; /* Espaçamento interno */
    text-align: center; /* Centralizar conteúdo */
}

.services-section h2 {
    font-size: 1.8em;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: #00254d; /* Azul escuro */
}

.services-section h2 .orange {
    color: #ff6600; /* Texto "Serviços" na cor laranja */
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Sempre 4 colunas no desktop */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background: white; /* Fundo branco */
    border-radius: 10px; /* Bordas arredondadas */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra suave */
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Efeito de hover */
}

.service-item:hover {
    transform: translateY(-5px); /* Elevação ao passar o mouse */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Sombra mais intensa no hover */
}

.service-item i {
    font-size: 2.5em; /* Tamanho dos ícones */
    color: #00254d; /* Cor dos ícones */
    background-color: #ff6600; /* Fundo laranja */
    border-radius: 50%; /* Circular */
    padding: 15px;
    margin-bottom: 15px;
}

.service-item h3 {
    color: #00254d; /* Azul escuro */
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
}

.service-item p {
    color: #666; /* Texto em cinza suave */
    font-size: 0.95em;
    line-height: 1.6;
}

/* Bloco Projetos - Alguns Trabalhos */
.projects-section {
    background-color: #ffffff; /* Cor de fundo branco */
    padding: 80px 20px; /* Espaçamento interno */
    text-align: center; /* Centralizar conteúdo */
}

.projects-section h2 {
    font-size: 1.8em;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: #00254d; /* Azul escuro */
}

.projects-section h2 .orange {
    color: #ff6600; /* Texto "Alguns Trabalhos" na cor laranja */
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colunas no desktop */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-item {
    overflow: hidden;
    border-radius: 10px; /* Bordas arredondadas */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra suave */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.project-item:hover img {
    transform: scale(1.05); /* Zoom ao passar o mouse */
}

.project-item:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Sombra mais intensa no hover */
}

.about-section {
    padding: 60px 20px;
}


.about-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 2;
    text-align: left;
}

.about-text h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #00254d;
    text-transform: uppercase;
}

.about-text h2 .orange {
    color: #ff6600; /* Cor laranja para o título */
}

.about-text p {
    font-size: 1em;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #333;
}

.instagram-section {
    padding: 10px 20px 60px;
}

.instagram {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
}

.instagram h2 {
	font-size: 1.8em;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: #00254d;
	text-align: center;
}

.instagram h2 .orange {
    color: #ff6600;
}

.instagram iframe {
    border: none;
    width: 100%;
    max-width: 100%;
    height: 600px;
    overflow: hidden;
}

.cta-bar {
    background-color: #ff6600; /* Cor laranja */
    color: white;
    padding: 20px 0;
    text-align: center;
}

.cta-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    flex-wrap: wrap;
}

.cta-bar span {
    font-size: 1.5em;
    font-weight: bold;
    text-transform: uppercase;
    flex: 1;
    text-align: left;
}

.cta-bar .cta-button {
    background-color: #00254d; /* Cor azul escuro */
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.cta-bar .cta-button:hover {
    background-color: #001f3b; /* Sombreamento mais escuro no hover */
}


.footer {
    background-color: #00254d; /* Azul escuro */
    color: white;
    padding: 30px 15px;
    position: relative;
    font-size: 1em;
    text-align: center; /* Centraliza o texto */
}

.footer .contact-info a {   
    justify-content: center;
}

.footer .contact-info a i {
    font-size: 1rem;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: center; /* Centraliza os itens horizontalmente */
    align-items: center; /* Centraliza os itens verticalmente */
    gap: 50px; /* Espaçamento entre os elementos */
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.logo-footer {
    text-align: center;
}

.logo-footer img {
    width: 100px;
    margin-bottom: 10px;
}

.logo-footer p {
    margin-bottom: 10px;
    font-weight: bold;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-icons a {
    color: white;
    text-decoration: none;
    font-size: 1.5em;
}

.contact-info {
    text-align: center; /* Centraliza o texto dentro da seção */
}

.contact-info h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
    color: white;
}

.contact-info p {
    margin: 5px 0;
}

.contact-info i {
    margin-right: 4px;
    color: #ff6600;
    font-size: 1.5rem;
}

.contact-info a {
    color: white;
    text-decoration: none !important;
    display: flex;
    align-items: center;
}

.contact-info a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8em;
    border-top: 1px solid #004080;
    padding-top: 10px;
    margin-top: 10px;
}

.footer-bottom a {
    color: #ff6600; /* Cor laranja */
    text-decoration: none;
    font-weight: bold;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-bottom img.cava-logo {
    max-width: 60px;
}
.footer-bottom p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.footer-contact a {
    color: white; /* Cor branca para links no rodapé */
    text-decoration: none; /* Remove sublinhado */
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #ff6600; /* Cor laranja ao passar o mouse */
}

.footer-contact i {
    font-size: 1.2em; /* Ícones ajustados */
}

#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(255, 102, 0, 0.8); /* Laranja com transparência */
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5em;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: none; /* Oculto por padrão */
    justify-content: center;
    align-items: center;
}

#backToTop:hover {
    background-color: rgba(255, 102, 0, 1); /* Remove transparência ao passar o mouse */
    transform: scale(1.1); /* Leve aumento ao passar o mouse */
}





@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 colunas para telas menores */
    }
}


/* Banner Mobile */
@media (max-width: 768px) {
	.desktop-menu {
        display: none;
    }
	header .cta-button {
        display: none; /* Oculta o botão no mobile */
    }
    .mobile-menu-icon {
        display: block;
    }
    .banner {
        background-image: url('images/banner-mobile-principal.jpg');
        height: 400px;
    }
    header .menu-toggle {
        display: flex;
    }
    header nav {
        display: none;
    }
    header.nav-active nav {
        display: flex;
    }
    header nav ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    header nav ul li {
        margin: 10px 0;
    }
	.features-over-banner .container {
        flex-direction: column;
        gap: 10px;
    }
    .feature {
        margin-bottom: 10px;
    }
    .features-over-banner {
        margin-top: 25px; /* Não sobrepõe no mobile */
    }
	.service-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Colunas responsivas */
    }
	.projects-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas no tablet */
    }
	.about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }
	.cta-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cta-bar span {
        text-align: center;
        font-size: 1.2em;
    }

    .cta-bar .cta-button {
        justify-content: center;
    }
	.footer-bottom p {
		display: block;    
	}
	.footer-bottom img.cava-logo {  
		clear: both;
		display: block;
		margin: 10px auto;
	}
	.instagram-section {
		padding: 10px 20px;
	}
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr; /* 1 coluna no celular */
    }
}
