/* --- ESTILOS GERAIS (DESKTOP FIRST) --- */
        body {
            font-family: 'Inter', sans-serif;
            background-color: #F8F9FA;
            color: #212529;
            overflow-x: hidden;
        }

        h1, h2, h3, .btn { font-family: 'Space Grotesk', sans-serif; }

        /* HEADER FLUTUANTE */
        header {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            background-color: transparent !important;
            z-index: 1000;
            padding-top: 20px;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }

        /* LOGO */
        .logo {
            color: #FFFFFF !important;
            font-family: 'Space Grotesk', sans-serif;
            font-weight: 700;
            font-size: 1.5rem;
            letter-spacing: -1px;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
            z-index: 1001;
        }
        
        /* Classe para redimensionar a imagem da logo */
        .logo-icon-img {
            height: 40px; 
            width: auto;
            object-fit: contain; 
            display: block; 
        }

        /* Ajuste fino para Mobile */
        @media (max-width: 992px) {
            .logo-icon-img {
                height: 35px; 
            }
        }

        /* MENU DESKTOP */
        .nav-menu {
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .nav-list {
            display: flex;
            gap: 25px;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .nav-item {
            position: relative;
            height: 100%;
        }

        .nav-link {
            color: #FFFFFF !important;
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 0.95rem;
            opacity: 0.9;
            text-decoration: none;
            padding: 10px 0;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.3s;
            cursor: pointer;
        }

        .nav-link:hover { color: var(--primary) !important; opacity: 1; }

        .nav-link i { font-size: 0.7rem; transition: transform 0.3s; margin-top: 2px; }
        .nav-item:hover .nav-link i { transform: rotate(180deg); }

        /* SUBMENU DESKTOP */
        .submenu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(15px);
            background-color: #FFFFFF !important;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
            padding: 10px 0;
            min-width: 220px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
            margin-top: 10px;
            border-top: 3px solid var(--primary);
            z-index: 1100;
        }

        .submenu::before { content: ''; position: absolute; top: -20px; left: 0; width: 100%; height: 20px; background: transparent; }
        
        @media (min-width: 993px) {
            .nav-item:hover .submenu {
                opacity: 1;
                visibility: visible;
                transform: translateX(-50%) translateY(0);
            }
        }

        .submenu::after {
            content: '';
            position: absolute;
            top: -6px;
            left: 50%;
            margin-left: -6px;
            border-width: 0 6px 6px 6px;
            border-style: solid;
            border-color: transparent transparent var(--primary) transparent;
        }

        .submenu-link {
            color: #333333 !important;
            padding: 12px 25px;
            font-size: 0.9rem;
            font-weight: 500;
            display: block;
            text-decoration: none;
            transition: all 0.2s;
            border-left: 3px solid transparent;
        }

        .submenu-link:hover {
            background-color: #f8f9fa;
            color: var(--primary) !important;
            border-left-color: var(--primary);
            padding-left: 30px;
        }

        .nav-buttons { display: flex; gap: 15px; align-items: center; }
        
        .btn-glass {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            padding: 8px 20px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
        }
        
        .btn-glow {
            background: var(--primary);
            color: white;
            padding: 8px 20px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            box-shadow: 0 0 15px rgba(211, 47, 47, 0.4);
        }

        .mobile-toggle {
            display: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            z-index: 1002;
        }

        /* HERO SECTION */
        .hero-premium {
            position: relative;
            height: 90vh;
            min-height: 600px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(20, 20, 30, 0.7) 100%), url('../../../img/hero.png'); 
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: var(--white);
            text-align: center;
            padding-top: 60px;
        }

        .hero-content { z-index: 2; max-width: 900px; padding: 0 20px; animation: fadeUp 1s ease-out; }
        .hero-title { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
        .hero-title span { color: var(--primary); background: -webkit-linear-gradient(45deg, var(--primary), #ff5252); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .hero-subtitle { font-size: 1.1rem; color: #d1d5db; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6; }
        .hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
        .btn-xl { padding: 15px 35px; font-size: 1rem; border-radius: 8px; font-weight: 700; text-decoration: none; display: inline-block; text-transform: uppercase; letter-spacing: 0.5px; }

        /* SEÇÕES GERAIS */
        .section-features, .section-platform, .section-events { padding: 80px 0; }
        .section-platform { background: white; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
        .section-events { background-color: #F8F9FA; }
        
        /* BUSCA RÁPIDA */
        .search-container { margin-top: -50px; position: relative; z-index: 10; padding: 0 20px; margin-bottom: 80px; }
        .search-bar { background: white; max-width: 1000px; margin: 0 auto; border-radius: 12px; padding: 15px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); display: flex; gap: 15px; align-items: center; flex-wrap: wrap; }
        .search-input-group { flex: 1; min-width: 200px; position: relative; border-right: 1px solid #eee; padding-right: 15px; }
        .search-input-group:last-child { border: none; }
        .search-input-group label { display: block; font-size: 0.75rem; color: #888; font-weight: 600; text-transform: uppercase; margin-bottom: 5px; }
        .search-input-group select, .search-input-group input { width: 100%; border: none; font-size: 1rem; font-weight: 500; color: var(--dark); outline: none; background: transparent; }
        .btn-search { background: var(--dark); color: white; width: 50px; height: 50px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; transition: 0.3s; }
        .btn-search:hover { background: var(--primary); }

        /* FUNCIONALIDADES */
        .section-header-center { text-align: center; max-width: 700px; margin: 0 auto 60px auto; }
        .section-header-center h2 { font-size: 2.5rem; color: var(--dark); margin-bottom: 15px; }
        .feature-card { background: white; padding: 40px 30px; border-radius: 16px; border: 1px solid #eee; transition: all 0.3s ease; text-align: center; position: relative; overflow: hidden; }
        .feature-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: transparent; }
        .feature-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: var(--primary); transform: scaleX(0); transition: transform 0.3s ease; }
        .feature-card:hover::after { transform: scaleX(1); }
        .feature-icon { width: 80px; height: 80px; background: rgba(211, 47, 47, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 25px auto; color: var(--primary); font-size: 2rem; }
        .feature-card h3 { font-size: 1.3rem; margin-bottom: 15px; } 
        .feature-card p { color: #666; font-size: 0.95rem; line-height: 1.6; }

        /* PLATAFORMA */
        .dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
        .platform-tag { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; margin-bottom: 10px; display: block; }
        .check-list { list-style: none; padding: 0; margin-top: 30px; }
        .check-list li { margin-bottom: 20px; display: flex; align-items: start; gap: 15px; }
        .check-icon { background: var(--primary); color: white; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; margin-top: 2px; flex-shrink: 0; }
        .mockup-container { background: #f0f0f0; border-radius: 20px; padding: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.1); transform: perspective(1000px) rotateY(-5deg); transition: transform 0.5s ease; }
        .mockup-container:hover { transform: perspective(1000px) rotateY(0deg); }

        /* EVENTOS */
        .section-header-flex { display: flex; justify-content: space-between; align-items: end; margin-bottom: 50px; }
        .event-tabs { display: flex; gap: 5px; background: #e9ecef; padding: 5px; border-radius: 50px; }
        .tab-btn { padding: 10px 25px; border-radius: 40px; border: none; background: transparent; font-weight: 600; color: #666; cursor: pointer; transition: 0.3s; }
        .tab-btn.active { background: white; color: var(--dark); box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
        .events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
        .event-card.hidden { display: none; }
        .event-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: all 0.4s ease; position: relative; border: 1px solid #eee; animation: fadeIn 0.5s ease; }
        .event-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
        .event-header { height: 180px; position: relative; }
        .event-image { width: 100%; height: 100%; object-fit: cover; }
        .event-status { position: absolute; top: 15px; right: 15px; padding: 6px 14px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; background: white; color: var(--dark); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
        .status-open { color: #2E7D32; border-left: 3px solid #2E7D32; }
        .event-sport-badge { position: absolute; bottom: 15px; left: 15px; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); color: white; padding: 5px 12px; border-radius: 4px; font-size: 0.8rem; display: flex; align-items: center; gap: 6px; }
        .event-body { padding: 25px; }
        .event-date { color: var(--primary); font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; display: block; }
        .event-title { font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: 15px; line-height: 1.3; }
        .organizer-info { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid #f0f0f0; margin-bottom: 20px; }
        .organizer-logo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
        .event-footer { display: flex; gap: 10px; }
        .btn-card { flex: 1; padding: 12px; border-radius: 6px; text-align: center; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: var(--transition); text-decoration: none; }
        .btn-card-primary { background: var(--dark); color: white; }
        .btn-card-primary:hover { background: var(--primary); }
        .btn-card-outline { border: 1px solid #ddd; color: #666; }
        .btn-card-outline:hover { border-color: var(--dark); color: var(--dark); }

        footer { background-color: #111; color: #aaa; padding-top: 80px; border-top: 3px solid var(--primary); }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
        .footer-logo h3 { color: white; font-size: 1.8rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
        .footer-links h4 { color: white; font-size: 1.1rem; margin-bottom: 20px; }
        .footer-links ul { list-style: none; padding: 0; }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a { color: #aaa; text-decoration: none; transition: 0.3s; }
        .footer-links a:hover { color: var(--primary); padding-left: 5px; }
        .footer-bottom { padding: 30px 0; text-align: center; font-size: 0.9rem; }

        /* PAGINAÇÃO */
        .pagination-container {
            display: flex;
            justify-content: center;
            margin-top: 50px;
            gap: 8px;
        }
        
        .page-link {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            background: white;
            color: #212529; /* var(--dark) */
            font-weight: 600;
            text-decoration: none;
            border: 1px solid #eee;
            transition: all 0.3s ease;
            font-family: 'Inter', sans-serif;
        }

        .page-link:hover {
            border-color: var(--primary);
            color: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .page-link.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
            box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
        }

        .page-link.disabled {
            opacity: 0.5;
            cursor: not-allowed;
            pointer-events: none;
            background: #f8f9fa;
        }

        /* === ELEMENTOS FLUTUANTES (WHATSAPP & BACK TO TOP) === */
        
        /* Container flutuante do WhatsApp */
        .float-btn-left {
            position: fixed;
            bottom: 30px;
            left: 30px;
            z-index: 9990;
            transition: all 0.3s ease;
        }

        .whatsapp-btn {
            width: 60px;
            height: 60px;
            background-color: #25D366;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
            cursor: pointer;
            text-decoration: none;
            transition: all 0.3s ease;
            position: relative;
        }

        .whatsapp-btn:hover {
            transform: scale(1.1);
            background-color: #128C7E;
        }

        /* Animação de pulso */
        .whatsapp-btn::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background-color: #25D366;
            opacity: 0.6;
            z-index: -1;
            animation: pulse-animation 2s infinite;
        }

        @keyframes pulse-animation {
            0% { transform: scale(1); opacity: 0.6; }
            100% { transform: scale(1.5); opacity: 0; }
        }

        /* Container flutuante Back to Top */
        .float-btn-right {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 9990;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s ease;
        }

        .float-btn-right.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .back-to-top {
            width: 50px;
            height: 50px;
            background-color: var(--dark);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            cursor: pointer;
            border: none;
            transition: all 0.3s ease;
        }

        .back-to-top:hover {
            background-color: var(--primary);
            transform: translateY(-5px);
        }

        /* === MODAL WHATSAPP === */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .whatsapp-modal {
            background: white;
            width: 90%;
            max-width: 400px;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 20px 50px rgba(0,0,0,0.2);
            transform: scale(0.8);
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .modal-overlay.active .whatsapp-modal {
            transform: scale(1);
        }

        .modal-header {
            background: #075E54;
            color: white;
            padding: 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .modal-header h4 { margin: 0; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
        
        .close-modal {
            background: none;
            border: none;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            opacity: 0.8;
            transition: 0.3s;
        }
        .close-modal:hover { opacity: 1; }

        .modal-body {
            padding: 25px;
        }

        .form-group { margin-bottom: 15px; }
        .form-group label { display: block; margin-bottom: 5px; font-size: 0.9rem; font-weight: 600; color: #555; }
        .form-group input, .form-group textarea, .form-group select {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-family: 'Inter', sans-serif;
            font-size: 0.95rem;
            outline: none;
            transition: 0.3s;
        }
        .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
            border-color: #25D366;
            box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
        }

        .btn-whatsapp-submit {
            width: 100%;
            background: #25D366;
            color: white;
            border: none;
            padding: 12px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .btn-whatsapp-submit:hover {
            background: #128C7E;
        }

        /* --- MEDIA QUERIES (MOBILE) --- */
        @media (max-width: 992px) {
            
            header { padding-top: 15px; background-color: transparent; }
            .mobile-toggle { display: block; }

            /* MENU GAVETA */
            .nav-menu {
                position: fixed;
                top: 0;
                right: -100%;
                width: 85%;
                height: 100vh;
                background-color: #111;
                flex-direction: column;
                align-items: flex-start;
                padding: 80px 30px;
                transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                box-shadow: -10px 0 30px rgba(0,0,0,0.5);
                z-index: 1000;
                overflow-y: auto;
            }

            .nav-menu.active { right: 0; }
            .nav-list { flex-direction: column; width: 100%; gap: 0; }
            
            .nav-item { 
                width: 100%; 
                border-bottom: 1px solid rgba(255,255,255,0.05); 
                display: block; 
                height: auto; 
            }
            
            .nav-link {
                color: #fff !important;
                font-size: 1.1rem;
                padding: 15px 0;
                justify-content: space-between;
                width: 100%;
            }

            /* SUBMENU MOBILE */
            .submenu {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                background-color: #1a1a1a !important;
                box-shadow: none;
                width: 100%;
                padding: 0;
                margin: 0;
                border-top: none;
                border-radius: 0;
                display: none; /* Escondido */
                min-width: unset;
                z-index: 1;
            }
            
            /* A classe active no PAI (li.nav-item) exibe o filho (.submenu) */
            .nav-item.active .submenu {
                display: block;
                animation: slideDown 0.3s ease;
            }
            
            .nav-item.active .nav-link i {
                transform: rotate(180deg);
                color: var(--primary);
            }
            
            .submenu::before, .submenu::after { display: none; }

            .submenu-link {
                color: #ccc !important;
                padding: 12px 20px;
                border-left: 2px solid #333;
                font-size: 0.95rem;
            }

            .nav-buttons { flex-direction: column; width: 100%; margin-left: 0 !important; margin-top: 30px; gap: 15px; }
            .nav-buttons .btn { width: 100%; text-align: center; padding: 12px; }

            /* AJUSTES RESPONSIVOS DAS SEÇÕES */
            .section-features, .section-platform, .section-events { padding: 60px 0; }

            .hero-premium { height: auto; min-height: 100vh; padding: 120px 0 60px 0; background-attachment: scroll; }
            .hero-title { font-size: 2.2rem; }
            
            /* Correção da Barra de Busca */
            .search-container { margin-top: 0; transform: translateY(-30px); }
            .search-bar { flex-direction: column; gap: 0; padding: 10px; }
            .search-input-group { width: 100%; border-right: none; border-bottom: 1px solid #eee; padding: 15px 5px; }
            .btn-search { width: 100%; margin-top: 10px; border-radius: 6px; }
            
            /* Correção Seção Organizadores (Plataforma) */
            .dashboard-grid { 
                grid-template-columns: 1fr; /* Empilha verticalmente */
                gap: 40px;
            }
            .image-content {
                order: 2; /* Imagem vai para baixo */
            }
            .mockup-container { 
                transform: none !important; /* Remove 3D */
                padding: 10px;
            }
            
            /* Correção Seção Eventos */
            .section-header-flex { flex-direction: column; align-items: start; gap: 20px; }
            
            /* Abas com Scroll Horizontal */
            .event-tabs { 
                width: 100%; 
                overflow-x: auto; /* Permite rolar */
                white-space: nowrap;
                padding-bottom: 10px;
                justify-content: flex-start;
                -webkit-overflow-scrolling: touch;
            }
            .tab-btn { flex-shrink: 0; } /* Não deixa o botão encolher */

            /* Grid de Eventos em 1 Coluna */
            .events-grid { 
                grid-template-columns: 1fr; /* Força 1 coluna */
                gap: 20px;
            }
            
            /* Adicione isso dentro do @media (max-width: 992px) existente */
            .footer-grid {
                grid-template-columns: 1fr !important; /* Força 1 coluna no mobile */
                gap: 40px;
                text-align: center; /* Centraliza tudo no mobile */
            }

            .footer-logo, .footer-links {
                display: flex;
                flex-direction: column;
                align-items: center; /* Centraliza itens */
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
                gap: 20px;
            }

            .developer-badge {
                align-items: center !important; /* Centraliza no mobile */
            }
            
            /* Ajuste dos botões flutuantes no mobile para não cobrir conteúdo */
            .float-btn-left { bottom: 20px; left: 20px; }
            .float-btn-right { bottom: 20px; right: 20px; }
            .whatsapp-btn { width: 50px; height: 50px; font-size: 1.5rem; }
            .back-to-top { width: 45px; height: 45px; }
        }

        @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }