/* ==========================================================================
   Studio IA - Design System (Auria-Sys Concept)
   Minimalista, Premium, Fundo Branco, Tons de Cinza/Preto, Acento Azul Escuro
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Palette Inspired by Auria-Sys */
    --bg-body: #FAFAFA;
    --bg-card: #FFFFFF;
    --bg-subtle: #F1F5F9;
    
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    
    --brand-primary: #0F172A;
    --brand-accent: #2563EB;
    --brand-accent-hover: #1D4ED8;
    --brand-light-blue: #EFF6FF;
    
    --border-color: #E2E8F0;
    --border-hover: #CBD5E1;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-subtle: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 20px 30px -10px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.12);
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Flexbox Sticky Footer Layout no Body */
html, body {
    height: 100%;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main Content Wrapper expansível */
.main-wrapper {
    flex: 1 0 auto;
    padding-top: 95px;
    padding-bottom: 60px;
    width: 100%;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #0F172A 0%, #2563EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Fixed Header Navbar */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 0;
    transition: var(--transition);
    z-index: 1030;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand span {
    background: var(--brand-accent);
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--brand-accent);
}

/* Custom Buttons */
.btn-primary-custom {
    background-color: var(--brand-primary);
    color: #FFFFFF;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    border: none;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-primary-custom:hover {
    background-color: #1E293B;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.btn-outline-custom {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.btn-outline-custom:hover {
    border-color: var(--brand-accent);
    color: var(--brand-accent);
    background: var(--brand-light-blue);
}

/* Hero Section */
.hero-section {
    padding: 60px 0 60px;
    background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.05) 0%, rgba(250, 250, 250, 0) 70%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    box-shadow: var(--shadow-subtle);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 36px;
}

/* Feature & Service Cards */
.card-custom {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
    box-shadow: var(--shadow-subtle);
    margin-bottom: 24px;
}

.card-custom:last-child {
    margin-bottom: 0;
}

.card-custom:hover {
    border-color: var(--brand-accent);
    box-shadow: var(--shadow-hover);
}

.service-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

/* Badges & Pills */
.badge-workflow {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-manual {
    background: #F1F5F9;
    color: #475569;
}

.badge-automatic {
    background: #ECFDF5;
    color: #059669;
}

.badge-hybrid {
    background: #EFF6FF;
    color: #2563EB;
}

/* Process Timeline (Como Funciona) */
.step-number {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--brand-light-blue);
    color: var(--brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

/* Client & Admin Dashboard Layout */
.dashboard-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-nav-item:hover, .sidebar-nav-item.active {
    background: var(--brand-light-blue);
    color: var(--brand-accent);
}

/* KPI Box */
.kpi-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.kpi-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--brand-light-blue);
    color: var(--brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.kpi-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
}

.kpi-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Footer (Flexbox Sticky Bottom) */
.footer-custom {
    flex-shrink: 0;
    background: #FFFFFF;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    margin-top: auto;
    position: relative;
    z-index: 100;
    width: 100%;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--brand-accent);
}
