﻿/* ==========================================
   MOBILE MENU FIX - SOBRESCREVE TUDO
   ========================================== */

/* ==========================================
   CTA BUTTONS - EVITAR QUEBRA DE TEXTO
   ========================================== */

/* Botões CTA - nunca quebrar texto */
.btn {
    white-space: nowrap !important;
}

.btn.btn-large {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

/* Ajustes responsivos para CTAs */
@media (max-width: 480px) {
    .btn.btn-large {
        font-size: 14px !important;
        padding: 12px 20px !important;
    }
    
    .hero-cta-buttons .btn.btn-large {
        width: 100% !important;
        max-width: 280px !important;
    }
}

@media (max-width: 380px) {
    .btn.btn-large {
        font-size: 13px !important;
        padding: 10px 16px !important;
    }
}

/* ==========================================
   ESPAÇAMENTO MOBILE - UX/UI OTIMIZADO
   ========================================== */

@media (max-width: 768px) {
    /* ========== HERO / BANNER - MAIS ESPAÇO ========== */
    .hero-section,
    .hero-section-home {
        padding: 100px 0 60px !important;
        min-height: auto !important;
    }
    
    .hero-content,
    .hero-content-home {
        padding: 20px 0 !important;
    }
    
    /* Hero title - tamanho confortável e legível */
    .hero-title-home,
    .hero-title {
        font-size: 32px !important;
        line-height: 1.25 !important;
        margin-bottom: 20px !important;
        font-weight: 700 !important;
    }
    
    .hero-description-home,
    .hero-description {
        font-size: 16px !important;
        line-height: 1.6 !important;
        margin-bottom: 25px !important;
        opacity: 0.9 !important;
    }
    
    /* Hero badge */
    .hero-badge {
        font-size: 13px !important;
        padding: 8px 16px !important;
        margin-bottom: 20px !important;
    }
    
    /* Hero stats */
    .hero-stats {
        gap: 20px !important;
        margin-top: 30px !important;
    }
    
    .hero-stats .stat-number {
        font-size: 24px !important;
    }
    
    .hero-stats .stat-label {
        font-size: 12px !important;
    }
    
    /* ========== SEÇÕES - ESPAÇAMENTO BALANCEADO ========== */
    section {
        padding: 50px 0 !important;
    }
    
    .services-highlight,
    .services-section,
    .features-section,
    .how-it-works,
    .pricing-section,
    .testimonials-section,
    .portfolio-section,
    .benefits-section,
    .results-section,
    .technologies-section {
        padding: 50px 0 !important;
    }
    
    .tech-carousel-section {
        padding: 30px 0 !important;
    }
    
    .cta-section {
        padding: 50px 0 !important;
    }
    
    /* ========== TÍTULOS DE SEÇÃO - PROPORCIONAIS ========== */
    .section-header {
        margin-bottom: 35px !important;
        text-align: center !important;
    }
    
    .section-title {
        font-size: 28px !important;
        font-weight: 700 !important;
        margin-bottom: 12px !important;
        line-height: 1.2 !important;
    }
    
    .section-description {
        font-size: 15px !important;
        line-height: 1.6 !important;
        margin-bottom: 0 !important;
        opacity: 0.8 !important;
        max-width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* ========== CARDS - ESPAÇAMENTO INTERNO ========== */
    .services-cards-wrapper,
    .services-grid,
    .features-grid,
    .pricing-grid,
    .portfolio-grid,
    .testimonials-grid,
    .steps-container,
    .tech-grid {
        gap: 20px !important;
    }
    
    .service-highlight-card,
    .service-card,
    .feature-card,
    .pricing-card,
    .testimonial-card-clean,
    .portfolio-card {
        padding: 25px 20px !important;
    }
    
    /* Títulos dos cards */
    .service-highlight-title,
    .service-title,
    .feature-title {
        font-size: 18px !important;
        font-weight: 600 !important;
        margin-bottom: 10px !important;
    }
    
    .service-highlight-desc,
    .service-description,
    .feature-description {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
    
    /* ========== STEPS - PROCESSO ========== */
    .step-card {
        padding: 25px 20px !important;
    }
    
    .step-number {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
        margin-bottom: 15px !important;
    }
    
    .step-title {
        font-size: 18px !important;
        font-weight: 600 !important;
        margin-bottom: 10px !important;
    }
    
    .step-description {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
    
    /* ========== STATS ROW ========== */
    .stats-row {
        gap: 15px !important;
        padding: 25px 0 !important;
    }
    
    .stat-box {
        padding: 20px 15px !important;
    }
    
    .stat-box .stat-number {
        font-size: 32px !important;
        font-weight: 700 !important;
    }
    
    .stat-box .stat-label {
        font-size: 13px !important;
        margin-top: 5px !important;
    }
    
    /* ========== CTA SECTION ========== */
    .cta-title {
        font-size: 26px !important;
        font-weight: 700 !important;
        margin-bottom: 15px !important;
        line-height: 1.2 !important;
    }
    
    .cta-description {
        font-size: 15px !important;
        margin-bottom: 25px !important;
        line-height: 1.5 !important;
        opacity: 0.9 !important;
    }
    
    /* ========== FOOTER ========== */
    .footer {
        padding: 40px 0 25px !important;
    }
    
    .footer-slogan {
        font-size: 15px !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
    }
    
    /* ========== CONTAINER ========== */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* ========== TELAS MENORES (< 480px) ========== */
@media (max-width: 480px) {
    /* Hero com mais respiro */
    .hero-section,
    .hero-section-home {
        padding: 90px 0 50px !important;
    }
    
    .hero-title-home,
    .hero-title {
        font-size: 28px !important;
    }
    
    .hero-description-home,
    .hero-description {
        font-size: 15px !important;
    }
    
    /* Seções */
    section {
        padding: 40px 0 !important;
    }
    
    /* Títulos de seção proporcionais */
    .section-title {
        font-size: 24px !important;
    }
    
    .section-description {
        font-size: 14px !important;
    }
    
    /* CTA */
    .cta-title {
        font-size: 22px !important;
    }
    
    /* Stats */
    .stat-box .stat-number {
        font-size: 28px !important;
    }
    
    /* Steps */
    .step-number {
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
    }
}

/* ========== TELAS MUITO PEQUENAS (< 380px) ========== */
@media (max-width: 380px) {
    .hero-title-home,
    .hero-title {
        font-size: 24px !important;
    }
    
    .section-title {
        font-size: 22px !important;
    }
    
    .cta-title {
        font-size: 20px !important;
    }
    
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* ==========================================
   MOBILE MENU
   ========================================== */

/* Garantir que o botão toggle apareça no mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block !important;
        background: none !important;
        border: none !important;
        font-size: 24px !important;
        cursor: pointer !important;
        color: #ffffff !important;
        padding: 8px !important;
        z-index: 1001 !important;
    }
    
    /* Menu mobile escondido por padréo */
    .nav-menu {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(10, 10, 10, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 20px !important;
        gap: 0 !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
        z-index: 1000 !important;
        display: flex !important;
        transform: translateY(-150%) !important;
        opacity: 0 !important;
        transition: transform 0.3s ease, opacity 0.3s ease !important;
        pointer-events: none !important;
    }
    
    /* Menu mobile quando ativo */
    .nav-menu.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: all !important;
        display: flex !important;
    }
    
    /* Links do menu mobile */
    .nav-menu a {
        color: #ffffff !important;
        padding: 15px 10px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        text-align: left !important;
        display: block !important;
        transition: all 0.3s ease !important;
    }
    
    .nav-menu a:last-child {
        border-bottom: none !important;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        color: #FF6B35 !important;
        background: rgba(255, 107, 53, 0.1) !important;
        padding-left: 15px !important;
    }
    
    /* Header deve estar fixo */
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
    }
    
    /* Ícone do toggle */
    .menu-toggle i {
        color: #ffffff !important;
        transition: transform 0.3s ease !important;
    }
    
    .menu-toggle:hover i {
        transform: scale(1.1) !important;
    }
}

/* Desktop - garantir que o menu seja inline */
@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }
    
    .nav-menu {
        position: static !important;
        display: flex !important;
        flex-direction: row !important;
        background: transparent !important;
        backdrop-filter: none !important;
        transform: none !important;
        opacity: 1 !important;
        padding: 0 !important;
        box-shadow: none !important;
        gap: 35px !important;
        pointer-events: all !important;
    }
    
    .nav-menu a {
        border-bottom: none !important;
        padding: 0 !important;
    }
}

/* ==========================================
   STATS ORBITAL MOBILE - CARD ESTÁTICO
   Apenas o texto alterna, card fixo
   ========================================== */

@media (max-width: 768px) {
    /* Ocultar ícones orbitais e anel no mobile */
    .orbital-ring,
    .orbital-avatar {
        display: none !important;
    }

    /* Container simplificado e estático */
    .stats-orbital-container {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 180px !important;
        margin: 30px auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        animation: none !important;
    }

    /* Wrapper do card central - estático */
    .stats-center-wrapper {
        width: 280px !important;
        height: 180px !important;
        position: relative !important;
        animation: none !important;
        transform: none !important;
    }

    /* Todos os cards de stats - mesma posição fixa */
    .stats-center {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        padding: 35px 30px !important;
        border-radius: 20px !important;
        opacity: 0 !important;
        visibility: hidden !important;
        animation: none !important;
        transform: none !important;
        transition: opacity 0.5s ease, visibility 0.5s ease !important;
    }

    /* Apenas o card ativo fica visível */
    .stats-center-active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .stats-center-number {
        font-size: 56px !important;
        animation: none !important;
    }

    .stats-center-label {
        font-size: 13px !important;
        margin-bottom: 10px !important;
    }

    .stats-center-sublabel {
        font-size: 12px !important;
        max-width: 200px !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 480px) {
    .stats-center-wrapper {
        width: 260px !important;
        height: 170px !important;
    }

    .stats-center {
        padding: 30px 25px !important;
    }

    .stats-center-number {
        font-size: 48px !important;
    }
}

@media (max-width: 380px) {
    .stats-center-wrapper {
        width: 240px !important;
        height: 160px !important;
    }

    .stats-center {
        padding: 25px 20px !important;
    }

    .stats-center-number {
        font-size: 42px !important;
    }
}

/* ==========================================
   FOOTER MOBILE - ESPAÇAMENTO CONFORTÁVEL
   ========================================== */

@media (max-width: 768px) {
    .footer {
        padding: 50px 0 30px !important;
    }

    .footer-content-center {
        padding: 0 20px !important;
        text-align: center !important;
    }

    /* Logo menor no mobile */
    .footer .logo-image {
        height: 40px !important;
        max-height: 40px !important;
        margin-bottom: 20px !important;
    }

    /* Slogan com melhor espaçamento */
    .footer-slogan {
        font-size: 14px !important;
        line-height: 1.7 !important;
        margin-bottom: 28px !important;
        color: rgba(255, 255, 255, 0.7) !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Ícones sociais com mais espaço */
    .social-links {
        display: flex !important;
        justify-content: center !important;
        gap: 20px !important;
        margin-bottom: 30px !important;
    }

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

    .social-icon:hover {
        background: rgba(255, 107, 53, 0.2) !important;
        transform: translateY(-3px) !important;
    }

    .social-icon i {
        font-size: 20px !important;
        color: #ffffff !important;
    }

    /* Divisor antes do copyright */
    .footer-bottom {
        padding-top: 25px !important;
        margin-top: 10px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .footer-bottom p {
        font-size: 12px !important;
        color: rgba(255, 255, 255, 0.5) !important;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 25px !important;
    }

    .footer .logo-image {
        height: 36px !important;
    }

    .footer-slogan {
        font-size: 13px !important;
        max-width: 100% !important;
        margin-bottom: 24px !important;
    }

    .social-links {
        gap: 16px !important;
        margin-bottom: 25px !important;
    }

    .social-icon {
        width: 44px !important;
        height: 44px !important;
    }

    .social-icon i {
        font-size: 18px !important;
    }
}

@media (max-width: 380px) {
    .footer .logo-image {
        height: 32px !important;
    }

    .footer-slogan {
        font-size: 12px !important;
        max-width: 100% !important;
    }

    .social-icon {
        width: 42px !important;
        height: 42px !important;
    }
}

/* ==========================================
   FOOTER MOBILE - ESPAÇAMENTO CONFORTÁVEL
   ========================================== */

@media (max-width: 768px) {
    .footer {
        padding: 50px 0 30px !important;
    }

    .footer-content-center {
        padding: 0 20px !important;
        text-align: center !important;
    }

    /* Logo menor no mobile */
    .footer .logo-image {
        height: 40px !important;
        max-height: 40px !important;
        margin-bottom: 20px !important;
    }

    /* Slogan com melhor espaçamento */
    .footer-slogan {
        font-size: 14px !important;
        line-height: 1.7 !important;
        margin-bottom: 28px !important;
        color: rgba(255, 255, 255, 0.7) !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Ícones sociais com mais espaço */
    .social-links {
        display: flex !important;
        justify-content: center !important;
        gap: 20px !important;
        margin-bottom: 30px !important;
    }

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

    .social-icon:hover {
        background: rgba(255, 107, 53, 0.2) !important;
        transform: translateY(-3px) !important;
    }

    .social-icon i {
        font-size: 20px !important;
        color: #ffffff !important;
    }

    /* Divisor antes do copyright */
    .footer-bottom {
        padding-top: 25px !important;
        margin-top: 10px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .footer-bottom p {
        font-size: 12px !important;
        color: rgba(255, 255, 255, 0.5) !important;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 25px !important;
    }

    .footer .logo-image {
        height: 36px !important;
    }

    .footer-slogan {
        font-size: 13px !important;
        max-width: 100% !important;
        margin-bottom: 24px !important;
    }

    .social-links {
        gap: 16px !important;
        margin-bottom: 25px !important;
    }

    .social-icon {
        width: 44px !important;
        height: 44px !important;
    }

    .social-icon i {
        font-size: 18px !important;
    }
}

@media (max-width: 380px) {
    .footer .logo-image {
        height: 32px !important;
    }

    .footer-slogan {
        font-size: 12px !important;
        max-width: 100% !important;
    }

    .social-icon {
        width: 42px !important;
        height: 42px !important;
    }
}

