/* --- CONFIGURAÇÕES BASE --- */
:root {
    --bg-dark: #000000;
    --bg-surface: #0a0a0c;
    --neon-blue: #00f2fe;
    --neon-purple: #7000ff;
    --text-muted: #b5b5b5;
    --glass: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    background-color: var(--bg-dark);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* --- INTRO PRELOADER --- */
#intro-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

..intro-text {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 6vw, 3.5rem);
    letter-spacing: 5px;
}
.letter {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
filter: blur(4px);
    display: inline-block;
    animation: revealLetter 0.6s ease forwards;
    transform: translateY(0) scale(1);
filter: blur(0);
}

@keyframes revealLetter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes revealLetter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.neon-text { color: var(--neon-blue); text-shadow: 0 0 15px var(--neon-blue); }



/* --- NAV BAR --- */
.navbar {
    transition: all 0.4s;
    padding: 20px 0;
    backdrop-filter: blur(0px);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.navbar-brand { font-family: 'Orbitron', sans-serif; font-weight: 700; color: var(--neon-blue) !important; font-size: 1.2rem; }

.nav-link { 
    color: #fff !important; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 1px;
}

.custom-toggler-icon { color: var(--neon-blue); font-size: 1.5rem; }

/* --- HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-box { z-index: 5; }

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 10vw, 4.8rem);
    font-weight: 700;
    line-height: 1.1;
}

.neon-text-title {
    background: linear-gradient(90deg, #fff, var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(0,242,254,0.3));
}

.hero-subtitle {
    max-width: 650px;
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--text-muted);
}

/* --- BOTOES --- */
.btn-futuristic {
    background: transparent;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 12px 40px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: 0.4s;
    font-size: 0.9rem;
}

.btn-futuristic:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 30px var(--neon-blue);
}

.btn-whatsapp-cta {
    background: #25d366;
    color: white;
    border: none;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-whatsapp-outline {
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid #25d366;
    color: #25d366;
    padding: 12px 40px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    display: inline-block;
}

/* --- SECTIONS --- */
.py-responsive { padding: clamp(60px, 12vw, 120px) 0; }

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: clamp(30px, 5vw, 60px);
}

.section-title { font-family: 'Orbitron', sans-serif; font-size: clamp(1.8rem, 5vw, 3rem); font-weight: bold; }
.text-neon-tag { color: var(--neon-blue); font-weight: 700; letter-spacing: 2px; font-size: 0.8rem; }
.text-gray { color: var(--text-muted); }

/* --- CARDS PROJETOS --- */
.project-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: 0.5s;
    overflow: hidden;
}

.project-card:hover { transform: translateY(-12px); border-color: var(--neon-blue); }

.card-image-box {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f0f12, #20202a);
    font-size: 3rem;
    color: var(--neon-blue);
}
.card-image-box.secondary { color: var(--neon-purple); }
.card-image-box.tertiary { color: #f5f5f5; }

.link-futuristic { color: var(--neon-blue); font-size: 0.8rem; font-weight: 700; text-decoration: none; text-transform: uppercase; margin-top: 15px; display: inline-block; }

/* --- WHATSAPP FIXO --- */
.whatsapp-floating {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    color: white;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    text-decoration: none;
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37,211,102, 0.6); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(37,211,102, 0); }
    100% { transform: scale(1); }
}

/* --- SCROLL REVEAL ANIMATION --- */
.scroll-reveal { opacity: 0; transform: translateY(40px); transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.scroll-reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.95);
    border-top: 1px solid var(--neon-blue);
    z-index: 10000;
    display: none;
    backdrop-filter: blur(10px);
}

/* --- MEDIA QUERIES --- */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0,0,0,0.98);
        position: absolute;
        top: 100%; left: 0; width: 100%;
        padding-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .btn-futuristic, .btn-whatsapp-outline { width: 100%; }
    .whatsapp-floating { width: 50px; height: 50px; font-size: 22px; bottom: 15px; right: 15px; }
}
.floating-tech {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    
    background: radial-gradient(circle, rgba(0,242,254,0.15), transparent 70%);
    
    color: var(--neon-blue);
    font-size: 60px;

    box-shadow: 0 0 40px rgba(0,242,254,0.3);

    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}
.floating-tech::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(0,242,254,0.2);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.row {
    justify-content: center;
}
.card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}