/* Estilos gerais */
body {
    position: relative; /* Adicionado para suporte ao z-index */
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 0;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
}

/* WhatsApp Button Styles */

/* PDF Container Styles */
.desktop-only {
    display: none;
}

.mobile-download-link {
    display: block;
}

@media (min-width: 992px) {
    .desktop-only {
        display: block;
    }
    
    .mobile-download-link {
        display: none;
    }
}

.pdf-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-top: 20px;
}

.pdf-container object {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
}

.pdf-container p {
    text-align: center;
    margin-top: 20px;
    color: #6c757d;
}

.pdf-container a {
    color: #0d6efd;
    text-decoration: none;
}

.pdf-container a:hover {
    text-decoration: underline;
}

/* WhatsApp Button Styles */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    line-height: 60px;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.whatsapp-btn i {
    margin: 0;
    padding: 0;
    line-height: inherit;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
}

.section-title h2 {
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.section-title h2:after {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: #0d6efd;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    border-bottom: none;
    padding: 20px;
}

/* Menu de navegação */
#mainNav {
    transition: all 0.3s ease;
    padding: 15px 0;
    background-color: transparent;
}

#mainNav.navbar-scrolled {
    padding: 10px 0;
    background-color: #1a1a1a;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: white;
    transform: translateY(-2px);
}

/* Menu mobile - melhorias de visibilidade */
.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.7);
    padding: 8px 10px;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Overlay para menu mobile */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1025; /* Reduzido para ficar abaixo do menu */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
}

/* Melhoria para o menu mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 260px;
        padding: 2rem 1rem;
        background-color: #1a1a1a;
        z-index: 1030; /* Valor superior ao overlay */
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .navbar-collapse.show {
        transform: translateX(0);
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    }
    
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .navbar-dark .navbar-nav .nav-link {
        padding: 12px 5px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative; /* Importante para garantir clicabilidade */
        z-index: 1031; /* Deve ser maior que o z-index do overlay e do collapse */
        color: white;
        display: block; /* Garante área clicável completa */
    }
    
    .navbar-dark .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .navbar-dark .navbar-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: none;
    }
}

/* Estilos adicionais para o menu mobile */
.mobile-menu-close {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: none; /* Ocultar por padrão */
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1035; /* Sempre acima dos links */
}

/* Mostrar apenas em dispositivos móveis */
@media (max-width: 991.98px) {
    .mobile-menu-close {
        display: flex;
    }
}

.mobile-menu-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Ajustes para o menu mobile */
@media (max-width: 991.98px) {
    /* Ajustes para garantir que os links sejam clicáveis */
    .navbar-collapse {
        padding-top: 50px; /* Espaço para o botão de fechar */
    }
    
    /* Garante que todos os elementos dentro do menu sejam clicáveis */
    .navbar-nav, .navbar-nav .nav-item {
        position: relative;
        z-index: 1031;
    }
    
    /* Melhoria visual para links ativos */
    .navbar-nav .nav-link.active {
        background-color: rgba(13, 110, 253, 0.2);
        color: white;
    }
    
    /* Garantir que o botão de toggle também esteja acima */
    .navbar-toggler {
        position: relative;
        z-index: 1035;
    }
    
    /* Mostrar o botão de fechar apenas em dispositivos móveis */
    .mobile-menu-close {
        display: flex;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1551135049-8a33b5883817?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center center;
    height: 100vh;
    min-height: 600px;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
}
.hero-section .container{
    z-index: 2;
}
.hero-section .overlay {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.8) 0%, rgba(41, 5, 125, 0.9) 100%);
    opacity: 0.3;
}

.hero-section h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 800;
}

.hero-section .lead {
    font-size: 1.25rem;
    max-width: 90%;
}

.hero-buttons .btn {
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Melhorias para a seção de busca */
#busca {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

#busca .card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

#busca .card:hover {
    box-shadow: 0 15px 35px rgba(13, 110, 253, 0.15);
}

#busca .card-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    padding: 20px 30px;
    border-bottom: none;
}

#busca .card-header h3 {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

#busca .card-body {
    padding: 30px;
    background-color: white;
}

#busca .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

#busca .form-control,
#busca .form-select {
    height: 54px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    padding: 10px 15px;
    font-size: 1rem;
    box-shadow: none;
    transition: all 0.3s ease;
}

#busca .form-control:focus,
#busca .form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
}

#busca .input-group {
    border-radius: 10px;
    overflow: hidden;
}

#busca .input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-right: none;
    border-radius: 10px 10px;
    padding: 0 15px;
    color: #0d6efd;
}



#busca .btn-primary {
    height: 54px;
    border-radius: 10px;
    font-weight: 700;
    padding: 12px 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
}

#busca .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
}


/* Sobre Section */
.sobre-card {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.sobre-card:hover {
    transform: translateY(-8px);
}

.icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-circle i {
    font-size: 30px;
    color: #0d6efd;
}

/* Serviços Section */
.servico-card {
    border-radius: 10px;
    overflow: hidden;
    border: none;
    transition: all 0.3s ease;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.servico-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servico-icon i {
    font-size: 34px;
    color: #0d6efd;
}

/* Contato Section - Redesign Moderno */
#contato {
    background: rgb(255, 255, 255);
}

.contato-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contato-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contato-card:hover::before {
    transform: scaleX(1);
}

.contato-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.contato-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #0d6efd;
    transition: all 0.3s ease;
}

.whatsapp-card .contato-icon {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    color: #25d366;
}

.email-card .contato-icon {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #ff9800;
}

.phone-card .contato-icon {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    color: #9c27b0;
}

.location-card .contato-icon {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    color: #f44336;
}

.contato-card:hover .contato-icon {
    transform: scale(1.1) rotate(5deg);
}

.contato-card h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #212529;
}

.contato-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Sidebar */
.contato-sidebar {
    height: 100%;
}

.cta-card {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.6s ease;
}

.cta-card:hover::before {
    transform: scale(2);
}

.cta-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.cta-card h3 {
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.beneficios-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
    position: relative;
    z-index: 1;
}

.beneficios-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.beneficios-list i {
    color: #28a745;
    margin-right: 0.75rem;
    font-size: 0.8rem;
    background: rgba(40, 167, 69, 0.2);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-card .btn {
    position: relative;
    z-index: 1;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.cta-card .btn:hover {
    background: white;
    color: #0d6efd;
    transform: translateY(-2px);
}

/* Social Media Card - Largura Total */
.social-media-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.social-media-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.social-media-card:hover::before {
    transform: scaleX(1);
}

.social-media-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.social-media-card h4 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #212529;
}


.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link.facebook {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-link.instagram {
    background: linear-gradient(135deg, #e4405f, #fd5949, #fccc63);
}

.social-link.linkedin {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.social-link.youtube {
    background: linear-gradient(135deg, #ff0000, #ff4444);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsividade */
@media (max-width: 768px) {
    .contato-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .contato-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .cta-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Animações de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contato-card {
    animation: fadeInUp 0.6s ease forwards;
}

.contato-card:nth-child(1) { animation-delay: 0.1s; }
.contato-card:nth-child(2) { animation-delay: 0.2s; }
.contato-card:nth-child(3) { animation-delay: 0.3s; }
.contato-card:nth-child(4) { animation-delay: 0.4s; }

.cta-card {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.5s;
}

.social-media-card {
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.6s;
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #007bff, transparent);
}

.footer-section {
    height: 100%;
}

.footer-title {
    color: #fff;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-subtitle {
    color: #007bff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    position: relative;
}

.footer-subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #007bff;
}

.footer-text {
    color: #b8b8b8;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Footer Stats */
.footer-stats .stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #b8b8b8;
    font-size: 0.9rem;
}

.footer-stats .stat-item i {
    margin-right: 0.5rem;
    width: 16px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #b8b8b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #007bff;
    font-size: 0.7rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #007bff;
    padding-left: 20px;
}

.footer-links a:hover::before {
    transform: translateX(3px);
}

/* Footer Contact */
.footer-contact .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.footer-contact .contact-item i {
    margin-right: 0.8rem;
    width: 18px;
    font-size: 1.1rem;
}

.footer-contact .contact-item a {
    color: #b8b8b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact .contact-item a:hover {
    color: #007bff;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: #fff;
}

.social-icon:hover::before {
    transform: scale(1);
}

.social-icon.facebook {
    background: rgba(24, 119, 242, 0.2);
    border: 1px solid rgba(24, 119, 242, 0.3);
}

.social-icon.facebook::before {
    background: #1877f2;
}

.social-icon.instagram {
    background: rgba(225, 48, 108, 0.2);
    border: 1px solid rgba(225, 48, 108, 0.3);
}

.social-icon.instagram::before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.linkedin {
    background: rgba(0, 119, 181, 0.2);
    border: 1px solid rgba(0, 119, 181, 0.3);
}

.social-icon.linkedin::before {
    background: #0077b5;
}

.social-icon.youtube {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.social-icon.youtube::before {
    background: #ff0000;
}

/* Footer Divider */
.footer-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 2rem 0 1rem 0;
}

/* Footer Bottom */
.footer-bottom-left p {
    color: #b8b8b8;
    margin: 0;
}

.footer-disclaimer {
    color: #888;
    font-size: 0.8rem;
}

.footer-bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

@media (max-width: 768px) {
    .footer-bottom-right {
        align-items: flex-start;
        margin-top: 1rem;
    }
}

.footer-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.footer-badges .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .social-icons {
        justify-content: flex-start;
    }
    
    .footer-title {
        font-size: 1.3rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadeInUp {
    animation-name: fadeInUp;
}

/* Results Hero Section */
.results-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1551135049-8a33b5883817?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
}

.results-hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.results-hero-section .container {
    position: relative;
    z-index: 2;
}

/* Search Info Items */
.search-info-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 123, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--bs-primary);
    transition: all 0.3s ease;
}

.search-info-item:hover {
    background: rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    margin-right: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-info-content label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    display: block;
}

/* Tabela de Resultados */
.table{
    overflow: hidden !important;
}

.table > :not(caption) > * > * {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid #e9ecef;
    overflow: hidden !important;
}

.table thead th {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden !important;
}

.table tbody tr {
    transition: all 0.2s ease;
    overflow: hidden !important;
}

.table tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
    transform: scale(1.01);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden !important;
}

/* Status Badges */
.badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
}

.badge.bg-outline-primary {
    background-color: transparent !important;
    border: 1px solid var(--bs-primary);
    color: var(--bs-primary);
}

/* Paginação Customizada */
.pagination {
    margin-bottom: 0;
}

.pagination .page-link {
    border: none;
    border-radius: 8px;
    margin: 0 2px;
    padding: 0.75rem 1rem;
    color: #6c757d;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    color: white;
    background: var(--bs-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.pagination .page-item.active .page-link {
    background: var(--bs-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* CTA Section */
.cta-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.benefit-icon {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    opacity: 1;
    transform: scale(1.1);
}

.cta-buttons .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-buttons .btn:hover::before {
    left: 100%;
}

/* Steps Section */
.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--bs-primary);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.card:hover .step-number::after {
    opacity: 0.5;
    transform: scale(1.1);
}

.step-icon {
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.card:hover .step-icon {
    transform: scale(1.1);
}


/* Footer */
.app-footer {
    background-color: #1a1a1a;
    color: rgba(255, 255, 255, 0.8);
    padding: 20px 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .search-info {
        padding: 15px;
    }
    
    .search-params {
        flex-direction: column;
        gap: 10px;
    }
    
    .results-table thead th {
        font-size: 0.75rem;
        padding: 10px;
    }
    
    .results-table td {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .results-card-body {
        padding: 15px;
    }
    
    .pagination .page-item .page-link {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* Estilos adicionais para responsividade da tabela e exportação */

/* Estilos para tabela responsiva em dispositivos móveis */
.results-table.mobile-responsive {
    border: 0;
}

.results-table.mobile-responsive thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.results-table.mobile-responsive tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: 1rem;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.results-table.mobile-responsive td {
    border-bottom: 1px solid #eee;
    display: block;
    position: relative;
    padding-left: 28% !important;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.results-table.mobile-responsive td:last-child {
    border-bottom: 0;
}

.results-table.mobile-responsive td::before {
    content: attr(data-label);
    font-weight: bold;
    left: 1rem;
    position: absolute;
    text-align: left;
    color: #495057;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
}

/* Melhorias na coluna de status */
.results-table.mobile-responsive td .status-badge {
    width: auto;
    display: inline-block;
}

/* Estilos para botões de exportação */
.export-options .btn-group {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.export-options .btn {
    transition: all 0.3s ease;
    min-width: 120px;
}

.export-options .btn-outline-primary {
    border-width: 2px;
}

.export-options .btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Animação de carregamento para exportações */
.export-loading {
    position: relative;
    pointer-events: none;
}

.export-loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.export-loading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 123, 255, 0.3);
    border-top-color: #007bff;
    border-radius: 50%;
    z-index: 1;
    animation: export-spin 1s linear infinite;
}

@keyframes export-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Estilos específicos para telas médias */
@media (min-width: 768px) and (max-width: 991px) {
    .results-table th, .results-table td {
        font-size: 0.85rem;
        padding: 0.5rem;
    }
    
    .marca-column {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Toast de notificação para feedback de exportação */
.export-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    color: #333;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1050;
    max-width: 350px;
    transition: all 0.3s ease;
    transform: translateY(100px);
    opacity: 0;
}

.export-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.export-toast.success {
    border-left: 4px solid #28a745;
}

.export-toast.error {
    border-left: 4px solid #dc3545;
}

.export-toast-icon {
    font-size: 1.25rem;
}

.export-toast-success .export-toast-icon {
    color: #28a745;
}

.export-toast-error .export-toast-icon {
    color: #dc3545;
}

.export-toast-content {
    flex: 1;
}

.export-toast-title {
    font-weight: bold;
    margin-bottom: 2px;
}

.export-toast-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    line-height: 1;
}

/* ===== ADICIONE ESTE CSS AO FINAL DO SEU ARQUIVO style.css EXISTENTE ===== */

/* ===== SEÇÃO COMO FUNCIONA ===== */
#como-funciona, #servicos {
    background: white!important;
    position: relative;
    overflow: hidden;
}

#como-funciona::before, #servicos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(0, 123, 255, 0.1) 2px, transparent 2px),
                      radial-gradient(circle at 75% 75%, rgba(0, 123, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

#como-funciona .container, #servicos .container {
    position: relative;
    z-index: 2;
}

/* Timeline Container */
.processo-timeline {
    position: relative;
    padding: 2rem 0;
}

/* Processo Item */
.processo-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 0;
}

.processo-item:last-child {
    margin-bottom: 0;
}

/* Processo Card */
.processo-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 123, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.processo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.processo-card:hover::before {
    left: 100%;
}

.processo-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 50px rgba(0, 123, 255, 0.15);
    border-color: #007bff;
}

/* Processo Icon */
.processo-icon {
    position: relative;
    flex-shrink: 0;
}

.processo-icon .icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    position: relative;
    z-index: 2;
}

.processo-icon .icon-circle i{
    color: white!important;
}

.processo-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    z-index: 3;
}

/* Processo Content */
.processo-content {
    flex: 1;
}

.processo-content h4 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.processo-content p {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Processo Connector */
.processo-connector {
    position: absolute;
    left: 40px;
    top: 100px;
    bottom: -30px;
    width: 3px;
    background: linear-gradient(to bottom, #007bff, #28a745);
    
}

.processo-item:last-child .processo-connector {
    display: none;
}

/* Call to Action Box */
.cta-box {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse-bg 4s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { 
        transform: scale(0.8); 
        opacity: 0.5; 
    }
    50% { 
        transform: scale(1.2); 
        opacity: 0.8; 
    }
}

.cta-box h3 {
    font-weight: 700;
    font-size: 1.8rem;
    position: relative;
    z-index: 2;
}

.cta-box p {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.cta-box .btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    padding: 0.8rem 2rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.cta-box .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .processo-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .processo-card:hover {
        transform: translateY(-5px);
    }
    
    .processo-connector {
        display: none;
    }
    
    .processo-icon .icon-circle {
        width: 70px;
        height: 70px;
        font-size: 1.7rem;
    }
    
    .processo-content h4 {
        font-size: 1.2rem;
    }
    
    .processo-content p {
        font-size: 1rem;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
    }
    
    .cta-box h3 {
        font-size: 1.5rem;
    }
    
    .cta-box p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .processo-item {
        margin-bottom: 2rem;
    }
    
    .processo-card {
        padding: 1rem;
        gap: 1rem;
    }
    
    .processo-icon .icon-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .processo-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        top: -6px;
        right: -6px;
    }
    
    .processo-connector {
        top: 90px;
    }
}

/* Estilos específicos para a seção de custos */
#custos{
    background: white;
}


.valor-destaque {
    line-height: 1.2;
}

.valor-principal {
    font-size: 1.5rem;
    font-weight: bold;
}

.valor-original {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: #6c757d;
    display: block;
}

.valor-promocional .valor-principal {
    font-size: 1.8rem;
}

.perfil-info strong {
    font-size: 1.1rem;
}

.economia-valor {
    margin-top: 1rem;
}

.economia-icon {
    opacity: 0.9;
}

.perfil-elegivel {
    text-align: center;
    padding: 1rem;
    border-radius: 0.5rem;
    background: #f8f9fa;
    height: 100%;
    transition: all 0.3s ease;
}

.perfil-elegivel:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.perfil-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.perfil-elegivel h6 {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.perfil-elegivel p {
    color: #6c757d;
    margin-bottom: 0;
}


/* Responsividade */
@media (max-width: 768px) {
    .valor-principal {
        font-size: 1.2rem;
    }
    
    .valor-promocional .valor-principal {
        font-size: 1.4rem;
    }
    
    .table td, .table th {
        padding: 0.75rem 0.5rem;
    }
    
    .perfil-elegivel {
        margin-bottom: 1rem;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .d-flex.gap-3 .btn {
        width: 100%;
    }
}

/* Animações */
.valor-destaque {
    transition: all 0.3s ease;
}

.table tbody tr:hover .valor-destaque {
    transform: scale(1.05);
}

.badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
}

.bg-success .badge {
    background-color: rgba(255, 255, 255, 0.2) !important;
}