/* ==========================================================================
   VARIÁVEIS GLOBAIS AUTERIA
   ========================================================================== */
   :root {
    --bg-dark: #09090b;       /* Fundo quase preto */
    --surface: rgba(24, 24, 27, 0.7); /* Cards transparentes */
    --primary: #00ffcc;       /* Verde água tech */
    --secondary: #a29bfe;     /* Roxo vibrante */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth; /* Rolagem macia ao clicar nos menus */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

.mono-text {
    font-family: 'Fira Code', monospace;
    color: var(--primary);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* ==========================================
   CANVAS BACKGROUND
   ========================================== */
#bg-canvas {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1; pointer-events: auto;
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 20px 5%;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem; font-weight: 800; letter-spacing: -1px;
}
.logo-dot { color: var(--primary); }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
    color: var(--text-main); text-decoration: none;
    font-size: 0.95rem; font-weight: 600; transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }

.btn-contato {
    border: 1px solid var(--primary); padding: 8px 16px;
    border-radius: 6px; color: var(--primary) !important;
}
.btn-contato:hover {
    background: rgba(0, 255, 204, 0.1);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 0 20px;
}

.hero-content { max-width: 800px; }
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800;
    line-height: 1.1; margin: 20px 0; letter-spacing: -2px;
}
.highlight { color: var(--primary); }
.highlight-alt { color: var(--secondary); }
.hero p {
    font-size: 1.2rem; color: var(--text-muted);
    margin-bottom: 40px; line-height: 1.6;
}

.cta-btn {
    display: inline-block; background: var(--text-main); color: var(--bg-dark);
    padding: 15px 30px; font-weight: 700; border-radius: 8px;
    text-decoration: none; transition: var(--transition);
}
.cta-btn:hover { background: var(--primary); transform: translateY(-3px); }

/* ==========================================
   SEÇÕES & CARDS
   ========================================== */
.section { padding: 100px 20px; }
.section-container { max-width: 1100px; margin: 0 auto; }
.section-title {
    font-size: 2.5rem; font-weight: 800; margin-bottom: 50px;
    letter-spacing: -1px; border-bottom: 2px solid var(--border-color); padding-bottom: 10px; display: inline-block;
}

/* Grid Habilidades */
.skills-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
}

.skill-card {
    background: var(--surface); border: 1px solid var(--border-color);
    padding: 40px 30px; border-radius: 12px;
    backdrop-filter: blur(10px); transition: var(--transition);
}
.skill-card:hover { border-color: var(--primary); transform: translateY(-5px); }
.skill-icon { font-size: 2.5rem; margin-bottom: 20px; }
.skill-card h3 { font-size: 1.3rem; margin-bottom: 15px; }
.skill-card p { color: var(--text-muted); line-height: 1.6; font-size: 0.95rem; }

/* Grid Projetos */
.projects-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px;
}

.project-card {
    background: rgba(0,0,0,0.4); border: 1px solid var(--border-color);
    padding: 40px 30px; border-radius: 12px; display: flex; flex-direction: column;
    transition: var(--transition);
}
.project-card:hover { border-color: var(--secondary); background: rgba(162, 155, 254, 0.05); }

.project-tag {
    display: inline-block; padding: 4px 10px; border-radius: 4px;
    font-family: 'Fira Code', monospace; font-size: 0.75rem; font-weight: 600;
    margin-bottom: 20px; align-self: flex-start;
}
.tag-web { background: rgba(0, 255, 204, 0.1); color: var(--primary); border: 1px solid rgba(0, 255, 204, 0.2); }
.tag-3d { background: rgba(162, 155, 254, 0.1); color: var(--secondary); border: 1px solid rgba(162, 155, 254, 0.2); }
.tag-hard { background: rgba(251, 113, 133, 0.1); color: #fb7185; border: 1px solid rgba(251, 113, 133, 0.2); }

.project-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.project-card p { color: var(--text-muted); line-height: 1.6; font-size: 0.95rem; margin-bottom: 30px; flex-grow: 1; }

.project-link {
    color: var(--text-main); font-weight: 600; text-decoration: none;
    display: inline-flex; align-items: center; gap: 5px; transition: var(--transition);
}
.project-link:hover { color: var(--primary); }
.project-status { font-family: 'Fira Code', monospace; font-size: 0.8rem; color: var(--text-muted); }

/* ==========================================
   FOOTER
   ========================================== */
footer {
    border-top: 1px solid var(--border-color); padding: 60px 20px;
    background: rgba(0,0,0,0.5); text-align: center;
}
footer p { color: var(--text-muted); margin-top: 10px; }
.footer-bottom { margin-top: 40px; font-size: 0.85rem; color: #64748b; font-family: 'Fira Code', monospace; }

/* ==========================================
   ANIMAÇÃO DE SCROLL (CSS)
   ========================================== */
.fade-in {
    opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Responsividade Mobile */
@media (max-width: 768px) {
    .nav-links a:not(.btn-contato) { display: none; }
}