
        /* ============================================
           VARIÁVEIS & RESET
           ============================================ */
        :root {
            --bg-primary: #0a0a0f;
            --bg-secondary: #12121a;
            --bg-card: #16161f;
            --bg-hover: #1c1c28;
            
            --accent-primary: #00ff9d;
            --accent-secondary: #00d4ff;
            --accent-gradient: linear-gradient(135deg, #00ff9d 0%, #00d4ff 100%);
            
            --text-primary: #ffffff;
            --text-secondary: #a1a1aa;
            --text-muted: #52525b;
            
            --border-color: #27272a;
            --border-hover: #3f3f46;
            
            --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
            
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 20px;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            background:
            radial-gradient(circle at 20% 20%, rgba(0,255,157,0.06), transparent 40%),
            radial-gradient(circle at 80% 0%, rgba(0,212,255,0.05), transparent 35%),
            var(--bg-primary);
            color: var(--text-primary);
            font-family: var(--font-main);
            line-height: 1.7;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            display: block;
        }

        /* ============================================
           LAYOUT & CONTAINER
           ============================================ */
        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        section {
            padding: 5rem 0;
        }

        /* ============================================
           NAVBAR
           ============================================ */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            background: rgba(10, 10, 15, 0.85);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border-color);
            padding: 1rem 0;
        }

        .navbar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-family: var(--font-mono);
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--accent-primary);
        }

        .nav-links {
            display: flex;
            gap: 2rem;
        }

        .nav-links a {
            font-size: 0.9rem;
            color: var(--text-secondary);
            transition: color 0.2s;
        }

        .nav-links a:hover {
            color: var(--accent-primary);
        }

        /* ============================================
           HERO SECTION
           ============================================ */
        .hero {
            min-height: 80vh;
            display: flex;
            align-items: center;
            padding-top: 80px;
        }

        .hero-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .hero-text .greeting {
            font-family: var(--font-mono);
            color: var(--accent-primary);
            font-size: 1rem;
            margin-bottom: 1rem;
        }

        .hero-text h1 {
            font-size: 3.5rem;
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 1rem;
        }

        .hero-text h1 .highlight {
            background: var(--accent-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-text .role {
            font-size: 1.5rem;
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
        }

        .hero-text .bio {
            color: var(--text-muted);
            color:#ffffff;
            max-width: 450px;
            margin-bottom: 2rem;
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
        }

        .btn {
            padding: 0.875rem 1.75rem;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-primary {
            background: var(--accent-gradient);
            color: var(--bg-primary);
            border: none;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px -10px rgba(0, 255, 157, 0.4);
        }

        .btn-secondary {
            background: transparent;
            color: var(--text-primary);
            border: 1px solid var(--border-color);
        }

        .btn-secondary:hover {
            border-color: var(--accent-primary);
            color: var(--accent-primary);
        }

        .hero-image {
            position: relative;
        }

        .image-wrapper {
            position: relative;
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
        }

        .image-wrapper::before {
            content: '';
            position: absolute;
            inset: -3px;
            background: var(--accent-gradient);
            border-radius: var(--radius-lg);
            z-index: -1;
            opacity: 0.5;
            filter: blur(20px);
        }

        .profile-img {
            width: 100%;
            height: 450px;
            object-fit: cover;
            border-radius: var(--radius-lg);
            border: 2px solid var(--border-color);
            background-color: var(--bg-secondary);
        }

        /* ============================================
           SECTIONS COMMON
           ============================================ */
        .section-header {
            margin-bottom: 3rem;
        }

        .section-label {
            font-family: var(--font-mono);
            font-size: 0.875rem;
            color: var(--accent-primary);
            margin-bottom: 0.5rem;
            display: block;
        }

        .section-title {
            font-size: 2rem;
            font-weight: 700;
        }

        /* ============================================
           PROJECTS GRID
           ============================================ */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 1.5rem;
        }

        .project-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        /* ============================================
        PROJECT BANNER (NOVO)
        ============================================ */
        .project-banner{
            width:100%;
            height:140px;
            overflow:hidden;
            border-bottom:1px solid var(--border-color);
        }

        .project-banner img{
            width:100%;
            height:100%;
            object-fit:cover;
            display:block;
            transition:transform .35s ease;
        }

        .project-card:hover .project-banner img{
            transform:scale(1.05);
        }


        .project-card:hover {
            border-color: var(--accent-primary);
            transform: translateY(-5px);
            box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
        }

        .project-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            background: var(--bg-secondary);
        }

        .project-content {
            padding: 1.5rem;
        }

        .project-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 1rem;
        }

        .project-title {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-primary);
        }

        .project-icon {
            color: var(--accent-primary);
            font-size: 1.25rem;
        }

        .project-description {
            color: var(--text-secondary);
            font-size: 0.9rem;
            margin-bottom: 1rem;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .tag {
            font-family: var(--font-mono);
            font-size: 0.75rem;
            padding: 0.25rem 0.75rem;
            background: rgba(0, 255, 157, 0.1);
            color: var(--accent-primary);
            border-radius: 50px;
            border: 1px solid rgba(0, 255, 157, 0.2);
        }

        /* ============================================
           ARTICLES / RESEARCH
           ============================================ */
        .articles-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .article-item {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .article-item:hover {
            border-color: var(--accent-secondary);
            background: var(--bg-hover);
        }

        .article-info h3 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            transition: color 0.2s;
        }

        .article-item:hover .article-info h3 {
            color: var(--accent-primary);
        }

        .article-meta {
            display: flex;
            gap: 1.5rem;
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        .article-meta span {
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }

        .article-arrow {
            color: var(--text-muted);
            transition: all 0.3s ease;
        }

        .article-item:hover .article-arrow {
            color: var(--accent-primary);
            transform: translateX(5px);
        }

        /* ============================================
           CONTACT SECTION
           ============================================ */
        .contact {
            text-align: center;
            padding: 6rem 0;
        }

        .contact-header {
            margin-bottom: 3rem;
        }

        .contact-header h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .contact-header p {
            color: var(--text-secondary);
            max-width: 500px;
            margin: 0 auto;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        .social-link {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1rem 1.5rem;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            color: var(--text-primary);
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            border-color: var(--accent-primary);
            transform: translateY(-3px);
            box-shadow: 0 10px 30px -10px rgba(0, 255, 157, 0.3);
        }

        .social-link svg {
            width: 24px;
            height: 24px;
        }
        .social-link[href^="mailto"] {
            border-color: var(--accent-primary);
            color: var(--accent-primary);
        }


        /* ============================================
           FOOTER
           ============================================ */
        footer {
            border-top: 1px solid var(--border-color);
            padding: 2rem 0;
            text-align: center;
            color: var(--text-muted);
            font-size: 0.875rem;
        }

        /* ============================================
           PROJECT MODAL (DETALHES)
           ============================================ */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(10px);
            z-index: 200;
            display: none;
            justify-content: center;
            align-items: center;
            padding: 2rem;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal-overlay.active {
            display: flex;
            opacity: 1;
        }

        .modal-content {
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            max-width: 800px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            animation: modalSlideIn 0.3s ease;
        }

        @keyframes modalSlideIn {
            from {
                transform: translateY(20px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .modal-close {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            color: var(--text-primary);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            transition: all 0.2s;
            z-index: 10;
        }

        .modal-close:hover {
            border-color: var(--accent-primary);
            color: var(--accent-primary);
        }

        .modal-image {
            width: 100%;
            height: 300px;
            object-fit: cover;
            background-color: var(--bg-card);
        }

        .modal-body {
            padding: 2rem;
        }

        .modal-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .modal-tech {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }

        .modal-description {
            color: var(--text-secondary);
            line-height: 1.8;
            margin-bottom: 2rem;
        }

        .modal-features h4 {
            color: var(--text-primary);
            margin-bottom: 1rem;
        }

        .modal-features ul {
            list-style: disc;
            padding-left: 1.5rem;
            color: var(--text-secondary);
        }

        .modal-features li {
            margin-bottom: 0.5rem;
        }

        .modal-links {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border-color);
        }
        .about-box {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            padding: 2rem;
            border-radius: var(--radius-md);
            max-width: 800px;
            color: var(--text-secondary);
            line-height: 1.8;
        }
        .about-box{
            background:
                linear-gradient(
                    180deg,
                    rgba(20,20,30,0.85),
                    rgba(16,16,24,0.95)
                );
            border:1px solid rgba(255,255,255,0.05);
        }

        .about-box p{
            color:#cfcfd6; /* antes estava muito apagado */
            line-height:1.85;
        }



        /* ============================================
           RESPONSIVE
           ============================================ */
        @media (max-width: 768px) {
            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 2rem;
            }

            .hero-text h1 {
                font-size: 2.5rem;
            }

            .hero-text .bio {
                margin: 0 auto 2rem;
            }

            .cta-buttons {
                justify-content: center;
            }

            .image-wrapper {
                max-width: 300px;
            }

            .profile-img {
                height: 350px;
            }

            .nav-links {
                display: none;
            }

            .projects-grid {
                grid-template-columns: 1fr;
            }

            .article-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 1rem;
            }

            .article-arrow {
                position: absolute;
                right: 1.5rem;
                top: 50%;
                transform: translateY(-50%);
            }
        }

        /* ============================================
           ANIMAÇÕES DE ENTRADA
           ============================================ */
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s ease forwards;
        }

        .delay-1 { animation-delay: 0.1s; }
        .delay-2 { animation-delay: 0.2s; }
        .delay-3 { animation-delay: 0.3s; }
        .delay-4 { animation-delay: 0.4s; }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .hidden-project {
            display:none;
        }

        .hidden-article {
            display:none;
        }
        body::before{
            content:"";
            position:fixed;
            inset:0;
            background-image:
                linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
            background-size:40px 40px;
            pointer-events:none;
            z-index:-1;
        }
        /* ============================================
        TECHNICAL FOCUS
        ============================================ */

        .focus-grid{
            display:grid;
            grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
            gap:1.5rem;
        }

        .focus-item{
            background:var(--bg-card);
            border:1px solid var(--border-color);
            border-radius:var(--radius-md);
            padding:1.5rem;
            transition:.3s ease;
        }

        .focus-item:hover{
            border-color:var(--accent-primary);
            transform:translateY(-4px);
            box-shadow:0 15px 35px -20px rgba(0,0,0,.6);
        }

        .focus-item h3{
            font-size:1.05rem;
            margin-bottom:.5rem;
            color:var(--text-primary);
        }

        .focus-item p{
            font-size:.9rem;
            color:var(--text-secondary);
        }
        .about-intro{
            margin-bottom:2rem;
            font-size:0.95rem;
        }
        .about-intro{
            border-bottom:1px solid rgba(0,255,157,.12);
            padding-bottom:1.2rem;
            margin-bottom:1.8rem;
        }


        .about-grid{
            display:grid;
            grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
            gap:1.5rem;
        }

        .about-item{
            background:var(--bg-secondary);
            border:1px solid var(--border-color);
            border-radius:var(--radius-sm);
            padding:1.25rem;
            transition:.25s ease;
        }

        .about-item:hover{
            border-color:var(--accent-primary);
            transform:translateY(-3px);
        }

        .about-item h3{
            font-size:1rem;
            margin-bottom:.5rem;
        }
        .about-item h3{
            color:var(--accent-primary);
            font-weight:600;
            letter-spacing:.3px;
        }


        .about-item p{
            font-size:.85rem;
            color:var(--text-secondary);
        }

        /* ============================================
        SECTION DIVIDER
        ============================================ */

        section{
            position:relative;
        }

        section::before{
            content:"";
            position:absolute;
            top:0;
            left:50%;
            transform:translateX(-50%);
            width:70%;
            height:2px;
            background:linear-gradient(
                90deg,
                transparent,
                rgba(0,255,157,0.25),
                transparent
            );
        }
        .tech-stack{
            margin:1.5rem 0 2rem 0;
        }

        .tech-label{
            display:block;
            font-size:.75rem;
            letter-spacing:.5px;
            color:var(--accent-primary);
            margin-bottom:.7rem;
            font-family:var(--font-mono);
        }

        .tech-tags{
            display:flex;
            flex-wrap:wrap;
            gap:.5rem;
        }

        .tech-tag{
            padding:.35rem .75rem;
            border-radius:50px;
            background:rgba(0,255,157,.08);
            border:1px solid rgba(0,255,157,.2);
            font-size:.75rem;
            font-family:var(--font-mono);
            color:var(--accent-primary);
            transition:.25s ease;
        }

        .tech-tag:hover{
            background:rgba(0,255,157,.15);
            transform:translateY(-1px);
        }
        .bio{
            border-left:2px solid rgba(0,255,157,.3);
            padding-left:1rem;
        }
.article-item{
    display:flex;
    align-items:center;
    gap:1rem;
}

.article-thumb{
    width:120px;
    height:70px;
    border-radius:8px;
    overflow:hidden;
    flex-shrink:0;
    border:1px solid var(--border-color);
}

.article-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}