/* =========================================
   Variáveis de Cores
========================================= */
:root {
    --azul-escuro: #002366; 
    --azul-claro: #0044cc;
    --laranja: #ff6600; 
    --laranja-hover: #e65c00;
    --texto-escuro: #333333;
    --fundo-claro: #f4f4f9;
    --branco: #ffffff;
}

/* =========================================
   Reset Básico
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--fundo-claro);
    color: var(--texto-escuro);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* =========================================
   Cabeçalho e Menu
========================================= */
header {
    background-color: var(--azul-escuro);
    color: var(--branco);
    padding: 10px 5%; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 90px; 
    width: auto;
    filter: brightness(0) invert(1); 
    transition: transform 0.3s ease;
    display: block;
}

.logo-img:hover {
    transform: scale(1.05); 
}

.menu-navegacao {
    display: flex;
    gap: 30px;
    margin-left: auto;  
    margin-right: 40px; 
}

.menu-navegacao a {
    color: var(--branco);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.menu-navegacao a:hover {
    color: var(--laranja);
}

.header-botoes {
    display: flex;
    align-items: center;
    gap: 15px; 
}

.redes-sociais-header {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-whatsapp {
    background-color: var(--laranja);
    color: var(--branco);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    display: inline-block;
    transition: background 0.3s;
}

.btn-whatsapp:hover {
    background-color: var(--laranja-hover);
}

.btn-social {
    color: var(--branco); 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s, transform 0.3s;
}

.btn-instagram:hover {
    color: #E1306C; 
    transform: scale(1.1);
}

.btn-linkedin:hover {
    color: #0077b5; 
    transform: scale(1.1);
}

/* =========================================
   Seção Principal (Hero)
========================================= */
.hero {
    color: var(--branco);
    text-align: center;
    padding: 150px 5%;
    background-image: linear-gradient(rgba(0, 35, 102, 0.8), rgba(0, 35, 102, 0.8)), url('imagens/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* =========================================
   Seções Gerais
========================================= */
.secao {
    padding: 80px 5%;
    scroll-margin-top: 120px;
}

.titulo-secao {
    font-size: 2.2rem;
    color: var(--azul-escuro);
    margin-bottom: 40px;
    text-align: center;
    position: relative; 
    padding-bottom: 15px; 
}

.titulo-secao::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); 
    width: 80px;
    height: 4px;
    background-color: var(--laranja);
    border-radius: 2px;
}

/* =========================================
   Sobre Nós (Design Premium)
========================================= */
.sobre-flex {
    display: flex;
    gap: 70px; 
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.sobre-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 8px; 
    border: 4px solid var(--branco); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1), 15px 15px 0 var(--laranja);
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sobre-img:hover {
    transform: scale(1.05) translateY(-5px); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.15), 15px 15px 0 var(--laranja); 
}

.sobre-texto {
    font-size: 1.1rem;
    flex: 1; 
}

.sobre-texto h3.titulo-secao {
    margin-bottom: 20px;
    text-align: left;
}

.sobre-texto h3.titulo-secao::after {
    left: 0;
    transform: translateX(0); 
}

.sobre-texto p {
    color: #555555; 
    line-height: 1.8; 
    margin-bottom: 15px;
}

/* =========================================
   Identidade (Missão, Foco, Valores)
========================================= */
.identidade-container {
    max-width: 1100px;
    margin: 0 auto;
}

.missao-foco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.id-card {
    background-color: var(--branco);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-top: 4px solid var(--laranja);
    transition: transform 0.3s;
}

.id-card:hover {
    transform: translateY(-5px);
}

.id-icone {
    margin-bottom: 15px;
}

.id-card h4 {
    color: var(--azul-escuro);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.id-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.valores-section {
    background-color: var(--azul-escuro);
    padding: 35px 30px; 
    border-radius: 12px;
    color: var(--branco);
    box-shadow: 0 10px 30px rgba(0, 35, 102, 0.2);
}

.titulo-valores {
    text-align: center;
    font-size: 1.6rem; 
    margin-bottom: 25px; 
    color: var(--laranja);
    font-weight: 800;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap: 15px; 
    align-items: stretch; 
}

.valor-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px 20px; 
    border-radius: 8px;
    border-left: 3px solid var(--laranja); 
    transition: background 0.3s;
}

.valor-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.valor-card h5 {
    font-size: 1rem; 
    margin-bottom: 5px; 
    color: var(--branco);
}

.valor-card p {
    font-size: 0.85rem; 
    line-height: 1.4; 
    color: #d1d5e0;
}

/* =========================================
   Serviços (Especialidades) Premium
========================================= */
.grid-servicos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    align-items: stretch; 
}

.card-servico {
    background-color: var(--branco);
    padding: 50px 30px 40px; 
    border-radius: 16px; 
    text-align: center;
    border: none; 
    border-bottom: 6px solid var(--laranja); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    display: flex;
    flex-direction: column;
}

.card-servico:hover {
    transform: translateY(-12px); 
    box-shadow: 0 20px 40px rgba(0, 35, 102, 0.12); 
    border-bottom-color: var(--azul-escuro); 
}

.service-icon {
    width: 100px;
    height: 100px;
    object-fit: contain; 
    margin: 0 auto 25px;
    background-color: #f4f7fc; 
    padding: 15px; 
    border-radius: 50%; 
    transition: all 0.4s ease;
}

.card-servico:hover .service-icon {
    transform: scale(1.15) rotate(5deg); 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background-color: var(--branco); 
}

.card-servico h4 {
    margin-bottom: 15px;
    color: var(--azul-escuro);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px; 
}

.card-servico p {
    color: #666666; 
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1; 
}

/* =========================================
   Carrossel de Imagens (Swiper)
========================================= */
.swiper {
    width: 100%;
    max-width: 1100px;
    padding: 20px 0 50px 0 !important; 
}

.swiper-slide img {
    width: 100%;
    height: 280px; 
    object-fit: cover; 
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.4s ease; 
}

.swiper-slide img:hover {
    transform: scale(1.05);
}

.swiper-button-next, .swiper-button-prev {
    color: var(--laranja) !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--laranja) !important;
}

/* =========================================
   Banner de Download do Catálogo Premium
========================================= */
.banner-catalogo-premium {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-claro) 100%);
    border-radius: 16px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 35, 102, 0.2);
    max-width: 1000px;
    margin: 0 auto;
    color: var(--branco);
    position: relative;
    overflow: hidden;
    border-bottom: 6px solid var(--laranja);
}

.banner-catalogo-premium::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.catalogo-texto {
    max-width: 600px;
    z-index: 1; 
}

.catalogo-texto h3 {
    font-size: 2.2rem;
    color: var(--branco);
    margin-bottom: 15px;
    font-weight: 800;
}

.catalogo-texto p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #e0e5ff;
    line-height: 1.6;
}

.btn-download-premium {
    background-color: var(--laranja);
    color: var(--branco);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.btn-download-premium:hover {
    background-color: var(--laranja-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
}

.catalogo-icone-decorativo {
    z-index: 1;
    margin-right: 30px;
}

/* =========================================
   Clientes / Parceiros
========================================= */
.clientes-grid {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.clientes-grid a {
    text-decoration: none;
    display: inline-block;
}

.cliente-logo {
    max-width: 150px; 
    height: auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.cliente-logo:hover {
    transform: scale(1.75) translateY(-20px); 
    filter: drop-shadow(0 15px 15px rgba(0, 35, 102, 0.3)); 
}

/* =========================================
   Contato e Selo
========================================= */
.contato-flex {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.contato-container {
    width: 100%;
    background-color: var(--branco);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contato-direto {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contato-direto h4 {
    color: var(--azul-escuro);
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.contato-direto > p {
    margin-bottom: 25px;
    color: #555;
    font-size: 1.05rem;
}

.contato-info {
    background-color: var(--fundo-claro);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--laranja);
}

.contato-info p {
    margin-bottom: 12px;
    color: var(--texto-escuro);
    font-size: 1.1rem;
}

.contato-info p:last-child {
    margin-bottom: 0;
}

.btn-whatsapp-grande {
    background-color: #25D366; 
    color: var(--branco);
    padding: 18px 20px;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-grande:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.selo-forca-local {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
}

.selo-forca-local img {
    width: 100px;
    height: auto;
}

.selo-texto h5 {
    color: var(--azul-escuro);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 3px;
}

.selo-texto p {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0;
}

/* =========================================
   Rodapé
========================================= */
footer {
    background-color: var(--texto-escuro);
    color: var(--branco);
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
}

/* =========================================
   Botão Flutuante do WhatsApp
========================================= */
.whatsapp-flutuante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-flutuante:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =========================================
   Pop-up de Privacidade
========================================= */
.popup-privacidade {
    position: fixed;
    bottom: 30px;
    left: 30px;
    max-width: 450px;
    background-color: var(--branco);
    border-left: 5px solid var(--laranja);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 35, 102, 0.15);
    padding: 20px;
    z-index: 10000; 
    transform: translateY(150%); 
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.popup-privacidade.mostrar {
    transform: translateY(0); 
}

.popup-conteudo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.popup-conteudo p {
    font-size: 0.9rem;
    color: var(--texto-escuro);
    margin: 0;
    line-height: 1.5;
    flex: 1; 
}

.icone-escudo {
    flex-shrink: 0; 
}

.btn-entendido {
    background-color: var(--azul-escuro);
    color: var(--branco);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-entendido:hover {
    background-color: var(--laranja);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.3);
}

/* =========================================
   Modal de Imagem Expandida (Galeria)
========================================= */
.sobre-img, .swiper-slide img {
    cursor: zoom-in;
}

.modal-expandir {
    display: none; 
    position: fixed;
    z-index: 10005; 
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 35, 102, 0.9); 
    backdrop-filter: blur(5px); 
}

.modal-conteudo {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh; 
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: zoomModal 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

@keyframes zoomModal {
    from {transform: scale(0.7); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.fechar-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--branco);
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.fechar-modal:hover,
.fechar-modal:focus {
    color: var(--laranja);
    text-decoration: none;
}

.seta-modal {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -25px;
    color: var(--branco);
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s ease;
    user-select: none;
    z-index: 10006;
}

.seta-esquerda {
    left: 20px;
    border-radius: 3px;
}

.seta-direita {
    right: 20px;
    border-radius: 3px;
}

.seta-modal:hover {
    color: var(--laranja);
    background-color: rgba(0, 0, 0, 0.6);
}

/* =========================================
   Responsividade para Celulares e Tablets
========================================= */
@media (max-width: 992px) {
    .valores-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 5%; 
    }
    
    .menu-navegacao {
        display: none; 
    }

    .hero {
        padding: 100px 5% 80px;
    }

    .hero h2 {
        font-size: 1.8rem; 
    }
    
    .hero p {
        font-size: 1.1rem;
    }

    .titulo-secao {
        font-size: 1.8rem;
    }

    .sobre-flex, .contato-flex {
        flex-direction: column;
    }
    
    .mapa-container {
        min-height: 300px;
    }
    
    .clientes-grid {
        gap: 30px; 
    }
    
    .cliente-logo {
        max-width: 120px; 
    }

    .clientes-grid a:nth-child(n+8) {
        display: none;
    }
    
    .valores-section {
        padding: 25px 20px;
    }
    
    .valores-grid {
        grid-template-columns: 1fr; 
    }
    
    .banner-catalogo-premium {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    
    .catalogo-icone-decorativo {
        display: none; 
    }
    
    .whatsapp-flutuante {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-flutuante svg {
        width: 26px;
        height: 26px;
    }

    .popup-privacidade {
        bottom: 20px;
        left: 20px;
        right: 20px; 
        max-width: none;
    }
    
    .popup-conteudo {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-entendido {
        width: 100%; 
    }

    /* Ajustes do modal para celular */
    .fechar-modal {
        top: 10px;
        right: 20px;
        font-size: 40px;
    }
    .seta-modal {
        font-size: 30px;
        padding: 10px;
    }
    .seta-esquerda { left: 5px; }
    .seta-direita { right: 5px; }
}