﻿/* ==========================================================================
   NANDATECH - DESIGN SYSTEM & ESTILOS GERAIS
   Versão: 3.0 | 2026
   ========================================================================== */

:root {
    /* Cores Globais - Dark Mode Padrão */
    --bg-main: #0a0e17;
    --bg-surface: #111827;
    --bg-surface-elevated: #162032;
    --bg-glass: rgba(17, 24, 39, 0.75);
    
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(0, 229, 255, 0.3);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --brand-cyan: #00e5ff;
    --brand-blue: #3a86ff;
    --brand-purple: #7000ff;
    --brand-success: #10b981;

    --grad-primary: linear-gradient(135deg, #00e5ff 0%, #3a86ff 50%, #7000ff 100%);
    --grad-glow: radial-gradient(circle at 50% 0%, rgba(58, 134, 255, 0.15) 0%, transparent 70%);

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(0, 229, 255, 0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;

    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Modo Claro Corporativo */
body.light-theme {
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.85);

    --border-subtle: #e2e8f0;
    --border-accent: rgba(0, 119, 182, 0.3);

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 20px rgba(58, 134, 255, 0.15);
}

/* Reset Geral */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   BARRA DE NAVEGAÇÃO (NAVBAR)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-symbol {
    width: 32px;
    height: 32px;
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-text span {
    color: var(--brand-cyan);
    margin-left: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link.highlight-link {
    color: var(--brand-cyan);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface-elevated);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    transform: scale(1.08);
    border-color: var(--brand-cyan);
}

.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-surface-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-accent);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-nav-cta:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-success);
    box-shadow: 0 0 8px var(--brand-success);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 150px 0 90px;
    text-align: center;
    overflow: hidden;
}

.hero-glow-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 900px;
    height: 500px;
    background: var(--grad-glow);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-cyan);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-cyan);
    box-shadow: 0 0 8px var(--brand-cyan);
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    max-width: 900px;
    margin: 0 auto 20px;
}

.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 36px;
    line-height: 1.65;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

/* Botões Padronizados */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--brand-blue);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.4);
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 134, 255, 0.6);
}

.btn-secondary {
    background: var(--bg-surface-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: var(--bg-surface);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--bg-surface-elevated);
    border-color: var(--text-primary);
}

/* Faixa de Métricas Reais */
.metrics-strip {
    display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.metric-item {
    text-align: center;
    flex: 1;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--brand-cyan);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

/* ==========================================================================
   SEÇÕES GERAIS
   ========================================================================== */
.section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-cyan);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 14px;
    line-height: 1.25;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   FLAGSHIP: ATLAS ERP
   ========================================================================== */
.flagship-section {
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-surface) 100%);
}

.flagship-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 44px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    align-items: center;
}

.flagship-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--brand-success);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.flagship-content h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.3;
}

.flagship-content p {
    color: var(--text-secondary);
    margin-bottom: 22px;
    font-size: 0.98rem;
}

.feature-checklist {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 26px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.checklist-item i {
    color: var(--brand-cyan);
    margin-top: 4px;
    font-size: 1rem;
}

.checklist-item strong {
    color: var(--text-primary);
}

.tech-stack-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.flagship-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 12px;
}

.domain-note {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.domain-note code {
    background: var(--bg-surface);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--brand-cyan);
    font-family: monospace;
}

/* Mockup Visual do Sistema */
.app-mockup-frame {
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.mockup-header {
    background: var(--bg-surface);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--border-subtle);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-url {
    background: var(--bg-surface-elevated);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
    flex: 1;
}

.mockup-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mockup-card-metric {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
}

.mockup-card-metric span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.mockup-card-metric strong {
    display: block;
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-top: 2px;
}

.mini-bar {
    height: 4px;
    background: var(--border-subtle);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.mini-fill {
    height: 100%;
}

.fill-1 { width: 92%; background: var(--brand-cyan); }
.fill-2 { width: 85%; background: var(--brand-blue); }
.fill-3 { width: 60%; background: var(--brand-purple); }

.mockup-status-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.mockup-status-box i {
    color: var(--brand-success);
    font-size: 1.3rem;
}

/* ==========================================================================
   SOLUÇÕES & EXPERTISE
   ========================================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.solution-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 34px;
    transition: var(--transition);
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(0, 229, 255, 0.1);
    color: var(--brand-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 22px;
}

.solution-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.solution-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-points li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-points li i {
    color: var(--brand-success);
    font-size: 0.8rem;
}

/* ==========================================================================
   SOBRE / LIDERANÇA TÉCNICA
   ========================================================================== */
.about-section {
    background: var(--bg-surface);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(1.03);
    transition: var(--transition);
}

.image-frame:hover img {
    transform: scale(1.02);
}

.about-badge {
    position: absolute;
    bottom: -18px;
    right: 20px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-accent);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.about-badge strong {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
}

.about-badge span {
    font-size: 0.8rem;
    color: var(--brand-cyan);
}

.about-text-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.about-text-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.7;
}

.about-text-content strong {
    color: var(--text-primary);
}

.credentials-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
}

.credential-item i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(58, 134, 255, 0.15);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* ==========================================================================
   SEÇÃO DE CONTATO
   ========================================================================== */
.contact-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.contact-header {
    max-width: 650px;
    margin: 0 auto 40px;
}

.contact-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.contact-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.contact-buttons-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
    min-width: 260px;
    text-align: left;
}

.contact-btn i {
    font-size: 2rem;
}

.contact-btn strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 2px;
}

.contact-btn span {
    font-size: 0.85rem;
    opacity: 0.85;
}

.contact-btn.whatsapp {
    background: #128c7e;
    color: #ffffff;
}

.contact-btn.whatsapp:hover {
    background: #075e54;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.4);
}

.contact-btn.linkedin {
    background: #0a66c2;
    color: #ffffff;
}

.contact-btn.linkedin:hover {
    background: #004182;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(10, 102, 194, 0.4);
}

.contact-btn.github {
    background: #24292e;
    color: #ffffff;
    border: 1px solid var(--border-subtle);
}

.contact-btn.github:hover {
    background: #181c20;
    transform: translateY(-3px);
    border-color: var(--brand-cyan);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.footer {
    background: var(--bg-main);
    border-top: 1px solid var(--border-subtle);
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    text-align: center;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 6px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--brand-cyan);
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    width: 100%;
    padding-top: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom code {
    color: var(--brand-cyan);
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.7rem;
    }

    .flagship-card {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-badge {
        right: 50%;
        transform: translateX(50%);
    }

    .credentials-row {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        border-bottom: 1px solid var(--border-subtle);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .btn-nav-cta {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .metrics-strip {
        flex-direction: column;
        gap: 16px;
    }

    .metric-divider {
        display: none;
    }

    .flagship-card {
        padding: 24px;
    }

    .contact-card {
        padding: 36px 20px;
    }

    .contact-btn {
        width: 100%;
    }
}
