/* ==========================================================
   VARIÁVEIS DE COR E ESTILO - TEMA CLEAN (UNIVAC)
   ========================================================== */
:root {
    --bg-light: #F5F6F8;        
    --primary-color: #FFFFFF;   
    --secondary-color: #EAECEF; 
    --action-color: #C32026;    
    --action-hover: #A01A1F;    
    --text-dark: #333333;       
    --text-red: #C32026;        
    --border-color: #E0E0E0;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-light); color: var(--text-dark); line-height: 1.6; }
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* ==========================================================
   CABEÇALHO E NAVEGAÇÃO
   ========================================================== */
.main-header { 
    background-color: var(--primary-color); 
    padding: 15px 0; 
    border-bottom: 1px solid var(--border-color); 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); 
    transition: box-shadow 0.3s ease; 
}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo-link { display: flex; align-items: center; }
.header-logo-img { max-height: 50px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05)); }

.desktop-nav { display: none; align-items: center; gap: 5px; }
.nav-link { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 15px; padding: 8px 16px; border-radius: 50px; transition: all 0.3s ease; }
.nav-link:hover { background-color: rgba(195, 32, 38, 0.08); color: var(--text-red); }

.header-actions { display: flex; align-items: center; gap: 15px; }
.desktop-only { display: none; }
.mobile-only { display: inline-flex; }

.btn-header-cta { background-color: var(--action-color); color: #fff; border: none; padding: 12px 24px; border-radius: 8px; font-weight: 700; cursor: pointer; transition: 0.3s; font-size: 15px; }
.btn-header-cta:hover { background-color: var(--action-hover); transform: translateY(-1px); }

.hamburger-btn { background-color: rgba(195, 32, 38, 0.08); color: var(--text-red); border: none; width: 44px; height: 44px; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; }
.hamburger-btn:hover { background-color: var(--action-color); color: #fff; }

.header-phone-mobile { display: none; }

.mobile-menu { position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--primary-color); border-bottom: 1px solid var(--border-color); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); display: none; flex-direction: column; padding: 20px; }
.mobile-menu.active { display: flex; }
.mobile-nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-nav-link { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 16px; padding: 14px 16px; border-radius: 8px; transition: 0.3s; }
.mobile-nav-link:hover { background-color: rgba(195, 32, 38, 0.08); color: var(--text-red); }
.mobile-menu-cta { margin-top: 15px; width: 100%; padding: 16px; font-size: 16px; border-radius: 8px; background-color: var(--action-color); color: #fff; border: none; font-weight: 800; cursor: pointer; }

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero-section { background-image: url('../assets/img/bg-hero.jpg'); background-size: cover; background-position: center; padding: 100px 20px; position: relative; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(245, 246, 248, 0.92); z-index: 0; }
.hero-content { position: relative; z-index: 1; }
.tag-title { display: inline-block; background-color: rgba(195, 32, 38, 0.1); padding: 6px 18px; border-radius: 4px; font-size: 14px; font-weight: 800; margin-bottom: 15px; color: var(--action-color); text-transform: uppercase; border: 1px solid rgba(195, 32, 38, 0.2); }
.hero-title { font-size: 46px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; color: var(--text-red); }
.hero-subtitle { font-size: 18px; margin-bottom: 30px; font-weight: 500; color: #555; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-subtitle strong { color: var(--text-red); }
.btn-primary-cta { background-color: var(--action-color); color: #fff; border: none; padding: 20px 40px; border-radius: 40px; font-size: 20px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 20px rgba(195, 32, 38, 0.4); transition: 0.3s; width: 100%; max-width: 450px; text-transform: uppercase; }
.btn-primary-cta:hover { background-color: var(--action-hover); transform: translateY(-2px); }

/* ==========================================================
   SERVIÇOS SEO
   ========================================================== */
.seo-services-wrapper { background-color: var(--primary-color); }
.seo-service-block { padding: 60px 0; border-bottom: 1px solid var(--secondary-color); }
.seo-service-block.bg-alternate { background-color: var(--bg-light); }
.seo-service-container { display: flex; align-items: center; gap: 50px; justify-content: space-between; }
.seo-service-container.reverse-layout { flex-direction: row-reverse; }
.seo-service-content { flex: 1; text-align: left; }
.seo-tag { display: inline-block; color: var(--text-red); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.seo-service-title { font-size: 32px; font-weight: 800; color: var(--text-red); margin-bottom: 20px; line-height: 1.3; }
.seo-service-desc { font-size: 16px; color: var(--text-dark); line-height: 1.7; margin-bottom: 20px; }
.seo-service-desc strong { color: var(--text-red); font-weight: 700; }
.seo-service-image { flex: 1; display: flex; justify-content: center; }
.seo-service-image img { width: 100%; max-width: 500px; border-radius: 8px; border-bottom: 4px solid var(--action-color); box-shadow: var(--card-shadow); object-fit: cover; }
.btn-service-seo { display: inline-block; background-color: #a01a1f; color: #ffffff; border: 2px solid var(--action-color); padding: 14px 28px; border-radius: 4px; font-weight: 800; font-size: 15px; cursor: pointer; transition: 0.3s; text-transform: uppercase; margin-top: 10px; }
.btn-service-seo:hover { background-color: var(--action-color); color: #fff; transform: translateY(-2px); }

/* ==========================================================
   CAIXA D'ÁGUA
   ========================================================== */
.water-tank-section { padding: 80px 0; background-color: var(--primary-color); border-bottom: 1px solid var(--secondary-color); }
.water-tank-container { display: flex; align-items: center; gap: 60px; justify-content: space-between; }
.water-tank-content { flex: 1; text-align: left; }
.water-tank-benefits { list-style: none; margin-bottom: 35px; }
.water-tank-benefits li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-dark); margin-bottom: 15px; font-weight: 600; }
.check-icon { width: 20px; height: 20px; color: var(--action-color); flex-shrink: 0; }
.btn-water { max-width: 100%; }
.water-tank-visual { flex: 1; display: flex; justify-content: center; }
.water-tank-img { width: 100%; max-width: 500px; border-radius: 8px; border-bottom: 4px solid var(--action-color); box-shadow: var(--card-shadow); object-fit: cover; }

/* ==========================================================
   DEDETIZAÇÃO
   ========================================================== */
.pest-control-section { padding: 80px 0; background-color: var(--bg-light); }
.pest-header { max-width: 800px; margin: 0 auto 50px auto; }
.section-title { font-size: 36px; font-weight: 800; color: var(--text-red); margin-bottom: 10px; }
.pest-subtitle { font-size: 16px; color: #555; line-height: 1.6; margin-top: 15px; }
.pest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.pest-card { background-color: var(--primary-color); border: 1px solid var(--border-color); border-radius: 12px; padding: 30px 24px; display: flex; flex-direction: column; transition: 0.3s; box-shadow: var(--card-shadow); }
.pest-card:hover { transform: translateY(-5px); border-color: var(--action-color); box-shadow: 0 15px 30px rgba(195, 32, 38, 0.1); }
.pest-icon-wrapper { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; background-color: rgba(195, 32, 38, 0.08); border-radius: 16px; margin-bottom: 20px; }
.pest-icon { width: 36px; height: 36px; filter: invert(16%) sepia(87%) saturate(6032%) hue-rotate(349deg) brightness(94%) contrast(97%); }
.pest-card-title { font-size: 20px; font-weight: 800; color: var(--text-red); margin-bottom: 12px; }
.pest-card-desc { font-size: 14px; color: var(--text-dark); line-height: 1.6; flex-grow: 1; margin-bottom: 20px; }
.btn-pest { width: 100%; padding: 12px; font-size: 13px; text-align: center; margin-top: auto; }

/* ==========================================================
   ONDE ATENDEMOS (CORREÇÃO DE RESPONSIVIDADE DO MAPA)
   ========================================================== */
.coverage-section { 
    padding: 80px 0; 
    background-color: var(--primary-color); 
    border-top: 1px solid var(--secondary-color); 
}

.coverage-header { 
    text-align: center; 
    margin-bottom: 40px; 
}

.coverage-title { 
    font-size: 38px; 
    font-weight: 800; 
    color: var(--text-red); 
    margin-bottom: 20px; 
    line-height: 1.2; 
}

.coverage-desc { 
    font-size: 16px; 
    color: var(--text-dark); 
    max-width: 500px; 
    margin: 0 auto; 
    line-height: 1.7; 
}

/* Container flexível e responsivo para o corpo */
.coverage-body { 
    display: flex; 
    justify-content: center; 
    gap: 40px; 
    align-items: center; 
    max-width: 950px; 
    margin: 0 auto; 
}

/* Lista de Cidades */
.coverage-cities { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    list-style: none; 
    width: 100%;
    max-width: 400px; 
}

.coverage-cities li { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    border: 1px solid var(--border-color); 
    border-radius: 50px; 
    padding: 14px 24px; 
    background: #fff; 
    font-weight: 700; 
    font-size: 15px; 
    color: var(--text-dark);
}

.city-icon { 
    width: 20px; 
    height: 20px; 
    color: var(--action-color); 
    flex-shrink: 0;
}

/* Bloco Visual do Mapa */
.coverage-visual { 
    width: 100%; 
    max-width: 450px; 
    position: relative; 
}

.coverage-map-api { 
    width: 100%; 
    height: 380px; 
    border-radius: 12px; 
    border: none; 
    box-shadow: 0 10px 40px rgba(195, 32, 38, 0.2); 
    background-color: var(--secondary-color);
}

/* Responsividade Mobile: Empilha a lista e o mapa com segurança */
@media (max-width: 992px) {
    .coverage-body { 
        flex-direction: column; 
        gap: 30px; 
        padding: 0 15px;
    }
    
    .coverage-cities {
        max-width: 100%;
    }

    .coverage-visual { 
        max-width: 100%; 
    }
    
    .coverage-map-api {
        height: 320px;
    }
}

/* ==========================================================
   SEO LOCAL (BAIRROS)
   ========================================================== */
.seo-locations-section { padding: 80px 0; background-color: var(--primary-color); border-top: 1px solid var(--border-color); }
.seo-locations-header { margin-bottom: 50px; }
.seo-locations-title { font-size: 32px; font-weight: 800; color: var(--text-red); margin-bottom: 15px; }
.seo-locations-desc { font-size: 16px; color: var(--text-dark); max-width: 700px; margin: 0 auto; }
.seo-locations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.seo-city-title { font-size: 20px; font-weight: 800; color: var(--text-red); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--border-color); }
.seo-locations-list { list-style: none; padding: 0; margin: 0; }
.seo-locations-list li { margin-bottom: 10px; }
.seo-locations-list a { text-decoration: none; color: var(--text-dark); font-size: 14px; font-weight: 600; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; }
.seo-locations-list a:hover { color: var(--text-red); padding-left: 5px; }

/* ==========================================================
   BLOG E DICAS (VITRINE E PÁGINA INTERNA)
   ========================================================== */
.blog-section { padding: 80px 0; background-color: var(--primary-color); border-top: 1px solid var(--secondary-color); }
.blog-header { margin-bottom: 50px; }
.blog-subtitle { font-size: 16px; color: var(--text-dark); line-height: 1.6; max-width: 650px; margin: 15px auto 0; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.blog-card { background-color: var(--primary-color); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; box-shadow: var(--card-shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); border-color: rgba(195, 32, 38, 0.3); }
.blog-img-wrapper { position: relative; width: 100%; height: 220px; }
.blog-img { width: 100%; height: 100%; object-fit: cover; }
.blog-category { position: absolute; top: 15px; left: 15px; background-color: var(--action-color); color: #fff; padding: 6px 12px; font-size: 12px; font-weight: 800; text-transform: uppercase; border-radius: 4px; letter-spacing: 0.5px; }
.blog-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-title { font-size: 20px; font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.blog-title a { text-decoration: none; color: var(--text-dark); transition: color 0.3s ease; }
.blog-title a:hover { color: var(--text-red); }
.blog-excerpt { font-size: 15px; color: #555; line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }
.btn-read-more { text-decoration: none; color: var(--action-color); font-weight: 800; font-size: 14px; transition: 0.3s ease; display: inline-flex; align-items: center; }
.btn-read-more:hover { color: var(--action-hover); padding-left: 5px; }
.mt-10 { margin-top: 40px; }

.blog-article-section { padding: 60px 20px 100px; background-color: var(--primary-color); }
.blog-article-container { max-width: 800px; margin: 0 auto; }
.blog-article-header { text-align: center; margin-bottom: 40px; }
.blog-article-title { font-size: 38px; color: var(--text-red); font-weight: 800; line-height: 1.2; margin-bottom: 15px; }
.blog-article-meta { font-size: 14px; color: #777; margin-bottom: 30px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.blog-article-img { width: 100%; max-height: 450px; object-fit: cover; border-radius: 12px; margin-bottom: 40px; box-shadow: var(--card-shadow); }
.blog-article-content h2 { font-size: 28px; color: var(--text-dark); margin: 40px 0 20px; font-weight: 800; border-bottom: 2px solid var(--secondary-color); padding-bottom: 10px; }
.blog-article-content p { font-size: 18px; color: #444; line-height: 1.8; margin-bottom: 20px; }
.blog-article-content ul, .blog-article-content ol { margin-bottom: 20px; padding-left: 20px; font-size: 18px; color: #444; line-height: 1.8; }
.blog-article-content li { margin-bottom: 10px; }
.blog-article-content strong { color: var(--text-dark); font-weight: 700; }

.conversion-banner { background: var(--bg-light); padding: 40px 30px; border-radius: 12px; text-align: center; margin: 50px 0; border: 1px solid var(--border-color); box-shadow: var(--card-shadow); }
.conversion-banner h3 { color: var(--text-red); font-size: 26px; margin-bottom: 15px; font-weight: 800; }
.conversion-banner p { font-size: 16px; color: #555; margin-bottom: 25px; }

/* ==========================================================
   RODAPÉ
   ========================================================== */
.main-footer { background-color: #121212; color: #fff; padding: 60px 0 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-col-brand .footer-logo-img { max-height: 160px; margin-bottom: 20px; }
.footer-desc { font-size: 14px; color: #A0A0A0; line-height: 1.7; max-width: 320px; }
.footer-title { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; color: #fff; }
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-list a { color: #A0A0A0; text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-list a:hover { color: #fff; }
.contact-label { display: block; font-size: 11px; text-transform: uppercase; color: var(--action-color); font-weight: 700; margin-bottom: 2px; letter-spacing: 0.5px;}
.social-icons { display: flex; gap: 12px; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.05); color: #fff; transition: 0.3s; }
.social-icons a:hover { background-color: var(--action-color); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 25px 0; font-size: 13px; color: #777; }
.footer-bottom-flex { display: flex; justify-content: space-between; align-items: center; }

/* ==========================================================
   BOTÃO FLUTUANTE
   ========================================================== */
.float-cta-btn { position: fixed; bottom: 20px; right: 20px; background-color: var(--action-color); color: #fff; border: none; padding: 16px 24px; border-radius: 50px; font-size: 16px; font-weight: 800; cursor: pointer; box-shadow: 0 4px 20px rgba(195, 32, 38, 0.5); z-index: 999; display: flex; align-items: center; gap: 10px; transition: 0.3s; }
.float-cta-btn:hover { background-color: var(--action-hover); transform: scale(1.05); }

/* ==========================================================
   RESPONSIVIDADE GERAL
   ========================================================== */
@media (min-width: 992px) {
    .desktop-nav { display: flex; }
    .desktop-only { display: inline-flex; }
    .mobile-only { display: none; }
    .mobile-menu { display: none !important; }
}

@media (max-width: 992px) {
    .seo-service-container, .seo-service-container.reverse-layout, .water-tank-container { flex-direction: column; gap: 40px; }
    .seo-service-image img, .water-tank-img { width: 100%; }
    .seo-locations-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
    .header-container { flex-direction: row; justify-content: space-between; gap: 10px; padding: 10px 0; }
    .header-logo-img { max-height: 75px; }
    .header-phone-mobile { 
        display: flex; 
        align-items: center; 
        gap: 5px; 
        font-weight: 800; 
        color: var(--text-red); 
        font-size: 15px; 
        text-decoration: none; 
    }
    .hamburger-btn { width: 40px; height: 40px; }
    .hero-title { font-size: 32px; }
    .hero-section { padding: 60px 20px; }
    .seo-locations-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-desc { max-width: 100%; margin: 0 auto; }
    .social-icons { justify-content: center; }
    .footer-bottom-flex { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 576px) {
    .coverage-body { gap: 15px; padding: 0 10px; }
    .coverage-cities li { padding: 12px 16px; font-size: 14px; }
    .coverage-visual { width: 350px; }
}

/* ==========================================================
   LISTA DE LINK JUICE (MAIS ARTIGOS)
   ========================================================== */
.blog-more-articles {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.more-articles-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.more-articles-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
}

.more-articles-list li {
    position: relative;
    padding-left: 15px;
}

.more-articles-list li::before {
    content: "•";
    color: var(--action-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.more-articles-list a {
    text-decoration: none;
    font-size: 15px;
    color: #555;
    font-weight: 600;
    transition: color 0.3s ease;
}

.more-articles-list a:hover {
    color: var(--text-red);
    text-decoration: underline;
}

/* Responsividade da Lista de Link Juice */
@media (max-width: 768px) {
    .more-articles-list {
        grid-template-columns: 1fr;
    }
}