* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

:root {
    --bg-primary: #0e141b;
    --bg-secondary: #111821;
    --bg-card: #18232e;
    --accent-primary: #6c8fa7;
    --accent-secondary: #4e7089;
    --text-primary: #ffffff;
    --text-secondary: #b6c4d0;
    --header-bg: #0b1016;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */
header {
    background: var(--header-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

/* MENU DESKTOP */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s;
}

nav a:hover {
    color: var(--text-primary);
}

nav a:hover::after {
    width: 100%;
}

/* MENU MOBILE */
.menu-btn {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-primary);
    z-index: 1001;
    transition: transform 0.3s;
}

.menu-btn.active {
    transform: rotate(90deg);
}

/* HERO SECTION */
.hero {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, #2b4a61, transparent 40%),
                radial-gradient(circle at 80% 70%, #6c8fa7, transparent 40%),
                var(--bg-primary);
    animation: heroMove 15s infinite alternate ease-in-out;
    z-index: -1;
}

@keyframes heroMove {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-outline {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 143, 167, 0.3);
}

.btn-outline {
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.hero-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* PRODUTOS */
.produtos {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.produtos h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.produto-card {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s;
    border: 1px solid transparent;
}

.produto-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.produto-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-primary);
}

.produto-card span {
    display: block;
    margin-top: 20px;
    color: var(--accent-primary);
    font-weight: 600;
}

/* SOBRE */
.sobre {
    padding: 100px 0;
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sobre h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

.sobre-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-primary);
}

.sobre-card h3 {
    color: var(--accent-primary);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

/* CONTATO */
.contato {
    padding: 100px 0;
    background: var(--bg-secondary);
    text-align: center;
}

.contato h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.form {
    max-width: 500px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form input,
.form textarea {
    padding: 14px 18px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
}

.form input:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: #1e2c3a;
}

.form textarea {
    height: 120px;
    resize: vertical;
}

.form button {
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    border: none;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    font-size: 28px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* FOOTER */
footer {
    background: var(--header-bg);
    padding: 30px;
    text-align: center;
    color: var(--text-secondary);
}

/* ANIMAÇÕES */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

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

/* RESPONSIVIDADE */
@media (max-width: 968px) {
    .hero-grid,
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero p {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--header-bg);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.3);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    nav a {
        font-size: 1.2rem;
        display: block;
        padding: 10px;
    }
    
    .produtos-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-buttons a {
        text-align: center;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0;
    }
    
    .hero-box {
        padding: 25px;
    }
    
    .produto-card,
    .sobre-card {
        padding: 25px;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}

.code-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(108, 143, 167, 0.1) 50%,
        transparent 100%);
    animation: codeRain 20s linear infinite;
}

@keyframes codeRain {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Efeito de destaque no nome */
.logo-nome {
    font-size: 30px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
    position: relative;
    padding-left: 12px;
    border-left: 2px solid #6c8fa7;
    background: linear-gradient(135deg, #fff 0%, #6c8fa7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.logo-nome:hover {
    color: #6c8fa7;
    transition: color 0.3s;
}

/* Responsivo */
@media (max-width: 768px) {
    .logo-nome {
        font-size: 18px;
        padding-left: 8px;
    }
    
    .logo-container {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .logo-nome {
        font-size: 16px;
    }
    
    .logo img {
        height: 40px;
    }
}