/* ==========================================================================
   MATHEUS JANUARIO — ENGENHARIA DE SOFTWARE & SISTEMAS DIGITAIS
   Design System: Editorial Light & Engineering Studio (Dieter Rams / Linear)
   ========================================================================== */

:root {
    /* Base Neutral Palette (Light Editorial) */
    --bg-primary: #FFFFFF;
    --bg-secondary: #FAFAFA;
    --bg-surface: #F4F4F5;
    --bg-subtle: #F8F9FA;
    
    /* Typography & Contrast */
    --text-primary: #0F172A;     /* Slate profundo / Carvão */
    --text-secondary: #334155;   /* Slate médio */
    --text-muted: #64748B;       /* Slate atenuado */
    --text-faint: #94A3B8;       /* Slate suave */

    /* Precision Borders & Dividers */
    --border-subtle: #E2E8F0;    /* 1px divisória padrão */
    --border-medium: #CBD5E1;    /* 1px borda ativa */
    --border-dark: #0F172A;

    /* Technical Accent */
    --accent-blue: #2563EB;
    --accent-blue-subtle: #EFF6FF;
    --accent-emerald: #059669;
}

/* ==========================================================================
   RESET & FUNDAÇÃO EDITORIAL
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

::selection {
    background: #0F172A;
    color: #FFFFFF;
}

/* ==========================================================================
   CARDS DE ENGENHARIA & BORDAS DE 1PX SÓLIDAS
   ========================================================================== */
.editorial-card {
    background: #FFFFFF;
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem; /* rounded-lg moderado */
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.editorial-card:hover {
    border-color: var(--border-medium);
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05);
}

.editorial-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.725rem;
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    padding: 0.2rem 0.55rem;
    border-radius: 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.editorial-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   TIMELINE VERTICAL EDITORIAL
   ========================================================================== */
.editorial-timeline-item {
    position: relative;
    padding-left: 1.75rem;
}

.editorial-timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--text-primary);
    z-index: 2;
}

.editorial-timeline-item::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 1rem;
    bottom: -1.75rem;
    width: 1px;
    background-color: var(--border-subtle);
}

.editorial-timeline-item:last-child::after {
    display: none;
}

/* ==========================================================================
   SCROLLBAR & UTILITIES
   ========================================================================== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
