/* =========================================
   VARIÁVEIS - PALETA PREMIUM E SÓBRIA
========================================= */
:root {
    --bg-solid: #0a0a0a;         /* Preto quase puro */
    --bg-card: #121212;          /* Cinza muito escuro para cartões */
    --border-subtle: #262626;    /* Borda elegante */
    
    --primary: #4f46e5;          /* Indigo (Acento elegante, não berrante) */
    --primary-hover: #4338ca;
    
    --text-main: #f3f4f6;        /* Branco suave */
    --text-muted: #a1a1aa;       /* Cinza para texto secundário */
    
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --nav-height: 80px;
}

/* =========================================
   RESET E BASE
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-solid);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased; /* Torna a fonte mais nítida */
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
ul { list-style: none; }

/* =========================================
   NAVEGAÇÃO (Minimalista)
========================================= */
.navbar {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8); 
    backdrop-filter: blur(10px);      
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle); 
}

.nav-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

.nav-logo span { 
    color: var(--text-muted); 
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
}

/* =========================================
   LAYOUT GERAL E HERO SECTION
========================================= */
.home-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;     
    justify-content: center; 
    padding-top: var(--nav-height); 
}

.hero-container {
    max-width: 1200px; 
    width: 100%;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Badge simplificada (Sem animações de piscar) */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981; /* Verde esmeralda sólido */
    border-radius: 50%;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem); 
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    letter-spacing: -1px;
}

.hero-title span {
    display: block;
    color: var(--text-muted);
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-top: 10px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 550px; 
}

.hero-subtitle strong {
    color: #fff;
    font-weight: 600;
}

/* =========================================
   BOTÕES (Sólidos e Elegantes)
========================================= */
.cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 6px; /* Bordas menos redondas, mais técnicas */
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: #000;
    border: 1px solid #fff;
}

.btn-primary:hover {
    background: #e5e5e5;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: #fff;
    background: var(--bg-card);
}

/* =========================================
   ANIMAÇÕES DE ENTRADA (Mantis subtis)
========================================= */
.animate-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   SOBRE MIM & TIMELINE
========================================= */
.about-wrapper {
    padding: 120px 5% 60px 5%;
    min-height: 100vh;
}

.about-container {
    max-width: 1000px; 
    margin: 0 auto;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.text-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.video-premium-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    background: var(--bg-card);
}

/* TIMELINE SÓBRIA */
.section-subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 40px;
    font-weight: 600;
}

.timeline-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.timeline-item {
    position: relative;
    padding-left: 24px;
    border-left: 1px solid var(--border-subtle);
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--text-muted);
}

.tm-date {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.tm-role {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.tm-place {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.tm-list { padding-left: 16px; }
.tm-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    list-style-type: square; /* Aspeto mais técnico que a "bolinha" */
}

/* =========================================
   CARTÕES DE SKILLS E IDIOMAS (Sem gradientes falsos)
========================================= */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill-card, .lang-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 24px;
    border-radius: 8px;
    transition: border-color 0.2s ease;
}

.skill-card:hover, .lang-card:hover {
    border-color: #52525b; /* Fica ligeiramente mais claro ao passar o rato */
}

.skill-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.skill-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 4px;
    background: #18181b;
    color: #d4d4d8;
    border: 1px solid var(--border-subtle);
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.lang-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* =========================================
   MEDIA QUERIES (Responsivo)
========================================= */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: left; /* Mantém à esquerda mesmo no mobile, parece mais profissional */
        padding-top: 40px;
    }
    
    .hero-image-container { display: none; } /* Ocultar a foto no hero no mobile para focar no texto, ou podes deixar se preferires */
    
    .about-intro { grid-template-columns: 1fr; }
    .timeline-section { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .navbar { padding: 0 5%; }
    .nav-links { gap: 15px; font-size: 0.85rem; }
    .hero-title { font-size: 2.2rem; }
}