:root {
    --bg-color: #050507;
    --surface-color: #0c0d12;
    --primary-accent: #00e5ff;
    --text-main: #f8f9fa;
    --text-muted: #8b949e;
    --border-color: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Sora', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% 0%, #10121a 0%, var(--bg-color) 70%);
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
}

a {
    color: var(--primary-accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

.resume-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Header & Avatar */
.resume-header {
    text-align: center;
    margin-bottom: 4rem;
}

.avatar-container {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 24px;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary-accent), #050507);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    background-color: var(--surface-color);
}

/* Tipografia fluída para o nome não quebrar no mobile */
.resume-header h1 {
    font-size: clamp(1.4rem, 5vw, 2.5rem); 
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.3rem;
    white-space: nowrap; 
}

.resume-header h2 {
    font-size: 1.1rem;
    color: var(--primary-accent);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.contact-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.divider {
    color: #333;
}

/* Sections */
.resume-section {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.section-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-accent);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.8rem;
}

/* Timeline (Experiência) */
.timeline-item {
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.timeline-header h4 {
    font-size: 1.1rem;
}

.timeline-header .company {
    color: var(--text-muted);
    font-weight: 400;
}

.timeline-header .date {
    font-size: 0.85rem;
    color: var(--primary-accent);
    background: rgba(0, 229, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

/* Barras de Progresso */
.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0088cc, var(--primary-accent));
    width: 0;
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Conhecimentos Técnicos (Categorias) */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tech-category h4 {
    color: var(--primary-accent);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tech-category p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Drop Criativa Card */
.drop-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.drop-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.3);
}

.drop-image-wrapper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.drop-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.drop-card:hover .drop-img {
    transform: scale(1.03);
}

.drop-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.drop-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.btn-outline {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--primary-accent);
    color: var(--primary-accent);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-accent);
    color: var(--bg-color);
}

/* GitHub Banner CTA */
.github-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), transparent);
    border: 1px solid var(--primary-accent);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    gap: 2rem;
}

.github-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.github-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.btn-neon {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background: var(--primary-accent);
    color: var(--bg-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-neon:hover {
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
    transform: scale(1.05);
}

/* Botão Download Footer */
.action-footer {
    text-align: center;
    margin-top: 4rem;
}

.btn-download {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: var(--primary-accent);
    border: 1px solid var(--primary-accent);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background-color: var(--primary-accent);
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

/* Animações */
.fade-in, .slide-up {
    opacity: 0;
    will-change: transform, opacity;
}

.slide-up {
    transform: translateY(30px);
}

.animate-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Responsividade Aprimorada */
@media (max-width: 768px) {
    .timeline-header {
        flex-direction: column;
    }
    
    .timeline-header .date {
        margin-top: 0.5rem;
        display: inline-block;
    }

    /* Estrutura de Grid para Contatos no Mobile */
    .contact-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem 0.5rem;
        justify-items: center;
    }

    .divider {
        display: none; /* Remove os pontos separadores no mobile */
    }

    .location {
        grid-column: span 2; /* Faz Osasco/SP ocupar as duas colunas centralizado abaixo */
        margin-top: 0.5rem;
    }
    
    .github-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .btn-neon, .btn-outline {
        width: 100%;
        text-align: center;
    }
}