/**
 * Seção Globo C.Vale
 * Globo centralizado com fundo azul C.Vale
 */

.globo-section {
    background: var(--cvale-blue-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

/*.globo-section::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);*/
/*    pointer-events: none;*/
/*}*/

.globo-container {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.globo-logo {
    margin-bottom: 60px;
    opacity: 0.95;
}

.globo-logo img {
    max-height: 80px;
    width: auto;
    filter: brightness(1.1);
}

.globo-image-container {
    position: relative;
    display: inline-block;
    animation: globoFloat 6s ease-in-out infinite;
}

.globo-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
    animation: globoRotate 20s linear infinite;
}

.globo-image:hover {
    animation-play-state: paused;
    transform: scale(1.05);
}

/* Animação de rotação contínua do globo */
@keyframes globoRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Animação de flutuação do globo */
@keyframes globoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Partículas de fundo */
.globo-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.08) 2px, transparent 2px),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 200px 200px, 150px 150px, 180px 180px, 220px 220px;
    animation: particlesMove 20s linear infinite;
    pointer-events: none;
}

@keyframes particlesMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-50px, -50px);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .globo-section {
        min-height: 80vh;
        padding: 60px 20px;
    }

    .globo-logo {
        margin-bottom: 40px;
    }

    .globo-logo img {
        max-height: 60px;
    }

    .globo-image {
        max-width: 350px;
        animation: globoRotate 25s linear infinite;
    }

    @keyframes globoFloat {
        0%, 100% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-10px);
        }
    }
}

@media (max-width: 480px) {
    .globo-section {
        min-height: 70vh;
        padding: 40px 15px;
    }

    .globo-logo img {
        max-height: 50px;
    }

    .globo-image {
        max-width: 280px;
        animation: globoRotate 30s linear infinite;
    }
}

/* Efeito de loading suave */
.globo-image-container {
    opacity: 0;
    transform: scale(0.8);
    animation: globoAppear 1s ease-out forwards, globoFloat 6s ease-in-out infinite 1s;
}

@keyframes globoAppear {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* AOS Animation overrides para esta seção */
.globo-section [data-aos] {
    transition-duration: 1.2s;
}

/* Controles de performance e acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .globo-image {
        animation: none;
    }

    .globo-image-container {
        animation: globoAppear 1s ease-out forwards;
    }

    .globo-section::after {
        animation: none;
    }
}