/* ==========================================================================
   1. RESET E CONFIGURAÇÕES BASE
   ========================================================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Montserrat', sans-serif; 
}

html, body { 
    scroll-behavior: smooth; 
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body { 
    background: #fdfdfd; 
    color: #333; 
    line-height: 1.6; 
    padding-top: 85px; 
}

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

/* ==========================================================================
   2. HEADER E COMPONENTES DE NAVEGAÇÃO
   ========================================================================== */
header { 
    background: #fff; 
    height: 85px; 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.1); 
}

.navbar-central { 
    height: 100%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
    position: relative;
}

.logo-container { 
    display: flex;
    align-items: flex-start; 
    position: relative;
    z-index: 1005;
    height: 85px; 
    padding-top: 10px; 
}

.main-logo { 
    height: 85px; 
    width: auto; 
    display: block; 
    object-fit: contain;
    background: #ffffff; 
    padding: 5px;
    border-radius: 0 0 8px 8px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    transition: all 0.3s ease;
}

.menu-hamburger { 
    cursor: pointer; 
    display: block; 
    position: relative; 
    z-index: 1002; 
}

.menu-hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.bar { 
    width: 30px; 
    height: 3px; 
    background: #001f3f; 
    margin: 5px 0; 
    transition: 0.4s; 
}

.nav-menu { 
    position: fixed; 
    top: 0; 
    right: -100%; 
    width: 100%; 
    height: 100vh; 
    background: rgba(0, 31, 63, 0.98); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: 0.5s; 
    z-index: 1001; 
}

.nav-menu.active { 
    right: 0; 
}

.nav-menu ul { 
    list-style: none; 
    text-align: center; 
}

.nav-menu li { 
    margin: 20px 0; 
}

.nav-menu a { 
    color: #fff; 
    text-decoration: none; 
    font-size: 1.3rem; 
    font-weight: 700; 
    text-transform: uppercase; 
}

.highlight-link { 
    border: 2px solid #8b1a1a; 
    padding: 10px 20px; 
    border-radius: 5px; 
    color: #fff !important;
    background: #8b1a1a;
}

/* ==========================================================================
   3. SEÇÃO HERO (SLIDER FIXADO)
   ========================================================================== */
.hero { 
    height: calc(85vh - 85px); 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #fff; 
    text-align: center; 
    padding: 0 20px; 
    overflow: hidden; 
    width: 100%;
}

.hero-slider { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: -1; 
}

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

.slide.active { 
    opacity: 1; 
}

.hero-content { 
    max-width: 800px; 
    margin: 0 auto; 
    width: 100%; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    z-index: 2;
}

.hero-content h1 { 
    font-size: 1.8rem; 
    font-weight: 800; 
    margin-bottom: 20px; 
    line-height: 1.3; 
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7); 
    width: 100%; 
    text-transform: uppercase; 
}

.hero-content p { 
    font-size: 1.1rem; 
    margin-bottom: 30px; 
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7); 
    font-weight: 400; 
}

.highlight { 
    color: #e53e3e; 
}

.btn-primary { 
    background: #8b1a1a; 
    color: #fff; 
    padding: 16px 32px; 
    text-decoration: none; 
    border-radius: 5px; 
    font-weight: 800; 
    display: inline-block; 
    transition: 0.3s; 
    text-transform: uppercase; 
    box-shadow: 0 4px 15px rgba(139, 26, 26, 0.4); 
    text-align: center; 
    border: none; 
    cursor: pointer; 
}

.btn-primary:hover { 
    background: #6b1414; 
    transform: scale(1.05); 
    box-shadow: 0 6px 20px rgba(139, 26, 26, 0.6); 
}

/* ==========================================================================
   4. SEÇÕES CONTEÚDO (SOBRE E RESPONSÁVEL)
   ========================================================================== */
.section-title { 
    font-size: 2rem; 
    color: #001f3f; 
    text-align: center; 
    margin-bottom: 15px; 
    text-transform: uppercase; 
    font-weight: 800; 
}

.section-subtitle { 
    text-align: center; 
    margin-bottom: 40px; 
    color: #666; 
    font-size: 1.1rem; 
    max-width: 700px; 
    margin-left: auto; 
    margin-right: auto; 
}

.about-section { 
    padding: 80px 0; 
}

.about-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 40px; 
    align-items: center; 
}

.about-image img { 
    width: 100%; 
    border-radius: 10px; 
    box-shadow: 15px 15px 0 #8b1a1a; 
}

.tech-leader-section { 
    padding: 80px 0; 
    background: #ffffff; 
    text-align: center; 
    border-top: 1px solid #edf2f7; 
}

.tech-leader-card { 
    max-width: 750px; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.tech-avatar-wrapper { 
    width: 200px; 
    height: 200px; 
    border-radius: 50%; 
    border: 6px solid #8b1a1a; 
    overflow: hidden; 
    box-shadow: 0 10px 25px rgba(139, 26, 26, 0.15); 
    margin-bottom: 25px; 
}

.tech-avatar { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: center; 
}

.tech-info h3 { 
    font-size: 1.8rem; 
    color: #001f3f; 
    font-weight: 800; 
    margin-bottom: 5px; 
    text-transform: uppercase; 
}

.tech-role { 
    font-size: 1.05rem; 
    color: #8b1a1a; 
    font-weight: 700; 
    text-transform: uppercase; 
    margin-bottom: 20px; 
    letter-spacing: 1px; 
}

.tech-text { 
    font-size: 1.1rem; 
    color: #4a5568; 
    line-height: 1.8; 
    max-width: 650px; 
    margin: 0 auto; 
}

/* ==========================================================================
   5. MÉTRICAS E SERVIÇOS
   ========================================================================== */
.stats-section { 
    background: #001f3f; 
    color: #fff; 
    padding: 60px 0; 
    text-align: center; 
}

.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; 
}

.stat-number { 
    font-size: 2.5rem; 
    font-weight: 800; 
    color: #e53e3e; 
}

.services-section { 
    padding: 90px 0; 
    background: #fff;
}

.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}

.service-card { 
    padding: 45px 35px; 
    background: #fff; 
    border-radius: 14px; 
    text-align: center; 
    box-shadow: 0 10px 35px rgba(0,0,0,0.03); 
    border-top: 5px solid #8b1a1a; 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-icon-box {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: rgba(139, 26, 26, 0.05);
    color: #8b1a1a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card h3 {
    font-size: 1.35rem;
    color: #001f3f;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-main-text {
    font-size: 0.98rem;
    color: #4a5568;
    line-height: 1.7;
}

.service-list {
    list-style: none;
    text-align: left;
    margin-top: 15px;
    width: 100%;
    max-width: 230px;
}

.service-list li {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list li i {
    color: #e53e3e;
    font-size: 14px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(139, 26, 26, 0.08);
}

.service-card:hover .service-icon-box {
    background: #8b1a1a;
    color: #fff;
    transform: scale(1.1);
}

/* Diferenciais Competitivos */
.features-section {
    padding: 90px 0;
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.feature-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.feature-card i {
    font-size: 36px;
    color: #e53e3e;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.15rem;
    color: #001f3f;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.feature-card p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.6;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 26, 26, 0.2);
    box-shadow: 0 15px 30px rgba(139, 26, 26, 0.05);
}

/* Como Trabalhamos */
.process-section {
    padding: 90px 0;
    background: #fff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #001f3f;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
    border: 4px solid rgba(139, 26, 26, 0.1);
    transition: 0.3s;
}

.process-step h4 {
    font-size: 1.2rem;
    color: #001f3f;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.process-step p {
    font-size: 0.92rem;
    color: #4a5568;
    line-height: 1.6;
}

.process-step:hover .step-number {
    background: #8b1a1a;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(139, 26, 26, 0.4);
}

/* Áreas de Atendimento */
.locations-section {
    padding: 80px 0;
    background: #001f3f;
    color: #fff;
    text-align: center;
}

.locations-section .section-title { color: #fff; }
.locations-section .section-subtitle { color: #cbd5e1; }

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.location-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.location-item i { color: #e53e3e; font-size: 20px; }
.location-item span { font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

.location-item:hover {
    background: rgba(139, 26, 26, 0.2);
    border-color: #8b1a1a;
}

/* Preservação Ambiental */
.eco-commitment-section {
    padding: 80px 0;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.eco-wrapper {
    max-width: 900px;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border-left: 6px solid #16a34a; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
}

.eco-icon-box { font-size: 45px; color: #16a34a; }
.eco-text-box h3 { font-size: 1.4rem; color: #001f3f; font-weight: 800; margin-bottom: 15px; text-transform: uppercase; }
.eco-text-box p { font-size: 0.98rem; color: #4a5568; line-height: 1.7; }

/* ==========================================================================
   6. CTA HIGHLIGHT, DEPOIMENTOS E REDES SOCIAIS
   ========================================================================== */
.cta-highlight-section { 
    background: #001f3f; 
    color: #fff; 
    padding: 70px 20px; 
    text-align: center; 
    position: relative; 
    overflow: hidden; 
    width: 100%;
}

.cta-highlight-section h2 { 
    font-size: 1.8rem; 
    font-weight: 800; 
    margin-bottom: 15px; 
    text-transform: uppercase; 
}

.testimonials-section { 
    padding: 80px 0; 
    background: #f9fafb; 
    text-align: center; 
    overflow: hidden; 
    width: 100%;
}

.testimonials-wrapper { 
    position: relative; 
    max-width: 850px; 
    margin: 0 auto; 
    display: flex; 
    align-items: center; 
    padding: 0 45px; 
}

.testimonials-container { 
    overflow: hidden; 
    width: 100%; 
}

.testimonials-track { 
    display: flex; 
    transition: transform 0.5s ease-in-out;
}

.testimonial-card { 
    min-width: 100%; 
    padding: 45px 35px; 
    background: #fff; 
    border-radius: 12px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.04); 
    border: 1px solid #edf2f7; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.testimonial-card .avatar { 
    width: 70px; 
    height: 70px; 
    background: #8b1a1a; 
    color: #fff; 
    font-size: 1.5rem; 
    font-weight: 800; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 20px; 
}

.control-btn { 
    background: #001f3f; 
    color: #fff; 
    border: none; 
    width: 44px; 
    height: 44px; 
    cursor: pointer; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: absolute; 
    z-index: 10; 
}

.control-btn.prev { left: -5px; }
.control-btn.next { right: -5px; }

.social-feed-section { 
    padding: 90px 0; 
    background: #fcfdfd; 
    border-top: 1px solid #edf2f7; 
}

.social-cards-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 30px; 
    max-width: 950px; 
    margin: 0 auto; 
}

.social-feed-card { 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none; 
    padding: 45px 35px; 
    border-radius: 16px; 
    text-align: center; 
    background: #ffffff; 
    border: 1px solid #e2e8f0; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 38px;
    transition: all 0.4s ease;
    background: rgba(139, 26, 26, 0.05);
    color: #8b1a1a;
}

.social-feed-card h3 {
    font-size: 1.4rem;
    color: #001f3f;
    font-weight: 800;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-username {
    font-size: 1.05rem;
    color: #e53e3e;
    font-weight: 700;
    margin-bottom: 15px;
}

.social-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 340px;
}

.social-btn-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #8b1a1a;
    border: 2px solid #8b1a1a;
    padding: 12px 28px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.social-feed-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 26, 26, 0.1);
    border-color: rgba(139, 26, 26, 0.3);
}

.social-feed-card:hover .card-icon-wrapper {
    background: #8b1a1a;
    color: #ffffff;
    transform: scale(1.1);
}

.social-feed-card:hover .social-btn-text {
    background: #8b1a1a;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(139, 26, 26, 0.3);
}

.whatsapp-float { 
    position: fixed; 
    bottom: 25px; 
    right: 25px; 
    background: #25d366; 
    color: #fff; 
    width: 65px; 
    height: 65px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 35px; 
    z-index: 1001; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
}

/* ==========================================================================
   7. RODAPÉ (FOOTER)
   ========================================================================== */
.main-footer { 
    background: #0a1118; 
    color: #ced4da; 
    padding: 60px 0 30px 0; 
    width: 100%;
    overflow: hidden; 
    display: block;
}

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

.footer-logo-box {
    width: 100%;
    max-width: 160px;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo { 
    width: 100% !important;
    max-width: 140px !important; 
    height: auto !important;
    background: #fff; 
    padding: 8px; 
    border-radius: 6px; 
    object-fit: contain; 
    display: block;
}

.footer-info { 
    font-size: 1rem; 
    color: #a0aec0; 
    margin-bottom: 25px; 
    width: 100%;
}

.social-links { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    margin-bottom: 30px; 
    width: 100%;
}

.social-icon { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 50px; 
    height: 50px; 
    background: rgba(255, 255, 255, 0.05); 
    color: #fff; 
    border-radius: 50%; 
    font-size: 22px; 
    text-decoration: none;
    transition: 0.3s;
}

.social-icon:hover { background: #8b1a1a; }
.footer-divider { height: 1px; background: rgba(255, 255, 255, 0.08); width: 100%; max-width: 600px; margin: 0 auto 20px auto; }
.copyright { font-size: 0.85rem; color: #718096; width: 100%; }

/* ==========================================================================
   8. MEDIA QUERIES (REVISADAS E CORRIGIDAS)
   ========================================================================== */
@media (min-width: 768px) {
    .about-grid { grid-template-columns: 1fr 1fr; }
    .hero-content h1 { font-size: 3.2rem; }
    .hero-content p { font-size: 1.3rem; }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .social-cards-grid { grid-template-columns: 1fr 1fr; }
    .cta-highlight-section h2 { font-size: 2.2rem; }
    .locations-grid { grid-template-columns: repeat(4, 1fr); }
    .eco-wrapper { flex-direction: row; text-align: left; padding: 50px; }
}

@media (min-width: 992px) {
    .main-logo { 
        height: 110px; 
    }

    .menu-hamburger {
        display: none; 
    }

    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        display: block;
    }

    .nav-menu ul {
        display: flex;
        gap: 25px;
        align-items: center;
    }

    .nav-menu li {
        margin: 0;
    }

    .nav-menu a {
        color: #001f3f;
        font-size: 0.95rem;
        font-weight: 700;
        transition: 0.3s;
    }

    .nav-menu a:hover {
        color: #8b1a1a;
    }

    .highlight-link {
        color: #fff !important;
        background: #8b1a1a;
        padding: 10px 18px;
    }
    
    .highlight-link:hover {
        background: #6b1414;
    }
}