/**
 * EQUIPE SECTION CSS
 * @package Nuntius Theme
 */

.about-equipe-section {
    position: relative;
    background: linear-gradient(180deg, #1a1a2e 0%, #0a0a0f 50%, #16213e 100%);
    overflow: hidden;
    padding: 80px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.equipe-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.equipe-container {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.equipe-header {
    text-align: center;
    margin-bottom: 80px;
}

.equipe-badge {
    display: inline-block;
    background: linear-gradient(135deg, #5865F2, #7289DA);
    color: #fff;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

.equipe-title {
    font-size: clamp(3rem, 6vw, 5rem);
    color: #fff;
    margin-bottom: 20px;
    font-weight: 900;
}

.highlight-neon {
    color: #7289DA;
    text-shadow: 0 0 20px rgba(114, 137, 218, 0.8);
}

.equipe-subtitle {
    font-size: 1.3rem;
    color: #B9BBBE;
    max-width: 700px;
    margin: 0 auto;
}

.equipe-subtitle strong {
    color: #5865F2;
    font-weight: 700;
}

/* GRID DE MEMBROS */
.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.member-card {
    background: rgba(47, 49, 54, 0.5);
    border: 2px solid rgba(88, 101, 242, 0.3);
    border-radius: 25px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.member-card:hover::before {
    opacity: 1;
}

.member-card:hover {
    border-color: #5865F2;
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 80px rgba(88, 101, 242, 0.5);
}

.member-card-featured {
    border-color: #FAA61A;
    background: rgba(250, 166, 26, 0.05);
}

.member-card-featured:hover {
    border-color: #FAA61A;
    box-shadow: 0 30px 80px rgba(250, 166, 26, 0.5);
}

.featured-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FAA61A, #F04747);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(250, 166, 26, 0.4);
    animation: featuredPulse 2s ease-in-out infinite;
}

@keyframes featuredPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.member-card:hover .card-glow {
    opacity: 1;
    animation: glowRotate 6s linear infinite;
}

@keyframes glowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* FOTO DO MEMBRO */
.member-photo-container {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
}

.photo-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.6) 0%, transparent 70%);
    animation: photoGlowPulse 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes photoGlowPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0.9; }
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.member-card:hover .member-photo {
    transform: scale(1.1);
    filter: brightness(1.2) contrast(1.2) saturate(1.3);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 15px;
    z-index: 3;
}

.member-badge-floating {
    background: linear-gradient(135deg, #5865F2, #7289DA);
    color: #fff;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.5);
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* INFO DO MEMBRO */
.member-info {
    text-align: center;
}

.member-name {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 800;
}

.member-role {
    font-size: 1rem;
    color: #7289DA;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.member-bio {
    font-size: 1rem;
    color: #B9BBBE;
    line-height: 1.8;
    margin-bottom: 20px;
}

.member-bio strong {
    color: #fff;
    font-weight: 700;
}

.member-bio .neon-inline {
    color: #5865F2;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(88, 101, 242, 0.5);
}

.member-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.achievement {
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid #5865F2;
    color: #7289DA;
    padding: 8px 15px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.achievement:hover {
    background: rgba(88, 101, 242, 0.4);
    transform: scale(1.05);
}

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

@media (max-width: 768px) {
    .about-equipe-section {
        padding: 80px 0;
    }
    
    .equipe-container {
        padding: 0 20px;
    }
    
    .equipe-grid {
        grid-template-columns: 1fr;
    }
    
    .equipe-title {
        font-size: 2.5rem;
    }
    
    .member-card {
        padding: 30px 20px;
    }
    
    .member-photo-container {
        width: 150px;
        height: 150px;
    }
    
    .member-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .equipe-title {
        font-size: 2rem;
    }
    
    .member-photo-container {
        width: 130px;
        height: 130px;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
    
    .member-bio {
        font-size: 0.95rem;
    }
}
