/* CONFIGURAÇÕES GERAIS*/
:root {
    --bg-color: #050505;
    --card-bg: #0f0f0f;
    --text-body: #b3b3b3;
    --heading-color: #ffffff;
    
    --primary: #00d2ff;
    --gradient-brand: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 100%);
    
    --font-body: 'Outfit', sans-serif;
    --font-heading: 'Sora', sans-serif;
    --header-height: 4.5rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-color);
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4 { color: var(--heading-color); font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
ul { list-style: none; }
a { text-decoration: none; transition: all 0.2s ease; }
img { max-width: 100%; height: auto; display: block; }

.text-vibrant {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    opacity: 1 !important;
}

.container { 
    max-width: 1120px; 
    margin: 0 auto; 
    padding: 0 1.5rem; 
    width: 100%;
}

.section { padding: 6rem 0 4rem; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.section-header p { font-size: 1rem; color: var(--primary); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
.text-gradient { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; }

.background-glow { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.08), transparent 60%); 
    z-index: -1; pointer-events: none; 
}

/* HEADER & NAVEGAÇÃO*/
#header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    /* Padrão Desktop */
    background: rgba(5, 5, 5, 0.95); 
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: var(--header-height); 
    display: flex; align-items: center;
    transition: transform 0.4s ease, background 0.3s, height 0.3s;
}

.hide-header {
    transform: translateY(-100%);
}

#header nav { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: #fff; letter-spacing: -0.5px; }
.logo span { color: var(--primary); }

.nav-toggle { font-size: 2rem; color: #fff; cursor: pointer; display: none; }

.nav-list { display: flex; gap: 2.5rem; }

.nav-link { 
    color: var(--text-body); 
    font-weight: 500; 
    font-size: 0.95rem; 
    position: relative; 
    padding: 0.5rem 0; 
    transition: color 0.3s ease;
}
.nav-link:hover, .active-link { color: var(--primary); }

.btn-primary { 
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--gradient-brand); color: #000; font-weight: 700; 
    padding: 0.8rem 2rem; border-radius: 50px; 
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2); font-size: 1rem;
    white-space: nowrap;
    transition: 0.2s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 25px rgba(0, 210, 255, 0.5); }
.btn-outline { 
    display: inline-flex; align-items: center; justify-content: center; 
    background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); 
    color: #fff; font-weight: 600; padding: 0.8rem 2rem; border-radius: 50px; font-size: 1rem;
    white-space: nowrap;
    transition: 0.2s;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-large { padding: 1rem 2.5rem; font-size: 1.1rem; }
.full-width { width: 100%; }

/*SEÇÕES DO SITE*/
.grid-hero { display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 3rem; pt-4; }
.badge { display: inline-block; background: rgba(0, 210, 255, 0.1); color: var(--primary); border: 1px solid rgba(0, 210, 255, 0.2); padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; }
.home-text h1 { font-size: 3.5rem; margin-bottom: 1.5rem; letter-spacing: -1px; }

.hero-description { font-size: 1.15rem; margin-bottom: 2.5rem; max-width: 600px; }

.buttons-wrapper { display: flex; gap: 1rem; flex-wrap: wrap; }
.image-box { width: 350px; height: 350px; border-radius: 50%; padding: 4px; background: linear-gradient(180deg, var(--primary), transparent); margin-left: auto; }
.image-box img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid var(--bg-color); }

.project-card { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--card-bg); border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.05); }
.project-image img { width: 100%; height: 100%; object-fit: cover; }
.project-content { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.category { color: var(--primary); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; margin-bottom: 0.5rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2rem; }
.project-tags li { font-size: 0.8rem; background: rgba(255, 255, 255, 0.05); padding: 0.3rem 0.8rem; border-radius: 6px; }

.grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: var(--card-bg); padding: 2rem; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.05); transition: 0.3s; }
.card:hover { border-color: var(--primary); background: linear-gradient(180deg, var(--card-bg) 0%, rgba(0, 210, 255, 0.05) 100%); }
.card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }

.contact-section { position: relative; width: 100%; overflow: hidden; }
.glow-contact { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 70%); z-index: -1; pointer-events: none; }
.contact-container { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 30px; padding: 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; box-shadow: 0 20px 60px rgba(0,0,0,0.5); backdrop-filter: blur(10px); }
.contact-content h2 { font-size: 2.2rem; margin-bottom: 1rem; }
.contact-content p { margin-bottom: 2rem; }
.contact-links { display: flex; flex-direction: column; gap: 1.2rem; width: 100%; }

.contact-item { 
    display: flex; align-items: center; justify-content: flex-start; text-align: left;
    gap: 1.2rem; background: rgba(255, 255, 255, 0.03); padding: 1rem 1.5rem; 
    border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.05); transition: 0.2s; 
    width: 100%; box-sizing: border-box; 
}
.contact-item:hover { border-color: rgba(0, 210, 255, 0.3); transform: translateX(5px); background: rgba(255, 255, 255, 0.08); }
.icon-box { width: 45px; height: 45px; background: rgba(0, 210, 255, 0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.4rem; flex-shrink: 0; transition: 0.2s; }
.contact-item:hover .icon-box { background: var(--primary); color: #000; box-shadow: 0 0 15px var(--primary); }
.info-text { overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; }
.info-text .label { display: block; font-size: 0.8rem; color: #777; text-transform: uppercase; margin-bottom: 2px; }
.info-text .value { font-family: var(--font-heading); color: #fff; font-weight: 500; font-size: 1.1rem; word-break: break-word; }

footer { text-align: center; padding: 2rem; color: #666; font-size: 0.85rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }

/* RESPONSIVIDADE MOBILE */
@media screen and (max-width: 968px) {
    #header {
        background: rgba(5, 5, 5, 0.6); 
        backdrop-filter: blur(12px);
        height: 3.5rem;
    }

    .home { padding-top: 9rem !important; padding-bottom: 2rem; }
    .nav-toggle { display: block; }
    
    .nav-menu {
        position: fixed; top: -400px; left: 0; width: 100%;
        background-color: #080808; border-bottom: 1px solid var(--primary);
        padding: 2rem 0; transition: 0.4s ease-in-out; z-index: 99;
        text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    }
    
    .show-menu { top: 3.5rem; }

    .nav-list { flex-direction: column; gap: 2rem; }
    .nav-link { font-size: 1.1rem; display: block; padding: 0.5rem; }

    .grid-hero { grid-template-columns: 1fr; text-align: center; gap: 3rem; pt-0; }
    .home-image { order: -1; }
    .image-box { margin: 0 auto; width: 260px; height: 260px; }
    .buttons-wrapper { justify-content: center; width: 100%; }
    .home-text h1 { font-size: 2.2rem; }
    
    .project-card { grid-template-columns: 1fr; }
    .project-image img { height: 200px; }
    .project-content { padding: 2rem; }
    .grid-services { grid-template-columns: 1fr; }

    #contato { padding-top: 1rem; } 
    .contact-container { 
        grid-template-columns: 1fr; 
        padding: 2rem 1.5rem; 
        gap: 2rem; 
        text-align: center; 
        width: 100%;
        border-radius: 20px;
    }
    .contact-content { align-items: center; display: flex; flex-direction: column; }
    
    .contact-item { 
        padding: 0.8rem 1rem; 
        gap: 0.8rem; 
        background: rgba(255, 255, 255, 0.05);
        justify-content: flex-start !important;
        text-align: left !important;
    }
    .info-text .value { font-size: 0.85rem; word-break: break-all; line-height: 1.3; }
    .contact-content h2 { font-size: 1.8rem; }
}