/* Mobile Specific Fixes - v1.8 */
@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative;
    }

    /* Force hide desktop navigation only in header */
    header .nav-btn-desktop {
        display: none !important;
    }

    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex !important;
        cursor: pointer;
        z-index: 2000;
        padding: 5px;
    }

    /* SPECIFIC SELECTOR FOR HEADER MENU TO AVOID FOOTER COLLISION */
    header #nav-links {
        display: none !important;
        position: absolute !important;
        top: 100% !important; /* Abre abaixo do header */
        left: 0 !important;
        width: 100% !important;
        background: #121215e6 !important; /* Transparência leve */
        backdrop-filter: blur(10px);
        flex-direction: column !important;
        padding: 1rem 0 !important;
        z-index: 1001 !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s, transform 0.3s;
        pointer-events: none;
    }

    header #nav-links.active {
        display: flex !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
        pointer-events: auto !important;
    }

    header #nav-links li {
        width: 100% !important;
        text-align: center !important;
    }

    header #nav-links a {
        font-size: 1.1rem !important; /* Menor para estilo dropdown */
        color: #ffffff !important;
        padding: 1rem !important;
        display: block !important;
        width: 100%;
    }

    /* FOOTER FIX - Ensure they are visible and small */
    .footer-grid .nav-links {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.8rem !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .footer-grid .nav-links a {
        font-size: 0.85rem !important;
        color: rgba(255, 255, 255, 0.6) !important;
        padding: 0 !important;
    }

    /* UI Adjustments */
    .hero {
        padding-top: 140px !important;
        padding-bottom: 40px !important;
    }

    .hero-buttons {
        gap: 1rem !important;
    }

    .btn-premium, .btn-secondary-outline {
        min-height: 55px !important;
        padding: 1rem !important;
    }

    /* WhatsApp Button */
    .whatsapp-float {
        bottom: 20px !important;
        right: 20px !important;
        width: 60px !important;
        height: 60px !important;
    }

    .whatsapp-badge {
        display: none !important;
    }
}
