
/* 1. VARIÁVEIS DE CORES E FONTES */
:root {
    --neon-green: #070018;
    --neon-blue: #00f3ff;
    --neon-red: #ff003c;
    --dark-bg: #050505;
    --glass: rgba(255, 255, 255, 0.05);
    --font-mono: 'Share Tech Mono', monospace;
    --fontross: #6d03f7;
}

/* 2. RESET E FUNDO ESTRUTURAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-bg);
    color: var(--neon-green);
    font-family: var(--font-mono);
    overflow-x: hidden;
}

/* Efeito de Scanlines (Linhas de Monitor CRT) */
.scanlines {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.25) 50%
    ), linear-gradient(90deg, 
        rgba(255, 0, 0, 0.03), 
        rgba(0, 255, 0, 0.01), 
        rgba(0, 0, 255, 0.03)
    );
    background-size: 100% 3px, 3px 100%;
    pointer-events: none;
    z-index: 1000;
}

/* 3. HEADER E MENU NEON */
.navecacao-container {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neon-blue);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 500;
}

.navecacao {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.menu-link {
    color: var(--neon-blue);
    text-decoration: none;
    position: relative;
    padding: 5px 10px;
    transition: 0.3s;
}

.menu-link:hover, .menu-link.active {
    color: white;
    text-shadow: 0 0 10px var(--neon-blue);
}

/* 4. MOLDURA SCANNER (FOTO DE PERFIL) */
.perfil-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 120px;
}

.moldura-scanner {
    position: relative;
    width: 320px;
    height: 320px;
    border: 2px solid var(--neon-red);
    padding: 10px;
    background: rgba(255, 0, 60, 0.02);
}

.foto-perfil {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.8) contrast(1.2);
    border: 1px solid var(--neon-red);
}

.scan-bar {
    position: absolute;
    width: calc(100% - 20px);
    height: 3px;
    background: var(--neon-red);
    box-shadow: 0 0 15px var(--neon-red);
    left: 10px;
    animation: scanning 3s infinite ease-in-out;
    z-index: 10;
}

@keyframes scanning {
    0% { top: 10px; opacity: 1; }
    50% { top: 310px; opacity: 0.5; }
    100% { top: 10px; opacity: 1; }
}

/* 5. EFEITO GLITCH NO H1 */
.glitch-effect {
    font-size: 3rem;
    color: white;
    position: relative;
    text-shadow: 2px 2px var(--neon-red), -2px -2px var(--);
}

/* 6. FOOTER DASHBOARD */
footer {
    border-top: 1px solid var(--neon-blue);
    padding: 50px 5%;
    background: linear-gradient(to bottom, #000, #050505);
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.status-box {
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    padding: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.3; }
    100% { transform: scale(1); opacity: 1; }
}

.social-hex {
    display: inline-block;
    padding: 5px 15px;
    margin: 5px;
    border: 1px solid var(--neon-red);
    color: var(--neon-red);
    text-decoration: none;
    transition: 0.3s;
}

.social-hex:hover {
    background: var(--neon-red);
    color: black;
    box-shadow: 0 0 15px var(--neon-red);
}

/* Efeito de Cursor Piscante */
.cursor {
    display: inline-block;
    width: 10px;
    background-color: var(--neon-green);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* Animação de Entrada dos Projetos */
.animate-load {
    animation: windowOpen 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes windowOpen {
    from {
        transform: scale(0.8) translateY(50px);
        filter: brightness(0);
    }
    to {
        transform: scale(1) translateY(0);
        filter: brightness(1);
    }
}

/* Ajuste na Moldura de Scanner (Bio-Recognition) */
.corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--neon-red);
}
.top-left { top: -5px; left: -5px; border-right: 0; border-bottom: 0; }
.top-right { top: -5px; right: -5px; border-left: 0; border-bottom: 0; }
.bottom-left { bottom: -5px; left: -5px; border-right: 0; border-top: 0; }
.bottom-right { bottom: -5px; right: -5px; border-left: 0; border-top: 0; }

/* Estilização da Seção de Conquistas */
.conquistas-container {
    max-width: 1000px;
    margin: 50px auto;
    background: rgba(10, 11, 16, 0.8);
    border: 1px solid #00f2fe;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.terminal-header {
    border-bottom: 1px solid rgba(0, 242, 254, 0.3);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.dot { height: 12px; width: 12px; border-radius: 50%; display: inline-block; margin-right: 8px; }
.red { background: #f80e01; }
.yellow { background: #ffbd2e; }
.green { background: #fca402; }

.terminal-title {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    color: #fca402;
    margin-left: 10px;
}

.badge-vitoria {
    text-align: center;
    margin-bottom: 30px;
}

.trophy-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 10px gold);
    animation: pulse 2s infinite;
}

.texto-agradecimento {
    font-family: 'Share Tech Mono', monospace;
    line-height: 1.6;
    color: #e0e0e0;
    padding: 0 20px;
}

.neon-text-blue {
    color: #fca402;
    text-shadow: 0 0 10px #f80e01;
}

.mentions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.mention-item {
    background: rgba(250, 1, 1, 0.05);
    border-left: 3px solid #f80e01;
    padding: 10px;
    transition: 0.3s;
}

.mention-item:hover {
    background: rgba(250, 1, 1, 0);
    transform: scale(1.05);
}

.mention-item .role {
    display: block;
    font-size: 0.7rem;
    color: #f80e01;
}

.mention-item .name {
    font-weight: bold;
    color: #fff;
}

.show-call {
    text-align: center;
    margin-top: 40px;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}


/* CONTAINER E GRID */
.container-projetos {
    padding: 120px 5% 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.header-secao {
    margin-bottom: 50px;
    border-left: 4px solid #ff0000;
    padding-left: 20px;
}

.status-terminal {
    font-family: 'Share Tech Mono', monospace;
    color: #00f2fe;
    opacity: 0.8;
}

.grid-projetos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* CARD ESTILO CYBER */
.card-projeto {
    background: rgba(15, 15, 25, 0.9);
    border: 1px solid rgba(0, 242, 254, 0.2);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card-projeto:hover {
    border-color: #00f2fe;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
    transform: translateY(-5px);
}

.projeto-header {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: rgba(0, 242, 254, 0.1);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
}

.status-online { color: #27c93f; }
.status-offline { color: #ff5f56; }

.projeto-preview {
    width: 100%;
    height: 180px;
    background: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 242, 254, 0.1);
}

.placeholder-img {
    font-family: 'Share Tech Mono', monospace;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 5px;
}

.minha-historia {
    text-align: justify;
}

.projeto-info {
    padding: 20px;
}

.projeto-info h3 {
    font-family: 'Share Tech Mono', monospace;
    color: #fff;
    margin-bottom: 10px;
}

.tags-tecnicas {
    margin: 15px 0;
}

.tags-tecnicas span {
    font-size: 0.7rem;
    color: #00f2fe;
    background: rgba(0, 242, 254, 0.1);
    padding: 3px 8px;
    margin-right: 5px;
    border: 1px solid rgba(0, 242, 254, 0.3);
}

.btn-acessar {
    display: block;
    text-align: center;
    padding: 10px;
    background: transparent;
    border: 1px solid #00f2fe;
    color: #00f2fe;
    text-decoration: none;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-acessar:hover:not(.locked) {
    background: #00f2fe;
    color: #000;
}

.locked {
    border-color: #ff5f56;
    color: #ff5f56;
    cursor: not-allowed;
    opacity: 0.5;
}

/* ESTILIZAÇÃO DA HISTÓRIA */
.container-historia {
    padding: 120px 5% 50px;
    display: flex;
    justify-content: center;
}

.terminal-window {
    width: 100%;
    max-width: 800px;
    background: rgba(5, 5, 10, 0.95);
    border: 1px solid #333;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    overflow: hidden;
}

.terminal-bar {
    background: #1a1a1a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.title-tab {
    margin-left: 20px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    color: #fca402;
}

.terminal-body {
    padding: 30px;
    font-family: 'Share Tech Mono', monospace;
}

.log-entry {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid #333;
    margin-bottom: 40px;
    transition: 0.3s;
}

.log-entry:hover {
    border-left-color: #00f2fe;
}

.log-entry::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
}

.log-entry:hover::before {
    background: #00f2fe;
    box-shadow: 0 0 10px #00f2fe;
}

.log-date { color: #ff0000; margin-right: 10px; }
.log-type { color: #fca402; }

.log-content h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.log-content p {
    color: #aaa;
    line-height: 1.5;
}

.highlight-entry {
    border-left-color: #00f2fe;
}

.highlight-entry::before {
    background: #00f2fe;
    box-shadow: 0 0 15px #00f2fe;
}

.terminal-input {
    margin-top: 50px;
    color: #27c93f;
}

.cursor-line { margin-right: 10px; }

.typing-text {
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ESTILIZAÇÃO DE CONTATO */
.container-contato {
    padding: 120px 5% 50px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1100px;
    width: 100%;
    background: rgba(10, 11, 16, 0.9);
    padding: 40px;
    border: 1px solid rgba(0, 242, 254, 0.3);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.desc-terminal {
    font-family: 'Share Tech Mono', monospace;
    color: #00f2fe;
    margin: 20px 0 40px;
}

.contato-items .item {
    margin-bottom: 25px;
    font-family: 'Share Tech Mono', monospace;
}

.contato-items .label {
    display: block;
    color: #ff0000;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.contato-items .value {
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: 1px;
}

.neon-text-green {
    color: #27c93f !important;
    text-shadow: 0 0 10px #27c93f;
}

/* FORMULÁRIO */
.formulario-cyber {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-family: 'Share Tech Mono', monospace;
    color: #00f2fe;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.input-group input, .input-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 12px;
    color: #fff;
    font-family: 'Share Tech Mono', monospace;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus, .input-group textarea:focus {
    border-color: #00f2fe;
    background: rgba(0, 242, 254, 0.05);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.btn-enviar {
    background: transparent;
    border: 1px solid #ff0000;
    color: #ff0000;
    padding: 15px;
    font-family: 'Share Tech Mono', monospace;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-enviar:hover {
    background: #ff0000;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

@media (max-width: 850px) {
    .contato-wrapper { grid-template-columns: 1fr; }
}

/* ESTILO DO PRELOADER */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0b10;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Fica acima de tudo */
    transition: opacity 0.5s ease, visibility 0.5s;
}

.loader-content {
    width: 300px;
    text-align: left;
    font-family: 'Share Tech Mono', monospace;
}

.loader-text {
    color: #00f2fe;
    font-size: 0.9rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.progress-bar-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ff0000, #00f2fe);
    box-shadow: 0 0 15px #00f2fe;
    transition: width 0.2s ease;
}

.loader-status {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: #888;
    font-size: 0.7rem;
}

/* Classe para esconder o loader via JS */
.loader-finish {
    opacity: 0;
    visibility: hidden;
}

/* Container da Moldura */
.moldura-scanner {
    position: relative;
    width: 280px;
    height: 350px;
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.2);
    overflow: hidden;
    transition: 0.5s;
    box-shadow: inset 0 0 50px rgba(0, 242, 254, 0.1);
}

.moldura-scanner:hover {
    border-color: #00f2fe;
    box-shadow: inset 0 0 70px rgba(0, 242, 254, 0.2), 0 0 30px rgba(0, 242, 254, 0.2);
    transform: scale(1.02);
}

/* Foto e Efeito Glitch */
.foto-container {
    width: 100%;
    height: 100%;
    position: relative;
    filter: saturate(1.2) contrast(1.1);
}

.foto-perfil {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: luminosity; /* Deixa a foto estilizada */
    transition: 0.5s;
}

.moldura-scanner:hover .foto-perfil {
    mix-blend-mode: normal;
    filter: brightness(1.1);
}

/* Barra de Scanner Ativa */
.scan-bar {
    position: absolute;
    width: 100%;
    height: 4px;
    background: linear-gradient(to bottom, transparent, #00f2fe, transparent);
    box-shadow: 0 0 15px #00f2fe;
    z-index: 5;
    animation: scanning 3s linear infinite;
    opacity: 0.7;
}

@keyframes scanning {
    0% { top: -5%; }
    50% { top: 100%; }
    100% { top: -5%; }
}

/* Texto de Dados de Interface */
.data-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 10px;
    z-index: 6;
    pointer-events: none;
}

.data-stat {
    position: absolute;
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    color: #242422;
    opacity: 0.6;
    text-shadow: 0 0 5px #d8fe00;
}

.top-left { top: 15px; left: 15px; }
.top-right { top: 15px; right: 15px; }
.bottom-left { bottom: 15px; left: 15px; }
.bottom-right { bottom: 15px; right: 15px; }

/* Anéis Tecnológicos (Atrás da Foto) */
.scanner-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(0, 242, 254, 0.3);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.ring-1 {
    width: 400px;
    height: 400px;
    animation: rotateRing 10s linear infinite;
}

.ring-2 {
    width: 350px;
    height: 350px;
    animation: rotateRing 15s linear infinite reverse;
}

@keyframes rotateRing {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Cantos da Moldura */
.corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #00f2fe;
    z-index: 10;
}

.corner.top-left { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.corner.top-right { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.corner.bottom-left { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.corner.bottom-right { bottom: 0; right: 0; border-left: 0; border-top: 0; }


.minha-historia {
    text-align: justify;
}

.img-projeto {
    width: 100%;
    max-width: 200px; /* Ajuste o tamanho conforme desejar */
    height: auto;
    border: 1px solid #ff0000; /* Borda neon vermelha */
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    margin: 10px 0;
    display: block;
    filter: grayscale(50%) contrast(120%); /* Efeito visual mais dark */
}

/* Estilos para o Botão Hambúrguer */
.menu-toggle {
    display: none; /* Escondido no desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: #ff0000; /* Cor neon vermelha do seu tema */
    box-shadow: 0 0 10px #ff0000;
    transition: 0.3s;
}

/* MEDIA QUERY PARA CELULARES */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Mostra o botão no celular */
        z-index: 1001;
    }

    .menu {
        position: fixed;
        top: 0;
        right: -100%; /* Começa fora da tela */
        width: 70%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95); /* Fundo escuro cyber */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        backdrop-filter: blur(10px);
        border-left: 2px solid #ff0000;
    }

    .menu.active {
        right: 0; /* Desliza para dentro da tela */
    }

    .menu li {
        margin: 20px 0;
    }

    /* Ajuste de layout para o perfil no celular */
    .perfil-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .foto-container {
        width: 250px;
        height: 250px;
    }
}

/* No seu styles.css */
body {
    background: radial-gradient(circle at center, #0a192f 0%, #02060b 100%);
    color: #e6f1ff; /* Um branco levemente azulado para melhor leitura */
}

/* Cards com efeito de vidro (Glassmorphism) */
.card-projeto {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Animação de revelação */
@keyframes techReveal {
    0% { clip-path: inset(0 0 100% 0); filter: brightness(2) blue(10px); }
    100% { clip-path: inset(0 0 0 0); filter: brightness(1) blur(0px); }
}

.projeto-imagem {
    animation: techReveal 1.2s ease-out forwards;
    opacity: 0;
}

/* Delay escalonado para as fotos abrirem uma por uma */
.card-projeto:nth-child(1) .projeto-imagem { animation-delay: 0.2s; opacity: 1; }
.card-projeto:nth-child(2) .projeto-imagem { animation-delay: 0.5s; opacity: 1; }
.card-projeto:nth-child(3) .projeto-imagem { animation-delay: 0.8s; opacity: 1; }

/* Estado inicial (Escondido) */
.card-projeto {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: blur(10px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Quando a classe é ativada pelo JS */
.card-projeto.reveal-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
}

/* Efeito de linha de Scan Neon */
.card-projeto::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 255, 136, 0.5), /* Cor Neon que você usa */
        transparent
    );
    transition: none;
}

.card-projeto.reveal-active::after {
    animation: scanLine 1.5s ease-in-out forwards;
}

@keyframes scanLine {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* Deixa a imagem do projeto com brilho na abertura */
.card-projeto img {
    filter: grayscale(100%) brightness(0.5);
    transition: all 1s ease;
}

.card-projeto.reveal-active img {
    filter: grayscale(0%) brightness(1);
}

body {
    background: radial-gradient(circle at center, #0a192f 0%, #02060b 100%);
    background-attachment: fixed;
    color: #e6f1ff; /* Branco azulado para melhor leitura */
    font-family: 'Share Tech Mono', monospace;
    overflow-x: hidden;
}

/* Efeito de luz ambiente para "clarear" as seções */
section::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(0, 255, 136, 0.05); /* Verde neon bem suave */
    filter: blur(100px);
    border-radius: 50%;
    z-index: -1;
}

/* Efeito de desintegração */
.projeto-clicado {
    animation: digitalSmoke 0.8s ease-out forwards;
    pointer-events: none; /* Impede cliques duplos */
}

@keyframes digitalSmoke {
    0% {
        transform: scale(1);
        filter: blur(0px) brightness(1) contrast(1);
        opacity: 1;
    }
    50% {
        filter: blur(10px) brightness(2) contrast(0.5);
        transform: scale(1.05);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.1) translateY(-20px);
        filter: blur(40px) brightness(5);
        opacity: 0;
    }
}

/* Partículas de fumaça (opcional para detalhe extra) */
.smoke-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00ff88; /* Sua cor neon */
    box-shadow: 0 0 10px #00ff88;
    pointer-events: none;
    z-index: 100;
}

/* Efeito de Revelação Inicial */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.reveal-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* Linha Laser de Varredura */
.reveal-item::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #00ff88, transparent);
    pointer-events: none;
}

.reveal-item.active::after {
    animation: laserScan 1.2s ease-out forwards;
}

@keyframes laserScan {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* Efeito Fumaça Digital ao Clicar */
.smoke-effect {
    animation: digitalSmoke 0.8s forwards;
}

@keyframes digitalSmoke {
    0% { filter: blur(0px) brightness(1); opacity: 1; }
    50% { filter: blur(15px) brightness(2); opacity: 0.5; }
    100% { filter: blur(50px) brightness(5); opacity: 0; transform: scale(1.1); }
}

/* Intro de Apresentação */
#intro-apresentacao {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.8s ease;
}

.intro-box { text-align: center; }

.intro-title {
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 0 20px #ff0000;
    letter-spacing: 5px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.intro-line {
    width: 0;
    height: 2px;
    background: #ff0000;
    margin: 0 auto;
    animation: lineExpand 2.5s forwards;
}

@keyframes lineExpand { to { width: 100%; } }

/* Efeito de Revelação Laser (Para TODAS as páginas) */
.reveal-item {
    opacity: 0;
    transform: translateX(-50px); /* Vem do lado para um efeito diferente */
    transition: all 0.6s cubic-bezier(0.17, 0.67, 0.83, 0.67);
    position: relative;
}

.reveal-item.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-item.active::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: #00ff88;
    box-shadow: 0 0 15px #00ff88;
    animation: scanSide 0.6s forwards;
}

@keyframes scanSide {
    0% { left: 0; opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* Container da Imagem na Intro */
.showcase-container {
    position: relative;
    width: 400px;
    height: 250px;
    margin: 0 auto 30px;
    border: 2px solid #00ff88;
    overflow: hidden;
    background: #000;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

#intro-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

/* Animação de Flash e Brilho na troca de fotos */
@keyframes imgFlash {
    0% { filter: brightness(10) blur(20px); opacity: 0; transform: scale(1.2); }
    100% { filter: brightness(1) blur(0px); opacity: 1; transform: scale(1); }
}

/* Linha de Scan que fica subindo e descendo na foto */
.scan-line-intro {
    position: absolute;
    width: 100%;
    height: 4px;
    background: #00ff88;
    box-shadow: 0 0 15px #00ff88;
    z-index: 5;
    animation: introScan 2s infinite ease-in-out;
}

@keyframes introScan {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

/* Garante que o texto da intro tenha o efeito neon */
.intro-title {
    text-shadow: 0 0 15px #00ff88;
    letter-spacing: 4px;
    font-weight: bold;
}

/* Container da Imagem na Intro - Moldura Tech */
.showcase-container {
    position: relative;
    width: 400px;
    height: 250px;
    margin: 0 auto 30px;
    border: 1px solid #00f2ff; /* Ciano Tecnológico */
    overflow: hidden;
    background: #000;
    box-shadow: inset 0 0 20px rgba(0, 242, 255, 0.4); /* Glow suave */
}

#intro-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

/* Animação de Flash e Brilho (O Efeito de Tecnologia) */
@keyframes imgFlash {
    0% { filter: brightness(10) blur(20px); opacity: 0; transform: scale(1.2); }
    100% { filter: brightness(1) blur(0px); opacity: 1; transform: scale(1); }
}

/* Linha de Scan sutil sutil (opcional para detalhe extra sobre a foto) */
.scan-line-intro {
    position: absolute;
    width: 100%; height: 2px;
    background: #00f2ff;
    box-shadow: 0 0 10px #00f2ff;
    z-index: 5;
    animation: introScanLine 2s infinite ease-in-out;
}

@keyframes introScanLine {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

/* Título Tech com Neon Ciano */
.intro-title {
    color: #00f2ff;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 4px;
    font-weight: bold;
}


/* Container do Showcase - Estilo Rack de Servidor */
.showcase-container {
    position: relative;
    width: 450px;
    height: 280px;
    margin-bottom: 20px;
    border: 2px solid #00f2ff; /* Ciano Tech */
    background: #000;
    box-shadow: 0 0 40px rgba(0, 242, 255, 0.2);
    overflow: hidden;
}

#intro-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    filter: contrast(1.2) sepia(0.2) hue-rotate(140deg); /* Força tom azulado nas fotos */
}

/* EFEITO NO LUGAR DA LINHA: Grade Digital Dinâmica */
.tech-overlay-effect {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(rgba(0, 242, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

/* Animação de Surgimento do Projeto (Flash de Dados) */
@keyframes imgFlash {
    0% { filter: brightness(10) contrast(2); opacity: 0; transform: scale(1.1); }
    10% { opacity: 1; }
    100% { filter: brightness(1) contrast(1.1); opacity: 1; transform: scale(1); }
}

/* Barra de carga abaixo da foto (Estilo Terminal) */
.intro-bar-tech {
    width: 100%;
    height: 4px;
    background: #00f2ff;
    position: relative;
    overflow: hidden;
}

.intro-bar-tech::after {
    content: "";
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    animation: loadingBar 0.8s infinite;
}

@keyframes loadingBar {
    100% { left: 100%; }
}

