


:root {
    --cor-primaria: #00A896;
    --cor-secundaria: #023047;
    --cor-fundo-conteudo: #F9F9F9;
    --cor-fundo-sidebar: #343A40; 
    --cor-fundo-sidebar: #023047; 
    --cor-texto-conteudo: #212529;
    --cor-texto-sidebar: #E9ECEF;
    --cor-texto-branco: #FFFFFF;
    --cor-apoio: #FFC300;

    --fonte-titulos: 'Poppins', sans-serif;
    --fonte-corpo: 'Lato', 'Open Sans', sans-serif;
}
::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-track {
    background: var(--cor-fundo-conteudo); /* fundo do track */
}

::-webkit-scrollbar-thumb {
    background-color: var(--cor-fundo-sidebar); /* cor do "botão" da rolagem */
    border-radius: 10px;
    border: 3px solid var(--cor-fundo-conteudo); /* borda para dar destaque */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--fonte-corpo);
    background-color: var(--cor-fundo-conteudo);
    color: var(--cor-texto-conteudo);
    line-height: 1.7;
    display: flex;
}

.container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* --- Barra Lateral (Sidebar) --- */
.sidebar {
    width: 280px; 
    background-color: var(--cor-fundo-sidebar);
    color: var(--cor-texto-sidebar);
    padding: 2rem 1.5rem;
    position: fixed;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
}

.sidebar-content {
    width: 100%;
}

.profile-info .profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--cor-primaria);
}

.profile-info h2 {
    font-family: var(--fonte-titulos);
    font-size: 1.6rem;
    color: var(--cor-texto-branco);
    margin-bottom: 0.25rem;
}

.profile-info .title {
    font-size: 0.95rem;
    color: var(--cor-primaria);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.profile-info .bio-tagline {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    color: var(--cor-texto-sidebar);
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.sidebar-nav ul li a {
    margin-top: 10px;
    display: flex;
    align-items: center;
    color: var(--cor-texto-sidebar);
    text-decoration: none;
    padding: 0.8rem 0;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sidebar-nav ul li a i {
    margin-right: 0.8rem;
    width: 20px; 
    height: 20px;
    padding: 20px;
}
.sidebar-nav ul li a svg {
    margin-right: 0.8rem;
    margin-left: 0.8rem;
    width: 20px; 
    height: 20px;

}

.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.active {
    background-color: var(--cor-primaria);
    color: var(--cor-texto-branco);
}

.social-links {
    margin-top: auto; 
}

.social-links a {
    color: var(--cor-texto-sidebar);
    margin: 0 0.7rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--cor-primaria);
}

.social-links a i {
    width: 24px;
    height: 24px;
}

/* --- Área de Conteúdo Principal --- */
.main-content {
    flex: 1; 
    padding: 3rem;
    margin-left: 280px; 
    overflow-y: auto;
}

section {
    padding-bottom: 4rem;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 3rem;
}

section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.section-header {
    margin-bottom: 2rem;
    text-align: left;
}

.section-header h1, .section-header h2 {
    font-family: var(--fonte-titulos);
    font-size: 2.8rem;
    color: var(--cor-secundaria);
    position: relative;
    padding-bottom: 0.5rem;
}

.section-header h1::after, .section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--cor-primaria);
}

.main-content p {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    max-width: 800px; 
}

/* Projetos */
.projetos-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.projeto-card-v2 {
    background-color: var(--cor-texto-branco);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.projeto-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.projeto-card-v2 img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.projeto-card-v2 .card-content {
    padding: 1.5rem;
    flex-grow: 1; /* Faz o conteúdo ocupar o espaço restante */
    display: flex;
    flex-direction: column;
}

.projeto-card-v2 h3 {
    font-family: var(--fonte-titulos);
    font-size: 1.4rem;
    color: var(--cor-secundaria);
    margin-bottom: 0.5rem;
}

.projeto-card-v2 p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.projeto-stack-v2 span {
    display: inline-block;
    background-color: #eef;
    color: var(--cor-secundaria);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.projeto-links-v2 {
    margin-top: 1rem;
}

.link-button {
    display: inline-flex; /* Para alinhar ícone e texto */
    align-items: center;
    background-color: var(--cor-primaria);
    color: var(--cor-texto-branco);
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.link-button:hover {
    background-color: #008a75; /* Verde Esmeralda mais escuro */
}

.link-button .icon-small {
    width: 16px;
    height: 16px;
    margin-left: 0.5rem;
}

/* Stacks */
.stacks-container-v2 h4 {
    font-family: var(--fonte-titulos);
    font-size: 1.5rem;
    color: var(--cor-secundaria);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.stacks-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.stack-tag {
    background-color: var(--cor-secundaria);
    color: var(--cor-texto-branco);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.stack-tag:hover {
    background-color: var(--cor-primaria);
    cursor: pointer;
}

.stack-tag svg {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
}

/* Contato */
.contato-info-v2 {
    margin-top: 1.5rem;
}

.contato-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--cor-primaria);
    color: var(--cor-texto-branco);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    margin: 0.5rem;
    transition: background-color 0.3s ease;
}

.contato-button:hover {
    background-color: #008a75; /* Verde Esmeralda mais escuro */
}

.contato-button svg {
    margin-right: 0.7rem;
}

/* Footer */
footer {
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    
}
footer p {
    width: 100%;
    text-decoration: none;
    text-align: center;

}
footer p a {
    text-decoration: none;
    color: var(--cor-primaria);
    font-weight: 600;
    transition: color 0.3s ease;
}
footer p a:hover {
    color: var(--cor-apoio);
}

/* Responsividade */
@media (max-width: 992px) {
    .sidebar {
        width: 220px;
    }
    .main-content {
        margin-left: 220px;
        padding: 2rem;
    }
    .section-header h1, .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .sidebar {
        position: static; /* Remove o fixed */
        width: 100%;
        height: auto;
        padding: 1.5rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .profile-info .bio-tagline {
        margin-bottom: 1rem;
    }
    .sidebar-nav ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }
    .sidebar-nav ul li a {
        padding: 0.6rem 1rem;
        margin: 0.3rem;
    }
    .social-links {
        margin-top: 1rem;
    }
    .main-content {
        margin-left: 0;
        padding: 1.5rem;
    }
    .section-header h1, .section-header h2 {
        font-size: 2rem;
    }
    .projetos-grid-v2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .profile-info h2 {
        font-size: 1.4rem;
    }
    .sidebar-nav ul li a {
        font-size: 0.9rem;
    }
    .section-header h1, .section-header h2 {
        font-size: 1.8rem;
    }
    .main-content p {
        font-size: 1rem;
    }
    .contato-button {
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
        width: 100%;
        justify-content: center;
    }
}

