/* ===============================
   VARIÁVEIS
================================ */
:root {
    --bg-color: #0a0a0a;
    --card-bg: #161616;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent: #6d28d9;
    --accent-hover: #5b21b6;
    --font-main: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}
/* ===============================
   RESET
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* ===============================
   UTILITÁRIOS
================================ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===============================
   NAVBAR
================================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-contact {
    border: 1px solid var(--text-muted);
    padding: 8px 16px;
    border-radius: 4px;
}

.btn-contact:hover {
    border-color: var(--text-main);
    background: #fff;
    color: #000;
}

/* ===============================
   HERO
================================ */
.hero {
    min-height: 90vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

/* FOTO DE PERFIL */
.profile-container {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--card-bg);
    box-shadow: 0 0 20px rgba(109, 40, 217, 0.4);
    transition: 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(109, 40, 217, 0.7);
}

.badge {
    background: #222;
    color: var(--accent);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 {
    font-size: 3.5rem;
    margin: 20px 0;
    line-height: 1.1;
    font-weight: 800;
}

.highlight {
    background: linear-gradient(90deg, var(--accent), #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* BOTÕES */
.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid #333;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
}

.btn-secondary:hover {
    border-color: var(--text-main);
}

.btn-cv {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
}

.btn-cv:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

/* ===============================
   SECTIONS
================================ */
.section {
    padding: 80px 0;
}

.bg-dark {
    background: #0f0f0f;
}

/* Linha roxa só nas sections */
.section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    border-left: 4px solid var(--accent);
    padding-left: 15px;
}

/* ===============================
   ABOUT
================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-photo img {
    width: 100%;
    max-width: 320px;
    border-radius: 18px;
    border: 1px solid #222;
    box-shadow: 0 25px 60px rgba(0,0,0,0.7);
    transition: 0.4s ease;
}

.about-photo img:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 35px 80px rgba(109, 40, 217, 0.4);
}

.stat-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #222;
}

.stat-card h3 {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-card p {
    font-weight: 600;
    font-size: 1.1rem;
}
/* ===============================
   EXPERIENCE COMPACT
================================ */
.exp-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.exp-item {
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid #222;
    transition: 0.3s ease;
}

.exp-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}
.exp-item.compact {
    padding: 24px;
}

/* topo com logo + texto */
.exp-top {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

/* logo pequena tipo projeto */
.exp-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: #111;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #222;
}

.exp-main h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.exp-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.exp-main p {
    margin-top: 8px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* parte de aprendizados */
.exp-learned {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #222;
}

.exp-learned strong {
    font-size: 0.9rem;
    color: var(--accent);
}

.exp-learned ul {
    margin-top: 8px;
    padding-left: 18px;
}

.exp-learned li {
    margin-bottom: 6px;
    color: var(--text-muted);
}

.exp-learned li::marker {
    color: var(--accent);
}

/* MOBILE */
@media (max-width: 768px) {
    .exp-top {
        flex-direction: column;
    }

    .exp-logo {
        width: 60px;
        height: 60px;
    }
}
/* ===============================
   PROJECTS
================================ */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #222;
    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid #222;
}

.img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.project-card:hover .img-fluid {
    transform: scale(1.1);
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    margin-bottom: 10px;
}

.project-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tags span {
    background: #222;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
}

/* ===============================
   SKILLS
================================ */
.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.skill-category h3 {
    color: var(--accent);
    margin-bottom: 20px;
}

.skill-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
    color: var(--text-muted);
}

/* ===============================
   FOOTER
================================ */
footer {
    text-align: center;
    padding: 80px 0;
    border-top: 1px solid #222;
}

/* Remove linha roxa do footer */
footer h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    border: none;
    padding-left: 0;
}

footer p {
    color: var(--text-muted);
}

.social-links {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.copyright {
    font-size: 0.8rem;
    margin-top: 40px;
    opacity: 0.5;
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .about-grid,
    .skills-wrapper {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    .about-photo img {
        max-width: 260px;
        margin-bottom: 30px;
    }
}

/* Layout das Colunas */
.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.skill-list {
    list-style: none;
    padding: 0;
}

.skill-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #1a1a1a;
    color: #e0e0e0;
}

/* Estilo das Badges */
.skill-level {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Cores por nível */
.avançado {
    background-color: #a855f7; /* Roxo principal */
    color: #fff;
}

.intermediário {
    border: 1px solid #a855f7;
    color: #a855f7;
}

.básico {
    color: #888;
    border: 1px solid #444;
}
/* Container principal de certificados */
.cert-grid {
    display: flex;
    justify-content: center; /* Centraliza enquanto houver poucos */
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 30px;
}

.cert-card {
    background-color: #0a0a0a;
    border: 1px solid #1a1a1a;
    padding: 25px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px; /* Um pouco maior por ser o único */
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cert-card:hover {
    border-color: #a855f7;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
    transform: translateY(-5px);
}

.cert-tag {
    background-color: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: bold;
    width: fit-content;
}

.cert-info h4 {
    color: #fff;
    font-size: 1.3rem;
    margin: 5px 0;
}

.cert-info p {
    color: #b3b3b3;
}

.cert-date {
    color: #666;
    font-size: 0.85rem;
}

.btn-cert {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background-color: transparent;
    border: 1px solid #a855f7;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-cert:hover {
    background-color: #a855f7;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}
.arsenal-container {
    max-height: 500px; /* Ajuste essa altura conforme o que você quer que apareça primeiro */
    overflow-y: auto;  /* Faz o scroll aparecer apenas se o conteúdo for maior que a altura */
    padding-right: 15px; /* Espaço para a barra não ficar colada no texto */
}

/* Personalização da barra de scroll para combinar com seu tema roxo */
.arsenal-container::-webkit-scrollbar {
    width: 8px;
}

.arsenal-container::-webkit-scrollbar-track {
    background: #1a1a1a; /* Cor do fundo da barra */
    border-radius: 10px;
}

.arsenal-container::-webkit-scrollbar-thumb {
    background: #8257e5; /* O roxo que você usa no layout */
    border-radius: 10px;
}

.arsenal-container::-webkit-scrollbar-thumb:hover {
    background: #9466ff; /* Um roxo mais claro ao passar o mouse */
}
/* 1. Definimos uma altura fixa para as listas e ativamos o scroll */
.skill-list {
    max-height: 300px; /* Ajuste este valor para mostrar mais ou menos itens antes do scroll */
    overflow-y: auto;  /* Ativa o scroll vertical quando necessário */
    padding-right: 10px; /* Espaço para a barra de scroll não cobrir o texto */
    list-style: none;
}

/* 2. Personalização da Barra de Rolagem (Estilo Moderno/Gamer) */
.skill-list::-webkit-scrollbar {
    width: 6px; /* Largura da barra */
}

.skill-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05); /* Fundo da trilha quase transparente */
    border-radius: 10px;
}

.skill-list::-webkit-scrollbar-thumb {
    background: #8257e5; /* Cor roxa principal do seu tema */
    border-radius: 10px;
}

.skill-list::-webkit-scrollbar-thumb:hover {
    background: #9466ff; /* Cor quando passa o mouse */
}

/* Opcional: Efeito visual para indicar que tem mais conteúdo abaixo */
.skill-category {
    position: relative;
    border-bottom: 2px solid rgba(130, 87, 229, 0.2);
    padding-bottom: 10px;
}

/* ordem dos niveis 
/* Define que a lista é um container flexível em coluna */
.skill-list {
    display: flex;
    flex-direction: column;
}

/* Avançado (Roxo sólido) - Fica no topo */
.skill-list li:has(.avançado) {
    order: 1;
}

/* Intermediário (Borda roxa) - Fica no meio */
.skill-list li:has(.intermediário) {
    order: 2;
}

/* Básico (Simples) - Fica por último */
.skill-list li:has(.básico) {
    order: 3;
}
/* ===============================
   TRAJETÓRIA / TIMELINE (DARK MODE)
================================ */
.timeline-section {
    padding: 80px 0;
    background-color: var(--bg-color); /* Usa o fundo padrão do seu site */
}

.timeline {
    position: relative;
    max-width: 850px;
    margin: 40px auto;
    padding-left: 35px;
    border-left: 2px solid var(--accent); /* Linha roxa usando sua variável */
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

/* A bolinha na linha - Estilo Neon */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -44px; /* Ajustado para centralizar na linha de 2px */
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg-color); /* Borda da cor do fundo para "vazar" a linha */
    box-shadow: 0 0 15px rgba(109, 40, 217, 0.6); /* Brilho usando sua cor --accent */
}

.timeline-date {
    font-weight: 800;
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.timeline-content h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-main);
    font-weight: 700;
}

.timeline-content span {
    display: block;
    font-style: italic;
    color: var(--accent);
    font-size: 0.95rem;
    margin: 5px 0 12px 0;
    opacity: 0.8;
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
    max-width: 700px;
}

/* Responsividade para Mobile */
@media (max-width: 768px) {
    .timeline {
        margin-left: 10px;
    }
    .timeline-content h3 {
        font-size: 1.2rem;
    }
}
/* Container que limita a altura e ativa o scroll */
.timeline-scroll {
    max-height: 500px; /* Ajuste para a altura que preferir */
    overflow-y: auto;
    padding-right: 20px;
    margin-top: 20px;
    /* Suaviza o scroll no Firefox */
    scrollbar-width: thin;
    scrollbar-color: var(--accent) #1a1a1a;
}

/* Personalização da Barra de Scroll (Chrome, Edge, Safari) */
.timeline-scroll::-webkit-scrollbar {
    width: 8px;
}

.timeline-scroll::-webkit-scrollbar-track {
    background: #1a1a1a; 
    border-radius: 10px;
}

.timeline-scroll::-webkit-scrollbar-thumb {
    background: var(--accent); /* Usa o roxo que você já definiu */
    border-radius: 10px;
    border: 2px solid #1a1a1a; /* Cria um espaçamento visual */
}

.timeline-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover); /* Roxo mais escuro ao passar o mouse */
}

/* Garante que a linha da timeline não corte no topo/fundo */
.timeline {
    padding-top: 10px;
    padding-bottom: 10px;
}