* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #090d16;
    color: #f1f5f9;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cabeçalho */
header {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    padding: 18px 0;
    border-bottom: 1px solid #1e293b;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: #38bdf8;
    text-decoration: none;
    font-family: monospace;
}

.logo span {
    color: #f8fafc;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

nav a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #38bdf8;
}

/* Botões */
.btn-primary {
    background-color: #0284c7;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #0369a1;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid #334155;
    color: #f8fafc;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: border-color 0.3s;
}

.btn-secondary:hover {
    border-color: #38bdf8;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 0 80px;
}

.badge {
    display: inline-block;
    background-color: #0284c725;
    color: #38bdf8;
    border: 1px solid #0284c750;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: #38bdf8;
}

.hero p {
    color: #94a3b8;
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 35px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Seções Gerais */
section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 45px;
}

.services, .portfolio, .contact {
    padding: 70px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Cards de Serviços */
.card {
    background-color: #111827;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #1f2937;
    transition: border-color 0.3s, transform 0.3s;
}

.card:hover {
    border-color: #38bdf8;
    transform: translateY(-5px);
}

.icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.card p {
    color: #94a3b8;
}

/* Cards de Projetos */
.project-card {
    background-color: #111827;
    border-radius: 12px;
    border: 1px solid #1f2937;
    overflow: hidden;
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #0284c7;
}

.project-info {
    padding: 28px;
}

.tech-tag {
    font-size: 0.75rem;
    font-family: monospace;
    color: #38bdf8;
    background-color: #1e293b;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 14px;
}

.project-info h3 {
    margin-bottom: 10px;
}

.project-info p {
    color: #94a3b8;
    margin-bottom: 20px;
}

.link-arrow {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
}

/* Contato */
.contact-box {
    background-color: #111827;
    border: 1px solid #1f2937;
    border-radius: 16px;
    padding: 50px 30px;
    max-width: 750px;
    text-align: center;
}

.contact-box p {
    color: #94a3b8;
    margin-bottom: 30px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

input, textarea {
    width: 100%;
    padding: 14px;
    background-color: #090d16;
    border: 1px solid #334155;
    border-radius: 8px;
    color: #f8fafc;
    font-family: inherit;
    font-size: 1rem;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #38bdf8;
}

.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
}

.feedback-msg {
    margin-top: 15px;
    color: #34d399 !important;
    font-weight: 600;
}

/* Rodapé */
footer {
    border-top: 1px solid #1e293b;
    padding: 30px 0;
    margin-top: 40px;
    color: #64748b;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #38bdf8;
}

@media (max-width: 650px) {
    .hero h1 { font-size: 2.2rem; }
    .input-group { grid-template-columns: 1fr; }
    nav ul { display: none; }
}

/* Estilos do Menu Responsivo */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid #334155;
    color: #38bdf8;
    font-size: 1.5rem;
    padding: 4px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.process {
    padding: 70px 0;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .input-group { grid-template-columns: 1fr; }
    
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #0f172a;
        border-bottom: 1px solid #1e293b;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    nav.active {
        max-height: 300px;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 18px;
        text-align: center;
    }
}
/* Vídeo na Hero Section */
.hero-video-wrapper {
    max-width: 780px;
    margin: 25px auto 35px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1e293b;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.18);
}

.hero-video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.hero-video-wrapper