/* Container Principal */
.perfil-candidato-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Sidebar - Coluna Esquerda */
.perfil-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 20px;
}

/* Foto do Candidato */
.perfil-foto-wrapper {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 30px;
    position: relative;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.perfil-foto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.perfil-silhueta {
    width: 180px;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.silhueta-male::before,
.silhueta-female::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 160px;
    background: #ef5a23;
    border-radius: 50% 50% 40% 40% / 55% 55% 45% 45%;
}

.silhueta-male::before {
    clip-path: polygon(20% 0%, 80% 0%, 100% 30%, 100% 100%, 0% 100%, 0% 30%);
}

.silhueta-female::before {
    clip-path: polygon(15% 0%, 85% 0%, 100% 25%, 100% 100%, 0% 100%, 0% 25%);
}

.silhueta-female::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 35px;
    background: #ef5a23;
    border-radius: 50% 50% 0 0;
}

/* Seções da Sidebar */
.perfil-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.perfil-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.perfil-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a2948;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Links de Redes Sociais */
.perfil-social-links,
.perfil-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-link,
.contact-link {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
    flex-shrink: 0;
}

.social-link {
    background: #1a2948;
    color: #fff;
}

.social-link:hover {
    background: #10385a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26,41,72,0.3);
}

/* Cores específicas para algumas redes sociais */
#perfil-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

#perfil-twitter:hover {
    background: #1da1f2;
}

#perfil-linkedin:hover {
    background: #0077b5;
}

#perfil-youtube:hover {
    background: #ff0000;
}

#perfil-tiktok:hover {
    background: #000000;
}

#perfil-crowdfunding:hover {
    background: #000000;
}

#perfil-site:hover {
    background: #ef5a23;
}

.contact-link {
    background: #25d366;
    color: #fff;
}

.contact-link:nth-child(2) {
    background: #10385a;
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Conteúdo Principal - Coluna Direita */
.perfil-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Header do Perfil */
.perfil-header {
    margin-bottom: 25px;
}

.perfil-nome {
    font-size: 36px;
    font-weight: 700;
    color: #1a2948;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.perfil-cargo {
    font-size: 18px;
    font-weight: 600;
    color: #ef5a23;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.perfil-numero {
    font-size: 16px;
    font-weight: 500;
    color: #5a6c7d;
    margin: 0;
}

/* Localização */
.perfil-location {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
}

.perfil-location-item {
    font-size: 16px;
    color: #5a6c7d;
    margin: 5px 0;
    font-weight: 500;
}

/* Seções de Conteúdo */
.perfil-section-content {
    margin-bottom: 35px;
}

.perfil-section-content:last-child {
    margin-bottom: 0;
}

.perfil-bio {
    font-size: 16px;
    line-height: 1.8;
    color: #2c3e50;
    text-align: justify;
}

/* Pautas */
.perfil-pautas-title, .perfil-bio-title {
    font-size: 20px;
    font-weight: 600;
    color: #ef5a23;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.perfil-pautas-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.perfil-pautas-list li {
    font-size: 16px;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.perfil-pautas-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ef5a23;
    font-size: 24px;
    line-height: 1;
}

.perfil-pautas-list li:last-child {
    margin-bottom: 0;
}

/* Loading e Erro */
.perfil-loading,
.perfil-erro {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.perfil-loading i {
    font-size: 32px;
    color: #ef5a23;
    margin-bottom: 15px;
}

.perfil-loading {
    font-size: 18px;
    color: #666;
}

.perfil-erro {
    color: #e74c3c;
    font-size: 16px;
}

/* Responsividade */
@media (max-width: 992px) {
    .perfil-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    .perfil-content {
        padding: 30px 25px;
    }
    
    .perfil-nome {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .perfil-candidato-container {
        padding: 20px 15px;
    }
    
    .perfil-sidebar {
        padding: 25px 20px;
    }
    
    .perfil-content {
        padding: 25px 20px;
    }
    
    .perfil-nome {
        font-size: 24px;
    }
    
    .perfil-cargo {
        font-size: 16px;
    }
    
    .perfil-bio,
    .perfil-pautas-list li {
        font-size: 15px;
    }
    
    .social-link,
    .contact-link {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .perfil-nome {
        font-size: 20px;
    }
    
    .perfil-foto-wrapper {
        max-width: 250px;
    }
}

/* Background da seção */
section.py-20 {
    background-image: url('http://novo.org.br/wp-content/uploads/2025/12/fundo-blog-site.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

/* Overlay opcional para melhorar legibilidade do conteúdo */
section.py-20::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

section.py-20 > .container {
    position: relative;
    z-index: 1;
}
