
.equipe-hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equipe-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ffffff, #88d3ce, #6e45e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-align: center;
}

.equipe-hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: #ffffff;
    text-align: center;
}


.gestao-section,
.coordenacao-section,
.professores-section,
.administrativo-section {
    padding: 80px 0;
    position: relative;
}

.gestao-section::before,
.coordenacao-section::before,
.professores-section::before,
.administrativo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gestao-section::before {
    background: radial-gradient(circle at 20% 50%, rgba(110, 69, 226, 0.1), transparent 70%);
}

.coordenacao-section::before {
    background: radial-gradient(circle at 80% 50%, rgba(136, 211, 206, 0.1), transparent 70%);
}

.professores-section::before {
    background: radial-gradient(circle at 50% 20%, rgba(255, 94, 125, 0.1), transparent 70%);
}

.administrativo-section::before {
    background: radial-gradient(circle at 50% 80%, rgba(110, 69, 226, 0.05), transparent 70%);
}

.gestao-section h2,
.coordenacao-section h2,
.professores-section h2,
.administrativo-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #88d3ce;
    font-weight: 600;
}


.equipe-grid,
.professores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.membro-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.membro-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #6e45e2, transparent, #88d3ce);
    z-index: -1;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.membro-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.membro-card:hover::before {
    opacity: 1;
    animation: borderAnimation 3s linear infinite;
}


.membro-foto {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(136, 211, 206, 0.3);
    overflow: hidden;
    position: relative;
}


.membro-foto img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    object-position: center center;
    border-radius: 50%;
    display: block;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.02); 
}


.membro-card:hover .membro-foto img {
    transform: scale(1.08);
}


.foto-placeholder {
    font-size: 3.5rem;
    opacity: 0.8;
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(110, 69, 226, 0.2), rgba(136, 211, 206, 0.2));
    border-radius: 50%;
}


.membro-foto:has(img[style*="display: none"]) .foto-placeholder,
.membro-foto:not(:has(img)) .foto-placeholder {
    display: flex;
}


.membro-foto img[style*="display: none"] ~ .foto-placeholder {
    display: flex;
}


.membro-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #88d3ce;
    font-weight: 600;
}

.membro-cargo {
    font-size: 1.1rem;
    color: #6e45e2;
    font-weight: 600;
    margin-bottom: 15px;
    opacity: 0.9;
}

.membro-descricao {
    line-height: 1.6;
    opacity: 0.8;
    color: #ffffff;
    margin: 0;
}


.filtro-professores {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filtro-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.filtro-btn:hover {
    background: rgba(110, 69, 226, 0.2);
    transform: translateY(-2px);
}

.filtro-btn.active {
    background: linear-gradient(135deg, #6e45e2, #88d3ce);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(110, 69, 226, 0.3);
}


@keyframes borderAnimation {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


.membro-card {
    animation: fadeIn 0.6s ease-out;
}


@media (max-width: 768px) {
    .equipe-hero {
        padding: 150px 0 60px;
        min-height: 50vh;
    }
    
    .equipe-grid,
    .professores-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
        gap: 20px;
    }
    
    .membro-card {
        padding: 25px 20px;
    }
    
    .membro-foto {
        width: 120px;
        height: 120px;
    }
    
    .foto-placeholder {
        font-size: 3rem;
    }
    
    .filtro-professores {
        gap: 10px;
    }
    
    .filtro-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .gestao-section h2,
    .coordenacao-section h2,
    .professores-section h2,
    .administrativo-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .equipe-hero-content h1 {
        font-size: 2rem;
    }
    
    .equipe-hero-content p {
        font-size: 1.1rem;
    }
    
    .membro-foto {
        width: 100px;
        height: 100px;
    }
    
    .foto-placeholder {
        font-size: 2.5rem;
    }
    
    .filtro-professores {
        flex-direction: column;
        align-items: center;
    }
    
    .filtro-btn {
        width: 200px;
    }
    
    .membro-info h3 {
        font-size: 1.3rem;
    }
    
    .membro-cargo {
        font-size: 1rem;
    }
    
    .membro-descricao {
        font-size: 0.9rem;
    }
}


@media (min-width: 1200px) {
    .equipe-grid,
    .professores-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    }
    
    .membro-foto {
        width: 150px;
        height: 150px;
    }
}

@media (min-width: 1400px) {
    .equipe-grid,
    .professores-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
    
    .membro-foto {
        width: 160px;
        height: 160px;
    }
}


.membro-foto.loading {
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


.membro-card[data-professor="Jucy"] .membro-foto img,
.membro-card[data-professor="jucy"] .membro-foto img {
    object-position: center 30%; 
}