
/* Container principal */
.upper-hero {
    background: linear-gradient(135deg, #0a0a0a 0%, #001f36 50%, #000814 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Efeito de estrelas animadas */
.upper-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #ddd, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 20s linear infinite;
    opacity: 0.4;
    z-index: 1;
}

@keyframes sparkle {
    from { transform: translateX(0); }
    to { transform: translateX(200px); }
}

/* Seção do título principal */
.about-heading {
    text-align: center;
    padding: 80px 20px 60px;
    position: relative;
    z-index: 2;
}

.about-heading h1 {
    font-family: "Ubuntu", sans-serif;
    font-size: 4rem;
    font-weight: 300;
    color: #fff;
    text-shadow: 0 0 30px rgba(0, 188, 212, 0.6);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

/* Seção de informações */
.about-info {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* Blocos individuais */
.about-block {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-block::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 188, 212, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.about-block:hover::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.about-block:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 188, 212, 0.5);
    box-shadow: 0 20px 40px rgba(0, 188, 212, 0.2);
}

.about-block h3 {
    font-family: "Ubuntu", sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #00bcd4;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.about-block p {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* Seção da equipe exibida diretamente no Sobre */
.about-team {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 20px 80px;
    position: relative;
    z-index: 2;
}

.about-team-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-team-title {
    font-family: "Ubuntu", sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 188, 212, 0.5);
}

.about-team-subtitle {
    font-size: 1.1rem;
    color: #b0bec5;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 188, 212, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.team-member:hover::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 188, 212, 0.5);
    box-shadow: 0 20px 40px rgba(0, 188, 212, 0.2);
}

.member-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
    border: 3px solid rgba(0, 188, 212, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.team-member:hover .member-photo img {
    border-color: rgba(0, 188, 212, 0.7);
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.4);
}

.member-name {
    font-family: "Ubuntu", sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.member-role {
    color: #00bcd4;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.member-description {
    color: #b0bec5;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: left;
    flex: 1 1 auto;
    position: relative;
    z-index: 2;
}

.member-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
}

.member-links a {
    text-decoration: none;
    background: rgba(0, 188, 212, 0.2);
    color: #00bcd4;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.member-links a:hover {
    background: rgba(0, 188, 212, 0.4);
    color: #fff;
}

/* Responsividade */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-heading h1 {
        font-size: 2.5rem;
    }

    .about-info {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .about-block {
        padding: 25px;
    }

    .about-block h3 {
        font-size: 1.3rem;
    }

    .about-block p {
        font-size: 0.95rem;
    }

    .about-team-title {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .about-heading {
        padding: 60px 15px 40px;
    }
    
    .about-heading h1 {
        font-size: 2rem;
    }
    
    .about-info {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .about-block {
        padding: 20px;
    }
}

/* Animações adicionais */
.about-block {
    animation: fadeInUp 0.6s ease-out;
}

.about-block:nth-child(1) { animation-delay: 0.1s; }
.about-block:nth-child(2) { animation-delay: 0.2s; }
.about-block:nth-child(3) { animation-delay: 0.3s; }
.about-block:nth-child(4) { animation-delay: 0.4s; }
.about-block:nth-child(5) { animation-delay: 0.5s; }
.about-block:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efeito de brilho no título */
.about-heading h1 {
    background: linear-gradient(45deg, #fff, #00bcd4, #fff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}