/* =========================================
   MWS TECH - STYLESHEET
   ========================================= */

:root {
    /* Paleta Azul Marinho Profundo - Clássico e Sofisticado */
    --bg-primary: #0a1929;
    --bg-secondary: #112240;
    --bg-tertiary: #1a365d;
    --bg-card: #162a4a;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #06b6d4; /* Ciano tecnológico */
    --accent-dark: #0891b2;
    --accent-light: #22d3ee;
    --accent-glow: rgba(6, 182, 212, 0.2);
    --border: rgba(6, 182, 212, 0.15);
    --gradient-primary: linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #0e7490 100%);
    --gradient-hover: linear-gradient(135deg, #22d3ee 0%, #06b6d4 50%, #0891b2 100%);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --easing: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* scroll-behavior: smooth; REMOVIDO - conflita com Lenis */
}

body {
    cursor: none;
    overflow-x: hidden;
    background: var(--bg-primary);
}

/* Noise Texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    opacity: 0.5;
}

.cursor-outline.hover {
    width: 60px;
    height: 60px;
    background: var(--accent-glow);
    opacity: 0.8;
}

@media (max-width: 768px) {
    body { cursor: auto; }
    .cursor-dot, .cursor-outline { display: none; }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.preloader-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
    overflow: hidden;
}

.preloader-line {
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: all 0.4s var(--easing);
    background: rgba(10, 25, 41, 0.8);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 16px 40px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    background: rgba(10, 25, 41, 0.95);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s var(--easing);
}

.nav-link:hover { color: var(--accent); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
    padding: 14px 28px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 100px;
    transition: transform 0.3s var(--easing), box-shadow 0.3s;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
    background: none;
    border: none;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.4s var(--easing);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right 0.6s var(--easing);
}

.mobile-menu.open { right: 0; }

.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s;
}

.mobile-menu.open a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu a:hover { color: var(--accent); }

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 8vw 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(8, 145, 178, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(14, 116, 144, 0.06) 0%, transparent 40%);
}

.hero-eyebrow {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 24px;
    overflow: hidden;
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .line-inner {
    display: block;
    transform: translateY(100%);
}

.hero-title .line-inner span {
    color: var(--accent);
}

.hero-desc {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 650px;
    line-height: 1.7;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-buttons {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 100px;
    border: none;
    transition: all 0.4s var(--easing);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px var(--accent-glow);
}

.btn-primary .arrow {
    transition: transform 0.4s var(--easing);
}

.btn-primary:hover .arrow {
    transform: translateX(6px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: transparent;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 100px;
    border: 2px solid var(--accent);
    transition: all 0.4s var(--easing);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    opacity: 0;
    font-weight: 600;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* Sections */
.section {
    padding: 120px 8vw;
    position: relative;
}

.section-header {
    margin-bottom: 80px;
}

.section-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
    display: block;
    font-weight: 600;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-title span {
    color: var(--accent);
}

/* Services */
.services-section {
    background: var(--bg-secondary);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr 80px;
    align-items: center;
    padding: 40px;
    background: var(--bg-primary);
    cursor: pointer;
    transition: all 0.4s var(--easing);
    position: relative;
    border: 2px solid transparent;
}

.service-item:hover {
    background: var(--bg-card);
    border-color: var(--accent);
    padding-left: 50px;
}

.service-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 700;
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-name {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.4s var(--easing);
}

.service-item:hover .service-name {
    color: var(--accent);
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s var(--easing);
}

.service-item:hover .service-desc {
    opacity: 1;
    transform: translateY(0);
}

.service-arrow {
    font-size: 1.5rem;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s var(--easing);
}

.service-item:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* About Section */
.about-section {
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text-large {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

.about-text-large span {
    color: var(--accent);
}

.about-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 32px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--bg-tertiary);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Process Section */
.process-section {
    background: var(--bg-secondary);
}

.process-container {
    position: relative;
    padding-left: 40px;
}

.process-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--bg-tertiary);
    border-radius: 3px;
}

.process-line-fill {
    width: 100%;
    height: 0%;
    background: var(--gradient-primary);
    border-radius: 3px;
    box-shadow: 0 0 20px var(--accent-glow);
}

.process-step {
    margin-bottom: 80px;
    position: relative;
    opacity: 0.3;
    transform: translateY(30px);
    transition: all 0.6s var(--easing);
}

.process-step.active {
    opacity: 1;
    transform: translateY(0);
}

.process-step::before {
    content: '';
    position: absolute;
    left: -47px;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 3px solid var(--text-muted);
    transition: all 0.4s;
}

.process-step.active::before {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.process-num {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
    font-weight: 700;
}

.process-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.process-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 500px;
    font-size: 1.05rem;
}

/* CTA Section */
.cta-section {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(8, 145, 178, 0.1) 0%, transparent 50%);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    max-width: 900px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.cta-title span {
    color: var(--accent);
}

.cta-btn {
    padding: 24px 48px;
    font-size: 1.2rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    transition: all 0.4s var(--easing);
    box-shadow: 0 10px 40px var(--accent-glow);
    position: relative;
    z-index: 1;
}

.cta-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 20px 50px var(--accent-glow);
    gap: 24px;
}

/* Contact Section */
.contact-section {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: 12px;
    transition: all 0.3s var(--easing);
    border: 1px solid var(--border);
}

.contact-info-item:hover {
    transform: translateX(10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.contact-text strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--text-primary);
    font-weight: 600;
}

.contact-text span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
    font-weight: 500;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.btn-submit {
    width: 100%;
    padding: 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px var(--accent-glow);
}

.btn-submit.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Footer */
.footer {
    border-top: 2px solid var(--border);
    padding: 80px 8vw 40px;
    background: var(--bg-primary);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 20px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-weight: 700;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 12px; }

.footer-col ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
    font-weight: 500;
}

.footer-col ul li a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 2px solid var(--bg-tertiary);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
    border: 1px solid var(--border);
}

.footer-socials a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--accent-glow);
    border-color: transparent;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 64px;
    height: 64px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 90;
    transition: all 0.4s var(--easing);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .navbar { padding: 20px; }
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .hero { padding: 120px 20px 60px; }
    .section { padding: 80px 20px; }
    .service-item { grid-template-columns: 60px 1fr 40px; padding: 30px 20px; }
    .service-item:hover { padding-left: 20px; }
    .service-desc { display: none; }
    .service-arrow { opacity: 1; transform: none; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}