/* Landing responsive adjustments */
@media (max-width: 768px) {
    /* PREVINE OVERFLOW HORIZONTAL GLOBAL - MAIS AGRESSIVO */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        position: relative;
    }
    
    /* SOBRESCREVE overflow: visible do hub */
    html {
        overflow-x: hidden !important;
    }
    
    body {
        overflow-x: hidden !important;
    }
    
    main.rr-container,
    main.rr-container > * {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    body > * {
        max-width: 100vw !important;
    }
    
    .hub-hero,
    .hub-top,
    .hub-top__grid,
    .hub-top__live,
    .hub-top__brand,
    .hub-shell,
    .hub-wrapper,
    .hub-content,
    section,
    div {
        /* max-width: 100vw !important; removed as requested */
        /* overflow-x: hidden !important; */
    }
    
    .container, .container-fluid, 
    .row, [class*="col-"] {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    * {
        box-sizing: border-box !important;
    }
    
    /* Remove padding lateral do Bootstrap em mobile */
    .container, .container-fluid {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    
    .row {
        margin-left: -4px !important;
        margin-right: -4px !important;
    }
    
    [class*="col-"] {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .btn-primary-animated,
    .btn-cta {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    .feature-card {
        margin-bottom: 20px;
        padding: 30px 25px;
    }

    .cta-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .cta-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .stats-section,
    .features-section,
    .how-it-works,
    .cta-section {
        padding: 60px 0;
    }

    .step-card {
        padding: 20px 15px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .step-title {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .step-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 1.2rem;
    }

    .btn-primary-animated,
    .btn-cta {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .feature-card {
        margin-bottom: 15px;
        padding: 25px 20px;
    }

    .feature-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .cta-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .stats-section,
    .features-section,
    .how-it-works,
    .cta-section {
        padding: 0;
    }

    .stat-card {
        padding: 25px 20px;
        margin-bottom: 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .scroll-hint {
        font-size: 0.9rem;
        margin-top: 1rem;
    }

    .step-card {
        padding: 15px 10px;
        margin-bottom: 10px;
    }

    .step-number {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .step-title {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }

    .step-description {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Hub responsive tweaks */
@media (max-width: 575.98px) {
    .row.g-0.mb-3 {
        margin-left: 0;
        margin-right: 0;
    }

    .row.g-0.mb-3 > .col-12.d-flex.justify-content-center {
        padding-left: 0;
        padding-right: 0;
        display: block;
    }

    .hero-heading {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    .rr-brand {
        font-size: 1.8rem;
    }

    .hero-sub {
        font-size: 0.9rem;
    }

    .hero-inline-logo {
        max-width: 60px;
        margin-bottom: 0.5rem;
    }

    .hero-actions {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .rr-auth-btn {
        width: 100%;
        max-width: 300px;
    }

    .custom-tab-nav {
        height: 60px;
        border-radius: 12px;
        width: 100%;
    }

    .custom-tab-nav-wrapper {
        max-width: none;
        padding: 0 4px;
    }

    .custom-tab-item {
        font-size: 0.65rem;
        padding: 0;
        white-space: nowrap;
    }

    .custom-tab-item i {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .step-line {
        width: 40px;
    }

    .step-label {
        font-size: 0.65rem;
    }

    .hub-wrapper .hub-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: 100%;
        padding: 0 !important;
        margin: 0 !important;
    }

    .hub-wrapper .hub-tabs .custom-tab-item {
        flex: 0 0 33.3333% !important;
        max-width: 33.3333% !important;
        white-space: nowrap;
    }
}
