:root {
    /* Light Mode (Default) */
    --bg-color: #f4f4f5;
    --text-main: #18181b;
    --text-muted: #52525b;
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(255, 255, 255, 0.5);
    --primary: #2563eb; /* Azul tecnológico */
    --accent: #000000;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --glass-blur: blur(12px);
}

.dark-mode {
    /* Dark Mode */
    --bg-color: #09090b;
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    --card-bg: rgba(24, 24, 27, 0.6);
    --card-border: rgba(255, 255, 255, 0.1);
    --primary: #60a5fa;
    --accent: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.5);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.glass {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-md);
}

/* Fixed Controls */
.fixed-controls {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
    background: var(--card-bg);
    padding: 10px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-md);
}

#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-main);
    padding: 5px;
    border-radius: 50%;
    transition: transform 0.2s;
}

#theme-toggle:hover {
    transform: rotate(15deg) scale(1.1);
}

.lang-switch {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 600;
    padding: 2px;
}

.lang-btn.active {
    color: var(--primary);
}

.separator {
    color: var(--text-muted);
    font-size: 0.7rem;
    margin: 2px 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    padding: 15px 30px;
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 20px;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
}

.greeting {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.name {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn.primary {
    background-color: var(--accent);
    color: var(--bg-color);
}

.btn.secondary {
    background: transparent;
    border: 1px solid var(--text-main);
    color: var(--text-main);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Abstract Shapes */
.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 20%;
    left: 20%;
    animation: float 6s infinite ease-in-out;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: #a855f7;
    bottom: 20%;
    right: 10%;
    animation: float 8s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    width: 50px;
    height: 4px;
    background: var(--primary);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* About */
.about-card {
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.skill-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.skill-card .icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.skill-card h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.skill-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tags span {
    background: rgba(128, 128, 128, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.project-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-link:hover {
    color: var(--primary);
}

/* Contact */
.contact-wrapper {
    padding: 50px;
    border-radius: 20px;
    text-align: center;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-color);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    transition: 0.3s;
}

.contact-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        bottom: 20px;
        top: auto;
        width: 90%;
    }
    .name { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; }
    .fixed-controls { top: 20px; transform: none; right: 20px; flex-direction: row; }
    .separator { display: none; }
    .lang-switch { flex-direction: row; gap: 10px; }
}
/* --- ADICIONE ISTO AO SEU CSS EXISTENTE --- */

/* Font para código */
.terminal-window, .cmd, .tags span {
    font-family: 'Fira Code', monospace;
}

/* Hero Adjustments for Vanta */
.hero {
    background: transparent; /* Deixar transparente para o Canvas 3D aparecer */
}

.hero canvas {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 0%, var(--bg-color) 90%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    z-index: 2; /* Texto acima do 3D */
    position: relative;
}

/* Timeline (Jornada) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--card-border);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
    width: 50%;
    padding: 0 40px;
}

.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    top: 20px;
    box-shadow: 0 0 10px var(--primary);
}

.timeline-item:nth-child(odd) .timeline-dot { right: -8px; }
.timeline-item:nth-child(even) .timeline-dot { left: -8px; }

.timeline-date {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.timeline-content {
    padding: 20px;
    border-radius: 12px;
    transition: transform 0.1s; /* Rápido para o Tilt JS */
    transform-style: preserve-3d;
}

/* Terminal Interativo */
.terminal-intro {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.cmd {
    background: rgba(0,0,0,0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--primary);
}

.terminal-window {
    max-width: 800px;
    margin: 0 auto;
    background: #1e1e1e !important; /* Sempre escuro */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid #333;
    text-align: left;
}

.terminal-header {
    background: #2d2d2d;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.dots { display: flex; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }

.terminal-title {
    margin-left: auto;
    margin-right: auto;
    color: #999;
    font-size: 0.8rem;
    font-family: monospace;
}

.terminal-body {
    padding: 20px;
    height: 300px;
    overflow-y: auto;
    color: #0f0; /* Hacker green */
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
}

.line { margin-bottom: 5px; word-wrap: break-word;}

.terminal-input-area {
    display: flex;
    padding: 10px 20px;
    background: #1e1e1e;
    border-top: 1px solid #333;
}

.prompt {
    color: #0f0;
    margin-right: 10px;
    font-weight: bold;
}

#cmd-input {
    background: transparent;
    border: none;
    color: #fff;
    flex: 1;
    font-family: 'Fira Code', monospace;
    outline: none;
}
/* --- ADICIONE ISTO AO SEU CSS EXISTENTE --- */

/* Subtítulo da Seção */
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 60px;
    font-size: 1.1rem;
}

/* Skills Matrix */
.skills-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.matrix-group {
    padding: 30px;
    border-radius: 16px;
    transition: transform 0.1s; /* Para o Tilt JS */
}

.group-title {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-item {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 2fr 3fr 1fr;
    align-items: center;
    gap: 10px;
}

.skill-item span:first-child {
    font-weight: 600;
}

.skill-bar {
    background: var(--card-border);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.skill-bar div {
    height: 100%;
    background-color: var(--primary);
    border-radius: 4px;
    transition: width 1s ease-out;
}

.level {
    font-size: 0.8rem;
    text-align: right;
    color: var(--text-muted);
}

/* Case Study Section */
.case-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.1s;
    transform-style: preserve-3d;
}

.case-header {
    margin-bottom: 20px;
}

.case-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--bg-color);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.case-body p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1rem;
}

.case-details {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.case-details li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    color: var(--text-main);
    font-weight: 500;
}

.case-details i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.1rem;
}

.case-card .btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: var(--primary);
    color: white;
}

/* Responsividade */
@media (max-width: 600px) {
    .skills-matrix {
        grid-template-columns: 1fr;
    }
    .skill-item {
        grid-template-columns: 1fr; /* Colunas empilhadas */
        gap: 5px;
    }
    .skill-bar, .level {
        grid-row: 2; /* Move a barra e o nível para a linha de baixo */
    }
    .level {
        text-align: left;
        color: var(--primary);
        font-weight: 600;
    }
}

/* Responsividade da Timeline */
@media (max-width: 768px) {
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; padding-left: 50px; padding-right: 0; text-align: left; }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { left: 0; }
    .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot { left: 12px; }
}
/* --- ADICIONE ISTO AO SEU CSS EXISTENTE --- */

/* Strategy Simulator */
.sim-dashboard {
    display: flex;
    gap: 40px;
    padding: 40px;
    border-radius: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.sim-control, .sim-results {
    flex: 1;
}

.sim-control h3, .sim-results h3 {
    color: var(--primary);
    border-bottom: 2px solid var(--card-border);
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.control-item {
    margin-bottom: 30px;
}

.control-item label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-main);
}

#users-input {
    width: calc(100% - 60px);
    display: inline-block;
    margin-right: 10px;
}

#users-display {
    font-weight: 700;
    color: var(--primary);
    min-width: 40px;
    display: inline-block;
    text-align: right;
}

select#query-complexity {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid var(--card-border);
    background: var(--bg-color);
    color: var(--text-main);
}

/* Resultados */
.result-item {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--card-border);
    padding-bottom: 10px;
}

.result-item span:first-child {
    color: var(--text-muted);
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.cost-high { color: #ef4444; } /* Vermelho: alto custo */
.cost-low { color: #10b981; }  /* Verde: baixo custo */

.strategy-message {
    margin-top: 30px;
    padding: 15px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid var(--primary);
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.explanation {
    max-width: 900px;
    margin: 50px auto 0;
}

.list-demonstration {
    list-style: none;
    padding: 0;
    text-align: center;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.list-demonstration li {
    background: var(--card-border);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    flex: 1;
    min-width: 200px;
    max-width: 30%;
}

/* Responsividade */
@media (max-width: 768px) {
    .sim-dashboard {
        flex-direction: column;
        gap: 20px;
    }
    .list-demonstration {
        flex-direction: column;
        align-items: center;
    }
    .list-demonstration li {
        max-width: 100%;
    }
}
/* --- ADICIONE ISTO AO SEU CSS EXISTENTE --- */

/* Seção Pitch de Valor */
.value-pitch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.pitch-card {
    padding: 30px;
    border-radius: 16px;
    transition: transform 0.1s;
    transform-style: preserve-3d;
}

.pitch-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.pitch-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.pitch-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Easter Egg (Debug Console) */
.hidden-terminal-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
    z-index: 1000; /* Acima de tudo */
}

.hidden-terminal-toggle i {
    font-size: 1.5rem;
}

.hidden-terminal-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.hover-text {
    position: absolute;
    right: 60px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    font-size: 0.9rem;
}

.hidden-terminal-toggle:hover .hover-text {
    opacity: 1;
}

/* Responsividade do Pitch Grid */
@media (max-width: 600px) {
    .value-pitch-grid {
        grid-template-columns: 1fr;
    }
}
/* --- ADICIONE ISTO AO SEU CSS EXISTENTE --- */

/* Contact Section Grid */
.contact-grid {
    display: flex;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 50px;
}

.contact-info, .whatsapp-form {
    flex: 1;
    padding: 30px;
    border-radius: 16px;
    transition: transform 0.1s;
}

.contact-info h3, .whatsapp-form h3 {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 1.3rem;
}

/* Informações de Contato */
.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 15px;
}

.info-item span {
    font-weight: 600;
    margin-right: 5px;
}

.info-item a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}

.info-item a:hover {
    color: var(--primary);
}

.social-links {
    margin-top: 40px;
    display: flex;
    gap: 15px;
}

.social-btn {
    font-size: 2rem;
    color: var(--text-main);
    transition: color 0.3s;
}

.social-btn:hover {
    color: var(--primary);
}

/* Formulário WhatsApp */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: var(--bg-color);
    color: var(--text-main);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary);
    outline: none;
}

.full-width {
    width: 100%;
}

.whatsapp-form small {
    display: block;
    margin-top: 10px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .contact-grid {
        flex-direction: column;
        gap: 30px;
    }
}
footer {
    text-align: center;
    padding: 20px;
    background-color: #f1f1f1;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin-top: auto; /* Mantém no fundo se usar flexbox no body */
  }
  /* ===== NEV Projetos ===== */
.nev-proj-section {
  padding: 60px 20px;
  text-align: center;
  background: #00000000;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.nev-proj-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #60a5fa;
}

.nev-proj-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.nev-proj-track-container {
  overflow: hidden;
  width: 100%;
}

.nev-proj-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nev-proj-card {
  min-width: 300px;
  max-width: 300px;
  background: #1e1e1e;
  border-radius: 10px;
  padding: 15px;
  color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.nev-proj-img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.nev-proj-img:hover {
  transform: scale(1.03);
}

.nev-proj-name {
  font-size: 1.2rem;
  margin: 10px 0 5px;
}
.nev-proj-desc,
.nev-proj-tech {
  font-size: 0.9rem;
  margin: 5px 0;
  opacity: 0.9;
}

.nev-proj-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 30, 30, 0.74);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0 12px;
  cursor: pointer;
  z-index: 10;
  border-radius: 5px;
}
.nev-proj-prev { left: 10px; }
.nev-proj-next { right: 10px; }

/* ===== Responsividade ===== */
@media (max-width: 768px) {
  .nev-proj-card {
    min-width: 260px;
    max-width: 260px;
  }
}
@media (max-width: 480px) {
  .nev-proj-card {
    min-width: 90%;
    max-width: 90%;
  }
  .nev-proj-nav {
    font-size: 1.6rem;
  }
}
/* some com o cursor padrão */
* {
  cursor: none;
}

.cursor {
  width: 12px;
  height: 12px;
  border: 2px solid #00ff88;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: 
    width 0.2s ease,
    height 0.2s ease,
    border-radius 0.2s ease,
    background 0.2s ease;
  z-index: 9999;
}

/* quando passa em link */
.cursor.hover {
  width: 30px;
  height: 30px;
  background: rgba(0, 255, 136, 0.2);
}
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        background: #000;
    }
  canvas {
        display: block;
        width: 100%;
        height: 100vh;
        /* Removido o fixed para ele não seguir o scroll */
        position: absolute; 
        top: 0;
        left: 0;
        z-index: 0;
    }

    .content {
        /* Mudamos de fixed para absolute */
        position: absolute; 
        top: 50vh; /* Centraliza em relação à primeira dobra */
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        text-align: center;
        color: white;
        pointer-events: none;
        width: 100%;
    }
    h1 {
        font-size: clamp(4.5rem, 13vw, 11rem);
        font-weight: 900;
        margin-bottom: 0.5rem;
        letter-spacing: -0.06em;
        background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 80px rgba(138, 43, 226, 0.3));
        animation: glowPulse 3s ease-in-out infinite alternate;
    
    }
    @keyframes glowPulse {
        from {
            filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 80px rgba(138, 43, 226, 0.3));
        }
        to {
            filter: drop-shadow(0 0 60px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 120px rgba(0, 191, 255, 0.4));
        }
    }
    .tagline {
        font-size: clamp(0.9rem, 2vw, 1.2rem);
        font-weight: 300;
        color: rgba(255, 255, 255, 0.9);
        letter-spacing: 0.3em;
        text-transform: uppercase;
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.5), 0 0 60px rgba(138, 43, 226, 0.3);
    }
    .buttons {
        display: flex;
        justify-content: center;
        gap: 24px;
        margin-top: 40px;
        pointer-events: auto;
    }
    .glass-button {
        position: relative;
        padding: 16px 40px;
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        color: #fff;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
        border: 1.5px solid transparent;
        border-radius: 40px;
        backdrop-filter: blur(30px);
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(255, 255, 255, 0.05);
        overflow: hidden;
        cursor: pointer;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: auto;
    }
   
    .glass-button::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 40px;
        padding: 1.5px;
        background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(138, 43, 226, 0.4) 25%,
            rgba(0, 191, 255, 0.4) 50%,
            rgba(255, 105, 180, 0.4) 75%,
            rgba(255, 255, 255, 0.4) 100%);
        background-size: 200% 200%;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        animation: borderFlow 3s linear infinite;
        opacity: 0.6;
        transition: opacity 0.5s ease;
    }
    @keyframes borderFlow {
        0% { background-position: 0% 50%; }
        100% { background-position: 200% 50%; }
    }
    .glass-button::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 40px;
        background: radial-gradient(circle at var(--x, 50%) var(--y, 50%),
            rgba(255, 255, 255, 0.2) 0%,
            transparent 50%);
        opacity: 0;
        transition: opacity 0.5s ease;
    }
    .glass-button:hover {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
        box-shadow:
            0 12px 48px rgba(138, 43, 226, 0.3),
            0 0 80px rgba(0, 191, 255, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(255, 255, 255, 0.1);
        transform: translateY(-3px) scale(1.02);
    }
    .glass-button:hover::before {
        opacity: 1;
        animation-duration: 2s;
    }
    .glass-button:hover::after {
        opacity: 1;
    }
    .glass-button:active {
        transform: translateY(-1px) scale(0.98);
        box-shadow:
            0 6px 24px rgba(138, 43, 226, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    .glass-button .shimmer {
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 45%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0.1) 55%,
            transparent 100%
        );
        transform: rotate(30deg);
        animation: shimmer 3s infinite;
        pointer-events: none;
    }
    @keyframes shimmer {
        0% { transform: translateX(-100%) rotate(30deg); }
        100% { transform: translateX(100%) rotate(30deg); }
    }
    .glass-button:hover .shimmer {
        animation-duration: 1.5s;
    }
    .glass-button span {
        position: relative;
        z-index: 1;
    }
.espaco{
    height: 100vh;
}
.borrado-cor-separacao{
    /* Faixa fixa no topo que faz a transição do fundo 3D para o preto
       - usa backdrop-filter para borrado real do conteúdo abaixo */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* ajuste esta altura conforme necessário para o efeito (ex: 20vh, 28vh) */
    height: 6vh;
    /* cor levemente escura para esconder a borda do 3D ao mesmo tempo em que permite blur */
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* camada adicional para suavizar a transição (degradê) */
    box-shadow: inset 0 40px 60px -30px rgba(0,0,0,0.9);
    z-index: 5; /* acima do canvas (z-index:0) e abaixo do conteúdo (z-index:10) */
    pointer-events: none;
}

.borrado-cor-separacao::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}