@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Cores Principais */
    --bg-color: #0f172a; /* Chumbo profundo */
    --text-primary: #f8fafc; /* Quase branco */
    --text-secondary: #94a3b8; /* Cinza claro */
    --cyan: #06b6d4; /* Ciano vibrante */
    --cyan-hover: #0891b2; /* Ciano escuro para hover */
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);
    
    /* Bordas e Transições */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
    z-index: 1;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle at 50% -10%, rgba(6, 182, 212, 0.15), transparent 60%),
                radial-gradient(circle at 100% 60%, rgba(6, 182, 212, 0.08), transparent 50%),
                radial-gradient(circle at -20% 90%, rgba(6, 182, 212, 0.05), transparent 50%);
}

/* Utilitários */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.highlight-cyan {
    color: var(--cyan);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn i {
    margin-right: 8px;
    font-size: 1.1em;
}

.btn-primary {
    background-color: var(--cyan);
    color: var(--bg-color);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35);
}

.btn-primary:hover {
    background-color: var(--cyan-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(6, 182, 212, 0.5);
}

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

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

.btn-outline-cyan {
    background-color: transparent;
    color: var(--cyan);
    border: 1px solid var(--cyan);
}

.btn-outline-cyan:hover {
    background-color: rgba(6, 182, 212, 0.1);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* Glassmorphism e Bento Grid Base */
.glass-card, .glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.bento-grid {
    display: grid;
    gap: 24px;
}

.bento-item {
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* Cabeçalho (Header) */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800; /* Yan mais gordo */
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    font-weight: 400; /* Marçal mais leve */
    color: var(--cyan);
}

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

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--cyan);
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.08), transparent 50%),
                radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.03), transparent 40%);
}

.hero-content {
    max-width: 800px;
}

.cyber-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--cyan);
    border: 1px solid var(--cyan);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Serviços */
.services-section {
    padding: 100px 0;
}

.bento-services {
    grid-template-columns: repeat(3, 1fr);
}

.icon-wrapper {
    width: 72px;
    height: 72px;
    background: rgba(6, 182, 212, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 2.5rem;
    text-shadow: 0 0 15px rgba(6, 182, 212, 0.6);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.bento-services h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-b2b, .tag-all, .tag-b2c {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.bento-services p {
    color: var(--text-secondary);
}

/* Portfólio */
.portfolio-section {
    padding: 100px 0;
}

.bento-portfolio {
    grid-template-columns: repeat(3, 1fr);
}

.project-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.project-info {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-info h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex: 1;
}

.tech-stack {
    font-size: 0.875rem;
    color: var(--cyan);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Certificações */
.certifications-section {
    padding: 100px 0;
}

.bento-certs {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(140px, auto);
}

.cert-main {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.cert-main h4 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.cert-tech {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cert-tech h4 {
    font-size: 1.5rem;
}

.bento-certs h4 {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.bento-certs p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(6, 182, 212, 0.15);
    color: var(--cyan) !important;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 12px;
    font-size: 0.85rem;
}

/* Sobre Mim */
.about-section {
    padding: 100px 0;
}

.about-content {
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 48px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.125rem;
}

.about-text strong {
    color: var(--text-primary);
}

.about-text .btn {
    margin-top: 24px;
}

.profile-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--cyan);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
}

/* Footer */
.footer {
    padding: 80px 0 24px;
    border-top: 1px solid var(--glass-border);
    margin-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 300px;
}

.footer h4 {
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--cyan);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsividade */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .bento-services,
    .bento-portfolio {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-certs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cert-main, .cert-tech {
        grid-column: span 2;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        padding: 32px;
    }
    
    .about-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Classes para o JS (Scroll Reveal) */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Menu Hambúrguer (Mobile) */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--cyan);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--cyan);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .header .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--glass-border);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .header .nav-menu.active {
        right: 0;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .header .cta-button {
        display: none;
    }
    
    .hero-section {
        padding-top: 140px;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .bento-services,
    .bento-portfolio,
    .bento-certs {
        grid-template-columns: 1fr;
    }
    
    .cert-main, .cert-tech {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
