/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    /* Colors */
    --primary: #1a365d;
    --primary-light: #2b4a7c;
    --primary-dark: #0f2744;
    --secondary: #3182ce;
    --accent: #4299e1;
    --dark: #1a202c;
    --dark-gray: #2d3748;
    --gray: #4a5568;
    --gray-light: #718096;
    --gray-lighter: #a0aec0;
    --light: #e2e8f0;
    --lighter: #edf2f7;
    --white: #ffffff;
    --success: #38a169;
    --warning: #d69e2e;
    --error: #e53e3e;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===================================
   Container & Layout
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    color: var(--secondary);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.4);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.125rem;
}

/* ===================================
   Navbar
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--dark);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.navbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.navbar .logo img {
    height: 45px;
    width: auto;
}

.navbar .logo i {
    font-size: 1.75rem;
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-weight: 500;
    color: var(--white);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius-md);
}

.btn-nav::after {
    display: none !important;
}

.btn-nav:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-primary);
    padding: 140px 0 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(66, 153, 225, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(49, 130, 206, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(66, 153, 225, 0.1) 0%, transparent 40%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero h1 .highlight {
    color: #90cdf4;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero .btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero .btn-primary:hover {
    background: #f0f4f8;
}

.hero .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.hero .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.hero-stats {
    display: flex;
    gap: 50px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    height: 500px;
}

.code-window {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background: var(--dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.window-header {
    display: flex;
    gap: 8px;
    padding: 15px 20px;
    background: var(--dark-gray);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray);
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.window-content {
    padding: 20px;
}

.window-content pre {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.8;
}

.window-content code {
    font-family: 'Fira Code', 'Consolas', monospace;
    color: #e2e8f0;
}

.code-keyword { color: #c678dd; }
.code-function { color: #61afef; }
.code-param { color: #e5c07b; }
.code-boolean { color: #56b6c2; }
.code-string { color: #98c379; }

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    color: var(--dark);
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
}

.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.card-1 i { color: #00618a; }

.card-2 {
    bottom: 30%;
    left: 5%;
    animation-delay: 0.5s;
}

.card-2 i { color: #777bb3; }

.card-3 {
    bottom: 10%;
    right: 15%;
    animation-delay: 1s;
}

.card-3 i { color: #f7df1e; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ===================================
   Sobre Section
   =================================== */
.sobre {
    padding: var(--section-padding);
    background: var(--white);
}

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

.about-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.system-diagram {
    position: relative;
    width: 300px;
    height: 300px;
}

.diagram-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.diagram-node {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--white);
    border: 3px solid var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    animation: pulse 2s ease-in-out infinite;
}

.node-1 { top: 5%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.node-2 { top: 50%; right: 5%; transform: translateY(-50%); animation-delay: 0.5s; }
.node-3 { bottom: 5%; left: 50%; transform: translateX(-50%); animation-delay: 1s; }
.node-4 { top: 50%; left: 5%; transform: translateY(-50%); animation-delay: 1.5s; }

@keyframes pulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.1); }
}

.node-2, .node-4 {
    animation-name: pulse2;
}

@keyframes pulse2 {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.1); }
}

.diagram-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.diagram-lines line {
    stroke: var(--secondary);
    stroke-width: 2;
    stroke-dasharray: 5;
    opacity: 0.5;
}

.sobre-text .lead {
    font-size: 1.25rem;
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 20px;
}

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

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--lighter);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.skill-item:hover {
    background: var(--light);
    transform: translateX(5px);
}

.skill-item i {
    color: var(--secondary);
    font-size: 1.25rem;
    width: 24px;
}

.skill-item span {
    font-weight: 500;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* ===================================
   Serviços Section
   =================================== */
.servicos {
    padding: var(--section-padding);
    background: var(--lighter);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.servico-card {
    position: relative;
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary);
}

.servico-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
}

.card-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--warning);
    color: var(--dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.servico-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background: var(--lighter);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.servico-card.featured .servico-icon {
    background: rgba(255, 255, 255, 0.2);
}

.servico-icon i {
    font-size: 2rem;
    color: var(--secondary);
}

.servico-card.featured .servico-icon i {
    color: var(--white);
}

.servico-icon .secondary-icon {
    position: absolute;
    bottom: -5px;
    right: -5px;
    font-size: 1rem;
    background: var(--white);
    padding: 8px;
    border-radius: 50%;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.servico-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.servico-card.featured h3 {
    color: var(--white);
}

.servico-list {
    margin-bottom: 25px;
}

.servico-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--gray);
    border-bottom: 1px solid var(--lighter);
}

.servico-card.featured .servico-list li {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.servico-list li:last-child {
    border-bottom: none;
}

.servico-list i {
    color: var(--success);
    font-size: 0.875rem;
}

.servico-card.featured .servico-list i {
    color: #90cdf4;
}

.servico-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-weight: 600;
}

.servico-card.featured .servico-link {
    color: var(--white);
}

.servico-link:hover {
    gap: 15px;
}

/* ===================================
   Projetos Section
   =================================== */
.projetos {
    padding: var(--section-padding);
    background: var(--white);
}

.projetos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.projeto-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.projeto-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.projeto-image {
    position: relative;
    height: 220px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.projeto-mockup {
    width: 100%;
    max-width: 320px;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.mockup-header {
    display: flex;
    gap: 6px;
    padding: 10px 15px;
    background: var(--lighter);
}

.mockup-header .dot {
    width: 8px;
    height: 8px;
    background: var(--gray-lighter);
}

.mockup-content {
    padding: 15px;
    min-height: 120px;
}

/* Dashboard mockup */
.dashboard .mockup-content {
    display: flex;
    gap: 10px;
}

.mockup-sidebar {
    width: 40px;
    background: var(--lighter);
    border-radius: var(--radius-sm);
}

.mockup-main {
    flex: 1;
}

.mockup-chart {
    height: 50px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

.mockup-cards {
    display: flex;
    gap: 8px;
}

.mini-card {
    flex: 1;
    height: 30px;
    background: var(--lighter);
    border-radius: var(--radius-sm);
}

/* Orders mockup */
.mockup-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.table-row {
    height: 20px;
    background: var(--lighter);
    border-radius: var(--radius-sm);
}

.table-row.header {
    background: var(--secondary);
}

/* Inventory mockup */
.mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.grid-item {
    height: 35px;
    background: var(--lighter);
    border-radius: var(--radius-sm);
}

/* KPI mockup */
.mockup-kpis {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.kpi-circle {
    width: 35px;
    height: 35px;
    border: 3px solid var(--secondary);
    border-radius: 50%;
    border-right-color: var(--lighter);
}

.mockup-bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 40px;
}

.mockup-bars .bar {
    flex: 1;
    background: var(--secondary);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.mockup-bars .bar:nth-child(1) { height: 60%; }
.mockup-bars .bar:nth-child(2) { height: 100%; }
.mockup-bars .bar:nth-child(3) { height: 80%; }
.mockup-bars .bar:nth-child(4) { height: 45%; }

.projeto-info {
    padding: 30px;
}

.projeto-info h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.projeto-info p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.projeto-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.projeto-tags span {
    background: var(--lighter);
    color: var(--dark-gray);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.projeto-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(56, 161, 105, 0.1);
    border-radius: var(--radius-md);
    color: var(--success);
    font-weight: 500;
    font-size: 0.9rem;
}

.projeto-result i {
    font-size: 1.25rem;
}

/* ===================================
   Diferenciais Section
   =================================== */
.diferenciais {
    padding: var(--section-padding);
    background: var(--lighter);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.diferencial-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.diferencial-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.diferencial-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.diferencial-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.diferencial-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    padding: var(--section-padding);
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 90%, rgba(66, 153, 225, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(49, 130, 206, 0.15) 0%, transparent 40%);
}

.cta-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-text h2 .highlight {
    color: #90cdf4;
}

.cta-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
}

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

.cta .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta .btn-primary:hover {
    background: #f0f4f8;
}

/* Team Illustration */
.team-illustration {
    position: relative;
    height: 300px;
}

.person {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.person-head {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

.person-body {
    width: 50px;
    height: 60px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 25px 25px 0 0;
    margin-top: -5px;
}

.person-1 {
    bottom: 30%;
    left: 20%;
}

.person-2 {
    bottom: 30%;
    right: 20%;
}

.gear {
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
    animation: rotate 10s linear infinite;
}

.gear-1 {
    top: 10%;
    right: 30%;
    font-size: 3rem;
}

.gear-2 {
    top: 25%;
    right: 20%;
    font-size: 2rem;
    animation-direction: reverse;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.laptop {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
}

.laptop-screen {
    width: 120px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.laptop-base {
    width: 140px;
    height: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    margin-left: -10px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-flex;
}

.footer-brand .logo img {
    height: 50px;
    width: auto;
}

.footer-brand .logo span {
    color: var(--white);
}

.footer-brand p {
    color: var(--gray-lighter);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-lighter);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-lighter);
}

.footer-contact i {
    color: var(--secondary);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-lighter);
    font-size: 0.9rem;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .sobre-content {
        grid-template-columns: 1fr;
    }
    
    .sobre-image {
        order: -1;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .projetos-grid {
        grid-template-columns: 1fr;
    }
    
    .diferenciais-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cta-image {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .navbar .container {
        height: 70px;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition-normal);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero {
        padding: 120px 0 0;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.875rem;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .cta-text h2 {
        font-size: 1.75rem;
    }
    
    .diferencial-item {
        flex-direction: column;
        text-align: center;
    }
    
    .diferencial-icon {
        margin: 0 auto;
    }
}

/* ===================================
   Animations & Effects
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Hover effects for cards */
.servico-card::before,
.projeto-card::before,
.diferencial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-accent);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    transition: var(--transition-normal);
}

.servico-card:hover::before,
.projeto-card:hover::before,
.diferencial-item:hover::before {
    height: 100%;
}

/* Loading animation */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ===================================
   Projeto Card com Screenshot
   =================================== */
.projeto-card-featured {
    cursor: pointer;
    grid-column: span 2;
}

@media (max-width: 768px) {
    .projeto-card-featured { grid-column: span 1; }
}

.projeto-image-screenshot {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    background: #0f2744;
    aspect-ratio: 16/7;
}

.projeto-image-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
    display: block;
}

.projeto-card-featured:hover .projeto-image-screenshot img {
    transform: scale(1.03);
}

.projeto-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 39, 68, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.projeto-card-featured:hover .projeto-overlay {
    opacity: 1;
}

.btn-ver-modal {
    background: white;
    color: var(--primary);
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.15s;
}

.btn-ver-modal:hover { transform: scale(1.05); }

.projeto-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(49,130,206,0.1);
    color: var(--secondary);
}

.projeto-badge-green {
    background: rgba(56,161,105,0.1);
    color: var(--success);
}

/* ===================================
   Portfolio Modal
   =================================== */
.portfolio-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.portfolio-modal.open {
    display: flex;
}

.pm-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 40, 0.75);
    backdrop-filter: blur(4px);
    z-index: -1;
}

.pm-container {
    position: relative;
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 860px;
    margin: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    animation: pmSlideIn 0.3s ease;
    overflow: hidden;
}

@keyframes pmSlideIn {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.pm-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0,0,0,0.07);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.15s;
}
.pm-close:hover { background: rgba(0,0,0,0.14); color: var(--dark); }

/* Header */
.pm-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: linear-gradient(135deg, var(--primary) 0%, #1a4a8a 100%);
    padding: 36px 36px 28px;
    color: white;
    align-items: center;
}

@media (max-width: 640px) {
    .pm-header { grid-template-columns: 1fr; padding: 28px 22px 22px; }
    .pm-header-img { display: none; }
}

.pm-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

.pm-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
}

.pm-badge-blue  { background: rgba(255,255,255,0.15); color: #bee3f8; }
.pm-badge-green { background: rgba(56,161,105,0.25); color: #9ae6b4; }
.pm-badge-gray  { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.75); }

.pm-header-text h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.3;
    margin-bottom: 10px;
}

.pm-header-text h2 span { color: #90cdf4; font-size: 1rem; font-weight: 500; display: block; margin-top: 2px; }

.pm-header-text p { color: rgba(255,255,255,0.8); font-size: 0.88rem; line-height: 1.6; }

.pm-header-img {
    padding-left: 20px;
}

.pm-header-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    border: 2px solid rgba(255,255,255,0.15);
}

/* Sections */
.pm-section {
    padding: 24px 36px;
    border-bottom: 1px solid var(--lighter);
}

@media (max-width: 640px) { .pm-section { padding: 20px 22px; } }

.pm-section h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pm-section h3 i { color: var(--secondary); }

.pm-section p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; }

.pm-section-challenge { background: #fff8f0; }
.pm-section-challenge h3 { color: #c05621; }
.pm-section-challenge h3 i { color: #dd6b20; }

.pm-section-benefits { background: #f0fff4; }
.pm-section-benefits h3 { color: #276749; }
.pm-section-benefits h3 i { color: var(--success); }

/* KPIs */
.pm-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

@media (max-width: 580px) { .pm-kpis { grid-template-columns: 1fr; } }

.pm-kpi {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--lighter);
    padding: 12px 14px;
    border-radius: 10px;
}

.pm-kpi-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.pm-kpi strong { display: block; font-size: 0.82rem; color: var(--dark); margin-bottom: 2px; }
.pm-kpi span   { font-size: 0.76rem; color: var(--gray-light); line-height: 1.4; }

/* Benefits */
.pm-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

@media (max-width: 580px) { .pm-benefits { grid-template-columns: 1fr; } }

.pm-benefit {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.83rem;
    color: var(--gray);
    line-height: 1.5;
}

.pm-benefit i { color: var(--success); margin-top: 2px; flex-shrink: 0; }
.pm-benefit strong { color: var(--dark); }

/* Stack */
.pm-stack { display: flex; flex-wrap: wrap; gap: 8px; }

.pm-stack span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--lighter);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.pm-stack span i { color: var(--secondary); }

/* Footer */
.pm-footer {
    padding: 20px 36px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 640px) { .pm-footer { padding: 16px 22px; } }
