:root {
    --primary-color: #003366;
    --secondary-color: #0066cc;
    --accent-color: #00cc99;
    --dark-color: #001a33;
    --light-color: #f9fdff;
    --gradient: linear-gradient(135deg, #0066cc 0%, #003366 100%);
    --box-shadow: 0 10px 30px rgba(0, 26, 51, 0.1);
    --transition: all 0.3s ease;
}

/* Animações globais */
@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3)); }
    to { filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)); }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    font-weight: 600;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #003366, #0066cc);
    border-radius: 2px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.primary-btn {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4);
}

.secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-size: 1.15rem;
    font-weight: 700;
    padding: 16px 38px;
    border-radius: 30px;
    box-shadow: none;
    transition: all 0.2s;
    letter-spacing: 0.5px;
    outline: none;
    position: relative;
    z-index: 1;
    display: inline-block;
    vertical-align: middle;
}

.secondary-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Navegação */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 5%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 26, 51, 0.1);
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    height: 40px;
    overflow: visible;
}

.logo img {
    height: 150px;
    transform: translateY(-2px);
    max-width: none;
}

.nav-links {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

.nav-links li {
    margin: 0 15px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.nav-links li:not(.cta-btn) {
    z-index: 15;
}

.nav-links a {
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
    z-index: 10;
    cursor: pointer;
    display: block;
    padding: 10px 0;
    pointer-events: auto;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #0066cc;
    transition: var(--transition);
    z-index: 1;
}

.nav-links a:hover:after {
    width: 100%;
}

.cta-btn a {
    background: var(--gradient);
    color: white;
    padding: 10px 22px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 169, 157, 0.3);
    transition: var(--transition);
    z-index: 5;
    cursor: pointer;
    pointer-events: auto;
}

.cta-btn a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 169, 157, 0.4);
}

/* Estilos específicos para desktop - botão CTA com cores e animações atuais */
@media (min-width: 769px) {
    .cta-btn a {
        background: linear-gradient(135deg, #003366, #0066cc);
        color: white;
        border-radius: 25px;
        padding: 12px 25px;
        font-weight: 600;
        font-size: 1rem;
        box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        z-index: 5;
        pointer-events: auto;
    }

    .cta-btn a:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
    }

    /* Efeito shimmer para o botão CTA no desktop */
    .cta-btn a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        transition: left 0.5s;
    }

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


}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #003366;
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.25) 0%, rgba(0, 26, 51, 0.18) 100%);
    z-index: -1;
}

.hero-content {
    width: 50%;
    max-width: 600px;
    margin-left: 5%;
    text-align: left;
    z-index: 1;
    padding: 0 20px;
}

/* Garantir que no desktop o texto fique à esquerda */
@media (min-width: 769px) {
    .hero-content {
        text-align: left !important;
        margin-left: 5% !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    /* Aplicar o mesmo background gradiente do mobile no desktop */
    .hero-video-background {
        background: linear-gradient(135deg, #0a3761 0%, #1a4a7a 50%, #0a3761 100%) !important;
    }

    .hero-video-background::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 20% 30%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(0, 153, 255, 0.1) 0%, transparent 50%);
        animation: backgroundShift 8s ease-in-out infinite;
    }

    /* Aplicar os mesmos efeitos dos botões do mobile no desktop */
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 16px 24px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 50px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    .hero-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;
    }

    .hero-buttons .btn:hover::before {
        left: 100%;
    }
    
    .hero-buttons .highlight-btn {
        background: linear-gradient(135deg, #003366 0%, #0066cc 50%, #0099ff 100%);
        color: white;
        border: none;
        transform: translateY(0);
        box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
    }

    .hero-buttons .highlight-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(0, 102, 204, 0.6);
    }

    .hero-buttons .btn:not(.highlight-btn) {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        border: 2px solid rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(10px);
    }

    .hero-buttons .btn:not(.highlight-btn):hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-2px);
    }

    /* ===== APLICAR TODOS OS EFEITOS DO MOBILE PARA O DESKTOP ===== */
    
    /* Efeito de hover melhorado para todos os botões */
    .btn {
        position: relative;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .btn:hover::after {
        width: 300px;
        height: 300px;
    }

    /* Efeito de pulse para CTA principal */
    .hero-buttons .highlight-btn {
        animation: pulse 2s infinite;
    }

    .hero-buttons .highlight-btn:hover {
        animation: none;
    }

    /* Melhorar tool-actions */
    .tool-actions {
        margin-top: 20px;
        text-align: center;
    }

    .tool-actions .btn {
        background: linear-gradient(135deg, #003366, #0066cc);
        color: white;
        border: none;
        padding: 12px 25px;
        font-size: 0.95rem;
        font-weight: 600;
        border-radius: 25px;
        box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
        transition: all 0.3s ease;
    }

    .tool-actions .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
    }

    /* Melhorar tools-actions */
    .tools-actions {
        text-align: center;
        margin-top: 40px;
        animation: fadeInUp 1s ease-out 0.8s both;
    }

    .tools-actions .btn {
        background: linear-gradient(135deg, #003366, #0066cc);
        color: white;
        border: none;
        padding: 16px 35px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 50px;
        box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
        transition: all 0.3s ease;
    }

    .tools-actions .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(0, 102, 204, 0.6);
    }

    /* Melhorar testimonials-actions */
    .testimonials-actions {
        text-align: center;
        margin-top: 40px;
        animation: fadeInUp 1s ease-out 0.8s both;
    }

    .testimonials-actions .btn {
        background: linear-gradient(135deg, #003366, #0066cc);
        color: white;
        border: none;
        padding: 16px 35px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 50px;
        box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
        transition: all 0.3s ease;
    }

    .testimonials-actions .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(0, 102, 204, 0.6);
    }

    /* Melhorar seção de ferramentas */
    .tools-section {
        padding: 60px 0;
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    }

    .tool-card {
        background: white;
        border-radius: 20px;
        padding: 30px 25px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
        position: relative;
        overflow: hidden;
    }

    .tool-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(135deg, #003366, #0066cc);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

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

    .tool-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 102, 204, 0.3);
    }

    .tool-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 20px;
        background: linear-gradient(135deg, #003366, #0066cc);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        position: relative;
        box-shadow: 0 4px 18px 0 rgba(0, 102, 204, 0.3);
    }

    .tool-card:hover .tool-icon {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 10px 25px rgba(0, 102, 204, 0.4);
    }

    .tool-icon::before {
        content: '';
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        background: linear-gradient(135deg, #003366, #0066cc);
        border-radius: 25px;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: -1;
    }

    .tool-card:hover .tool-icon::before {
        opacity: 0.3;
    }

    .tool-icon i {
        font-size: 2rem;
        color: white;
        filter: drop-shadow(0 2px 8px rgba(0, 102, 204, 0.3));
        text-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
    }

    .tool-card h3 {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 15px;
        text-align: center;
    }

    .tool-card p {
        font-size: 1rem;
        color: #666;
        line-height: 1.6;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Melhorar seção de estatísticas */
    .stats-section {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
        padding: 60px 0;
        position: relative;
        overflow: hidden;
    }

    .stats-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 30% 20%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 70% 80%, rgba(0, 153, 255, 0.1) 0%, transparent 50%);
    }

    .stat-item {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 30px 20px;
        text-align: center;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    .stat-item:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.15);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    }

    .stat-item h3 {
        font-size: 2.5rem;
        font-weight: 800;
        color: white;
        margin-bottom: 10px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .stat-item p {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
    }

    /* Melhorar seção sobre */
    .about-section {
        padding: 60px 0;
        background: white;
    }

    .about-text h2 {
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 20px;
        position: relative;
    }

    .about-text h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: linear-gradient(135deg, #003366, #0066cc);
        border-radius: 2px;
    }

    .about-text p {
        font-size: 1.1rem;
        color: #666;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .about-actions .btn {
        background: linear-gradient(135deg, #003366, #0066cc);
        color: white;
        border: none;
        padding: 16px 35px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 50px;
        box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
        transition: all 0.3s ease;
    }

    .about-actions .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(0, 102, 204, 0.6);
    }

    /* Melhorar seção de testemunhos */
    .testimonials-section {
        padding: 60px 0;
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    }

    .testimonial-card {
        background: white;
        border-radius: 20px;
        padding: 30px 25px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .testimonial-card::before {
        content: '"';
        position: absolute;
        top: 10px;
        left: 20px;
        font-size: 4rem;
        color: #003366;
        opacity: 0.1;
        font-family: serif;
    }

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

    .testimonial-content p {
        font-size: 1rem;
        color: #555;
        line-height: 1.6;
        margin-bottom: 20px;
        text-align: center;
        position: relative;
        z-index: 1;
    }

    .testimonial-author img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #003366;
        transition: transform 0.3s ease;
    }

    .testimonial-card:hover .testimonial-author img {
        transform: scale(1.1);
    }

    .testimonial-author h4 {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--primary-color);
        margin-bottom: 5px;
    }

    .testimonial-author p {
        font-size: 0.9rem;
        color: #666;
    }

    /* Melhorar seção CTA */
    .cta-section {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
        padding: 60px 0;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    .cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 20% 30%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(0, 153, 255, 0.1) 0%, transparent 50%);
    }

    .cta-section h2 {
        font-size: 2.2rem;
        font-weight: 700;
        color: white;
        margin-bottom: 15px;
        position: relative;
        z-index: 1;
    }

    .cta-section p {
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 30px;
        position: relative;
        z-index: 1;
    }

    .cta-action .btn {
        background: linear-gradient(135deg, #003366, #0066cc);
        color: white;
        border: none;
        padding: 16px 35px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 50px;
        box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
        transition: all 0.3s ease;
        position: relative;
        z-index: 1;
    }

    .cta-action .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(0, 102, 204, 0.6);
    }

    /* Melhorar footer */
    footer {
        background: var(--dark-color);
        padding: 40px 0 20px;
    }

    .footer-grid h4 {
        color: white;
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 15px;
        position: relative;
    }

    .footer-grid h4::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 3px;
        background: linear-gradient(135deg, #003366, #0066cc);
        border-radius: 2px;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.8);
        transition: all 0.3s ease;
    }

    .footer-links a:hover {
        color: #0066cc;
        transform: translateX(5px);
    }

    .footer-contact ul li {
        color: rgba(255, 255, 255, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }



    /* Efeito de loading para elementos */
    .loading {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.6s ease;
    }

    .loading.loaded {
        opacity: 1;
        transform: translateY(0);
    }

    /* Efeito shimmer para botões */
    .btn.shimmer {
        position: relative;
        overflow: hidden;
    }

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

    .btn.shimmer:hover::before {
        left: 100%;
    }
}

/* --- Título Hero Atualizado (Sem piscar) --- */

.hero-content h1 {
    font-size: 3.5rem;      /* Tamanho grande */
    font-weight: 800;       /* Fonte bem grossa (Extra Bold) */
    line-height: 1.1;       /* Espaçamento entre linhas justo */
    margin-bottom: 20px;
    
    /* Cor Sólida e Limpa */
    color: #ffffff; 
    
    /* Sombra forte para destacar do fundo (efeito 3D sutil) */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    
    /* Remove qualquer animação ou gradiente anterior */
    background: none !important;
    -webkit-text-fill-color: white !important;
    animation: none !important;
}
/* Efeito Gradiente "Vivo" (Vai e Volta) */
.text-gradient-wave {
    /* Gradiente com 3 pontos: Branco nas pontas e a cor da Finova no meio */
    /* Isso cria um feixe de cor que oscila */
    background: linear-gradient(90deg, #ffffff 0%, #007bff 50%, #ffffff 100%); 
    
    /* Tamanho esticado para permitir o movimento suave */
    background-size: 200% auto;
    
    /* Aplica ao texto */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    font-weight: 800;
    
    /* Sombra para manter a legibilidade e o efeito "neon" */
    filter: drop-shadow(0 0 5px rgba(2, 90, 255, 0.3));
    
    /* Animação 'alternate': Vai até o fim e VOLTA suavemente, sem pular */
    animation: shimmerPulse 4s ease-in-out infinite alternate;
}

@keyframes shimmerPulse {
    0% {
        background-position: 0% 50%; /* Começa mais branco/azul na esquerda */
    }
    100% {
        background-position: 100% 50%; /* Move o reflexo para a direita */
    }
}

@keyframes shineWave {
    to {
        background-position: 200% center;
    }
}

/* Ajuste para Mobile (para não ficar gigante no celular) */
@media (max-width: 992px) {
    /* --- CORREÇÃO HERO-CONTENT PARA MOBILE --- */
/* (Dentro de @media (max-width: 992px)) */
    
.hero-content {
    width: 100%; /* Garante que ocupa 100% da largura */
    
    /* A CORREÇÃO: */
    /* Define o "box model" para que o padding não cause estouro */
    box-sizing: border-box; 
    /* Reseta explicitamente os paddings (esquerdo e direito) */
    padding-left: 20px;  
    padding-right: 20px;
    padding-top: 0;
    padding-bottom: 0;
    
    /* Reseta margens e centraliza o bloco */
    margin: 0 auto 50px auto; 
    
    text-align: center; /* Centraliza o texto (h1, p) */
    align-items: center;
    display: flex;
    flex-direction: column;
}
}
/* ... (o resto das regras do @media, como .hero-buttons, continuam iguais) ... */

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Seção de Ferramentas */
.tools-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    padding: 80px 0;
}

/* Layout principal da showcase */
.tools-showcase {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Navegação lateral */
.tools-navigation {
    width: 280px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

/* Efeito de scanner lateral */
.tools-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 102, 204, 0.9) 50%,
        transparent 100%
    );
    transform: translateY(-100%);
    opacity: 0;
    z-index: 5;
}

.tools-navigation.scanning::before {
    animation: scannerSweep 2s ease-in-out;
}

@keyframes scannerSweep {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateY(50vh);
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Grid de energia de fundo */
.tools-navigation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 204, 153, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 204, 153, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.tools-navigation.tech-mode::after {
    opacity: 1;
}

.tool-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-left: 4px solid transparent;
    z-index: 2;
    overflow: hidden;
}

/* Efeito de energia no hover */
.tool-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 102, 204, 0.15) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
    z-index: -1;
}

.tool-nav-item:hover::before {
    left: 100%;
}

/* Efeito de partículas no item ativo */
.tool-nav-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 102, 204, 0.8) 20%,
        rgba(0, 204, 153, 1) 50%,
        rgba(0, 102, 204, 0.8) 80%,
        transparent 100%
    );
    animation: energyFlow 2s ease-in-out infinite;
}

@keyframes energyFlow {
    0%, 100% {
        opacity: 0.5;
        box-shadow: 0 0 5px rgba(0, 102, 204, 0.5);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(0, 102, 204, 0.8);
    }
}

/* Efeito de digitalização no item */
.tool-nav-item.digitalizing {
    animation: digitalize 0.8s ease-out;
}

@keyframes digitalize {
    0% {
        filter: brightness(1) contrast(1);
        text-shadow: none;
    }
    25% {
        filter: brightness(1.5) contrast(1.2);
        text-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
    }
    50% {
        filter: brightness(2) contrast(1.5);
        text-shadow: 0 0 20px rgba(0, 102, 204, 0.8);
    }
    75% {
        filter: brightness(1.5) contrast(1.2);
        text-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
    }
    100% {
        filter: brightness(1) contrast(1);
        text-shadow: none;
    }
}

.tool-nav-item:hover {
    background: rgba(0, 102, 204, 0.1);
    color: white;
    border-left-color: rgba(0, 102, 204, 0.6);
}

.tool-nav-item.active {
    background: rgba(0, 102, 204, 0.2);
    color: white;
    border-left-color: var(--secondary-color);
    box-shadow: inset 0 0 0 1px rgba(0, 102, 204, 0.3);
}

.nav-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tool-nav-item.active .nav-icon {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

.nav-icon i {
    font-size: 1.5rem;
    color: white;
}

.tool-nav-item span {
    font-weight: 500;
    font-size: 1rem;
}

/* Conteúdo da showcase */
.tool-showcase-content {
    flex: 1;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

/* Sistema de animação tecnológica para transições */
.tech-transition-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(0, 102, 204, 0.1) 0%, 
        rgba(0, 204, 153, 0.1) 50%, 
        rgba(0, 102, 204, 0.1) 100%);
    opacity: 0;
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tech-transition-overlay.active {
    opacity: 1;
}

/* Efeito holográfico */
.holographic-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(0, 102, 204, 0.2) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    opacity: 0;
    z-index: 20;
    pointer-events: none;
}

.holographic-effect.scanning {
    animation: holographicScan 1.5s ease-out;
}

@keyframes holographicScan {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Efeito de glitch digital */
.glitch-effect {
    position: relative;
}

.glitch-effect::before,
.glitch-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    opacity: 0;
    pointer-events: none;
}

.glitch-effect.glitching::before {
    background: rgba(0, 102, 204, 0.15);
    transform: translate(-2px, 0);
    animation: glitch1 0.3s ease-out;
}

.glitch-effect.glitching::after {
    background: rgba(0, 204, 153, 0.15);
    transform: translate(2px, 0);
    animation: glitch2 0.3s ease-out;
}

@keyframes glitch1 {
    0%, 100% { opacity: 0; transform: translate(0, 0); }
    20% { opacity: 1; transform: translate(-2px, 0); }
    40% { opacity: 1; transform: translate(-1px, 1px); }
    60% { opacity: 1; transform: translate(1px, -1px); }
    80% { opacity: 1; transform: translate(-1px, 0); }
}

@keyframes glitch2 {
    0%, 100% { opacity: 0; transform: translate(0, 0); }
    20% { opacity: 1; transform: translate(2px, 0); }
    40% { opacity: 1; transform: translate(1px, -1px); }
    60% { opacity: 1; transform: translate(-1px, 1px); }
    80% { opacity: 1; transform: translate(1px, 0); }
}

/* Partículas flutuantes */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 4s infinite linear;
}

.particle:nth-child(2n) {
    background: radial-gradient(circle, rgba(0, 204, 153, 0.6) 0%, transparent 70%);
    animation-duration: 6s;
}

.particle:nth-child(3n) {
    background: radial-gradient(circle, rgba(0, 51, 102, 0.5) 0%, transparent 70%);
    animation-duration: 5s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) translateX(0) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) translateX(0) scale(1);
    }
    100% {
        transform: translateY(-10vh) translateX(0) scale(0);
        opacity: 0;
    }
}

/* Efeito de matriz digital - REMOVIDO */

/* Efeito de energia pulsante */
.energy-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        circle,
        rgba(0, 204, 153, 0.3) 0%,
        rgba(0, 102, 204, 0.2) 50%,
        transparent 70%
    );
    border-radius: 50%;
    opacity: 0;
    z-index: 15;
    pointer-events: none;
}

.energy-pulse.pulsing {
    animation: energyPulse 1s ease-out;
}

@keyframes energyPulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* Conteúdo das ferramentas com transições */
.tool-content {
    display: none;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.tool-content.active {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.tool-content.morphing-out {
    animation: morphOut 0.4s ease-in forwards;
}

.tool-content.morphing-in {
    animation: morphIn 0.6s ease-out forwards;
}

@keyframes morphOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
        filter: blur(0px);
    }
    50% {
        transform: translateY(-10px) scale(0.98) rotateX(5deg);
        filter: blur(1px);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95) rotateX(10deg);
        filter: blur(2px);
    }
}

@keyframes morphIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95) rotateX(-10deg);
        filter: blur(2px);
    }
    50% {
        transform: translateY(10px) scale(0.98) rotateX(-5deg);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
        filter: blur(0px);
    }
}

.tool-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.tool-content.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    gap: 40px;
    align-items: flex-start;
}

/* Informações da ferramenta */
.tool-info {
    flex: 1;
    max-width: 500px;
}

.tool-info h3 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.tool-info p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Features da ferramenta */
.tool-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.feature-item span {
    color: #555;
    font-weight: 500;
}

/* Botões da ferramenta */
.tool-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tool-buttons .btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tool-buttons .primary-btn {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.tool-buttons .primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.tool-buttons .secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.tool-buttons .secondary-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Demonstrativo visual */
.tool-demo {
    flex: 1;
    max-width: 600px;
}

.demo-frame {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.demo-header {
    background: #ffffff;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 15px;
}

.demo-controls {
    display: flex;
    gap: 8px;
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-dot.red { background: #ff5f56; }
.demo-dot.yellow { background: #ffbd2e; }
.demo-dot.green { background: #27ca3f; }

.demo-title {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.demo-content {
    padding: 25px;
}

/* Demonstrativo do Market Tracker */
.demo-chart h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.chart-value {
    font-weight: 700;
    font-size: 1.2rem;
}

.chart-value.positive { color: #28a745; }
.chart-value.negative { color: #dc3545; }

.chart-visualization {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 120px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 4px 4px 0 0;
    min-height: 20px;
    animation: growBar 1s ease-out;
}

@keyframes growBar {
    from { height: 0; }
    to { height: inherit; }
}

.demo-metrics {
    display: flex;
    gap: 30px;
}

.metric-item {
    text-align: center;
}

.metric-label {
    display: block;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.metric-value {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.metric-value.positive { color: #28a745; }

/* Demonstrativo do Stock Ranking */
.ranking-header h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.ranking-list {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px;
    border-bottom: 1px solid #f8f9fa;
}

.ranking-item:last-child {
    border-bottom: none;
}

.rank {
    width: 30px;
    height: 30px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.stock-code {
    font-weight: 700;
    color: var(--primary-color);
    flex: 1;
}

.stock-score {
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    background: #d4edda;
    color: #155724;
    font-size: 0.9rem;
}

.demo-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 6px 16px;
    background: #e9ecef;
    color: #6c757d;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tag.active {
    background: var(--primary-color);
    color: white;
}

/* Demonstrativo da Comunidade */
.community-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.community-header h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.online-users {
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.community-messages {
    background: white;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.message-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f8f9fa;
}

.message-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.user-avatar {
    width: 35px;
    height: 35px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.message-content {
    flex: 1;
}

.username {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.message-content p {
    color: #555;
    margin: 5px 0 0 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message-time {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Demonstrativo das Análises */
.analysis-header h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.analysis-list {
    background: white;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.analysis-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f8f9fa;
}

.analysis-item.compact {
    gap: 10px;
    margin-bottom: 8px;
    padding-bottom: 8px;
}

.analysis-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.analysis-thumb {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.analysis-item.compact .analysis-thumb {
    width: 32px;
    height: 32px;
    font-size: 1rem;
}

.analysis-info {
    flex: 1;
}

.analysis-info h5 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.analysis-item.compact .analysis-info h5 {
    font-size: 0.9rem;
    margin-bottom: 3px;
    line-height: 1.3;
}

.analysis-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.analysis-date {
    color: #6c757d;
    font-size: 0.8rem;
}

.analysis-item.compact .analysis-date {
    font-size: 0.75rem;
}

.analysis-list.compact {
    margin: 10px 0;
}

.analysis-rating {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    min-width: 80px;
}

.analysis-rating.positive {
    background: #d4edda;
    color: #155724;
}

.analysis-rating.neutral {
    background: #fff3cd;
    color: #856404;
}

/* Estilos para demonstrativos atualizados */

/* Market Tracker Demo */
.demo-moment-tracker {
    margin-bottom: 25px;
}

.moment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.moment-header h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1rem;
}

.moment-select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.85rem;
    background: white;
}

.gauge-container {
    position: relative;
    margin: 20px 0;
}

.gauge-bar {
    height: 8px;
    background: linear-gradient(to right, #E53935 0%, #E53935 10%, #FF9800 10%, #FF9800 20%, #FFEB3B 20%, #FFEB3B 80%, #4CAF50 80%, #4CAF50 90%, #8BC34A 90%, #8BC34A 100%);
    border-radius: 4px;
    position: relative;
}

.gauge-indicator {
    position: absolute;
    top: -15px;
    transform: translateX(-50%);
}

.gauge-circle {
    width: 30px;
    height: 30px;
    background: white;
    border: 3px solid #FFEB3B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    color: #FFEB3B;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gauge-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 0.7rem;
    text-align: center;
    gap: 5px;
}

.gauge-labels span {
    flex: 1;
    font-weight: 500;
}

.moment-description {
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    margin-top: 15px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
}

.demo-evolution {
    margin-top: 25px;
}

.demo-evolution h4 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
    font-size: 1rem;
}

.evolution-chart {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.chart-svg {
    width: 100%;
    height: 80px;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.75rem;
}

.legend-item.green {
    color: #00c853;
}

.legend-item.red {
    color: #ff3333;
}

/* Stock Ranking Demo */
.ranking-subtitle {
    font-size: 0.75rem;
    color: #666;
    font-weight: normal;
}

.ranking-table-demo {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin: 15px 0;
}

.table-header {
    display: grid;
    grid-template-columns: 40px 1fr 80px 70px;
    background: #f8f9fa;
    padding: 12px 15px;
    font-weight: 600;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
}

.ranking-rows {
    max-height: 200px;
    overflow-y: auto;
}

.ranking-row {
    display: grid;
    grid-template-columns: 40px 1fr 80px 70px;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    transition: background 0.2s;
    gap: 8px;
    min-height: 50px;
}

.ranking-row:hover {
    background: #f8f9fa;
}

.stock-info {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
}

.stock-logo-mini {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.stock-code {
    font-weight: 600;
    color: #333;
    font-size: 0.85rem;
}

.stock-price {
    font-size: 0.85rem;
    color: #666;
    text-align: right;
    white-space: nowrap;
}

.stock-score {
    font-weight: 600;
    font-size: 0.85rem;
    padding: 4px 8px;
    border-radius: 12px;
    text-align: center;
    white-space: nowrap;
    min-width: 50px;
}

.stock-score.high {
    background: #e8f5e8;
    color: #2e7d2e;
}

.stock-score.medium {
    background: #fff3cd;
    color: #856404;
}

.eva-explanation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-top: 10px;
}

.eva-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.eva-explanation small {
    color: #666;
    font-size: 0.7rem;
}

/* Community Chat Demo */
.community-chat-demo {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    max-height: 200px;
    overflow-y: auto;
}

.chat-message {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
    gap: 10px;
}

.chat-message.sent {
    justify-content: flex-end;
}

.chat-message.sent .message-bubble {
    background: var(--primary-color);
    color: white;
}

.chat-avatar-demo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
}

.message-bubble {
    background: white;
    border-radius: 12px;
    padding: 8px 12px;
    max-width: 200px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.sender-name {
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.message-text {
    font-size: 0.8rem;
    line-height: 1.3;
    margin: 0;
}

.message-time {
    font-size: 0.7rem;
    color: #999;
    margin-top: 2px;
}

.chat-input-demo {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.input-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.input-container input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.85rem;
    background: #f8f8f8;
}

.attach-btn, .send-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: not-allowed;
    transition: all 0.2s;
}

.attach-btn {
    background: #f0f0f0;
    color: #999;
}

.send-btn {
    background: var(--primary-color);
    color: white;
}

/* Analysis Demo */
.analysis-item.featured-post {
    border-left: 3px solid var(--primary-color);
    background: #f8f9fa;
}

.analysis-image {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
}

.analysis-rating.positive {
    background: #e8f5e8;
    color: #2e7d2e;
}

.analysis-rating.educational {
    background: #e3f2fd;
    color: #1976d2;
}

.analysis-rating.welcome {
    background: #fff3e0;
    color: #ef6c00;
}

.online-users i {
    margin-right: 5px;
}

/* Otimizações para efeitos tecnológicos */
.reduced-motion .holographic-effect,
.reduced-motion .energy-pulse,
.reduced-motion .floating-particles {
    animation: none !important;
    opacity: 0 !important;
}

.reduced-motion .tool-content {
    transition: opacity 0.3s ease !important;
}

.reduced-motion .tool-nav-item {
    transition: background-color 0.3s ease, color 0.3s ease !important;
}

/* Performance otimizations */
.tools-showcase {
    will-change: transform;
    transform: translateZ(0);
}

.tool-content {
    will-change: opacity, transform;
}

.floating-particles {
    will-change: auto;
}

/* Responsividade para a nova seção de ferramentas */
@media (max-width: 1200px) {
    .tools-showcase {
        max-width: 95%;
        gap: 30px;
    }
    
    /* Efeitos simplificados em telas menores */
    
    .particle {
        opacity: 0.7;
    }

    .tool-content.active {
        gap: 30px;
    }

    .tool-info {
        max-width: 450px;
    }

    .tool-demo {
        max-width: 500px;
    }
}

@media (max-width: 1024px) {
    .tools-showcase {
        gap: 20px;
    }

    .tools-navigation {
        width: 240px;
    }

    .tool-nav-item {
        padding: 15px 20px;
    }

    .tool-showcase-content {
        padding: 30px;
    }

    .tool-content.active {
        flex-direction: column;
        gap: 30px;
    }

    .tool-info,
    .tool-demo {
        max-width: 100%;
    }

    .tool-info h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .tools-showcase {
        flex-direction: column;
        gap: 0;
        margin: 0 15px;
    }
    
    /* Simplificar efeitos no mobile */
    .holographic-effect {
        display: none;
    }
    
    .floating-particles {
        opacity: 0.3;
    }
    
    .energy-pulse {
        transform: translate(-50%, -50%) scale(0.7);
    }
    
    /* Otimizar navegação móvel */
    .tools-navigation.tech-mode::after {
        opacity: 0.3;
        background-size: 15px 15px;
    }

    .tools-navigation {
        width: 100%;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
        padding: 20px 0;
        flex-direction: row;
        overflow-x: auto;
        gap: 0;
        border-radius: 20px 20px 0 0;
    }

    .tool-nav-item {
        flex-direction: column;
        text-align: center;
        padding: 15px 20px;
        min-width: 120px;
        border-left: none;
        border-bottom: 4px solid transparent;
        gap: 8px;
    }

    .tool-nav-item:hover {
        border-left-color: transparent;
        border-bottom-color: rgba(255, 255, 255, 0.5);
    }

    .tool-nav-item.active {
        border-left-color: transparent;
        border-bottom-color: var(--secondary-color);
        background: rgba(0, 102, 204, 0.15);
    }

    .nav-icon {
        width: 40px;
        height: 40px;
    }

    .nav-icon i {
        font-size: 1.2rem;
    }

    .tool-nav-item span {
        font-size: 0.85rem;
        font-weight: 600;
    }

    /* Estilos para ranking no tablet */
    .table-header {
        grid-template-columns: 38px 1fr 75px 60px;
        padding: 11px 14px;
        font-size: 0.85rem;
    }

    .ranking-row {
        grid-template-columns: 38px 1fr 75px 60px;
        padding: 11px 14px;
        min-height: 48px;
    }

    .stock-logo-mini {
        width: 19px;
        height: 19px;
    }

    .tool-showcase-content {
        padding: 25px;
        border-radius: 0 0 20px 20px;
    }

    .tool-content.active {
        flex-direction: column;
        gap: 25px;
    }

    .tool-info h3 {
        font-size: 1.6rem;
        text-align: center;
    }

    .tool-info p {
        font-size: 1rem;
        text-align: center;
    }

    .tool-features {
        margin-bottom: 25px;
    }

    .tool-buttons {
        justify-content: center;
        gap: 12px;
    }

    .tool-buttons .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .demo-frame {
        max-width: 100%;
    }

    .demo-content {
        padding: 20px;
    }

    .chart-bars {
        height: 100px;
    }

    .demo-metrics {
        gap: 20px;
        justify-content: center;
    }

    .ranking-item {
        gap: 15px;
        padding: 10px;
    }

    .message-item {
        gap: 10px;
    }

    .analysis-item {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .tools-section {
        padding: 60px 0;
    }

    .tools-showcase {
        margin: 0 10px;
    }

    .tool-nav-item {
        min-width: 100px;
        padding: 12px 15px;
    }

    .tool-nav-item span {
        font-size: 0.8rem;
    }

    .tool-showcase-content {
        padding: 20px;
    }

    .tool-info h3 {
        font-size: 1.4rem;
    }

    .tool-info p {
        font-size: 0.95rem;
    }

    .tool-buttons {
        flex-direction: column;
        align-items: center;
    }

    .tool-buttons .btn {
        width: 100%;
        max-width: 250px;
    }

    .demo-content {
        padding: 15px;
    }

    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .chart-header h4 {
        font-size: 1.1rem;
    }

    .demo-metrics {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .ranking-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .stock-code {
        order: 1;
    }

    .rank {
        order: 0;
    }

    .stock-score {
        order: 2;
        margin-left: auto;
    }

    /* Estilos específicos para ranking no mobile */
    .ranking-table-demo {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-header {
        grid-template-columns: 35px 1fr 70px 55px;
        padding: 10px 12px;
        font-size: 0.8rem;
        gap: 6px;
    }

    .ranking-row {
        grid-template-columns: 35px 1fr 70px 55px;
        padding: 10px 12px;
        gap: 6px;
        min-height: 45px;
    }

    .stock-logo-mini {
        width: 18px;
        height: 18px;
    }

    .stock-code {
        font-size: 0.8rem;
    }

    .stock-price {
        font-size: 0.8rem;
    }

    .stock-score {
        font-size: 0.8rem;
        padding: 3px 5px;
        min-width: 40px;
    }

    .demo-filters {
        justify-content: center;
    }

    .filter-tag {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    .community-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .message-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .user-avatar {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }

    .analysis-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .analysis-thumb {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .analysis-rating {
        align-self: flex-end;
        min-width: 70px;
        font-size: 0.75rem;
    }
}

/* Seção de Estatísticas */
.stats-section {
    background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
    color: white;
    padding: 60px 0;
}

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

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Seção Sobre */
.about-section {
    background-color: white;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 2.2rem;
}

.about-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-actions {
    margin-top: 30px;
    text-align: center;
}

/* Seção de Testemunhos */
.testimonials-section {
    background-color: #f8fbff;
    position: relative;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial-card {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    margin: 20px 15px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 26, 51, 0.12);
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    position: relative;
    line-height: 1.7;
}

.testimonial-content p::before {
    content: '"';
    font-size: 60px;
    position: absolute;
    top: -30px;
    left: -15px;
    color: rgba(0, 169, 157, 0.1);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.testimonial-author p {
    color: #777;
    font-size: 0.9rem;
    margin: 0;
}

.testimonials-actions {
    margin-top: 40px;
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.95) 0%, rgba(0, 26, 51, 0.9) 100%), url('Images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
}

.cta-form input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    outline: none;
}

.cta-form .btn {
    padding: 15px 25px;
    border: none;
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

.cta-action {
    margin-top: 30px;
    text-align: center;
}

.cta-action .btn {
    font-size: 1.1rem;
    padding: 14px 32px;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.copyright-container {
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    padding: 20px 0;
    margin-top: 30px;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    width: 100%;
    clear: both;
}

.footer-logo {
    margin-bottom: 2px;
}

.footer-logo img {
    margin-bottom: 10px;
    max-width: 160px;
}

.footer-logo p {
    margin-top: 1px;
    line-height: 1.4;
}

.footer-grid h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-grid h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #003366, #0066cc);
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact ul li i {
    color: var(--secondary-color);
}

/* =========================
   REDES SOCIAIS MINIMALISTAS
   ========================= */

.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 8px;
}

.social-icons a:hover {
    color: white;
    transform: translateY(-2px) scale(1.1);
}

/* Ícone X personalizado */
.x-icon {
    font-family: Arial, sans-serif;
    font-size: 1.2em;
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

/* Responsividade */
@media (max-width: 768px) {
    .social-icons {
        gap: 18px;
    }
    
    .social-icons a {
        font-size: 1.4rem;
        padding: 6px;
    }
}

@media (max-width: 480px) {
    .social-icons {
        gap: 15px;
    }
    
    .social-icons a {
        font-size: 1.3rem;
        padding: 5px;
    }
}

/* Dashboard específico */
.dashboard-container {
    min-height: calc(100vh - 80px);
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
}

.content-wrapper {
    max-width: 98vw;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

.card {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0;
    min-height: 0;
}

.sidebar {
    background: rgba(10, 30, 60, 0.75);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 24px 24px 32px 32px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    color: #fff;
    padding-bottom: 90px;
    margin: 20px 0 20px 20px;
    width: 240px;
    border: 1.5px solid rgba(255,255,255,0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar-header {
    padding: 0 28px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 10px;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.sidebar-header p {
    font-size: 1.08rem;
    opacity: 0.7;
    letter-spacing: 1px;
}

.menu-items {
    padding: 15px 0;
}

.menu-item {
    font-size: 1.13rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 16px;
    margin: 6px 12px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-item i {
    font-size: 1.35em;
    width: 28px;
    text-align: center;
}

.menu-item:hover, .menu-item.active {
    background: rgba(0, 102, 204, 0.18);
    color: #fff;
    box-shadow: 0 2px 12px 0 rgba(0, 102, 204, 0.10);
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.content-header h1 {
    color: var(--primary-color);
    margin: 0;
}

.user-menu {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user-menu-trigger img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.user-menu-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    width: 200px;
    padding: 10px 0;
    display: none;
    z-index: 9999;
}

.user-menu-content.show {
    display: block;
}

.user-menu-item {
    padding: 10px 20px;
    display: block;
    color: #333;
    transition: var(--transition);
}

.user-menu-item:hover {
    background: #f5f5f5;
}

.toggle-drawer {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 2.1rem;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 1201;
}

.toggle-drawer:hover {
    color: var(--secondary-color);
}

/* Classe para mensagens de sistema */
.message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    max-width: 80%;
}

.message.show {
    opacity: 1;
    transform: translateY(0);
}

.message.success {
    background: linear-gradient(135deg, #00a99d 0%, #00cc99 100%);
    box-shadow: 0 5px 15px rgba(0, 169, 157, 0.3);
}

.message.error {
    background: linear-gradient(135deg, #ff5f6d 0%, #ff4f81 100%);
    box-shadow: 0 5px 15px rgba(255, 95, 109, 0.3);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Ícone X personalizado */
.x-icon {
    font-family: Arial, sans-serif;
    font-size: 1.2em;
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}



/* Responsividade */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

/* Melhorias Mobile - Hero Section */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 80px 0 60px;
        text-align: center;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        position: relative;
        background: linear-gradient(135deg, #0a3761 0%, #1a4a7a 50%, #0a3761 100%);
        overflow: hidden;
    }

    /* Elementos flutuantes animados */
    .hero::before {
        content: '';
        position: absolute;
        top: 10%;
        left: 10%;
        width: 60px;
        height: 60px;
        background: rgba(0, 102, 204, 0.1);
        border-radius: 50%;
        animation: float 6s ease-in-out infinite;
        z-index: 1;
    }

    .hero::after {
        content: '';
        position: absolute;
        top: 60%;
        right: 15%;
        width: 40px;
        height: 40px;
        background: rgba(0, 153, 255, 0.15);
        border-radius: 50%;
        animation: float 8s ease-in-out infinite reverse;
        z-index: 1;
    }

    /* Partículas flutuantes */
    .hero .floating-particles {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 1;
    }

    .hero .floating-particles::before,
    .hero .floating-particles::after {
        position: absolute;
        font-size: 24px;
        opacity: 0;
        animation: particleFloat 10s linear infinite;
    }

    .hero .floating-particles::before {
        content: '📈';
        top: 20%;
        left: 20%;
        animation-delay: 0s;
    }

    .hero .floating-particles::after {
        content: '💰';
        top: 70%;
        right: 25%;
        animation-delay: 5s;
    }

    .hero-content {
        width: 100% !important;
        padding: 0 20px !important;
        margin: 0 !important;
        margin-left: 0 !important;
        text-align: center !important;
        position: relative;
        z-index: 2;
        animation: fadeInUp 1s ease-out;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: calc(100vh - 70px);
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    .hero-content h1 {
        font-size: 3rem;
        font-weight: 800;
        color: white;
        margin-bottom: 20px;
        margin-top: -30px;
        line-height: 1.2;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
        background: linear-gradient(45deg, #ffffff, #e0f7fa);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: glow 2s ease-in-out infinite alternate;
        text-align: center !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .hero-content p {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 35px;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        line-height: 1.6;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
        animation: fadeInUp 1s ease-out 0.3s both;
        padding: 0 10px !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .hero-buttons {
        justify-content: center !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        animation: fadeInUp 1s ease-out 0.6s both;
        align-items: center !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 16px 24px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 50px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    .hero-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;
    }

    .hero-buttons .btn:hover::before {
        left: 100%;
    }
    
    .hero-buttons .highlight-btn {
        background: linear-gradient(135deg, #003366 0%, #0066cc 50%, #0099ff 100%);
        color: white;
        border: none;
        transform: translateY(0);
        box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
    }

    .hero-buttons .highlight-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(0, 102, 204, 0.6);
    }

    .hero-buttons .btn:not(.highlight-btn) {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        border: 2px solid rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(10px);
    }

    .hero-buttons .btn:not(.highlight-btn):hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.5);
        transform: translateY(-2px);
    }

    /* Remover vídeo em mobile e usar background gradiente */
    .hero-video-background video {
        display: none;
    }
    
    .hero-video-background {
        background: linear-gradient(135deg, #0a3761 0%, #1a4a7a 50%, #0a3761 100%);
        position: relative;
    }

    .hero-video-background::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 20% 30%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(0, 153, 255, 0.1) 0%, transparent 50%);
        animation: backgroundShift 8s ease-in-out infinite;
    }

    /* Animações */
    @keyframes float {
        0%, 100% { transform: translateY(0px) rotate(0deg); }
        50% { transform: translateY(-20px) rotate(180deg); }
    }

    @keyframes particleFloat {
        0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
        5% { opacity: 0.3; }
        95% { opacity: 0.3; }
        100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes glow {
        from { filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3)); }
        to { filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)); }
    }

    @keyframes backgroundShift {
        0%, 100% { opacity: 0.5; }
        50% { opacity: 1; }
    }

    /* Melhorar navbar mobile */
    .navbar {
        padding: 15px 20px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar .logo {
        margin-left: 0;
    }

    .navbar .logo img {
        height: 120px;
        transition: transform 0.3s ease;
    }

    .navbar .logo img:hover {
        transform: scale(1.05);
    }

    /* Melhorar hamburger menu */
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 1000;
        position: relative;
        margin-left: auto;
        pointer-events: auto;
        user-select: none;
    }

    .hamburger span {
        width: 100%;
        height: 3px;
        background: #003366 !important;
        border-radius: 3px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
        display: block !important;
        margin: 2px 0;
    }

    .hamburger:hover span {
        background: #0066cc !important;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    /* Melhorar navegação mobile */
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        opacity: 0;
        visibility: hidden;
        z-index: 9999;
        width: 100%;
    }
    
    .nav-links.active {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
        background: rgba(255, 255, 255, 1);
    }
    
    .nav-links li {
        margin: 8px 0;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
        text-align: center;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links li:nth-child(5) { transition-delay: 0.5s; }

    .nav-links a {
        display: block;
        padding: 12px 20px;
        font-size: 1.1rem;
        font-weight: 500;
        color: #003366;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin: 0 15px;
        text-align: center;
    }

    .nav-links a:hover {
        background: linear-gradient(135deg, #003366, #0066cc);
        color: white;
        transform: translateX(10px);
    }

    .cta-btn a {
        background: linear-gradient(135deg, #003366, #0066cc);
        color: white;
        border-radius: 25px;
        padding: 12px 25px;
        font-weight: 600;
        font-size: 1rem;
        box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
        transition: all 0.3s ease;
        display: inline-block;
        margin: 8px auto;
    }

    .cta-btn a:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
    }
}

/* Melhorias para telas muito pequenas */
@media (max-width: 480px) {
    .hero {
        padding: 70px 0 50px;
        overflow-x: hidden !important;
    }

    .hero-content {
        padding: 0 15px !important;
        text-align: center !important;
        margin-left: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero-content h1 {
        font-size: 2.5rem !important;
        margin-bottom: 15px;
        margin-top: -30px !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    .hero-content p {
        font-size: 0.95rem !important;
        margin-bottom: 30px;
        line-height: 1.5;
        text-align: center !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .hero-buttons {
        gap: 12px;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .hero-buttons .btn {
        padding: 14px 20px;
        font-size: 1rem;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .hero-buttons .highlight-btn {
        padding: 14px 20px;
        font-size: 1rem;
    }

    /* Ajustar elementos flutuantes para telas menores */
    .hero::before {
        width: 40px;
        height: 40px;
        top: 15%;
        left: 15%;
    }

    .hero::after {
        width: 30px;
        height: 30px;
        top: 65%;
        right: 20%;
    }

    .hero .floating-particles::before,
    .hero .floating-particles::after {
        font-size: 20px;
    }
}

/* Melhorias para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.15rem;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 20px;
        max-width: none;
    }

    .hero-buttons .btn {
        width: auto;
        min-width: 180px;
    }
}

/* Estilos de autenticação */
.auth-container {
    min-height: 100vh;
    padding: 100px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.9) 0%, rgba(0, 26, 51, 0.85) 100%), url('Images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 40px;
    transition: var(--transition);
}

.auth-logo {
    display: block;
    margin: 0 auto 30px;
    width: 180px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.form-check input {
    margin-right: 8px;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.auth-links {
    margin-top: 15px;
}

.auth-links a {
    color: var(--secondary-color);
    transition: var(--transition);
}

.auth-links a:hover {
    color: var(--primary-color);
}

.hidden {
    display: none;
}

.btn-block {
    display: block;
    width: 100%;
}
.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.remember-me input[type="checkbox"] {
    margin-right: 8px;
    width: auto;
    height: auto;
}

.remember-me label {
    margin-bottom: 0;
    font-size: 0.9em;
    color: #555;
}


/* Estilos do Chat */
.chat-container {
    width: 100%; /* Ocupar toda a largura disponível */
    height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    background-color: white;
    box-shadow: var(--box-shadow);
    border-radius: 15px;
    overflow: hidden; /* Garante que bordas arredondadas funcionem */
    position: relative; /* Necessário para z-index funcionar */
    z-index: 1; /* Definir um z-index baixo para o contêiner do chat */
}

.chat-header {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 20px; /* Manter padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header h1 {
    font-size: 1.2rem; /* Ajustar tamanho da fonte */
    font-weight: 600; /* Ajustar peso da fonte */
    margin: 0;
}

.user-info {
    display: flex;
    align-items: center;
    padding: 12px 20px; /* Ajustar padding */
    background-color: var(--light-color); /* Usar variável de cor */
    border-bottom: 1px solid #eee; /* Adicionar uma linha sutil */
}

.user-info label {
    margin-right: 8px; /* Ajustar margem */
    font-weight: 500; /* Manter peso da fonte */
    color: var(--primary-color); /* Usar variável de cor */
    font-size: 0.9rem; /* Ajustar tamanho da fonte */
}

.user-info input {
    padding: 8px 15px; /* Ajustar padding */
    border-radius: 8px; /* Manter borda arredondada */
    border: 1px solid #ddd;
    flex-grow: 1;
    font-size: 1rem;
}

.chat-messages {
    flex-grow: 1;
    padding: 20px 30px; /* Aumentar padding horizontal */
    overflow-y: auto;
    background-color: #f9fdff; /* Cor de fundo suave, usando light-color */
    background-image: none;
}

/* Estilos específicos para mensagens dentro do chat */
.chat-messages .message {
    margin-bottom: 12px; /* Manter espaço entre mensagens */
    max-width: 85%; /* Manter largura máxima */
    padding: 8px 12px; /* Ajustar padding dentro do balão */
    border-radius: 18px; /* Manter bordas mais arredondadas */
    position: relative;
    clear: both;
    word-wrap: break-word;
    opacity: 1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* Manter sombra sutil */
    line-height: 1.4; /* Manter espaçamento entre linhas */
    border-bottom-right-radius: 18px; 
    border-bottom-left-radius: 18px;
}

.chat-messages .message.sent {
    background-color: var(--primary-color); /* Manter cor primária */
    color: white;
    float: right;
    border-top-right-radius: 2px; /* Manter bordas arredondadas diferentes para a cauda */
}

.chat-messages .message.received {
    background-color: #e9e9eb; /* Manter cinza claro */
    color: #333; /* Manter cor do texto escura */
    float: left;
    border-top-left-radius: 2px; /* Manter bordas arredondadas diferentes para a cauda */
}

.chat-messages .message .message-info {
    display: flex;
    align-items: center; /* Alinha verticalmente a foto e o nome */
    margin-bottom: 5px; /* Espaço entre a info (foto/nome) e o texto da mensagem */
}

.chat-messages .message .chat-profile-photo {
    width: 40px; /* Tamanho da foto de perfil */
    height: 40px;
    border-radius: 50%;
    margin-right: 10px; /* Espaço entre a foto e o nome */
    object-fit: cover;
}

.chat-messages .message .sender-name {
    font-weight: 600;
    font-size: 1em; /* Tamanho da fonte do nome - ajustar */
    margin: 0; /* Remover margem padrão */
    color: var(--primary-color); /* Cor padrão para nomes em mensagens recebidas */
}

.chat-messages .message.sent .sender-name {
    color: white; /* Cor branca para nomes em mensagens enviadas */
}

.chat-messages .message .message-text {
    font-size: 0.95rem; /* Ajustar tamanho da fonte do texto */
    margin-bottom: 2px; /* Reduzir margem */
    color: #333; /* Manter cor do texto */
    width: 100%;
    display: block;
}

.chat-messages .message-time {
    font-size: 0.65em; /* Reduzir um pouco mais o tamanho do tempo */
    color: #777; /* Manter cor do tempo mais suave */
    text-align: right;
    margin-top: 0; 
    flex-shrink: 0;
}

/* Estilos para foto de perfil no chat */
.chat-profile-photo {
    width: 30px; /* Tamanho do avatar */
    height: 30px; /* Tamanho do avatar */
    border-radius: 50%; /* Deixar redondo */
    margin-right: 8px; /* Espaço entre a foto e o nome/texto */
    object-fit: cover; /* Garantir que a imagem cubra a área sem distorcer */
}

/* Espaço para avatares (mantido, mas o layout agora é tratado pela foto diretamente) */
/* .chat-messages .message-with-avatar { ... } */
/* .chat-messages .message-avatar { ... } */
/* .chat-messages .message-content { ... } */

.chat-input {
    display: flex;
    padding: 12px 20px; /* Ajustar padding */
    background-color: var(--light-color);
    align-items: center;
    border-top: 1px solid #eee;
}

.chat-input input {
    flex-grow: 1;
    padding: 10px 15px; /* Ajustar padding */
    border: none;
    border-radius: 25px;
    margin-right: 10px;
    background-color: white;
    font-size: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) inset;
}

.chat-input button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px; /* Ajustar tamanho */
    height: 40px; /* Ajustar tamanho */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 102, 204, 0.2);
}

#attachButton {
    margin-right: 8px; /* Adiciona espaço à direita do botão de anexo */
}

.chat-input button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

.chat-input button i {
    font-size: 1.1rem; /* Ajustar tamanho do ícone */
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
/* Fim dos estilos do Chat */

.chat-messages .message.sent .sender-name {
    color: white; /* Nome do remetente branco em mensagens enviadas */
}

.chat-messages .message.sent .message-text {
    color: white; /* Texto da mensagem branco em mensagens enviadas */
}

/* Estilos para o input de arquivo oculto */
.hidden-file-input {
    display: none; /* Esconde completamente o input */
}

/* Estilos para a mensagem */
.chat-messages .message {
    position: relative;
}

.chat-messages .message .message-content-wrapper {
    /* Flexbox para alinhar conteúdo e timestamp */
    display: flex;
    flex-direction: column;
}

.chat-messages .message .message-text {
    /* Ocupa o espaço disponível */
    flex-grow: 1;
}

.chat-messages .message-time {
    /* Alinhado à direita dentro do wrapper */
    align-self: flex-end;
}

.delete-message-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #dc3545; /* Vermelho para o ícone */
    cursor: pointer;
    font-size: 0.9em;
    transition: color 0.3s ease;
    opacity: 0; /* Esconder por padrão */
    pointer-events: none; /* Não ser clicável quando escondido */
}

.chat-messages .message.sent .delete-message-btn {
    /* Posicionar à direita fora do balão */
    right: -25px; /* Ajuste conforme necessário para o espaçamento */
    color: #dc3545; /* Vermelho para o ícone */
}

.chat-messages .message.received .delete-message-btn {
     /* Posicionar à esquerda para mensagens recebidas */
    left: -25px; /* Ajuste conforme necessário para o espaçamento */
    right: auto;
    color: #dc3545; /* Vermelho para o ícone */
}

/* Mostrar botão ao passar o mouse sobre a mensagem */
.chat-messages .message:hover .delete-message-btn {
    opacity: 1;
    pointer-events: auto;
}

.delete-message-btn:hover {
    color: rgba(255, 0, 0, 0.8); /* Mudar cor ao passar o mouse */
}

/* Estilos para a foto de perfil no chat */
.chat-messages .message .chat-profile-photo {
    width: 40px; /* Tamanho da foto de perfil */
    height: 40px;
    border-radius: 50%;
    margin-right: 10px; /* Espaço entre a foto e o nome */
    object-fit: cover;
}

/* Estilos para o modal de confirmação */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 10001;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #000;
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    border-radius: 15px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsividade para o modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .tool-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .video-btn,
    .youtube-btn {
        justify-content: center;
        width: 100%;
    }
}

/* Estilos para os botões de vídeo no card do Rastreador de Mercado */
.tool-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.video-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

.youtube-btn {
    background: #ff0000;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.youtube-btn:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

/* Responsividade para o botão */
@media (max-width: 768px) {
    .tool-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .youtube-btn {
        justify-content: center;
        width: 100%;
    }
}

.tools-actions {
    margin-top: 40px;
    text-align: center;
}

.highlight-btn {
    background: var(--gradient);
    color: #fff;
    border: none;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 16px 38px;
    border-radius: 30px;
    box-shadow: 0 6px 24px rgba(0, 102, 204, 0.25);
    transition: all 0.2s;
    letter-spacing: 0.5px;
    outline: none;
    position: relative;
    z-index: 1;
}

.highlight-btn:hover, .highlight-btn:focus {
    background: linear-gradient(90deg, #0066cc 0%, #003366 100%);
    color: #fff;
    box-shadow: 0 10px 32px rgba(0, 102, 204, 0.35);
    transform: translateY(-2px) scale(1.04);
    text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

@media (max-width: 992px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 60px;
        bottom: 0;
        width: 80vw;
        max-width: 320px;
        margin: 0;
        border-radius: 0 24px 24px 0;
        z-index: 2000;
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    .sidebar.show {
        transform: translateX(0);
    }
    .dashboard-container {
        margin-left: 0 !important;
    }
}
@media (max-width: 600px) {
    .sidebar {
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
    }
    .sidebar-social {
        gap: 12px;
        font-size: 1.1rem;
    }
}

.premium-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
    width: 100%;
    max-width: 1000px;
}

.premium-tool {
    background: rgba(255,255,255,0.82);
    border-radius: 20px;
    box-shadow: 0 4px 24px 0 rgba(0, 102, 204, 0.10);
    border: 1.5px solid rgba(0, 102, 204, 0.10);
    display: flex;
    align-items: center;
    transition: box-shadow 0.22s, transform 0.18s, border 0.18s;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    min-height: 140px;
}
.premium-tool:hover {
    box-shadow: 0 12px 36px 0 rgba(0, 102, 204, 0.18);
    border: 1.5px solid var(--secondary-color);
    transform: translateY(-3px) scale(1.012);
    background: linear-gradient(120deg, rgba(0,102,204,0.08) 0%, rgba(0,102,204,0.10) 100%);
}
.tool-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #003366, #0066cc);
    border-radius: 16px;
    margin-right: 20px;
    box-shadow: 0 4px 18px 0 rgba(0, 102, 204, 0.3);
    position: relative;
    flex-shrink: 0;
}
.tool-icon i {
    color: #fff;
    font-size: 2.6rem;
    filter: drop-shadow(0 2px 8px rgba(0,102,204,0.3));
    text-shadow: 0 2px 8px rgba(0,102,204,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.tool-content {
    padding: 20px 20px 20px 0;
    flex: 1;
}
.tool-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.tool-content p {
    color: #444;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.05rem;
}
.tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--gradient);
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.08rem;
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.13);
    transition: background 0.2s, box-shadow 0.2s, transform 0.18s;
    border: none;
}
.tool-btn i {
    transition: transform 0.2s;
}
.premium-tool:hover .tool-btn {
    background: linear-gradient(90deg, #0066cc 0%, #003366 100%);
    box-shadow: 0 4px 18px rgba(0, 102, 204, 0.18);
    transform: scale(1.04);
}
.premium-tool:hover .tool-btn i {
    transform: translateX(7px);
}
/* Dashboard específico - forçar layout correto */
.dashboard-container .premium-tools-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
    margin-top: 30px !important;
}

.dashboard-container .premium-tool {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

.dashboard-container .tool-icon {
    margin-right: 20px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.dashboard-container .tool-content {
    padding: 20px 20px 20px 0 !important;
    text-align: left !important;
}

@media (max-width: 992px) {
    .premium-tools-grid {
        grid-template-columns: 1fr !important;
    }
    .premium-tool {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
    }
    .tool-icon {
        margin: 24px auto 0 auto;
    }
    .tool-content {
        padding: 18px 0 18px 0;
        text-align: center;
    }
}

.sidebar-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}
.sidebar-gear {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 204, 0.13);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    color: #fff;
    font-size: 2rem;
    transition: background 0.2s, color 0.2s, transform 0.18s;
}
.sidebar-gear:hover {
    background: rgba(0, 102, 204, 0.25);
    color: #0066cc;
    transform: scale(1.12) rotate(-12deg);
}
.sidebar-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: auto 0 24px 0;
    padding: 0 24px;
}
.sidebar-social a {
    color: #fff;
    font-size: 1.4rem;
    opacity: 0.85;
    transition: color 0.2s, transform 0.2s, opacity 0.2s;
    border-radius: 50%;
    padding: 10px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.225);
}
.sidebar-social a:hover {
    color: #0066cc;
    background: rgba(0, 102, 204, 0.10);
    opacity: 1;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 9px 27px rgba(0, 102, 204, 0.525);
    border-color: var(--secondary-color);
}
.x-icon {
    font-family: Arial, sans-serif;
    font-size: 1.2em;
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}
@media (max-width: 992px) {
    .sidebar-bottom {
        margin-bottom: 10px;
        gap: 12px;
    }
    .sidebar-gear {
        width: 42px;
        height: 42px;
        font-size: 1.5rem;
    }
    .sidebar-social a {
        font-size: 1.3rem;
        padding: 5px;
    }
}

.toggle-drawer {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 2.1rem;
    cursor: pointer;
    margin-right: 18px;
    transition: color 0.2s;
    z-index: 1201;
}
.toggle-drawer:hover {
    color: var(--secondary-color);
}
.drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 320px;
    max-width: 90vw;
    background: rgba(10, 30, 60, 0.97);
    box-shadow: 0 0 32px 0 rgba(0,0,0,0.18);
    z-index: 1200;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(.77,0,.18,1);
    display: flex;
    flex-direction: column;
    padding-top: 0;
}
.drawer.open {
    transform: translateX(0);
}
.drawer-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 18px 18px 0 0;
}
.close-drawer {
    background: none;
    border: none;
    color: #fff;
    font-size: 2.1rem;
    cursor: pointer;
    transition: color 0.2s;
}
.close-drawer:hover {
    color: var(--secondary-color);
}
.drawer-menu-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 60px;
    padding: 0 24px;
}
.drawer-menu-item {
    color: #fff;
    font-size: 1.18rem;
    font-weight: 500;
    padding: 14px 0 14px 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: background 0.18s, color 0.18s;
}
.drawer-menu-item i {
    font-size: 1.35em;
    width: 28px;
    text-align: center;
}
.drawer-menu-item:hover, .drawer-menu-item.active {
    background: rgba(0, 102, 204, 0.18);
    color: #0066cc;
}
.drawer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: auto 0 24px 0;
    padding: 0 24px;
}
.drawer-social a {
    color: #fff;
    font-size: 1.4rem;
    opacity: 0.85;
    transition: all 0.25s ease;
    border-radius: 50%;
    padding: 10px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.225);
}
.drawer-social a:hover {
    color: #fff;
    background: var(--secondary-color);
    opacity: 1;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 9px 27px rgba(0, 102, 204, 0.525);
    border-color: var(--secondary-color);
}
.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.25);
    z-index: 1199;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s;
}
.drawer-backdrop.open {
    opacity: 1;
    pointer-events: all;
}
@media (max-width: 600px) {
    .drawer {
        width: 92vw;
        max-width: 98vw;
    }
    .drawer-social {
        gap: 6px;
        padding: 0 16px;
    }
    .drawer-social a {
        font-size: 1.2rem;
        width: 36px;
        height: 36px;
        padding: 8px;
    }
}

.dashboard-welcome h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0;
}
.tools-intro {
    color: #555;
    font-size: 1.15rem;
    margin: 15px 0 25px;
}
#dashboardUserGreeting {
    font-size: 1.9rem !important;
    font-weight: 500 !important;
    color: var(--primary-color) !important;
}

/* Melhorias Mobile - Outras Seções */
@media (max-width: 768px) {
    /* Melhorar seção de ferramentas */
    .tools-section {
        padding: 60px 0;
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }

    .tool-card {
        background: white;
        border-radius: 20px;
        padding: 30px 25px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
        position: relative;
        overflow: hidden;
    }

    .tool-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(135deg, #003366, #0066cc);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

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

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

    .tool-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 20px;
        background: linear-gradient(135deg, #003366, #0066cc);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .tool-card:hover .tool-icon {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 10px 25px rgba(0, 102, 204, 0.4);
    }

    .tool-icon i {
        font-size: 2rem;
        color: white;
    }

    .tool-card h3 {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 15px;
        text-align: center;
    }

    .tool-card p {
        font-size: 1rem;
        color: #666;
        line-height: 1.6;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Melhorar seção de estatísticas */
    .stats-section {
        background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
        padding: 60px 0;
        position: relative;
        overflow: hidden;
    }

    .stats-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 30% 20%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 70% 80%, rgba(0, 153, 255, 0.1) 0%, transparent 50%);
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 400px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }

    .stat-item {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 30px 20px;
        text-align: center;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    .stat-item:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.15);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    }

    .stat-item h3 {
        font-size: 2.5rem;
        font-weight: 800;
        color: white;
        margin-bottom: 10px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .stat-item p {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
    }

    /* Melhorar seção sobre */
    .about-section {
        padding: 60px 0;
        background: white;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }

    .about-text {
        order: 2;
        text-align: center;
        padding: 0 20px;
    }

    .about-text h2 {
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 20px;
        position: relative;
    }

    .about-text h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: linear-gradient(135deg, #003366, #0066cc);
        border-radius: 2px;
    }

    .about-text p {
        font-size: 1.1rem;
        color: #666;
        line-height: 1.7;
        margin-bottom: 20px;
    }

    .about-actions {
        text-align: center;
        margin-top: 30px;
    }

    .about-actions .btn {
        background: linear-gradient(135deg, #003366, #0066cc);
        color: white;
        border: none;
        padding: 16px 35px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 50px;
        box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
        transition: all 0.3s ease;
    }

    .about-actions .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(0, 102, 204, 0.6);
    }

    /* Melhorar seção de testemunhos */
    .testimonials-section {
        padding: 60px 0;
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    }

    .testimonials-slider {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 0 20px;
    }

    .testimonial-card {
        background: white;
        border-radius: 20px;
        padding: 30px 25px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .testimonial-card::before {
        content: '"';
        position: absolute;
        top: 10px;
        left: 20px;
        font-size: 4rem;
        color: #003366;
        opacity: 0.1;
        font-family: serif;
    }

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

    .testimonial-content p {
        font-size: 1rem;
        color: #555;
        line-height: 1.6;
        margin-bottom: 20px;
        text-align: center;
        position: relative;
        z-index: 1;
    }

    .testimonial-author {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }

    .testimonial-author img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #003366;
    }

    .testimonial-author h4 {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--primary-color);
        margin-bottom: 5px;
    }

    .testimonial-author p {
        font-size: 0.9rem;
        color: #666;
    }

    /* Melhorar seção CTA */
    .cta-section {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
        padding: 60px 0;
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    .cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 20% 30%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(0, 153, 255, 0.1) 0%, transparent 50%);
    }

    .cta-section h2 {
        font-size: 2.2rem;
        font-weight: 700;
        color: white;
        margin-bottom: 15px;
        position: relative;
        z-index: 1;
    }

    .cta-section p {
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 30px;
        position: relative;
        z-index: 1;
    }

    .cta-action {
        position: relative;
        z-index: 1;
    }

    .cta-action .btn {
        background: linear-gradient(135deg, #003366, #0066cc);
        color: white;
        border: none;
        padding: 16px 35px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 50px;
        box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
        transition: all 0.3s ease;
    }

    .cta-action .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(0, 102, 204, 0.6);
    }

    /* Melhorar footer */
    footer {
        background: var(--dark-color);
        padding: 40px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 0 20px;
    }

    .footer-logo img {
        height: 100px;
        margin: 0 auto 15px;
    }

    .footer-grid h4 {
        color: white;
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 15px;
        position: relative;
    }

    .footer-grid h4::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 3px;
        background: linear-gradient(135deg, #003366, #0066cc);
        border-radius: 2px;
    }

    .footer-links ul li,
    .footer-contact ul li {
        margin: 8px 0;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.8);
        transition: all 0.3s ease;
    }

    .footer-links a:hover {
        color: #0066cc;
        transform: translateX(5px);
    }

    .footer-contact ul li {
        color: rgba(255, 255, 255, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }



    .copyright {
        text-align: center;
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 30px;
    }

    .copyright p {
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.9rem;
    }
}

/* Melhorias para telas muito pequenas */
@media (max-width: 480px) {
    .tools-section,
    .stats-section,
    .about-section,
    .testimonials-section,
    .cta-section {
        padding: 50px 0;
    }

    .tools-grid,
    .testimonials-slider {
        padding: 0 15px;
    }

    .tool-card,
    .testimonial-card {
        padding: 25px 20px;
    }

    .tool-card h3,
    .cta-section h2,
    .about-text h2 {
        font-size: 1.8rem;
    }

    .stat-item h3 {
        font-size: 2.2rem;
    }

    .stat-item {
        padding: 25px 15px;
    }

    .footer-grid {
        padding: 0 15px;
    }


}

/* Efeitos de Scroll e Micro-interações Mobile */
@media (max-width: 768px) {
    /* Scroll suave */
    html {
        scroll-behavior: smooth;
    }

    /* Melhorar seção header */
    .section-header {
        margin-bottom: 40px;
        animation: fadeInUp 1s ease-out;
    }

    .section-header h2 {
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 15px;
        position: relative;
        text-align: center;
    }

    .section-header h2::after {
        content: '';
        position: absolute;
        bottom: -12px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: linear-gradient(135deg, #003366, #0066cc);
        border-radius: 2px;
        animation: expandWidth 1s ease-out 0.5s both;
    }

    .section-header p {
        color: #666;
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto;
        text-align: center;
        line-height: 1.6;
        animation: fadeInUp 1s ease-out 0.3s both;
    }

    /* Animações de entrada para cards */
    .tool-card,
    .testimonial-card,
    .stat-item {
        animation: fadeInUp 0.8s ease-out both;
        animation-delay: calc(var(--animation-order, 0) * 0.1s);
    }

    .tool-card:nth-child(1) { --animation-order: 1; }
    .tool-card:nth-child(2) { --animation-order: 2; }
    .tool-card:nth-child(3) { --animation-order: 3; }
    .tool-card:nth-child(4) { --animation-order: 4; }

    .testimonial-card:nth-child(1) { --animation-order: 1; }
    .testimonial-card:nth-child(2) { --animation-order: 2; }
    .testimonial-card:nth-child(3) { --animation-order: 3; }

    .stat-item:nth-child(1) { --animation-order: 1; }
    .stat-item:nth-child(2) { --animation-order: 2; }
    .stat-item:nth-child(3) { --animation-order: 3; }

    /* Efeito de hover melhorado para botões */
    .btn {
        position: relative;
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .btn:hover::after {
        width: 300px;
        height: 300px;
    }

    /* Efeito de pulse para CTA principal */
    .hero-buttons .highlight-btn {
        animation: pulse 2s infinite;
    }

    .hero-buttons .highlight-btn:hover {
        animation: none;
    }

    /* Melhorar tool-actions */
    .tool-actions {
        margin-top: 20px;
        text-align: center;
    }

    .tool-actions .btn {
        background: linear-gradient(135deg, #003366, #0066cc);
        color: white;
        border: none;
        padding: 12px 25px;
        font-size: 0.95rem;
        font-weight: 600;
        border-radius: 25px;
        box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
        transition: all 0.3s ease;
    }

    .tool-actions .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
    }

    /* Melhorar tools-actions */
    .tools-actions {
        text-align: center;
        margin-top: 40px;
        animation: fadeInUp 1s ease-out 0.8s both;
    }

    .tools-actions .btn {
        background: linear-gradient(135deg, #003366, #0066cc);
        color: white;
        border: none;
        padding: 16px 35px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 50px;
        box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
        transition: all 0.3s ease;
    }

    .tools-actions .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(0, 102, 204, 0.6);
    }

    /* Melhorar testimonials-actions */
    .testimonials-actions {
        text-align: center;
        margin-top: 40px;
        animation: fadeInUp 1s ease-out 0.8s both;
    }

    .testimonials-actions .btn {
        background: linear-gradient(135deg, #003366, #0066cc);
        color: white;
        border: none;
        padding: 16px 35px;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 50px;
        box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
        transition: all 0.3s ease;
    }

    .testimonials-actions .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(0, 102, 204, 0.6);
    }

    /* Efeito de loading para elementos */
    .loading {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.6s ease;
    }

    .loading.loaded {
        opacity: 1;
        transform: translateY(0);
    }

    /* Melhorar responsividade de imagens */
    .testimonial-author img {
        transition: transform 0.3s ease;
    }

    .testimonial-card:hover .testimonial-author img {
        transform: scale(1.1);
    }

    /* Efeito de destaque para ícones */
    .tool-icon {
        position: relative;
    }

    .tool-icon::before {
        content: '';
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        background: var(--gradient);
        border-radius: 25px;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: -1;
    }

    .tool-card:hover .tool-icon::before {
        opacity: 0.3;
    }

    /* Animações adicionais */
    @keyframes expandWidth {
        from { width: 0; }
        to { width: 60px; }
    }

    @keyframes pulse {
        0% { box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4); }
        50% { box-shadow: 0 10px 30px rgba(0, 102, 204, 0.6), 0 0 0 10px rgba(0, 102, 204, 0.1); }
        100% { box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4); }
    }

    /* Melhorar acessibilidade */
    .btn:focus,
    .tool-card:focus,
    .testimonial-card:focus {
        outline: 2px solid var(--secondary-color);
        outline-offset: 2px;
    }

    /* Efeito de parallax sutil */
    .hero-content {
        transform: translateZ(0);
        will-change: transform;
    }

    /* Melhorar performance de animações */
    .hero::before,
    .hero::after,
    .floating-particles::before,
    .floating-particles::after {
        will-change: transform;
    }

    /* Efeito de glassmorphism para cards */
    .tool-card,
    .testimonial-card {
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.95);
    }

    /* Melhorar contraste e legibilidade */
    .hero-content h1 {
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    }

    .hero-content p {
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    }

    /* Efeito de shimmer para botões */
    .btn.shimmer {
        position: relative;
        overflow: hidden;
    }

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

    .btn.shimmer:hover::before {
        left: 100%;
    }
}

/* Melhorias para telas muito pequenas */
@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .tool-actions .btn,
    .tools-actions .btn,
    .testimonials-actions .btn {
        padding: 14px 25px;
        font-size: 1rem;
    }

    /* Reduzir animações em dispositivos com preferência por movimento reduzido */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
}

/* Garantir que o hamburger seja visível no mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nav-links {
        display: flex !important;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-links.active {
        display: flex !important;
        max-height: 400px;
        opacity: 1;
        visibility: visible;
    }
}

/* Estilos gerais do hamburger para desktop */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
    
    .nav-links {
        display: flex !important;
    }
}



/* Correções específicas para o chat no mobile */
@media (max-width: 768px) {
    .main-content {
        padding-top: 80px !important;
        margin-top: 0 !important;
    }
    
    .content-wrapper {
        padding-top: 20px !important;
        margin-top: 0 !important;
    }
    
    .chat-container {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        margin-top: 0 !important;
        position: relative !important;
        top: 0 !important;
    }
    
    .chat-messages {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 15px !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    .chat-messages .message {
        max-width: 90% !important;
        width: auto !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .chat-input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 15px !important;
    }
    
    .chat-input input {
        max-width: calc(100% - 100px) !important;
        box-sizing: border-box !important;
    }
    
    .chat-header {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 15px 15px !important;
    }
    
    .user-info {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 15px !important;
    }
}

.loading-auth body {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.auth-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f9fdff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.auth-loader i {
    font-size: 3rem;
    color: var(--primary-color);
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Quando o loader for escondido */
.auth-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Quando a página estiver pronta para ser exibida */
.loading-auth.auth-ready body {
    opacity: 1;
    visibility: visible;
}

/* --- Hero Section Ajustada --- */

.hero {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Fundo gradiente mantido */
    background: radial-gradient(circle at 30% 30%, #004080 0%, #001a33 100%);
}

.hero-flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px; /* Limite para telas ultrawide */
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Texto ocupa menos espaço agora para dar lugar às imagens */
.hero-content {
    width: 40%; 
    margin-left: 0;
    text-align: left;
    z-index: 3;
    padding-left: 20px; /* Margem de segurança lateral */
}

/* --- AJUSTE 1: Imagens Maiores --- */
.hero-images-composition {
    width: 58%; /* Aumentei a área disponível */
    position: relative;
    height: 600px; /* Aumentei a altura para o notebook caber melhor */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Ajuste de Posicionamento e Espelhamento --- */

/* 1. Notebook: Mais para a direita */
.hero-notebook {
    width: 130%; 
    max-width: 1550px;
    position: absolute;
    right: -150px; /* Aumentei de -50px para -150px (mais para a direita) */
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
    opacity: 0;
    animation: heroImageEntry 1.2s ease-out 0.3s forwards,
               floatNotebook 10s ease-in-out infinite 1.5s;
}

/* 2. Celular: Mais para a direita e Invertido */
.hero-phone {
    width: 52%;
    position: absolute;
    bottom: 0px;
    right: -10%;  /* Mudei de 12% para 0% (joga-o mais para a direita, perto da borda) */
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
    opacity: 0;
    /* A animação agora cuida do espelhamento também */
    animation: heroImageEntry 1.2s ease-out 0.6s forwards,
               floatPhoneInverted 10s ease-in-out infinite 1.8s;
}

/* --- Animações Atualizadas --- */

/* Animação de entrada para as imagens do hero */
@keyframes heroImageEntry {
    0% {
        opacity: 0;
        transform: translateX(100px) scale(0.8);
        filter: blur(10px);
    }
    60% {
        opacity: 0.8;
        transform: translateX(-10px) scale(1.05);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

@keyframes floatNotebook {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Nova animação para o celular que mantém ele invertido (scaleX(-1)) */
@keyframes floatPhoneInverted {
    0%, 100% { 
        transform: translateY(0) scaleX(1); /* scaleX(-1) inverte na horizontal */
    }
    50% { 
        transform: translateY(-15px) scaleX(1); 
    }
}
/* --- AJUSTE 2: Botões Menos "Gordos" --- */
.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

/* Força o estilo específico para os botões do hero */
.hero-buttons .btn {
    padding: 12px 28px !important; /* Reduzi o padding vertical */
    line-height: 1.2; /* Garante que a altura da linha não estique o botão */
    height: auto; /* Remove altura fixa se houver */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Animações mantidas */
@keyframes floatNotebook {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes floatPhone {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25px); }
}

/* --- AJUSTE 3: Mobile Limpo (Sem imagens) --- */
@media (max-width: 992px) {
    .hero .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    .hero {
        height: auto;
        padding-top: 140px; /* Mais espaço para o menu no mobile */
        text-align: center;
        background: linear-gradient(180deg, #004080 0%, #001a33 100%); /* Gradiente mais simples */
        overflow-x: hidden !important;
    }

    .hero-flex-container {
        flex-direction: column;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* Esconde as imagens completamente no mobile */
    .hero-images-composition {
        display: none !important; 
    }

    .hero-content {
        width: 100% !important; /* Ocupa toda a largura */
        padding: 0 20px !important; /* Espaçamento lateral */
        text-align: center !important; /* Centraliza tudo */
        margin-bottom: 50px;
        box-sizing: border-box !important;
        max-width: 100% !important;
    }
    
    .hero-buttons {
        justify-content: center !important; /* Centraliza os botões */
        flex-direction: column !important; /* Botões um embaixo do outro no mobile (opcional, fica melhor em telas pequenas) */
        width: 100% !important;
        max-width: 100% !important;
        margin: 30px auto 0 !important;
        padding: 0 20px !important;
        box-sizing: border-box !important;
    }
    
    .hero-buttons .btn {
        width: 100% !important; /* Botões largura total no celular */
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}
/* --- Estilos do Modal de Vídeo (Versão Card) --- */

.video-modal {
    display: none; /* Escondido por padrão */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85); /* Fundo preto */
    justify-content: center;
    align-items: center;
    padding: 20px; /* Espaço para o card respirar */
}

.video-modal.show {
    display: flex;
}

/* O CARD BRANCO */
.video-modal-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 900px;
    overflow: hidden; /* Garante que o iframe não "vaze" */
    display: flex;
    flex-direction: column;
    /* Animação de entrada inicial - estado inicial */
    transform: translateY(80px) scale(0.9);
    opacity: 0;
    filter: blur(10px);
    transition: none;
}

.video-modal.show .video-modal-card {
    animation: modalSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Animação de deslize para o modal */
@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.9);
        filter: blur(10px);
    }
    60% {
        opacity: 0.9;
        transform: translateY(-10px) scale(1.02);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Cabeçalho do Card (para o X) */
.video-modal-header {
    padding: 10px 15px;
    display: flex;
    justify-content: flex-end;
    background: #f1f3f5; /* Cinza claro no topo */
    border-bottom: 1px solid #e9ecef;
}

.close-modal {
    color: #555;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #000;
}

/* Onde o vídeo fica (Proporção 16:9) */
.video-modal-content {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000; /* Fundo preto enquanto o vídeo carrega */
}

.video-modal-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Rodapé do Card (para o botão) */
.video-modal-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    text-align: right; /* Alinha o botão à direita */
}

/* O botão usa os estilos que já existem (.btn.primary-btn) */
.video-modal-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .video-modal-footer {
        text-align: center; /* Centraliza no mobile */
    }
    .video-modal-footer .btn {
        width: 100%; /* Botão ocupa 100% no mobile */
    }
}