/* Variáveis de Cores (Paleta Premium) */
:root {
    --verde-petroleo: #063b36;
    --verde-escuro: #03221f;
    --verde-destaque: #27ae60;
    --dourado: #c5a059;
    --dourado-hover: #b08d4b;
    --grafite: #333333;
    --branco-gelo: #f8f9fa;
    --branco: #ffffff;
}

/* Reset Básico */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Montserrat', sans-serif; scroll-behavior: smooth; }
body { background-color: var(--branco-gelo); color: var(--grafite); }
a { text-decoration: none; }
ul { list-style: none; }

/* ==== BASE / MOBILE FIRST ==== */
.container { padding: 0 5%; max-width: 1250px; margin: 0 auto; }

/* Botões Globais */
.btn-primary, .btn-secondary {
    padding: 14px 24px;
    border-radius: 4px;
    font-weight: 700;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 13px;
    display: inline-block;
    text-align: center;
    white-space: nowrap; 
}
.btn-primary { background-color: var(--dourado); color: var(--branco); border: none; cursor: pointer;}
.btn-primary:hover { background-color: var(--dourado-hover); }
.btn-secondary { background-color: transparent; color: var(--branco); border: 2px solid var(--branco); }
.btn-secondary:hover { background-color: var(--branco); color: var(--verde-petroleo); }

/* Header & Menu Mobile */
header { background-color: var(--verde-petroleo); color: var(--branco); padding: 10px 0; position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.header-content { display: flex; justify-content: space-between; align-items: center; position: relative; flex-wrap: wrap; }
.header-actions { display: flex; align-items: center; gap: 15px; } 

.logo img { max-height: 55px; width: auto; transition: 0.3s; } 

.main-nav {
    display: flex;
    width: 100%;
    background-color: transparent;
    padding: 15px 0 10px 0;
    order: 3; 
}
.main-nav ul { 
    display: flex; 
    flex-direction: row;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 12px 18px; 
    margin-bottom: 0; 
    padding: 0;
    width: 100%;
}
.main-nav a { 
    color: var(--branco); 
    font-weight: 500; 
    text-transform: uppercase; 
    font-size: 13px; 
    white-space: nowrap; 
}

.btn-header-whatsapp { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50px !important; 
    background-color: #25D366 !important; 
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3); 
    transition: all 0.3s ease;
    white-space: nowrap;
    padding: 10px; 
}
.btn-header-whatsapp:hover {
    background-color: #128C7E !important; 
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}
.zap-text { display: none; } 

/* Hero Section */
.hero { background-color: var(--verde-escuro); background-image: url('https://images.unsplash.com/photo-1532996122724-e3c354a0b15b?q=80&w=1920&auto=format&fit=crop'); background-size: cover; background-position: center; position: relative; padding: 180px 0 60px 0; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(3, 34, 31, 0.85); z-index: 1; }
.hero-container { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 40px; text-align: center; }
.hero-text { color: var(--branco); }
.hero-text h2 { font-size: 28px; font-weight: 800; line-height: 1.3; margin-bottom: 20px; text-transform: uppercase; }
.hero-text p { font-size: 15px; line-height: 1.6; margin-bottom: 25px; color: #e0e0e0; }
.hero-buttons { display: flex; flex-direction: column; gap: 15px; }
.hero-carousel { width: 100%; height: 280px; border-radius: 8px; overflow: hidden; border: 3px solid var(--dourado); position: relative; }
.carousel-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: 0.8s; background-size: cover; background-position: center; }
.carousel-slide.active { opacity: 1; z-index: 2; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.6); color: white; border: none; padding: 10px; cursor: pointer; z-index: 10; }
.carousel-btn.prev { left: 0; } .carousel-btn.next { right: 0; }
.carousel-indicators { position: absolute; bottom: 15px; width: 100%; text-align: center; z-index: 10; }
.dot { display: inline-block; width: 10px; height: 10px; margin: 0 4px; background: rgba(255,255,255,0.5); border-radius: 50%; }
.dot.active { background: var(--dourado); }

/* Stats */
.stats { background-color: var(--dourado); color: var(--branco); padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; text-align: center; }
.stat-item h3 { font-size: 28px; margin-bottom: 5px; }
.stat-item p { font-size: 12px; font-weight: 700; text-transform: uppercase; }

/* Sections Globais */
.about, .services, .premium-section, .areas-section { padding: 60px 0; }
.section-title { font-size: 26px; color: var(--verde-petroleo); margin-bottom: 35px; font-weight: 800; text-align: center; }

/* Quem Somos */
.about-container { display: flex; flex-direction: column; gap: 30px; }
.about-text p { font-size: 15px; line-height: 1.8; margin-bottom: 15px; color: #444; }
.about-img-box { width: 100%; height: 250px; background-size: cover; background-position: center; border-radius: 8px; border-bottom: 5px solid var(--dourado); }

/* Áreas */
.areas-section { background: #000; color: #fff; }
.areas-title { font-size: 26px; text-align: center; margin-bottom: 30px; }
.areas-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
.area-card { background: #080808; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 20px; text-align: center; }
.area-icon { width: 30px; height: 30px; color: var(--verde-destaque); margin-bottom: 10px; }

/* ========================================= */
/* SERVIÇOS (LAYOUT AJUSTADO - IMAGENS FIXAS)*/
/* ========================================= */
.services-list-detailed { display: flex; flex-direction: column; gap: 35px; }
.service-detailed-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    border-top: 5px solid var(--dourado);
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.service-detailed-text h3 { color: var(--verde-petroleo); font-size: 20px; margin-bottom: 15px; line-height: 1.3; }
.service-desc { font-size: 15px; color: #555; line-height: 1.7; }

/* Lista com Ícones */
.service-bullet-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.service-bullet-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #444; line-height: 1.5; }
.service-bullet-list li svg { width: 18px; height: 18px; fill: none; stroke: var(--dourado); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 2px; }

/* Bloco de Imagens (Mobile) */
.service-detailed-images { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-img {
    width: 100%;
    height: 180px;
    background-color: #e9ecef; 
    background-size: cover;
    background-position: center;
    border-radius: 8px; /* Bordas mais redondinhas */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Sombra elegante nas imagens */
}

/* Premium Section */
.premium-section { background: #000; color: #fff; }
.premium-header h2 { font-size: 24px; margin-bottom: 10px; }
.premium-header p { font-size: 14px; color: #aaa; margin-bottom: 30px; }
.premium-gallery { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.img-large { height: 200px; border-radius: 8px; background-size: cover; }
.img-stacked { display: flex; flex-direction: row; gap: 10px; }
.img-small { flex: 1; height: 120px; border-radius: 8px; background-size: cover; }

.premium-content { display: flex; flex-direction: column; gap: 40px; }
.premium-table-wrapper { overflow-x: auto; }
.premium-table { width: 100%; min-width: 400px; border-collapse: collapse; }
.premium-table th, .premium-table td { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 13px; text-align: left; }
.premium-table th { color: #fff; } .premium-table td:nth-child(2) { color: #ccc; }
.premium-ideal li { padding: 10px 0; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.premium-ideal li::before { content: "•"; color: var(--dourado); font-size: 20px; margin-right: 10px; }

/* Footer */
footer { background: var(--verde-escuro); color: #fff; text-align: center; padding: 40px 0 30px 0; }
.footer-info h3 { color: var(--dourado); margin-bottom: 15px; font-size: 22px; }
.contact-item { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px; font-size: 14px; color: #ccc; }
.social-links { margin-top: 25px; display: flex; justify-content: center; }
.social-links a { color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 24px; background: rgba(255,255,255,0.05); border-radius: 50px; transition: all 0.3s ease; font-size: 14px; font-weight: 500; }
.social-links a:hover { background: var(--dourado); color: var(--verde-escuro); transform: translateY(-5px); }
.footer-copy { margin-top: 30px; font-size: 12px; color: #666; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }

/* ========================================================= */
/* ==== MEDIA QUERIES (COMPUTADORES E TABLETS MAIORES)  ==== */
/* ========================================================= */

@media (min-width: 992px) {
    .header-content { flex-wrap: nowrap; justify-content: space-between; }
    .main-nav { display: flex; position: static; width: auto; background: none; padding: 0; order: unset; }
    .main-nav ul { flex-direction: row; flex-wrap: nowrap; gap: 15px; margin-bottom: 0; padding: 0; }
    .main-nav a:hover { color: var(--dourado); }
    .logo img { max-height: 85px; } 
    .btn-header-whatsapp { padding: 10px 24px; gap: 8px; margin-left: 20px; }
    .zap-text { display: inline; } 
    
    .hero { height: 100vh; padding: 0; display: flex; align-items: center; }
    .hero-overlay { background: linear-gradient(90deg, rgba(3, 34, 31, 0.95) 0%, rgba(3, 34, 31, 0.4) 100%); }
    .hero-container { flex-direction: row; text-align: left; gap: 60px; width: 100%; align-items: center; }
    .hero-text { flex: 1; max-width: 600px; }
    .hero-text h2 { font-size: 36px; }
    .hero-buttons { flex-direction: row; gap: 20px; }
    .hero-carousel { flex: 1; height: 480px; max-width: none; } 
    
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .about-container { flex-direction: row; }
    .about-text .section-title { text-align: left; }
    .areas-title { text-align: left; }
    .areas-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* === CORREÇÃO DOS SERVIÇOS NO DESKTOP === */
    .services-list-detailed { gap: 50px; }
    .service-detailed-card { 
        flex-direction: row; 
        align-items: center; /* ISSO AQUI impede que a imagem estique */ 
        gap: 50px; 
        padding: 40px; 
    }
    .service-detailed-text { flex: 1; display: flex; flex-direction: column; justify-content: center; }
    .service-detailed-text h3 { font-size: 26px; margin-bottom: 25px; }
    
    .service-detailed-images { flex: 1; gap: 20px; }
    
    /* Imagens com altura fixa e bem definidas */
    .service-img { 
        height: 350px; /* Altura exata para não esticar mais do que deve */
        border-radius: 12px; 
    }
    
    /* Efeito Mágico: Inverte texto e imagem nos cards pares (2, 4, 6) */
    .service-detailed-card:nth-child(even) { flex-direction: row-reverse; }

    .premium-gallery { flex-direction: row; height: 400px; }
    .img-large { flex: 2; height: 100%; }
    .img-stacked { flex: 1; flex-direction: column; height: 100%; }
    .img-small { flex: 1; height: 100%; }
    .premium-content { flex-direction: row; }
    .premium-table { min-width: auto; }
}
/* ========================================== */
/* CORREÇÃO DE ESPAÇO EM BRANCO NO RODAPÉ     */
/* ========================================== */
html {
    background-color: var(--verde-escuro); /* Deixa o fundo falso da mesma cor do rodapé */
}

body {
    background-color: var(--branco-gelo);
}

html, body {
    overflow-x: hidden; /* Evita que elementos invisíveis empurrem a tela pro lado ou pra baixo */
    width: 100%;
    position: relative;
    height: auto;
    min-height: 100%;
}