/* ==========================================================================
   1. CONFIGURAÇÕES GERAIS (Cyber Industrial - Premium Dark Mode)
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Eczar', serif;
    margin: 0;
    padding: 0;
    background-color: #030a12; /* Azul noite metálico ultra escuro */
    color: #ffffff;
    font-size: 16px; /* Tamanho base ideal para leitura confortável */
    line-height: 1.6;
    
    /* Textura Sutil: Grid de Engenharia / Blueprint */
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.015) 1px, transparent 1px);
    background-size: 45px 45px;
}

main {
    padding: 4rem 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

h2 {
    font-size: 2.2rem; /* Tamanho equilibrado e imponente */
    color: #ffffff;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* ==========================================================================
   2. CABEÇALHO (Sticky Glassmorphism Premium)
   ========================================================================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(3, 10, 18, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem 4rem;
    border-bottom: 1px solid rgba(0, 229, 255, 0.15);
}

header .logo img {
    width: 13rem;
    height: auto;
}

header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    margin: 0 1.2rem;
}

header nav ul li a {
    color: #e0e6ed;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: #00E5FF; /* Azul Ciano Neon */
    border-bottom-color: #00E5FF;
}

/* ==========================================================================
   3. HERO BANNER / CARROSSEL INTERATIVO
   ========================================================================== */
.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 80vh;
    background-color: #000;
}

.slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25; /* Contraste para destacar os textos */
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 900px;
    z-index: 10;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin: 0 0 1.2rem 0;
    color: #ffffff;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.15rem;
    color: #e2e8f0;
    margin-bottom: 2.5rem;
}

.btn-orçamento-hero {
    display: inline-block;
    padding: 0.9rem 2.8rem;
    background-color: #14477A;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 0.25rem;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.15);
    transition: all 0.3s ease;
}

.btn-orçamento-hero:hover {
    background-color: #00E5FF;
    color: #030a12;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.4);
}

button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(20, 71, 122, 0.3);
    color: white;
    border: none;
    padding: 1.1rem 0.9rem;
    cursor: pointer;
    z-index: 100;
    font-size: 1.4rem;
    border-radius: 0.25rem;
    transition: background 0.3s;
}
button.prev:hover, button.next:hover { background-color: rgba(0, 229, 255, 0.6); }
button.prev { left: 2rem; }
button.next { right: 2rem; }

/* ==========================================================================
   4. SEÇÃO SOBRE NÓS
   ========================================================================== */
.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;
}

.about-content .img-container img {
    width: 24rem;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.about-text {
    flex: 1;
    font-size: 1.1rem;
    background-color: #071322;
    color: #f1f5f9;
    padding: 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 229, 255, 0.1);
}

/* ==========================================================================
   5. GRID DE CARDS (100% Largura e Efeito Zoom)
   ========================================================================== */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    margin-bottom: 2.5rem;
}

.produto-card {
    background-color: #071322;
    border-radius: 0.5rem;
    border: 1px solid rgba(20, 71, 122, 0.2);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.produto-card:hover {
    transform: translateY(-6px);
    border-color: #00E5FF;
    box-shadow: 0 15px 30px rgba(0, 229, 255, 0.15);
}

.produto-card .img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

.produto-card:hover .img-wrapper img {
    transform: scale(1.08);
}

.produto-card .descricao-box {
    padding: 1.2rem;
    text-align: center;
    background-color: #071322;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.produto-card .descricao-box p {
    font-size: 1.1rem;
    margin: 0;
    color: #ffffff;
    font-weight: bold;
    letter-spacing: -0.3px;
}

.btn-ver-mais, .btn-whatsapp-contato, .btn-submit-form {
    display: block;
    width: max-content;
    padding: 0.9rem 2.8rem;
    background-color: #14477A;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
    border-radius: 0.25rem;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.1);
    transition: all 0.3s ease;
}

.btn-ver-mais:hover, .btn-whatsapp-contato:hover, .btn-submit-form:hover {
    background-color: #00E5FF;
    color: #030a12;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.3);
}

/* ==========================================================================
   6. SECÇÃO DE CONTATO / SPLIT DESIGN
   ========================================================================== */
.grid-contato-split {
    display: flex;
    gap: 4rem;
    justify-content: space-between;
    align-items: flex-start;
}

.coluna-esquerda {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.coluna-esquerda iframe {
    width: 100%;
    height: 350px;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.btn-whatsapp-contato {
    width: 100%;
    text-align: center;
}

.coluna-esquerda .dados-texto {
    font-family: Arial, sans-serif;
    font-size: 1.05rem;
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.coluna-esquerda .dados-texto a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: color 0.3s;
}
.coluna-esquerda .dados-texto a:hover { color: #00E5FF; }

.formulario-box {
    flex: 1.3;
    width: 100%;
    background-color: #071322;
    padding: 3rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 229, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.formulario-box h3 {
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 229, 255, 0.15);
    padding-bottom: 0.7rem;
}

.form-flex-row {
    display: flex;
    gap: 1.5rem;
    width: 100%;
}
.form-flex-row .form-group { flex: 1; }

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}
.form-group label {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    background-color: rgba(255, 255, 255, 0.02);
    border: none;
    border-bottom: 2px solid #1e293b;
    border-radius: 0.2rem;
    font-size: 1.05rem;
    color: #ffffff;
    box-sizing: border-box;
    transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom-color: #00E5FF;
}

.form-group textarea { height: 140px; resize: none; }
.btn-submit-form { float: right; border: none; cursor: pointer; }

/* ==========================================================================
   7. RODAPÉ EXCLUSIVO E PADRONIZADO
   ========================================================================== */
footer {
    background-color: #02070d;
    padding: 3rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 229, 255, 0.15);
    margin-top: 5rem;
}

footer .logo img {
    width: 14.5rem;
    height: auto;
}

footer .contato-footer-dados {
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    text-align: right;
}
footer .contato-footer-dados p { margin: 0.6rem 0; }
footer .contato-footer-dados a {
    color: #cbd5e1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    transition: color 0.3s;
}
footer .contato-footer-dados a:hover { color: #00E5FF; }

/* ==========================================================================
   8. RESPONSIVIDADE ADAPTATIVA CONTROLADA
   ========================================================================== */
@media (max-width: 1024px) {
    .produtos-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-contato-split, .about-content { flex-direction: column; gap: 3rem; }
    .coluna-esquerda, .formulario-box, .about-text { width: 100%; }
    .about-content .img-container img { width: 100%; max-width: 400px; display: block; margin: 0 auto; }
    header { padding: 1rem 2rem; }
    footer { flex-direction: column; gap: 2rem; text-align: center; padding: 2.5rem 2rem; }
    footer .contato-footer-dados { text-align: center; }
}

@media (max-width: 600px) {
    .produtos-grid { grid-template-columns: 1fr; }
    .form-flex-row { flex-direction: column; }
    
    /* CORREÇÃO CRÍTICA DA NAVBAR MOBILE */
    header {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.8rem 1rem;
        align-items: center;
    }
    
    header .logo img {
        width: 9.5rem; /* Reduz tamanho do logo para não ocupar muito espaço vertical */
    }
    
    header nav {
        width: 100%;
        overflow-x: auto; /* Permite rolagem horizontal suave se faltar espaço */
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.3rem;
    }
    
    header nav ul {
        flex-direction: row; /* Mantém os itens lado a lado em uma linha */
        justify-content: flex-start;
        align-items: center;
        gap: 1.2rem;
        width: max-content; /* Garante que os links não quebrem linha */
        padding: 0 0.5rem;
        margin: 0 auto;
    }
    
    header nav ul li {
        margin: 0;
        white-space: nowrap; /* Evita que palavras como "Entre em Contato" se quebrem */
    }
    
    header nav ul li a {
        font-size: 0.95rem; /* Fonte ligeiramente menor e mais delicada no celular */
        padding-bottom: 0.2rem;
    }
    
    /* Ajustes extras de espaçamento geral para mobile */
    main {
        padding: 2rem 1rem;
    }
    h2 { 
        font-size: 1.6rem; 
        margin-bottom: 1.8rem;
    }
    .hero-content h1 { font-size: 1.8rem; }
    .btn-submit-form { width: 100%; float: none; }
}