@keyframes floatStat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulseEffect {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3.5); opacity: 0; }
}

.sobre-b2b {
    padding: clamp(60px, 8vh, 100px) 0;
    background-color: #ffffff;
    overflow: hidden;
}

.sobre-content-box {
    margin-bottom: clamp(20px, 3vh, 40px);
}

.sobre-grid-main {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(40px, 5vw, 70px);
    align-items: center;
}

.tag-badge {
    display: inline-block;
    background: rgba(0, 85, 255, 0.1);
    color: #0055ff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.sobre-text h2 {
    font-size: clamp(2.4rem, 3.5vw, 3rem);
    color: #001a33;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -1px;
    max-width: 100%;
}

.sobre-text .subtitle {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    color: #0055ff;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.6;
}

.sobre-text p {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}

.sobre-text b {
    color: #001a33;
    font-weight: 800;
}

.corp-visual-col {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card-main {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.main-icon-box {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0055ff 0%, #00c6ff 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 3.5rem;
    z-index: 3;
    box-shadow: 0 20px 50px rgba(0, 85, 255, 0.4);
    position: relative;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #0055ff;
    top: 0;
    left: 0;
    animation: pulseEffect 4s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    z-index: 1;
}

.pulse-ring.delay {
    animation-delay: 2s;
}

.floating-stat {
    position: absolute;
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 25px 50px rgba(0, 26, 51, 0.08);
    border: 1px solid #f1f5f9;
    z-index: 4;
    animation: floatStat 6s ease-in-out infinite;
}

.stat-1 {
    top: 15%;
    right: 5%;
    animation-delay: 0s;
}

.stat-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: 3s;
}

.floating-stat .stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 85, 255, 0.1);
    color: #0055ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
}

.floating-stat .stat-info {
    display: flex;
    flex-direction: column;
}

.floating-stat .stat-info strong {
    font-size: 1.6rem;
    color: #001a33;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2px;
}

.floating-stat .stat-info span {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.estrutura-section {
    background: radial-gradient(ellipse at top, #001a33 0%, #000b18 100%);
    padding: clamp(60px, 8vh, 100px) clamp(30px, 5vw, 60px);
    border-radius: 40px;
    margin-top: clamp(20px, 3vh, 50px);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 11, 24, 0.4);
}

.estrutura-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 85, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: clamp(50px, 6vh, 70px);
    position: relative;
    z-index: 2;
}

.section-title h3 {
    font-size: clamp(2.2rem, 3.5vw, 2.8rem);
    color: #ffffff;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-title p {
    font-size: clamp(1.05rem, 1.2vw, 1.15rem);
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

.infra-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.infra-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.infra-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0055ff, #00c6ff);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
}

.infra-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 198, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 85, 255, 0.1);
}

.infra-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(0, 198, 255, 0.05);
    color: #00c6ff;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 30px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 198, 255, 0.1);
}

.infra-card:hover .icon-box {
    background: linear-gradient(135deg, #0055ff 0%, #00c6ff 100%);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
    border-radius: 35% 65% 60% 40% / 40% 35% 65% 60%;
    box-shadow: 0 15px 30px rgba(0, 198, 255, 0.3);
    border-color: transparent;
}

.infra-card h4 {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.infra-card p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 1200px) {
    .infra-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .sobre-grid-main {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .sobre-text h2 {
        font-size: 2.6rem;
    }

    .corp-visual-col {
        height: 450px;
    }

    .stat-1 {
        right: 0;
    }

    .stat-2 {
        left: 0;
    }
    
    .estrutura-section {
        padding: 60px 30px;
        border-radius: 30px;
    }
}

@media (max-width: 768px) {
    .sobre-text h2 {
        font-size: 2rem;
    }

    .sobre-text .subtitle {
        font-size: 1rem;
    }

    .sobre-text p {
        font-size: 0.95rem;
    }

    .corp-visual-col {
        display: none !important;
    }

    .estrutura-section {
        padding: 50px 0;
        border-radius: 24px;
    }

    .section-title {
        padding: 0 20px;
        margin-bottom: 40px;
    }

    .section-title h3 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    .infra-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 20px;
        padding-left: 20px;
        padding-right: 20px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .infra-grid::-webkit-scrollbar {
        display: none;
    }

    .infra-card {
        flex: 0 0 85%;
        max-width: 320px;
        scroll-snap-align: center;
        padding: 30px 25px;
    }

    .infra-card h4 {
        font-size: 1.15rem;
    }

    .infra-card p {
        font-size: 0.9rem;
    }

    .icon-box {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
}