/* Aviso: Cores vibrantes detectadas. Use com cautela para n�o ofuscar o recrutador. */

:root {
    --primaria: #6c5ce7;
    --secundaria: #a29bfe;
    --detalhe: #00cec9;
    --fundo: #f0f2f5;
    --texto: #2d3436;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--fundo);
    color: var(--texto);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.curriculo {
    background: white;
    max-width: 850px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-top: 10px solid var(--primaria);
}

header {
    background: linear-gradient(135deg, var(--primaria), var(--secundaria));
    color: white;
    padding: 40px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
    letter-spacing: -1px;
}

.contato {
    margin-top: 10px;
    opacity: 0.9;
    font-size: 0.9em;
}

main {
    padding: 40px;
}

section {
    margin-bottom: 30px;
}

h2 {
    color: var(--primaria);
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--detalhe);
    display: inline-block;
    margin-bottom: 15px;
}

.item-experiencia {
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 3px solid #eee;
}

.cargo {
    font-weight: bold;
    color: #000;
    display: block;
}

.periodo {
    font-size: 0.85em;
    color: #636e72;
    margin-bottom: 5px;
    display: block;
}

.habilidades-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.habilidades-tags li {
    background: var(--detalhe);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
}

#lang-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: var(--detalhe);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

#lang-toggle:hover {
    background-color: var(--primaria);
}

/* NAVBAR custom */
    .navbar-brand img {
      height: 44px;
      width: auto;
      margin-right: 10px;
      border-radius: 12px;
    }

    .navbar {
      background-color: #6c5ce7;
    }


footer p {
        color: white;
    }

#btnTopo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
#btnTopo:hover {
    background-color: #6c5ce7;;
}

.tab-container {
    display: flex;
    justify-content: space-between; /* Distribui o espa�o entre eles */
    align-items: stretch;
    gap: 5px;             /* Pequeno espa�o entre os bot�es */
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    width: 100%;          /* Garante que o menu ocupe a largura toda */
    flex-wrap: nowrap;    /* PROIBIDO quebrar para a linha de baixo */
}

.tab-link {
    flex: 1;              /* Faz com que os 3 bot�es tenham exatamente o mesmo tamanho */
    background: none;
    border: none;
    padding: 12px 5px;    /* Reduzi um pouco o padding lateral */
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #555;
    transition: 0.3s;
    
    /* O segredo para n�o quebrar a linha: */
    white-space: nowrap;  
    text-align: center;
    font-size: 14px;      /* Tamanho base */
}

.tab-link.active {
    border-bottom: 3px solid #007bff;
    color: #007bff;
}

/* Ajuste espec�fico para telem�veis muito pequenos */
@media (max-width: 400px) {
    .tab-link {
        font-size: 11px; /* Diminui a letra para caber em ecr�s min�sculos */
        padding: 10px 2px;
    }
}

.tab-link:hover {
    color: #000;
}

.tab-link.active {
    border-bottom: 3px solid #007bff; /* Ou a cor do seu destaque */
    color: #007bff;
}

.tab-content {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Container principal */
.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Os itens do carrossel */
.carousel-item {
    display: none; /* Esconde todos por padr�o */
    width: 100%;
}

.carousel-item img {
    width: 100%;
    display: block;
    height: auto;
}

/* Mostra apenas o ativo */
.carousel-item.active {
    display: block;
    animation: fade 0.5s ease-in-out;
}

/* Legendas */
.caption {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

/* Bot�es */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
    transition: 0.3s;
}

.prev:hover, .next:hover { background: rgba(255,255,255,0.8); color: black; }
.prev { left: 0; border-radius: 0 5px 5px 0; }
.next { right: 0; border-radius: 5px 0 0 5px; }

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Estilo da lista de publica��es */
.lista-publicacoes {
    padding-left: 20px;
}

.lista-publicacoes li {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
}

/* Estilo dos links das publica��es */
.lista-publicacoes a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

.lista-publicacoes a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Estilo para pr�mios e destaques */
.premios {
    list-style-type: none;
    padding-left: 0;
    margin-top: 5px;
    font-size: 0.9em;
    color: #28a745; /* Um verde esperan�a, embora eu n�o saiba o que � isso */
    font-weight: bold;
}

#bibtex_display {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

.bibtex_entry {
    margin-bottom: 20px;
    display: block;
}

.bibtex_title {
    font-weight: bold;
    color: #007bff;
    display: block;
}

.bibtex_author {
    font-style: italic;
}