/* ============================================================
   Moove — Identidade Visual
   Obsidian #111111 · Absolute Black #000000 · Platinum #DCDCDC
   Hyper Blue #274BFF · Royal Blue #003DA5
   Tipografia: Manrope
   ============================================================ */

@font-face {
    font-family: 'Manrope';
    src: url('assets/fonts/Manrope-Variable.ttf') format('truetype-variations'),
         url('assets/fonts/Manrope-Variable.ttf') format('truetype');
    font-weight: 200 800;
    font-display: swap;
    font-style: normal;
}

:root {
    --obsidian: #111111;
    --absolute-black: #000000;
    --platinum: #dcdcdc;

    --dark-void: #000000;
    --dark-surface: #0c0c10;
    --dark-elevated: #16161c;
    --dark-border: rgba(255, 255, 255, 0.06);

    /* Acento institucional Moove */
    --accent: #274bff;
    --accent-deep: #003da5;
    --accent-dim: rgba(39, 75, 255, 0.18);
    --accent-glow: rgba(39, 75, 255, 0.45);

    --text-primary: rgba(255, 255, 255, 0.95);
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-tertiary: rgba(255, 255, 255, 0.35);

    --glass-bg: rgba(17, 17, 17, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: rgba(0, 0, 0, 0.5);

    --sidebar-width: 90px;
    --mobile-nav-height: 80px;

    --spring-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --spring-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: var(--dark-void);
    color: var(--text-primary);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app {
    display: flex;
    height: 100vh;
    width: 100vw;
    position: relative;
}

.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-right: 1px solid var(--glass-border);
    position: relative;
    z-index: 100;
    flex-shrink: 0;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 20px 0;
    position: relative;
    justify-content: space-between;
}

.sidebar-logo-top {
    padding: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.project-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.company-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.3s var(--spring-smooth);
    cursor: pointer;
}

.company-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.sidebar-logo-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px;
    margin-top: 20px;
}

.moove-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    opacity: 0.85;
    transition: all 0.3s var(--spring-smooth);
    cursor: pointer;
}

.moove-logo:hover {
    opacity: 1;
    transform: scale(1.08);
}

.moove-text {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.moove-text:hover {
    opacity: 1;
}

.nav-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 10px;
    flex: 1;
    justify-content: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 0;
    background: rgba(26, 26, 37, 0.4);
    border: 1px solid var(--dark-border);
    border-radius: 50px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s var(--spring-smooth);
    position: relative;
    width: 70px;
    height: 70px;
}

.nav-item:hover {
    color: var(--text-primary);
    background: rgba(26, 26, 37, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.nav-item.active {
    color: var(--accent);
    background: var(--accent-dim);
    border-color: var(--accent);
    box-shadow:
        0 0 20px var(--accent-glow),
        0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.8;
}

.nav-label {
    font-weight: 700;
    letter-spacing: 0.1em;
    white-space: nowrap;
    font-size: 8px;
    text-align: center;
    line-height: 1;
}

.pill-indicator {
    display: none;
}

.liquid-glass-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    mix-blend-mode: screen;
}

.content {
    flex: 1;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background: transparent;
}

.tab-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.tab-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
    pointer-events: none;
}

.tab-content.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .content {
        padding-bottom: var(--mobile-nav-height);
    }

    .mobile-nav {
        display: block;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
    }

    .mobile-nav-content {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 16px;
        background: #0a0a0a;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: 1px solid var(--glass-border);
        border-radius: 50px;
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.6),
            0 0 0 1px rgba(255, 255, 255, 0.05),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        position: relative;
    }

    .mobile-nav-item {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        border-radius: 50%;
        color: var(--text-secondary);
        cursor: pointer;
        transition: color 0.3s var(--spring-smooth), transform 0.2s var(--spring-smooth);
        position: relative;
        z-index: 2;
    }

    .mobile-nav-item svg {
        width: 24px;
        height: 24px;
        stroke-width: 1.5;
    }

    .mobile-nav-item.active {
        color: var(--accent);
    }

    .mobile-pill-indicator {
        position: absolute;
        left: 16px;
        top: 12px;
        width: 48px;
        height: 48px;
        background: var(--accent-dim);
        border: 1px solid var(--accent);
        border-radius: 50%;
        box-shadow:
            0 0 20px var(--accent-glow),
            0 4px 20px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        transition: transform 0.6s var(--spring-bounce);
        pointer-events: none;
        z-index: 1;
        will-change: transform;
    }
}

.moove-signature {
    position: fixed;
    bottom: 20px;
    right: 30px;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    opacity: 0.4;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 9999;
}

.moove-signature:hover {
    opacity: 0.7;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}
