/* Estilos específicos para a página de perfil */

/* Header da página */
.perfil-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* Container principal do perfil */
.perfil-container {
    display: grid;
    grid-template-columns: 1fr 2px 2fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: start;
    min-height: 500px;
}

/* Seção da foto e paleta */
.perfil-foto {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 2rem 1rem;
}

.foto-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 300px;
}

.foto-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 300px;
    height: 320px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.foto-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.paleta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Divisor vertical */
.divisor-vertical {
    width: 2px;
    height: 100%;
    background: var(--paleta-color, #000000);
    justify-self: center;
    align-self: stretch;
}

/* Seção de informações pessoais */
.perfil-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
}

.info-pessoal {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sobre-mim {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contatos {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contato-item {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
}

.contato-item a {
    color: #4dabf7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contato-item a:hover {
    color: #74b9ff;
    text-decoration: underline;
}

/* Seção de habilidades */
.habilidades-section {
    margin-top: 3rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.skills-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.skills-badges img {
    transition: transform 0.3s ease;
}

.skills-badges img:hover {
    transform: scale(1.1);
}

/* Seção de experiência e formação */
.experiencia-formacao {
    margin-top: 3rem;
}

.exp-form-container {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    gap: 2rem;
    align-items: start;
}

.experiencia-section,
.formacao-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.exp-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.exp-item:hover {
    transform: translateX(5px);
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.exp-period {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #4dabf7;
}

.exp-description {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.exp-tech {
    color: #74b9ff;
    font-style: italic;
}

.formacao-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.formacao-item:hover {
    transform: translateX(5px);
}

.formacao-header {
    margin-bottom: 0.5rem;
    color: #4dabf7;
}

.formacao-instituicao {
    margin-bottom: 0.25rem;
    opacity: 0.9;
}

.formacao-periodo {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Divisor horizontal */
.divisor-horizontal {
    width: 100%;
    height: 2px;
    background: var(--paleta-color, #000000);
    justify-self: center;
    align-self: center;
}

/* Responsividade */
@media only screen and (max-width: 900px) {
    .perfil-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 2rem;
        min-height: auto;
    }
    
    .perfil-foto {
        min-height: 300px;
        padding: 1.5rem 1rem;
    }
    
    .perfil-info {
        min-height: auto;
        padding: 1rem;
    }
    
    .divisor-vertical {
        display: none;
    }
    
    .exp-form-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 2rem;
    }
    
    .divisor-horizontal {
        display: none;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 600px) {
    .perfil-container {
        gap: 1.5rem;
        min-height: auto;
    }
    
    .perfil-foto {
        min-height: 250px;
        padding: 1rem 0.5rem;
    }
    
    .foto-wrapper {
        max-width: 250px;
        gap: 1.5rem;
    }
    
    .foto-container {
        padding: 1rem;
    }
    
    .paleta-container {
        padding: 1rem;
        gap: 1rem;
    }
    
    .exp-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .skills-badges {
        justify-content: center;
    }
    
    .perfil-info {
        padding: 0.5rem;
        min-height: auto;
    }
    
    .sobre-mim,
    .contatos,
    .exp-item,
    .formacao-item,
    .skill-category {
        padding: 1rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.perfil-container,
.habilidades-section,
.experiencia-formacao {
    animation: fadeInUp 0.8s ease-out;
}

.skill-category,
.exp-item,
.formacao-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Estilos para modo escuro */
.paleta .sobre-mim,
.paleta .contatos,
.paleta .skill-category,
.paleta .exp-item,
.paleta .formacao-item {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.paleta .exp-period {
    background: rgba(255, 255, 255, 0.2);
    color: #74b9ff;
}

/* CORREÇÕES DE CONTRASTE - Garantir que textos tenham contraste adequado em todas as paletas */

/* Para paleta preta (fundo preto) */
.paleta[style*="background-color: #000000"] .text_paleta,
.paleta[style*="background-color: rgb(0, 0, 0)"] .text_paleta {
    color: #f5f5f5 !important;
}

.paleta[style*="background-color: #000000"] a,
.paleta[style*="background-color: rgb(0, 0, 0)"] a {
    color: #90caf9 !important;
}

/* Para paleta azul (fundo azul escuro) */
.paleta[style*="background-color: #01355c"] .text_paleta,
.paleta[style*="background-color: rgb(1, 53, 92)"] .text_paleta {
    color: #e3f2fd !important;
}

.paleta[style*="background-color: #01355c"] a,
.paleta[style*="background-color: rgb(1, 53, 92)"] a {
    color: #90caf9 !important;
}

/* Para paleta beje (fundo claro) */
.paleta[style*="background-color: #e7d6b9"] .text_paleta,
.paleta[style*="background-color: rgb(231, 214, 185)"] .text_paleta {
    color: #2d2d2d !important;
}

.paleta[style*="background-color: #e7d6b9"] a,
.paleta[style*="background-color: rgb(231, 214, 185)"] a {
    color: #01355c !important;
}

/* Ajuste para títulos e botões */
.paleta[style*="background-color: #000000"] .btn,
.paleta[style*="background-color: rgb(0, 0, 0)"] .btn {
    color: #f5f5f5;
    background-color: #222;
    border-color: #90caf9;
}

.paleta[style*="background-color: #01355c"] .btn,
.paleta[style*="background-color: rgb(1, 53, 92)"] .btn {
    color: #e3f2fd;
    background-color: #01497c;
    border-color: #90caf9;
}

.paleta[style*="background-color: #e7d6b9"] .btn,
.paleta[style*="background-color: rgb(231, 214, 185)"] .btn {
    color: #01355c;
    background-color: #fff;
    border-color: #01355c;
}

/* Estilos gerais para links e botões */
.nav-link {
    transition: color 0.3s ease;
}

a {
    transition: color 0.3s ease;
}

.btn {
    transition: all 0.3s ease;
}

/* Estilos específicos para elementos do perfil */
.perfil-container {
    transition: all 0.3s ease;
}

.habilidades-item {
    transition: all 0.3s ease;
}

.habilidades-item:hover {
    transform: translateX(5px);
}

.experiencia-item {
    transition: all 0.3s ease;
}

.experiencia-item:hover {
    transform: translateX(5px);
}

/* ESTILOS ESPECÍFICOS PARA CARDS DE EXPERIÊNCIA E FORMAÇÃO EM CADA PALETA */

/* Paleta Preta - Cards de Experiência e Formação */
body.paleta-preta .exp-item,
body.paleta-preta .formacao-item {
    color: #e6e6e6 !important;
}

body.paleta-preta .exp-header strong,
body.paleta-preta .formacao-header strong {
    color: #4dabf7 !important;
}

body.paleta-preta .exp-description,
body.paleta-preta .formacao-instituicao {
    color: #e6e6e6 !important;
}

body.paleta-preta .exp-tech,
body.paleta-preta .formacao-periodo {
    color: #74b9ff !important;
}

/* Paleta Azul - Cards de Experiência e Formação */
body.paleta-azul .exp-item,
body.paleta-azul .formacao-item {
    color: #f0f0f0 !important;
}

body.paleta-azul .exp-header strong,
body.paleta-azul .formacao-header strong {
    color: #74b9ff !important;
}

body.paleta-azul .exp-description,
body.paleta-azul .formacao-instituicao {
    color: #f0f0f0 !important;
}

body.paleta-azul .exp-tech,
body.paleta-azul .formacao-periodo {
    color: #4dabf7 !important;
}

/* Paleta Beje - Cards de Experiência e Formação */
body.paleta-beje .exp-item,
body.paleta-beje .formacao-item {
    color: #333333 !important;
}

body.paleta-beje .exp-header strong,
body.paleta-beje .formacao-header strong {
    color: #01355c !important;
}

body.paleta-beje .exp-description,
body.paleta-beje .formacao-instituicao {
    color: #333333 !important;
}

body.paleta-beje .exp-tech,
body.paleta-beje .formacao-periodo {
    color: #000000 !important;
}

/* Estilos para elementos específicos dentro dos cards */
.exp-header strong,
.formacao-header strong {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.exp-description,
.formacao-instituicao {
    font-weight: 500;
    line-height: 1.6;
}

.exp-tech,
.formacao-periodo,
.exp-period {
    font-weight: 500;
    font-style: italic;
    opacity: 0.9;
}

/* ESTILOS ESPECÍFICOS PARA ELEMENTOS DE HABILIDADES EM CADA PALETA */

/* Paleta Preta - Habilidades */
body.paleta-preta .skill-category {
    color: #e6e6e6 !important;
}

body.paleta-preta .skill-category strong {
    color: #4dabf7 !important;
}

/* Paleta Azul - Habilidades */
body.paleta-azul .skill-category {
    color: #f0f0f0 !important;
}

body.paleta-azul .skill-category strong {
    color: #74b9ff !important;
}

/* Paleta Beje - Habilidades */
body.paleta-beje .skill-category {
    color: #333333 !important;
}

body.paleta-beje .skill-category strong {
    color: #01355c !important;
}

/* ESTILOS ESPECÍFICOS PARA OUTROS ELEMENTOS DO PERFIL */

/* Paleta Preta - Outros elementos */
body.paleta-preta .perfil-info strong {
    color: #4dabf7 !important;
}

body.paleta-preta .perfil-info p {
    color: #e6e6e6 !important;
}

body.paleta-preta .contato-item {
    color: #e6e6e6 !important;
}

body.paleta-preta .contato-item a {
    color: #4dabf7 !important;
}

body.paleta-preta .contato-item a:hover {
    color: #74b9ff !important;
}

/* Paleta Azul - Outros elementos */
body.paleta-azul .perfil-info strong {
    color: #fff !important;
}

body.paleta-azul .perfil-info p {
    color: #f0f0f0 !important;
}

body.paleta-azul .contato-item {
    color: #f0f0f0 !important;
}

body.paleta-azul .contato-item a {
    color: #74b9ff !important;
}

body.paleta-azul .contato-item a:hover {
    color: #4dabf7 !important;
}

/* Paleta Beje - Outros elementos */
body.paleta-beje .perfil-info strong {
    color: #000 !important;
}

body.paleta-beje .perfil-info p {
    color: #333333 !important;
}

body.paleta-beje .contato-item {
    color: #333333 !important;
}

body.paleta-beje .contato-item a {
    color: #01355c !important;
}

body.paleta-beje .contato-item a:hover {
    color: #000000 !important;
}

/* ESTILOS ESPECÍFICOS PARA PERÍODOS E ELEMENTOS ADICIONAIS */

/* Paleta Preta - Períodos e elementos adicionais */
body.paleta-preta .exp-period {
    color: #74b9ff !important;
}

body.paleta-preta .exp-header {
    color: #e6e6e6 !important;
}

body.paleta-preta .formacao-header {
    color: #e6e6e6 !important;
}

/* Paleta Azul - Períodos e elementos adicionais */
body.paleta-azul .exp-period {
    color: #4dabf7 !important;
}

body.paleta-azul .exp-header {
    color: #f0f0f0 !important;
}

body.paleta-azul .formacao-header {
    color: #f0f0f0 !important;
}

/* Paleta Beje - Períodos e elementos adicionais */
body.paleta-beje .exp-period {
    color: #000000 !important;
}

body.paleta-beje .exp-header {
    color: #333333 !important;
}

body.paleta-beje .formacao-header {
    color: #333333 !important;
}

/* Contraste para cards de experiência e formação na paleta preta */
.paleta[style*="background-color: #000000"] .exp-item,
.paleta[style*="background-color: rgb(0, 0, 0)"] .exp-item,
.paleta[style*="background-color: #000000"] .formacao-item,
.paleta[style*="background-color: rgb(0, 0, 0)"] .formacao-item {
    color: #ffffff !important;
}

.paleta[style*="background-color: #000000"] .exp-header strong,
.paleta[style*="background-color: rgb(0, 0, 0)"] .exp-header strong,
.paleta[style*="background-color: #000000"] .formacao-header strong,
.paleta[style*="background-color: rgb(0, 0, 0)"] .formacao-header strong {
    color: #4dabf7 !important;
}

.paleta[style*="background-color: #000000"] .exp-description,
.paleta[style*="background-color: rgb(0, 0, 0)"] .exp-description,
.paleta[style*="background-color: #000000"] .formacao-instituicao,
.paleta[style*="background-color: rgb(0, 0, 0)"] .formacao-instituicao {
    color: #e6e6e6 !important;
}

.paleta[style*="background-color: #000000"] .exp-tech,
.paleta[style*="background-color: rgb(0, 0, 0)"] .exp-tech,
.paleta[style*="background-color: #000000"] .formacao-periodo,
.paleta[style*="background-color: rgb(0, 0, 0)"] .formacao-periodo {
    color: #b0cfff !important;
}

/* ESTILOS ESPECÍFICOS PARA PALETA PRETA - CORREÇÃO DE CONTRASTE */
body.paleta-preta .exp-item,
body.paleta-preta .formacao-item,
body.paleta-preta .skill-category {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

body.paleta-preta .exp-header strong,
body.paleta-preta .formacao-header strong,
body.paleta-preta .skill-category strong {
    color: #4dabf7 !important;
}

body.paleta-preta .exp-description,
body.paleta-preta .formacao-instituicao {
    color: #e6e6e6 !important;
}

body.paleta-preta .exp-tech,
body.paleta-preta .formacao-periodo {
    color: #b0cfff !important;
}

body.paleta-preta .exp-period {
    color: #74b9ff !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* ESTILOS ESPECÍFICOS PARA PALETA AZUL */
body.paleta-azul .exp-item,
body.paleta-azul .formacao-item,
body.paleta-azul .skill-category {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #f0f0f0 !important;
}

body.paleta-azul .exp-header strong,
body.paleta-azul .formacao-header strong,
body.paleta-azul .skill-category strong {
    color: #74b9ff !important;
}

body.paleta-azul .exp-description,
body.paleta-azul .formacao-instituicao {
    color: #f0f0f0 !important;
}

body.paleta-azul .exp-tech,
body.paleta-azul .formacao-periodo {
    color: #4dabf7 !important;
}

body.paleta-azul .exp-period {
    color: #4dabf7 !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* ESTILOS ESPECÍFICOS PARA PALETA BEJE */
body.paleta-beje .exp-item,
body.paleta-beje .formacao-item,
body.paleta-beje .skill-category {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #333333 !important;
}

body.paleta-beje .exp-header strong,
body.paleta-beje .formacao-header strong,
body.paleta-beje .skill-category strong {
    color: #01355c !important;
}

body.paleta-beje .exp-description,
body.paleta-beje .formacao-instituicao {
    color: #333333 !important;
}

body.paleta-beje .exp-tech,
body.paleta-beje .formacao-periodo {
    color: #000000 !important;
}

body.paleta-beje .exp-period {
    color: #000000 !important;
    background-color: rgba(0, 0, 0, 0.1) !important;
}

/* ESTILOS DE FALLBACK PARA GARANTIR CONTRASTE ADEQUADO */
/* Estes estilos garantem que mesmo se o JavaScript falhar, o contraste será adequado */

/* Para paleta preta - fallback */
.paleta[style*="background-color: #000000"] .exp-item,
.paleta[style*="background-color: rgb(0, 0, 0)"] .exp-item,
.paleta[style*="background-color: #000000"] .formacao-item,
.paleta[style*="background-color: rgb(0, 0, 0)"] .formacao-item,
.paleta[style*="background-color: #000000"] .skill-category {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.paleta[style*="background-color: #000000"] .exp-header strong,
.paleta[style*="background-color: rgb(0, 0, 0)"] .exp-header strong,
.paleta[style*="background-color: #000000"] .formacao-header strong,
.paleta[style*="background-color: rgb(0, 0, 0)"] .formacao-header strong,
.paleta[style*="background-color: #000000"] .skill-category strong {
    color: #4dabf7 !important;
}

.paleta[style*="background-color: #000000"] .exp-description,
.paleta[style*="background-color: rgb(0, 0, 0)"] .exp-description,
.paleta[style*="background-color: #000000"] .formacao-instituicao,
.paleta[style*="background-color: rgb(0, 0, 0)"] .formacao-instituicao {
    color: #e6e6e6 !important;
}

.paleta[style*="background-color: #000000"] .exp-tech,
.paleta[style*="background-color: rgb(0, 0, 0)"] .exp-tech,
.paleta[style*="background-color: #000000"] .formacao-periodo,
.paleta[style*="background-color: rgb(0, 0, 0)"] .formacao-periodo {
    color: #b0cfff !important;
}

.paleta[style*="background-color: #000000"] .exp-period,
.paleta[style*="background-color: rgb(0, 0, 0)"] .exp-period {
    color: #74b9ff !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Para paleta azul - fallback */
.paleta[style*="background-color: #01355c"] .exp-item,
.paleta[style*="background-color: rgb(1, 53, 92)"] .exp-item,
.paleta[style*="background-color: #01355c"] .formacao-item,
.paleta[style*="background-color: rgb(1, 53, 92)"] .formacao-item,
.paleta[style*="background-color: #01355c"] .skill-category {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #f0f0f0 !important;
}

.paleta[style*="background-color: #01355c"] .exp-header strong,
.paleta[style*="background-color: rgb(1, 53, 92)"] .exp-header strong,
.paleta[style*="background-color: #01355c"] .formacao-header strong,
.paleta[style*="background-color: rgb(1, 53, 92)"] .formacao-header strong,
.paleta[style*="background-color: #01355c"] .skill-category strong {
    color: #74b9ff !important;
}

.paleta[style*="background-color: #01355c"] .exp-description,
.paleta[style*="background-color: rgb(1, 53, 92)"] .exp-description,
.paleta[style*="background-color: #01355c"] .formacao-instituicao,
.paleta[style*="background-color: rgb(1, 53, 92)"] .formacao-instituicao {
    color: #f0f0f0 !important;
}

.paleta[style*="background-color: #01355c"] .exp-tech,
.paleta[style*="background-color: rgb(1, 53, 92)"] .exp-tech,
.paleta[style*="background-color: #01355c"] .formacao-periodo,
.paleta[style*="background-color: rgb(1, 53, 92)"] .formacao-periodo {
    color: #4dabf7 !important;
}

.paleta[style*="background-color: #01355c"] .exp-period,
.paleta[style*="background-color: rgb(1, 53, 92)"] .exp-period {
    color: #4dabf7 !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Para paleta beje - fallback */
.paleta[style*="background-color: #e7d6b9"] .exp-item,
.paleta[style*="background-color: rgb(231, 214, 185)"] .exp-item,
.paleta[style*="background-color: #e7d6b9"] .formacao-item,
.paleta[style*="background-color: rgb(231, 214, 185)"] .formacao-item,
.paleta[style*="background-color: #e7d6b9"] .skill-category {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    color: #333333 !important;
}

.paleta[style*="background-color: #e7d6b9"] .exp-header strong,
.paleta[style*="background-color: rgb(231, 214, 185)"] .exp-header strong,
.paleta[style*="background-color: #e7d6b9"] .formacao-header strong,
.paleta[style*="background-color: rgb(231, 214, 185)"] .formacao-header strong,
.paleta[style*="background-color: #e7d6b9"] .skill-category strong {
    color: #01355c !important;
}

.paleta[style*="background-color: #e7d6b9"] .exp-description,
.paleta[style*="background-color: rgb(231, 214, 185)"] .exp-description,
.paleta[style*="background-color: #e7d6b9"] .formacao-instituicao,
.paleta[style*="background-color: rgb(231, 214, 185)"] .formacao-instituicao {
    color: #333333 !important;
}

.paleta[style*="background-color: #e7d6b9"] .exp-tech,
.paleta[style*="background-color: rgb(231, 214, 185)"] .exp-tech,
.paleta[style*="background-color: #e7d6b9"] .formacao-periodo,
.paleta[style*="background-color: rgb(231, 214, 185)"] .formacao-periodo {
    color: #000000 !important;
}

.paleta[style*="background-color: #e7d6b9"] .exp-period,
.paleta[style*="background-color: rgb(231, 214, 185)"] .exp-period {
    color: #000000 !important;
    background-color: rgba(0, 0, 0, 0.1) !important;
}

.eu {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    background-image: url('../assets/img/perfil.jpg'); /* ajuste o caminho conforme necessário */
    background-size: cover;
    background-position: center;
    border: none;
    box-shadow: none;
    margin-bottom: 1rem;
}

/* Ajuste de cor dos textos para combinar com a paleta de fundo */

/* Paleta preta: textos claros */
.paleta[style*="background-color: #000000"] .text_paleta,
.paleta[style*="background-color: rgb(0, 0, 0)"] .text_paleta {
    color: #f5f5f5 !important;
}
.paleta[style*="background-color: #000000"] a,
.paleta[style*="background-color: rgb(0, 0, 0)"] a {
    color: #90caf9 !important;
}

/* Paleta azul escuro: textos claros e azulados */
.paleta[style*="background-color: #01355c"] .text_paleta,
.paleta[style*="background-color: rgb(1, 53, 92)"] .text_paleta {
    color: #e3f2fd !important;
}
.paleta[style*="background-color: #01355c"] a,
.paleta[style*="background-color: rgb(1, 53, 92)"] a {
    color: #90caf9 !important;
}

/* Paleta beje: textos escuros */
.paleta[style*="background-color: #e7d6b9"] .text_paleta,
.paleta[style*="background-color: rgb(231, 214, 185)"] .text_paleta {
    color: #2d2d2d !important;
}
.paleta[style*="background-color: #e7d6b9"] a,
.paleta[style*="background-color: rgb(231, 214, 185)"] a {
    color: #01355c !important;
}

/* Ajuste para títulos e botões */
.paleta[style*="background-color: #000000"] .btn,
.paleta[style*="background-color: rgb(0, 0, 0)"] .btn {
    color: #f5f5f5;
    background-color: #222;
    border-color: #90caf9;
}
.paleta[style*="background-color: #01355c"] .btn,
.paleta[style*="background-color: rgb(1, 53, 92)"] .btn {
    color: #e3f2fd;
    background-color: #01497c;
    border-color: #90caf9;
}
.paleta[style*="background-color: #e7d6b9"] .btn,
.paleta[style*="background-color: rgb(231, 214, 185)"] .btn {
    color: #01355c;
    background-color: #fff;
    border-color: #01355c;
}

/* Controle de cor dos textos da seção de contatos conforme a paleta */
body.paleta-preta .contatos,
body.paleta-preta .contatos *,
body.paleta-azul .contatos,
body.paleta-azul .contatos * {
    color: #fff !important;
}

body.paleta-beje .contatos,
body.paleta-beje .contatos * {
    color: #000 !important;
}

body.paleta-preta, body.paleta-preta * {
    color: #fff !important;
}
body.paleta-azul, body.paleta-azul * {
    color: #fff !important;
}
body.paleta-beje, body.paleta-beje * {
    color: #000 !important;
}

body.paleta-preta a, body.paleta-preta .btn, body.paleta-preta .nav-link,
body.paleta-azul a, body.paleta-azul .btn, body.paleta-azul .nav-link {
    color: #fff !important;
}
body.paleta-beje a, body.paleta-beje .btn, body.paleta-beje .nav-link {
    color: #000 !important;
}

body.paleta-azul *, body.paleta-azul a, body.paleta-azul .btn, body.paleta-azul .nav-link {
  color: #fff !important;
}
body.paleta-beje *, body.paleta-beje a, body.paleta-beje .btn, body.paleta-beje .nav-link {
  color: #000 !important;
}

body.paleta-azul .skill-category strong,
body.paleta-azul .exp-header strong,
body.paleta-azul .formacao-header strong,
body.paleta-azul .formacao-instituicao,
body.paleta-azul .formacao-periodo,
body.paleta-azul .exp-period,
body.paleta-azul .exp-description,
body.paleta-azul .exp-tech,
body.paleta-azul .stat-label,
body.paleta-azul .stat-number {
    color: #fff !important;
}
body.paleta-beje .skill-category strong,
body.paleta-beje .exp-header strong,
body.paleta-beje .formacao-header strong,
body.paleta-beje .formacao-instituicao,
body.paleta-beje .formacao-periodo,
body.paleta-beje .exp-period,
body.paleta-beje .exp-description,
body.paleta-beje .exp-tech,
body.paleta-beje .stat-label,
body.paleta-beje .stat-number {
    color: #000 !important;
}
