/* ==========================================================================
   1. CONFIGURAÇÕES PADRÃO (GLOBAL & RESETS)
   ========================================================================== */

:root {
    --bg-color: #f4f4f4;
    --exon-blue: #002B49;
    --exon-orange: #F5821F;
    --text-dark: #333;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --exon-orange-vibrant: #FF8C00;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background-color: var(--bg-color);
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    padding-top: 90px; 
}

h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 50px;
}

a {
    text-decoration: none;
}

/* Padronização solicitada: Cor cinza em todos os elementos P */
p {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #666; /* Cinza padrão aplicado */
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Divisores Técnicos */
hr.divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
    margin: 0;
}

/* ==========================================================================
   2. DESKTOP (ESTRUTURAS PRINCIPAIS)
   ========================================================================== */

/* --- HEADER --- */
#main-header {
    background-color: var(--bg-color);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

#main-header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    width: 100%;
}

.logo { height: 55px; width: auto; flex-shrink: 0; }

#nav-menu { display: flex; align-items: center; flex-grow: 1; }
#nav-menu ul { display: flex; list-style: none; gap: 35px; margin: 0 auto; }
#nav-menu ul li a {
    text-decoration: none;
    color: var(--exon-blue);
    font-weight: 400;
    position: relative;
    padding: 10px 0;
    white-space: nowrap;
}

#nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--exon-orange);
    transition: height 0.3s ease;
}

#nav-menu ul li a:hover::after { height: 5px; }

.social-icons-mobile { display: flex; gap: 20px; flex-shrink: 0;}
.social-icons-mobile a { color: var(--exon-blue); font-size: 1.6rem; transition: color 0.3s ease; }
.social-icons-mobile a:hover { color: var(--exon-orange); }

.menu-toggle, .menu-close { display: none; }

/* --- HERO SECTION --- */
.hero-accordion {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    max-width: 1280px;
    margin: 20px auto;
    gap: 20px;
    height: 500px;
}

.intro-text { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.intro-text h1 { font-size: 3.5rem; line-height: 1.1; color: var(--exon-blue); }
.intro-text .highlight { color: var(--exon-orange); }

.accordion-wrapper { display: flex; flex: 0 0 55%; height: 100%; gap: 15px; }

.card {
    flex: 1;
    height: 100%;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: flex 0.5s ease;
    overflow: hidden;
    min-width: 80px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.card.active { flex: 3; }

.vertical-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 43, 73, 0.9) 0%, rgba(0, 43, 73, 0.5) 50%, transparent 100%);
    z-index: 10;
    display: flex;
    justify-content: center;
    transition: all 0.4s ease-in-out;
}

.vertical-text::before {
    content: attr(data-text);
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 11; 
}

.card.active .vertical-text { opacity: 0; transform: translateY(20px); pointer-events: none; }

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    color: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.3s ease;
    z-index: 3;
}

.card.active .card-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 0.5s ease-out;
    transition-delay: 0.4s; 
}

.card-content h3 { font-size: 1.8rem; margin: 0; color: white; font-weight: 700; }
.card-content p { font-size: 0.95rem; color: #ffffff; line-height: 1.4; margin-bottom: 8px; opacity: 0.9; max-width: 90%; }

/* --- SEÇÕES GLOBAIS --- */
.section-white { background-color: #FFFFFF; padding: 120px 0; width: 100%; display: block; clear: both;}
.section-gray { background-color: #F5F6F7; padding: 120px 0; width: 100%; display: block; clear: both;}
.section-dark { background-color: var(--exon-blue); color: white; padding: 120px 0; width: 100%; display: block; clear: both;}
.section-blue-medium { background-color: #004B8D; color: white; padding: 120px 0; width: 100%; display: block; clear: both;}

section h2 { color: var(--exon-blue); margin-bottom: 30px; position: relative; padding-left: 25px;}
.section-dark h2, .section-blue-medium h2 { color: white; }
section h3 { color: var(--exon-orange); margin-top: 25px; margin-bottom: 15px; }

section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    width: 6px;
    height: 80%;
    background-color: var(--exon-orange);
    border-radius: 2px;
}

/* --- EMPRESA & GRIDS --- */
.empresa-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.empresa-texto h3 {
    font-size: 1.4rem;
    color: var(--exon-blue);
    margin-top: 30px;
}

.empresa-imagem-container {
    position: relative;
    padding-right: 20px;
    padding-top: 20px;
}

.foto-moldura {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.foto-moldura img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.foto-moldura:hover img { transform: scale(1.05); }

.decor-box {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: var(--exon-orange);
    border-radius: 20px;
    z-index: 1;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.diferencial-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.diferencial-item:hover {
    border-left: 1px solid var(--exon-orange);
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(5px);
}

.diferencial-item i {
    font-size: 2rem;
    color: var(--exon-orange);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.diferencial-item:hover i { transform: scale(1.1); }

.diferencial-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0;
}

/* --- SERVIÇOS E PRODUTOS --- */
.intro-section {
    max-width: 900px;
    margin-bottom: 60px;
    color: #666;
}

.servico-card {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 15px;
    position: relative;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--exon-orange);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(245, 130, 31, 0.15);
}

.servico-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(245, 130, 31, 0.1);
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
    transition: color 0.3s ease;
}

.servico-card:hover .servico-number { color: rgba(245, 130, 31, 0.2); }

.produto-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-top: 5px solid var(--exon-blue);
}

.produto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.produto-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 43, 73, 0.04);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--exon-blue);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.produto-card:hover .produto-icon {
    background-color: var(--exon-blue);
    color: #ffffff;
}

/* --- SEGMENTOS E PROJETOS --- */
.segmentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.segmento-card {
    background-color: var(--exon-blue);
    color: white;
    padding: 40px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.segmento-card i {
    font-size: 2.2rem;
    color: var(--exon-orange);
    transition: transform 0.3s ease;
}

.segmento-card span {
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.segmento-card:hover {
    transform: translateY(-5px);
    background-color: #003a63;
    box-shadow: 0 12px 30px rgba(0, 43, 73, 0.3);
}

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.projeto-card {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.projeto-img-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.projeto-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.projeto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 43, 73, 0.9) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.projeto-info h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.projeto-info span {
    color: var(--exon-orange);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.projeto-card:hover .projeto-img-wrapper img { transform: scale(1.1); }
.projeto-card:hover .projeto-overlay { opacity: 1; }
.projeto-card:hover .projeto-info h4, .projeto-card:hover .projeto-info span { transform: translateY(0); }


/* Seção CTA com Overlay Industrial */
.cta-industrial-bg {
    padding: 100px 0;
    /* Substitua pelo caminho correto da sua imagem */
    background: linear-gradient(rgba(0, 33, 71, 0.65), rgba(0, 33, 71, 0.65)), 
                url('imagens/industria.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Efeito Parallax Premium */
    color: #ffffff;
}

.cta-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* Título e Barra Laranja */
.cta-text-side {
    flex: 1;
}

.title-with-bar {
    display: flex;
    align-items: stretch; /* Garante que a barra acompanhe a altura do texto */
    gap: 25px;
    margin-bottom: 15px;
}

.cta-text-side h2,.cta-text-side p {
   color: #ffffff;
}

/* Botão Estilo "Form-Clean" (Sem sublinhado e sólido) */
.cta-button-side {
    flex-shrink: 0;
}

.btn-industrial-solid {
    background-color: #ff8c00;
    color: #ffffff !important;
    padding: 20px 45px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important; /* Remove qualquer sublinhado */
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    text-align: center;
}

.btn-industrial-solid:hover {
    background-color: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Responsividade para manter a proporção no Electron/Mobile */
@media (max-width: 992px) {
    .cta-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .cta-text-side h2 {
        font-size: 2rem;
    }
    
    .btn-industrial-solid {
        width: 100%; /* No mobile ele ocupa a largura toda como o form */
    }
}


/* --- FAQ REFINADO --- */
.faq-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.faq-accordion-tradicional {
    width: 100%;
    margin-top: 20px;
    text-align: left;
}

.faq-item-clean {
    border-bottom: 1px solid #eeeeee;
    transition: background 0.3s ease;
    width: 100%;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    cursor: pointer;
}

.faq-header h3 {
    font-size: 1.25rem;
    color: var(--exon-blue);
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
}

.faq-header i {
    color: var(--exon-blue);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-body p {
    padding-bottom: 30px;
    color: #666;
    line-height: 1.8;
    margin: 0;
    max-width: 1200px;
}

.faq-item-clean.active .faq-body { max-height: 500px; }
.faq-item-clean.active .faq-header i { transform: rotate(45deg); color: var(--exon-orange); }
.faq-item-clean.active .faq-header h3 { color: var(--exon-orange); }
.faq-item-clean:hover { background-color: rgba(0, 43, 73, 0.01); }

/* --- FORMULÁRIO E CONTATO PREMIUM --- */
.contato-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contato-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.canal-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.canal-item i {
    font-size: 1.5rem;
    color: var(--exon-orange);
    width: 40px;
}

.canal-item span {
    display: block;
    color: var(--exon-orange);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.canal-item a, .canal-item p {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.contato-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-group { margin-bottom: 20px; }
.input-row { display: flex; gap: 15px; }
.input-row .input-group { flex: 1; }

.form-clean input, .form-clean textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-clean input:focus, .form-clean textarea:focus {
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(245, 130, 31, 0.3);
}

.form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
    font-size: 0.9rem;
    text-align: center;
}

.form-status.success {
    background-color: rgba(0, 255, 127, 0.1);
    color: #00ff7f;
    border: 1px solid #00ff7f;
}

.form-status.error {
    background-color: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--exon-orange);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-whatsapp {
    background-color: var(--exon-orange-vibrant);
    box-shadow: 0 4px 15px rgba(245, 130, 31, 0.3);
}

/* --- FOOTER BASE (Desktop) --- */
#main-footer {
    background-color: #001a2e; /* Ajuste para o seu azul escuro */
    padding: 20px 0;
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between; /* Um para cada lado no PC */
    align-items: center;
    color: #ffffff;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

/* --- VERSÃO MOBILE --- */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column; /* Empilha um em cima do outro */
        gap: 10px;              /* Dá um espacinho entre as duas linhas */
        text-align: center;      /* Centraliza o texto */
    }
    
    /* Garante que o parágrafo ocupe a largura total para centralizar bem */
    .footer-bottom p {
        margin: 0;
        width: 100%;
    }
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    text-decoration: none;
    color: #ffffff;
    margin-top: 10px;
    
}


/* ==========================================================================
   3. MOBILE (RESPONSIVIDADE UNIFICADA)
   ========================================================================== */

.mobile-only { display: none !important; }

@media (max-width: 992px) {
    body { padding-top: 70px; }
    .header-wrapper { height: 70px; }
    .desktop-only { display: none !important; }
    .mobile-only { display: flex !important; }

    /* Menu Mobile */
    .menu-toggle { display: block; background: none; border: none; font-size: 1.8rem; color: var(--exon-blue); }
    #nav-menu { 
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 100% !important; 
        height: 100vh; 
        background: #ffffff; 
        z-index: 2000; 
        flex-direction: column; 
        padding: 30px 20px; 
        transition: right 0.4s ease; 
    }
    #nav-menu.active { right: 0; }
    .menu-close { 
        display: block; 
        align-self: flex-end; 
        margin-bottom: 30px; 
        background: var(--exon-blue); 
        color: #fff; 
        border: none; 
        padding: 10px; 
        border-radius: 5px; 
    }
    #nav-menu ul { flex-direction: column; width: 100%; margin: 0; align-items: flex-start; }
    #nav-menu ul li { width: 100%; border-bottom: 1px solid #eee; }
    #nav-menu ul li a { padding: 15px 0; display: block; width: 100%; }

    /* Banner Mobile */
    .hero-accordion {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        height: auto !important;
        padding: 20px 0 40px !important;
        margin: 0 !important;
    }

    .intro-text { padding: 0 20px; text-align: center; width: 100%; }
    .intro-text h1 { font-size: 2.5rem; }

    .mobile-banner-static {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 0 15px !important;
        gap: 20px !important;
    }

    .static-card {
        display: flex !important;
        width: 100% !important; 
        height: 220px !important;
        background-size: cover;
        background-position: center;
        border-radius: 20px;
        position: relative;
        align-items: flex-end;
        justify-content: center;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .static-card span {
        position: relative !important;
        display: block;
        width: 90% !important;
        background-color: var(--exon-blue) !important;
        color: white !important;
        text-align: center;
        padding: 12px 0;
        border-radius: 10px;
        font-weight: 700;
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }

    /* Grids Mobile */
    .empresa-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .empresa-imagem-container {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .contato-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .social-icons-mobile {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .route-options { flex-direction: column; }
}