body {
    font-family: 'Roboto', sans-serif;
    background: #f5f5f5;
    color: #333;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center; /* Centraliza o container verticalmente */
    min-height: 100vh; /* Altura mínima para centralizar na tela */
    box-sizing: border-box;
    overflow-y: auto; /* Habilita a rolagem vertical */
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    box-sizing: border-box;
    margin: 20px 0; /* Espaço extra na parte superior e inferior para centralizar melhor */
}

header {
    text-align: center;
    margin-bottom: 20px;
}

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative; /* Necessário para posicionar os elementos */
}

.profile-photo {
    position: relative; /* Necessário para o efeito de glow */
    z-index: 1; /* Garante que a foto fique abaixo do profile-info */
}

.profile-photo img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(94, 77, 133, 0.5); /* Adiciona o glow roxo menos evidente */
}

.profile-info {
    margin-top: -50px; /* Sobreposição em dispositivos móveis */
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 80%;
    position: relative;
    z-index: 2; /* Garante que o profile-info fique acima da foto */
}

.profile-info h1 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.profile-info .crp {
    font-style: italic;
    margin-top: 5px;
    color: #666;
}

.profile-info p {
    margin: 10px 0 20px;
    color: #666;
}

a,
a:link,
a:visited {
    color: #4B3A83 !important; /* Define uma cor mais escura para maior contraste */
    text-decoration: none !important; /* Remove o sublinhado e usa !important para sobrepor estilos padrão */
    font-weight: bold; /* Adiciona negrito para melhorar o contraste */
}

a:hover {
    text-decoration: underline !important;
    color: #3A2C70 !important; /* Cor mais escura no hover */
}

.social-icons a {
    margin: 0 10px;
    color: #5E4D85;
    font-size: 24px;
    text-decoration: none;
}

.section-title, .section-content {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.section-title {
    background-color: #5E4D85;
    color: #fff;
    cursor: pointer;
    height: 50px;
    line-height: 50px;
    font-size: 12px; /* Fonte do título ajustada para 12px */
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribui espaço igualmente entre os itens */
    border-radius: 5px;
    margin-bottom: 10px;
}

.section-title h2 {
    margin: 0;
    flex-grow: 1; /* Faz o título ocupar o espaço disponível */
    text-align: left; /* Alinha o texto à esquerda */
}

.section-title i {
    font-size: 14px; /* Fonte do ícone ajustada para 14px */
    margin-left: 20px; /* Espaçamento entre o título e o ícone */
}

.section-content {
    background-color: #ffffff;
    display: none;
    border-radius: 5px;
    padding: 10px;
    text-align: left;
    margin-top: -10px;
}

.section-content h3 {
    color: #5E4D85;
    margin-bottom: 5px;
}

.section-content p, .section-content ul {
    margin: 5px 0 15px;
    line-height: 1.6;
}

.section-content ul {
    padding-left: 20px;
}

.section-content ul li {
    list-style-type: disc;
    margin-left: 15px;
}

nav.menu {
    margin-top: 20px;
}

nav.menu ul {
    list-style: none;
    padding: 0;
}

nav.menu ul li {
    background: #5E4D85;
    color: #fff;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

nav.menu ul li:hover {
    background: #4a3b6b;
}

/* Media query para dispositivos desktop */
@media (min-width: 601px) {
    .profile-container {
        flex-direction: row; /* Alinhar lado a lado em desktop */
        justify-content: space-between;
    }

    .profile-info {
        margin-top: 0; /* Remover margin para dispositivos desktop */
        margin-left: 20px; /* Espaço entre imagem e informações no desktop */
        width: 50%;
    }

    .profile-photo {
        width: 50%;
    }

    .section-content {
        display: block; /* Mostrar todas as seções por padrão no desktop */
    }
}
