:root {
    /* --- PALETA DE CORES --- */
    --brand-blue: #0062cc;        
    --brand-dark: #060340;        
    --brand-green: #28a745;       
    --brand-purple: #6610f2;      
    
    --footer-bg: #0f1114;         
    --whatsapp-color: #25D366;
    --gray-text: #555;
    
    /* Configurações Globais */
    --primary-color: var(--brand-blue);
    --dark-bg: var(--brand-dark);
    --header-bg-color: var(--brand-dark); 
}

/* =========================================
   1. RESET E BÁSICO
   ========================================= */
body { 
    font-family: 'Segoe UI', 'Roboto', Helvetica, Arial, sans-serif; 
    background-color: #fff; 
    overflow-x: hidden; 
}
a { text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
.transition-color { transition: all 0.4s ease-in-out; }

/* Helpers */
.ls-2 { letter-spacing: 2px; }
.hover-card-up { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-card-up:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important; }

/* Cores Bootstrap Override */
.text-primary { color: var(--brand-blue) !important; }
.bg-primary { background-color: var(--brand-blue) !important; }
.btn-primary { background-color: var(--brand-blue); border-color: var(--brand-blue); color: white; }
.btn-primary:hover { background-color: #0056b3; border-color: #0056b3; }
.btn-outline-primary { color: var(--brand-blue); border-color: var(--brand-blue); }
.btn-outline-primary:hover { background-color: var(--brand-blue); border-color: var(--brand-blue); color: white; }

/* =========================================
   2. HEADER (MENU PÍLULA)
   ========================================= */
.header-one-line {
    background-color: var(--brand-dark);
    padding: 20px 0;
    border-bottom: 3px solid var(--brand-green);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.navbar-nav .nav-item .nav-link, 
.nav-item-custom {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 10px 20px !important;
    transition: all 0.3s ease;
    border-radius: 50px !important; 
    margin: 0 4px;
    white-space: nowrap; 
}

.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link:focus,
.navbar-nav .nav-item.show .nav-link,
.navbar-nav .nav-link.show,
.nav-link.active {
    color: #ffffff !important;
    background-color: var(--brand-blue) !important; 
    border-radius: 50px !important; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    outline: none !important;
    border: none !important;
}

.dropdown-menu {
    background-color: white;
    margin-top: 15px !important;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 15px;
    overflow: hidden;
}
.dropdown-item {
    color: #333;
    font-weight: 500;
    font-size: 1.05rem; 
    padding: 12px 25px;
}
.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--brand-blue);
    padding-left: 30px;
    transition: 0.2s;
}

.social-link-head {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.4rem; 
    transition: 0.3s;
}
.social-link-head:hover {
    color: #ffffff;
    transform: scale(1.1);
}

.btn-sm-mobile {
    white-space: nowrap;
    font-size: 1.1rem; 
}

/* --- BADGE DE TÍTULO DE SEÇÃO (CORREÇÃO ERRO 64) --- */
.section-badge {
    display: inline-block;
    padding: 10px 30px; /* Maior e mais espaçado */
    border-radius: 50px; /* Formato Pílula */
    font-weight: 800; /* Negrito Forte */
    text-transform: uppercase;
    letter-spacing: 2px; /* Espaço entre letras */
    font-size: 1rem; /* Fonte aumentada */
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 98, 204, 0.25); /* Sombra suave */
    color: white !important;
    background-color: var(--brand-blue) !important; /* Azul da marca */
    border: 2px solid rgba(255,255,255,0.2); /* Borda sutil interna */
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero-section { position: relative; height: 650px; background: var(--brand-dark); overflow: hidden; }
.hero-carousel-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-carousel-bg .carousel-item, .hero-carousel-bg .carousel-inner { height: 100%; }
.hero-carousel-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; background: none; background-color: rgba(0, 0, 0, 0.3); }
.hero-caption { position: absolute; top: 0; left: 0; bottom: 0; right: 0; display: flex; align-items: center; justify-content: flex-start; z-index: 2; text-align: left; padding-top: 40px; }
.hero-title { font-size: 3.8rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 1.5rem; line-height: 1.1; text-shadow: 0 4px 10px rgba(0,0,0,0.3); }
@media (max-width: 991px) { .hero-section { height: 600px; } .hero-caption { justify-content: center; text-align: center; } .hero-title { font-size: 2.5rem; } }

/* =========================================
   4. CARDS DE PLANOS
   ========================================= */
.pricing-card { border: 1px solid #e0e0e0; border-radius: 16px; background: #fff; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); box-shadow: 0 4px 10px rgba(0,0,0,0.03); overflow: visible; position: relative; height: 100%; display: flex; flex-direction: column; }
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 98, 204, 0.15); border-color: var(--brand-blue); }
.pricing-header { padding: 40px 20px 30px 20px; text-align: center; color: white; border-bottom: 1px solid rgba(255,255,255,0.2); border-radius: 15px 15px 0 0; background-size: cover; background-position: center; position: relative; background-image: linear-gradient(135deg, rgba(0, 98, 204, 0.85), rgba(11, 28, 60, 0.9)), url('../img/natureza.gif'); }
.pricing-body { padding: 30px; background: white; flex-grow: 1; border-radius: 0 0 16px 16px; }
.plan-destaque { border: 2px solid var(--brand-blue); z-index: 2; box-shadow: 0 15px 30px rgba(0, 98, 204, 0.2); }
.popular-badge { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #FFD700 0%, #FDB931 50%, #d49c00 100%); color: #0b1c3c; padding: 10px 35px; border-radius: 50px; font-size: 0.8rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1.5px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); border: 3px solid #ffffff; z-index: 10; display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; width: max-content; }
.plan-name { color: white !important; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.plan-speed-display { color: white !important; font-size: 3.5rem; font-weight: 900; line-height: 1; margin-bottom: 5px; }
.plan-speed-unit { font-size: 1.5rem; font-weight: 700; }
.plan-price-secondary { color: white !important; font-size: 1.3rem; font-weight: 500; margin-top: 5px; }
.feature-list { list-style: none; padding: 0; margin: 0 0 30px 0; }
.feature-list li { margin-bottom: 15px; font-size: 0.95rem; color: #666; display: flex; align-items: center; gap: 10px; }
.feature-list li i { color: var(--brand-blue); background: rgba(0, 98, 204, 0.1); width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.btn-plan { width: 100%; padding: 12px; font-weight: 700; text-transform: uppercase; border-radius: 50px; transition: 0.3s; }

.pricing-card.green-theme:hover { border-color: var(--brand-green); box-shadow: 0 20px 40px rgba(40, 167, 69, 0.15); }
.pricing-card.green-theme .pricing-header { background-image: linear-gradient(135deg, rgba(40, 167, 69, 0.85), rgba(20, 80, 35, 0.9)), url('../img/natureza.gif'); }
.pricing-card.green-theme.plan-destaque { border-color: var(--brand-green); box-shadow: 0 15px 30px rgba(40, 167, 69, 0.2); }
.pricing-card.green-theme .feature-list li i { color: var(--brand-green); background: rgba(40, 167, 69, 0.1); }
.pricing-card.green-theme .btn-primary { background-color: var(--brand-green); border-color: var(--brand-green); }
.pricing-card.green-theme .btn-outline-primary { color: var(--brand-green); border-color: var(--brand-green); }

.pricing-card.business-theme:hover { border-color: var(--brand-purple); box-shadow: 0 20px 40px rgba(102, 16, 242, 0.15); }
.pricing-card.business-theme .pricing-header { background-image: linear-gradient(135deg, rgba(102, 16, 242, 0.85), rgba(50, 10, 120, 0.9)), url('../img/natureza.gif'); }
.pricing-card.business-theme.plan-destaque { border-color: var(--brand-purple); box-shadow: 0 15px 30px rgba(102, 16, 242, 0.2); }
.pricing-card.business-theme .feature-list li i { color: var(--brand-purple); background: rgba(102, 16, 242, 0.1); }
.pricing-card.business-theme .btn-primary { background-color: var(--brand-purple); border-color: var(--brand-purple); }
.pricing-card.business-theme .btn-outline-primary { color: var(--brand-purple); border-color: var(--brand-purple); }

/* =========================================
   5. PARCEIROS
   ========================================= */
.partners-section {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 40px 0;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    padding: 20px 0;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 30px; 
    animation: scroll-reverse 60s linear infinite;
    width: max-content;
}

@keyframes scroll-reverse { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.partner-card {
    flex: 0 0 280px;
    width: 280px;
    height: 160px;
    background: white;
    border: 1px solid #dee2e6; 
    border-radius: 12px;
    padding: 0 !important; 
    overflow: hidden; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.partner-card:hover {
    border-color: var(--brand-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 98, 204, 0.15);
    z-index: 2;
}

.partner-logo {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

/* =========================================
   6. PÁGINA APP & OUTROS
   ========================================= */
.app-hero {
    background-color: var(--brand-dark);
    min-height: 600px;
    padding-top: 50px; padding-bottom: 50px;
    border-bottom-left-radius: 50px; border-bottom-right-radius: 50px;
    overflow: hidden;
}
.store-btn { min-width: 200px; transition: all 0.3s ease; }
.store-btn:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.3) !important; }
.icon-circle { width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.hover-card-up:hover .icon-circle { transform: scale(1.1); }
@media (max-width: 991px) { .app-hero { text-align: center; border-radius: 0; } .app-hero img { margin-top: 40px; max-width: 250px !important; } }

.nav-pills-custom { display: inline-flex; background: #f1f3f5; padding: 5px; border-radius: 50px; margin-bottom: 3rem; flex-wrap: wrap; justify-content: center; gap: 5px; }
.nav-pills-custom .nav-link { color: var(--gray-text); font-weight: 700; padding: 12px 30px; border-radius: 50px; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.5px; }
.nav-pills-custom .nav-link.active { background-color: var(--brand-blue); color: white; box-shadow: 0 4px 10px rgba(0, 98, 204, 0.3); }
.nav-pills-custom .nav-link#pills-rural-tab.active { background-color: var(--brand-green) !important; box-shadow: 0 4px 10px rgba(40, 167, 69, 0.4) !important; }
.nav-pills-custom .nav-link#pills-empresarial-tab.active { background-color: var(--brand-purple) !important; box-shadow: 0 4px 10px rgba(102, 16, 242, 0.4) !important; }

.scroll-container { 
    overflow-x: hidden; display: flex; flex-wrap: nowrap; align-items: stretch; padding: 30px 0; -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.feature-card { flex: 0 0 280px; width: 280px; max-width: 280px; height: 100%; background: white; border: 1px solid #f0f0f0; border-radius: 15px; padding: 30px 20px; margin-right: 25px; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; text-align: center; white-space: normal !important; word-wrap: break-word; transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--brand-blue); box-shadow: 0 15px 30px rgba(0, 98, 204, 0.15); z-index: 2; }
.feature-icon-box { width: 60px; height: 60px; background: rgba(0, 98, 204, 0.1); color: var(--brand-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; flex-shrink: 0; margin-bottom: 20px; transition: 0.3s; }
.feature-card:hover .feature-icon-box { background: var(--brand-blue); color: white; }
.feature-card h5 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; color: #333; width: 100%; }
.feature-card p { font-size: 0.9rem; line-height: 1.5; color: #666; margin-bottom: 0; width: 100%; }

.city-btn { transition: all 0.2s ease; background: white; }
.city-btn:hover { transform: translateY(-3px); border-color: var(--brand-blue) !important; background-color: #f0f8ff !important; box-shadow: 0 10px 20px rgba(0, 98, 204, 0.15) !important; }
.city-btn:active { transform: scale(0.98); }

/* =========================================
   8. FOOTER
   ========================================= */
footer { background-color: var(--footer-bg); color: #cfcfcf; padding-top: 80px; font-size: 0.95rem; }
footer h5, footer h6 { color: white; font-weight: 700; margin-bottom: 1.5rem; }
footer h5 span { color: var(--brand-blue); } 
footer a { text-decoration: none; color: #cfcfcf; transition: 0.3s; }
footer a:hover { color: var(--brand-blue); padding-left: 5px; }
.social-icon { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); border-radius: 50%; margin-right: 10px; color: white !important; transition: 0.3s; }
.social-icon:hover { transform: rotate(360deg); background: var(--brand-blue); }
.footer-bottom { background: rgba(0,0,0,0.3); padding: 25px 0; margin-top: 50px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-map iframe { width: 100%; height: 250px; border-radius: 15px; border: 3px solid rgba(255,255,255,0.1); }

/* --- BOTÃO FLUTUANTE DO WHATSAPP --- */
.btn-whatsapp-float { 
    position: fixed; bottom: 30px; right: 30px; 
    background-color: var(--whatsapp-color); color: white; 
    width: 72px; height: 72px; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 42px; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); 
    z-index: 9999; transition: all 0.3s; animation: pulse 2s infinite; 
    overflow: visible !important; 
}
.btn-whatsapp-float:hover { background-color: #1ebe57; transform: scale(1.1); color: white; }

/* LEGENDA ACIMA DO BOTÃO */
.whatsapp-label {
    position: absolute; bottom: 90px; right: 0;
    background-color: white; color: #333;
    padding: 8px 18px; border-radius: 8px;
    font-size: 1rem; font-weight: 800; text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); white-space: nowrap;
    opacity: 1; pointer-events: none; 
}
.whatsapp-label::after {
    content: ''; position: absolute; bottom: -6px; right: 28px; 
    width: 0; height: 0;
    border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid white; 
}

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }