/* --- CONFIGURAÇÕES GERAIS (TEMA DARK TECH) --- */
:root {
    --bg-main: #050a14;
    --bg-card: #111827;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --accent-cyan: #00f2ff;
    --accent-blue: #3b82f6;
    
    --code-font: 'Courier New', Courier, monospace; 
    --body-font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    padding-top: 135px; /* Espaço para o menu fixo */
}

/* --- 1. BARRA SUPERIOR --- */
.top-bar {
    background-color: #02060c;
    color: var(--text-muted);
    padding: 0.5rem 2rem;
    font-size: 0.85rem;
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}

.top-bar span {
    margin-left: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- 2. MENU PRINCIPAL (NAVBAR) --- */
.navbar {
    background-color: rgba(5, 10, 20, 0.98);
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 35px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    border-bottom: 1px solid var(--accent-cyan);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.nav-logo {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 85px; 
    width: auto;
    transition: transform 0.3s;
    display: block;
}

.nav-logo img:hover { transform: scale(1.05); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--accent-cyan); }

.nav-btn-contact {
    border: 1px solid var(--accent-cyan);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    color: var(--accent-cyan) !important;
    background: rgba(0, 242, 255, 0.05);
}

.nav-btn-contact:hover { background: rgba(0, 242, 255, 0.15); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent-cyan);
    font-size: 1.8rem;
    cursor: pointer;
}

/* --- 3. HERO SLIDER --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin-top: -5px;
    border-bottom: 3px solid var(--accent-cyan);
    background-color: #000;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    background-size: cover;
    background-position: center;
}

.slide.active { opacity: 1; z-index: 1; }

/* MÁSCARA ESCURA (Overlay) */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente forte na esquerda para garantir leitura do texto */
    background: linear-gradient(to right, 
                rgba(5, 10, 20, 0.95) 0%, 
                rgba(5, 10, 20, 0.80) 40%, 
                rgba(5, 10, 20, 0.20) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 1150px;
    margin: 0 auto;
    width: 100%;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
}

.slide-subtitle {
    font-size: 1.3rem;
    color: var(--accent-cyan);
    font-family: var(--code-font);
    margin-bottom: 1.5rem;
    display: block;
    font-weight: bold;
    letter-spacing: 2px;
}

.slide-desc {
    font-size: 1.2rem;
    color: var(--text-main);
    max-width: 650px;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
    transform: scale(1.2);
}

/* BOTÃO CTA */
.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    color: var(--bg-main);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.2);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 242, 255, 0.5);
}

/* --- SEÇÕES GERAIS --- */
section {
    padding: 5rem 2rem;
    max-width: 1150px;
    margin: 0 auto;
}

h2 {
    color: var(--text-main);
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

h2::before {
    content: '';
    display: block;
    width: 8px;
    height: 30px;
    background-color: var(--accent-cyan);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-cyan);
}

/* --- SOBRE --- */
.about-text {
    font-size: 1.1rem;
    border-left: 2px solid rgba(0, 242, 255, 0.2);
    padding: 2rem;
    background: linear-gradient(90deg, var(--bg-card), transparent);
    border-radius: 0 8px 8px 0;
}

/* --- SERVIÇOS (CARDS COMO LINKS) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Estilizando o Link <a> para parecer um Card */
a.service-card {
    text-decoration: none; /* Remove sublinhado */
    display: block;
    height: 100%;
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

a.service-card:hover {
    transform: translateY(-7px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 30px -10px rgba(0, 242, 255, 0.15);
}

a.service-card h3 { 
    margin-bottom: 1rem; 
    color: white; 
    font-size: 1.3rem; 
}

a.service-card p { 
    color: var(--text-muted); 
}

/* Ícones SVG dentro dos Cards */
.icon-box {
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 12px;
    background: rgba(0, 242, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 242, 255, 0.2);
    transition: all 0.3s ease;
}

a.service-card:hover .icon-box {
    background: rgba(0, 242, 255, 0.15);
    border-color: var(--accent-cyan);
    transform: scale(1.1);
}

a.service-card:hover svg {
    filter: drop-shadow(0 0 5px var(--accent-cyan));
}

/* --- DIFERENCIAIS --- */
.tech-list li {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
}
.tech-bullet {
    color: var(--accent-cyan);
    margin-right: 15px;
    font-weight: bold;
}

/* --- FORMULÁRIO --- */
.contact-container {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 242, 255, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-cyan);
    font-family: var(--code-font);
    font-size: 0.9rem;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background-color: rgba(5, 10, 20, 0.5);
    border: 1px solid #334155;
    border-radius: 6px;
    color: white;
    font-family: var(--body-font);
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

textarea.form-control { resize: vertical; min-height: 150px; }

/* --- FOOTER --- */
footer {
    background-color: #02060c;
    color: var(--text-muted);
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    body { padding-top: 100px; }
    .top-bar { display: none; }
    .navbar { top: 0; height: 80px; }
    .nav-logo img { height: 60px; }
    .menu-toggle { display: block; }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        padding: 2rem;
        border-bottom: 2px solid var(--accent-cyan);
    }
    .nav-links.active { display: flex; }
    
    .hero-slider { height: 500px; }
    .slide-title { font-size: 2.2rem; }
    .slide::before { background: rgba(5, 10, 20, 0.85); }
}