/* =============================================
   VARIÁVEIS & RESET
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #0a0c10;
    --bg2: #111520;
    --surface: #1e2438;
    --border: rgba(255,255,255,0.07);
    --accent: #7c6cfc;
    --accent2: #5eead4;
    --text: #e8e6ff;
    --muted: #8b8aa8;
    --font: 'DM Sans', sans-serif;
    --mono: 'DM Mono', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 2px;
}

::selection {
    background: var(--accent);
    color: #fff;
}

/* =============================================
   NAV
   ============================================= */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    height: 64px;
    background: rgba(10,12,16,0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: var(--mono);
    font-size: 15px;
    color: var(--accent);
    letter-spacing: 0.04em;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

    .nav-links a {
        font-size: 13px;
        color: var(--muted);
        text-decoration: none;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        transition: color 0.2s;
    }

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

.nav-cta {
    font-size: 13px;
    padding: 8px 20px;
    border: 1px solid var(--accent);
    border-radius: 6px;
    color: var(--accent);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

    .nav-cta:hover {
        background: var(--accent);
        color: #fff;
    }

/* =============================================
   HERO
   ============================================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 8vw;
    position: relative;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(124,108,252,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(124,108,252,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 30% 50%, black 30%, transparent 70%);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,108,252,0.15) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    pointer-events: none;
}

.hero-tag {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--accent2);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    position: relative;
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    max-width: 720px;
    position: relative;
}

    .hero-title .name {
        color: var(--accent);
    }

.cursor {
    display: inline-block;
    width: 3px;
    height: 0.82em;
    background: var(--accent2);
    margin-left: 3px;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 40px;
    font-weight: 300;
    position: relative;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(7px);
    }
}

/* =============================================
   BOTÕES
   ============================================= */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(124,108,252,0.4);
        color: #fff;
    }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: border-color 0.2s, color 0.2s;
}

    .btn-ghost:hover {
        border-color: var(--accent2);
        color: var(--accent2);
    }

/* =============================================
   SEÇÕES GENÉRICAS
   ============================================= */
.section-pad {
    padding: 110px 8vw;
}

.section-pad-alt {
    padding: 110px 8vw;
    background: var(--bg2);
}

.section-label {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent2);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 56px;
    line-height: 1.15;
}

    .section-title span {
        color: var(--accent);
    }

/* =============================================
   SOBRE
   ============================================= */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.sobre-img-wrap {
    position: relative;
}

    .sobre-img-wrap::before {
        content: '';
        position: absolute;
        inset: -12px;
        border: 1px solid rgba(124,108,252,0.28);
        border-radius: 20px;
        transform: rotate(3deg);
    }

    .sobre-img-wrap img {
        width: 100%;
        border-radius: 14px;
        object-fit: cover;
        aspect-ratio: 4/5;
        filter: grayscale(15%) contrast(1.04);
        position: relative;
        z-index: 1;
    }

.sobre-texto {
    max-width: 540px;
}

.sobre-destaque {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: 0.06em;
}

.sobre-texto p {
    color: var(--muted);
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 300;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.badge-skill {
    font-family: var(--mono);
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(94,234,212,0.25);
    color: var(--accent2);
    letter-spacing: 0.06em;
}

.sobre-oportunidade {
    margin-top: 24px;
    padding: 14px 20px;
    border-left: 3px solid var(--accent2);
    background: rgba(94, 234, 212, 0.06);
    border-radius: 0 8px 8px 0;
    color: var(--accent2) !important;
    font-size: 15px;
    font-weight: 500;
}

/* =============================================
   TIMELINE
   ============================================= */
.timeline {
    position: relative;
    max-width: 760px;
}

    .timeline::before {
        content: '';
        position: absolute;
        left: 0;
        top: 6px;
        bottom: 0;
        width: 1px;
        background: linear-gradient(to bottom, var(--accent), transparent);
    }

.timeline-item {
    padding-left: 40px;
    margin-bottom: 52px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -5px;
    top: 6px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(124,108,252,0.18);
}

.timeline-date {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent2);
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    display: block;
}

.timeline-item h3 {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text);
}

.timeline-item p {
    color: var(--muted);
    font-size: 14px;
    font-weight: 300;
}

/* =============================================
   PROJETOS — CARDS
   ============================================= */
.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}

.card-projeto {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.25s, transform 0.25s;
}

    .card-projeto:hover {
        border-color: rgba(124,108,252,0.4);
        transform: translateY(-4px);
    }

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(124,108,252,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 17px;
}

.card-links-group {
    display: flex;
    gap: 8px;
}

.card-link-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    transition: border-color 0.2s, color 0.2s;
}

    .card-link-btn:hover {
        border-color: var(--accent2);
        color: var(--accent2);
    }

.card-projeto h3 {
    font-size: 17px;
    font-weight: 500;
    color: var(--text);
}

.card-projeto p {
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 300;
    flex: 1;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.tech-tag {
    font-family: var(--mono);
    font-size: 10.5px;
    padding: 3px 10px;
    border-radius: 4px;
    background: rgba(124,108,252,0.1);
    color: var(--accent);
    border: 1px solid rgba(124,108,252,0.18);
}

/* =============================================
   CONHECIMENTOS
   ============================================= */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 14px;
}

.tech-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: border-color 0.2s, transform 0.2s;
}

    .tech-item:hover {
        border-color: rgba(94,234,212,0.3);
        transform: translateY(-3px);
    }

    .tech-item i {
        font-size: 28px;
    }

    .tech-item p {
        font-size: 11px;
        color: var(--muted);
        text-align: center;
        font-family: var(--mono);
    }

/* =============================================
   CONTATO
   ============================================= */
.contato-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

    .contato-inner .section-title {
        margin-bottom: 14px;
    }

.contato-desc {
    color: var(--muted);
    font-size: 15px;
    font-weight: 300;
    margin-bottom: 36px;
}

.contato-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 14px;
    color: var(--accent2);
    text-decoration: none;
    margin-bottom: 44px;
    border-bottom: 1px solid rgba(94,234,212,0.3);
    padding-bottom: 4px;
    transition: border-color 0.2s;
}

    .contato-email:hover {
        border-color: var(--accent2);
    }

.socials-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    transition: border-color 0.2s, color 0.2s;
}

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

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background: #25D366;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .btn-whatsapp:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(37,211,102,0.35);
        color: #fff;
    }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    text-align: center;
    padding: 30px 5vw;
    color: var(--muted);
    font-size: 13px;
    font-family: var(--mono);
    border-top: 1px solid var(--border);
}

    .footer span {
        color: var(--accent);
    }

/* =============================================
   ANIMAÇÃO DE ENTRADA (CSS puro)
   ============================================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.7s ease both;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.22s;
}

.delay-3 {
    animation-delay: 0.34s;
}

.delay-4 {
    animation-delay: 0.46s;
}


/* =============================================
   TEXTO
   ============================================= */

.texto-justificado {
    text-align: justify;
}


/* =============================================
   ERRO DE BLAZOR
   ============================================= */

#blazor-error-ui {
    display: none;
}

/* =============================================
   RESPONSIVO
   ============================================= */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sobre-img-wrap {
        max-width: 260px;
        margin: 0 auto;
    }

    .sobre-texto {
        max-width: 100%;
    }

    .hero-section,
    .section-pad,
    .section-pad-alt {
        padding-left: 6vw;
        padding-right: 6vw;
    }
}



