/* ==========================================================================
   PEDRO IZAAC CARVALHO — QA ANALYST | SOFTWARE TESTING | IT INFRASTRUCTURE
   Design System & Estilos Principais
   Escala de 8px | Poppins + Inter | Mobile-First | CSS Custom Properties
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & VARIÁVEIS CSS (TEMA ESCURO POR PADRÃO)
   -------------------------------------------------------------------------- */
:root {
    /* Tipografia */
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

    /* Escala de Espaçamentos (Múltiplos de 8px) */
    --space-05: 4px;
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-7: 64px;
    --space-8: 80px;
    --space-9: 96px;

    /* Raios de Borda */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transições Suaves */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* --- PALETA TEMA ESCURO (Dark Mode) --- */
    --bg-main: #090d16;
    --bg-surface: #0f172a;
    --bg-surface-elevated: #141f36;
    --bg-surface-hover: #1a2744;
    --bg-surface-alt: #0c1220;

    /* Textos */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-inverse: #090d16;

    /* Bordas & Divisores */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(14, 165, 233, 0.5);
    --border-highlight: rgba(255, 255, 255, 0.16);

    /* Cores de Destaque */
    --brand-primary: #0ea5e9;       /* Azul petróleo / ciano */
    --brand-primary-hover: #38bdf8;
    --brand-primary-subtle: rgba(14, 165, 233, 0.12);
    --brand-primary-glow: rgba(14, 165, 233, 0.25);
    
    --brand-accent: #f59e0b;        /* Laranja/âmbar suave */
    --brand-accent-hover: #fbbf24;
    --brand-accent-subtle: rgba(245, 158, 11, 0.12);

    --color-success: #10b981;
    --color-success-bg: rgba(16, 185, 129, 0.12);
    --color-error: #ef4444;
    --color-error-bg: rgba(239, 68, 68, 0.12);

    /* Sombras Sutis */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 30px rgba(14, 165, 233, 0.2);

    /* Altura da Navbar */
    --header-height: 72px;
}

/* --------------------------------------------------------------------------
   2. TEMA CLARO (Light Theme)
   -------------------------------------------------------------------------- */
.light-theme {
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #ffffff;
    --bg-surface-hover: #f1f5f9;
    --bg-surface-alt: #f1f5f9;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-inverse: #ffffff;

    --border-subtle: rgba(15, 23, 42, 0.08);
    --border-focus: rgba(2, 132, 199, 0.45);
    --border-highlight: rgba(15, 23, 42, 0.15);

    --brand-primary: #0284c7;       /* Azul petróleo refinado */
    --brand-primary-hover: #0369a1;
    --brand-primary-subtle: rgba(2, 132, 199, 0.08);
    --brand-primary-glow: rgba(2, 132, 199, 0.15);

    --brand-accent: #d97706;
    --brand-accent-hover: #b45309;
    --brand-accent-subtle: rgba(217, 119, 6, 0.08);

    --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 24px rgba(2, 132, 199, 0.1);
}

/* --------------------------------------------------------------------------
   3. RESET & ESTILOS GLOBAIS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-main);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

::selection {
    background-color: var(--brand-primary);
    color: #ffffff;
}

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

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

.container {
    width: 100%;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-3);
    padding-right: var(--space-3);
}

.bg-surface-alt {
    background-color: var(--bg-surface-alt);
}

/* --------------------------------------------------------------------------
   4. ILUMINAÇÃO AMBIENTE
   -------------------------------------------------------------------------- */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
    transition: opacity var(--transition-slow);
}

.glow-primary {
    top: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: var(--brand-primary);
}

.glow-secondary {
    bottom: -150px;
    left: -100px;
    width: 450px;
    height: 450px;
    background: var(--brand-accent);
}

.light-theme .glow-sphere {
    opacity: 0.04;
}

/* --------------------------------------------------------------------------
   5. HEADER / NAVBAR
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    transition: background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.light-theme .site-header {
    background-color: rgba(248, 250, 252, 0.88);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.brand-tag {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    font-weight: 600;
    background: var(--brand-primary-subtle);
    color: var(--brand-primary);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.nav-menu {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: var(--space-4);
}

.nav-link {
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: var(--space-1) 0;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--brand-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-base);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.theme-switch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.theme-switch-btn:hover {
    color: var(--brand-primary);
    border-color: var(--border-focus);
    background: var(--bg-surface-hover);
}

.btn-header-cv {
    display: none;
    align-items: center;
    gap: var(--space-1);
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-header-cv:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: var(--brand-primary-subtle);
}

.mobile-menu-trigger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger-bar {
    width: 20px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-fast);
}

.mobile-menu-trigger.active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-trigger.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-trigger.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. BOTÕES & COMPONENTES REUTILIZÁVEIS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    background-color: var(--brand-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
    color: #ffffff;
}

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

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

.btn-ghost {
    background-color: transparent;
    color: var(--text-secondary);
    border-color: var(--border-subtle);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--brand-primary);
    background-color: var(--brand-primary-subtle);
}

.section-container {
    padding-top: var(--space-7);
    padding-bottom: var(--space-7);
    position: relative;
    z-index: 1;
}

.section-heading {
    margin-bottom: var(--space-5);
}

.section-pre-title {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-1);
}

.section-main-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.section-intro-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: var(--space-1);
    max-width: 650px;
}

.section-line {
    width: 48px;
    height: 3px;
    background: var(--brand-primary);
    border-radius: var(--radius-full);
    margin-top: var(--space-2);
}

/* --------------------------------------------------------------------------
   7. SEÇÃO 1: HERO
   -------------------------------------------------------------------------- */
.hero-section {
    padding-top: var(--space-6);
    padding-bottom: var(--space-6);
    position: relative;
    z-index: 1;
}

.hero-layout {
    display: flex;
    flex-direction: column-reverse;
    gap: var(--space-5);
    align-items: center;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--color-success-bg);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--color-success);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.badge-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-success);
    box-shadow: 0 0 8px var(--color-success);
    animation: pulseGlow 2s infinite ease-in-out;
}

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

.hero-sub-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.775rem;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
}

.sub-badge-sep {
    color: var(--brand-primary);
    opacity: 0.6;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: 2.15rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.accent-text {
    color: var(--brand-primary);
}

.hero-subheadline {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-secondary);
    max-width: 680px;
    margin-bottom: var(--space-4);
}

.hero-subheadline strong {
    color: var(--text-primary);
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
    width: 100%;
    margin-bottom: var(--space-5);
}

.hero-cta-group .btn {
    flex: 1 1 100%;
    max-width: 280px;
}

/* Métricas Rápidas Qualitativas */
.hero-quick-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    width: 100%;
    padding: var(--space-3);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.stat-caption {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.stat-divider {
    height: 1px;
    width: 100%;
    background: var(--border-subtle);
}

/* Foto & Card Visual do Hero */
.hero-visual-content {
    width: 100%;
    display: flex;
    justify-content: center;
}

.profile-card-wrapper {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.profile-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-3);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.profile-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-4px);
}

.profile-image-frame {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto var(--space-3);
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    box-shadow: var(--shadow-glow);
}

.profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--bg-surface-elevated);
}

.profile-online-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-success);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    border: 2px solid var(--bg-surface);
}

.profile-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.profile-role {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-2);
}

.profile-tech-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.tech-chip {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* --------------------------------------------------------------------------
   8. ELEMENTO VISUAL CENTRAL: INFRA -> CÓDIGO -> TESTES -> QUALIDADE
   -------------------------------------------------------------------------- */
.career-flow-wrapper {
    margin-top: var(--space-6);
}

.career-flow-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    box-shadow: var(--shadow-sm);
}

.career-flow-header {
    text-align: center;
    margin-bottom: var(--space-4);
}

.flow-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    margin-bottom: 4px;
}

.flow-headline {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.career-flow-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.career-flow-step {
    flex: 1;
    width: 100%;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.career-flow-step:hover {
    border-color: var(--border-highlight);
    transform: translateY(-2px);
}

.career-flow-step.active-flow {
    border-color: var(--brand-primary);
    background: var(--brand-primary-subtle);
    box-shadow: 0 0 16px var(--brand-primary-glow);
}

.flow-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.flow-step-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.flow-step-desc {
    font-size: 0.825rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.flow-connector {
    color: var(--brand-primary);
    font-size: 1rem;
    transform: rotate(90deg);
    opacity: 0.7;
}

/* --------------------------------------------------------------------------
   9. SEÇÃO 2: SOBRE MIM & PILARES
   -------------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

.about-narrative-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    box-shadow: var(--shadow-sm);
}

.about-greeting {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: var(--space-3);
    line-height: 1.5;
}

.about-paragraph {
    font-size: 0.975rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
}

.about-paragraph:last-child {
    margin-bottom: 0;
}

.about-paragraph strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.pillar-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-3);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.pillar-card:hover {
    border-color: var(--border-highlight);
    background: var(--bg-surface-elevated);
    transform: translateY(-2px);
}

.pillar-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--brand-primary-subtle);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.pillar-info h4 {
    font-family: var(--font-heading);
    font-size: 0.975rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.pillar-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   10. SEÇÃO 3: HABILIDADES & FERRAMENTAS
   -------------------------------------------------------------------------- */
.skills-category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

.skill-category-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: border-color var(--transition-base), transform var(--transition-base);
}

.skill-category-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-3px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--border-subtle);
}

.category-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.front-icon {
    background: var(--brand-primary-subtle);
    color: var(--brand-primary);
}

.design-icon {
    background: var(--brand-accent-subtle);
    color: var(--brand-accent);
}

.tools-icon {
    background: rgba(16, 185, 129, 0.12);
    color: var(--color-success);
}

.category-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.category-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.skill-items-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.skill-item {
    padding: var(--space-2);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
}

.skill-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.skill-name {
    font-weight: 600;
    font-size: 0.925rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.skill-level-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: var(--brand-primary-subtle);
    color: var(--brand-primary);
}

.skill-level-tag.highlight-tag {
    background: var(--brand-accent-subtle);
    color: var(--brand-accent);
}

.skill-item-desc {
    font-size: 0.825rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* --------------------------------------------------------------------------
   11. SEÇÃO 4: PROJETOS (OBJETIVOS & SEM MÉTRICAS FALSAS)
   -------------------------------------------------------------------------- */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
}

.project-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.project-card:hover {
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.project-preview {
    background: var(--bg-surface-elevated);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

.project-mockup-browser {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 10px 16px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
}

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

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

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

.browser-url {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-surface-elevated);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-image-container {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--space-3);
    overflow: hidden;
}

.project-visual-cover {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    position: relative;
    padding: var(--space-2);
}

.visual-joao {
    background: linear-gradient(135deg, #0f2b38 0%, #17384e 100%);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.visual-pdx {
    background: linear-gradient(135deg, #1e1b4b 0%, #2e1065 100%);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.visual-ds {
    background: linear-gradient(135deg, #182232 0%, #0f172a 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.visual-badge {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
}

.visual-content-preview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.preview-mini-card {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-mini-card.active {
    background: var(--brand-primary);
    border-color: var(--brand-primary-hover);
}

.project-content {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-header {
    margin-bottom: var(--space-2);
}

.project-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.725rem;
    font-weight: 600;
    color: var(--brand-primary);
    background: var(--brand-primary-subtle);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-1);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.project-structured-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    margin-bottom: var(--space-3);
}

.structured-item {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.structured-item strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 2px;
}

/* Área de Screenshots Placeholder Discreta */
.screenshots-placeholder-area {
    margin-bottom: var(--space-3);
    padding: var(--space-2) var(--space-3);
    background: var(--bg-surface-elevated);
    border: 1px dashed var(--border-subtle);
    border-radius: var(--radius-md);
}

.screenshots-placeholder-header {
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.screenshots-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.placeholder-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
}

.placeholder-slot i {
    font-size: 0.9rem;
    color: var(--brand-primary);
    opacity: 0.8;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: var(--space-4);
}

.tech-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
}

.project-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-top: auto;
}

.btn-project-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    background: var(--brand-primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.btn-project-primary:hover {
    background: var(--brand-primary-hover);
    color: #ffffff;
}

.btn-project-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.btn-project-secondary:hover {
    border-color: var(--border-highlight);
    background: var(--bg-surface-hover);
}

/* --------------------------------------------------------------------------
   12. SEÇÃO 5: EXPERIÊNCIAS (TIMELINE ESTRUTURADA)
   -------------------------------------------------------------------------- */
.timeline-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.timeline-track {
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 20px;
    width: 2px;
    background: var(--border-subtle);
    z-index: 0;
}

.timeline-card-item {
    position: relative;
    display: flex;
    gap: var(--space-3);
    z-index: 1;
}

.timeline-marker {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    transition: all var(--transition-base);
}

.timeline-marker.active {
    border-color: var(--brand-primary);
    box-shadow: 0 0 12px var(--brand-primary-glow);
}

.marker-core {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
}

.timeline-marker.active .marker-core {
    background: var(--brand-primary);
}

.timeline-card {
    flex-grow: 1;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition-base), transform var(--transition-base);
}

.timeline-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-2px);
}

.timeline-card-header {
    margin-bottom: var(--space-2);
}

.timeline-period-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-primary);
    background: var(--brand-primary-subtle);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-1);
}

.timeline-role {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-company {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.timeline-body p {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-2);
}

.timeline-bullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-bullet-list li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    position: relative;
    padding-left: 18px;
}

.timeline-bullet-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-size: 0.9rem;
}

.timeline-bullet-list li strong {
    color: var(--text-primary);
}

/* Competências transferíveis */
.transferable-skills-box {
    margin-top: var(--space-3);
    padding: var(--space-2) var(--space-3);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.transferable-tag-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 6px;
}

.transferable-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.t-tag {
    font-family: var(--font-mono);
    font-size: 0.725rem;
    font-weight: 500;
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

/* --------------------------------------------------------------------------
   13. SEÇÃO 6: FORMAÇÃO ACADÊMICA & CERTIFICADOS
   -------------------------------------------------------------------------- */
.education-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

.edu-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.edu-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-3px);
}

.edu-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-2);
}

.edu-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--brand-primary-subtle);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.edu-status-tag {
    font-family: var(--font-mono);
    font-size: 0.725rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
}

.edu-status-tag.active {
    background: var(--brand-accent-subtle);
    color: var(--brand-accent);
    border-color: rgba(245, 158, 11, 0.3);
}

.edu-course-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.edu-institution-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brand-primary);
    margin-bottom: var(--space-2);
}

.edu-sub-courses-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-top: var(--space-1);
}

.edu-sub-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 12px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
}

.edu-sub-item strong {
    font-size: 0.875rem;
    color: var(--text-primary);
}

.edu-sub-item span {
    font-size: 0.775rem;
    color: var(--text-muted);
}

.cert-code {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--brand-primary);
    background: var(--brand-primary-subtle);
    padding: 2px 6px;
    border-radius: var(--radius-xs);
    margin-top: 4px;
    word-break: break-all;
}

/* --------------------------------------------------------------------------
   14. SEÇÃO 7: CONTATO
   -------------------------------------------------------------------------- */
.contact-card-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
}

.contact-intro-column {
    display: flex;
    flex-direction: column;
}

.contact-headline {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-2);
}

.contact-focus-badge {
    display: inline-flex;
    flex-direction: column;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    background: var(--brand-primary-subtle);
    border: 1px solid rgba(14, 165, 233, 0.25);
    margin-bottom: var(--space-3);
    align-self: flex-start;
}

.focus-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.focus-sub {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.contact-subtext {
    font-size: 0.975rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.contact-subtext strong {
    color: var(--text-primary);
}

.direct-channels-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.direct-channel-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.direct-channel-item:not(.no-hover):hover {
    border-color: var(--brand-primary);
    background: var(--bg-surface-elevated);
    transform: translateX(4px);
}

.channel-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.email-icon { background: var(--brand-primary-subtle); color: var(--brand-primary); }
.linkedin-icon { background: rgba(14, 118, 168, 0.15); color: #0284c7; }
.github-icon { background: rgba(255, 255, 255, 0.08); color: var(--text-primary); }
.location-icon { background: var(--brand-accent-subtle); color: var(--brand-accent); }

.channel-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

.channel-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* Coluna do Formulário */
.form-surface {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    box-shadow: var(--shadow-md);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.form-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
}

.styled-contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.required-star {
    color: var(--brand-accent);
}

.input-wrapper,
.textarea-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
}

.form-input,
.form-textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.925rem;
    color: var(--text-primary);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 14px 12px 42px;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.form-textarea {
    padding: 12px 14px;
    resize: vertical;
    min-height: 110px;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--border-focus);
    background-color: var(--bg-surface);
}

.form-input.input-error,
.form-textarea.input-error {
    border-color: var(--color-error);
}

.form-error-msg {
    display: none;
    font-size: 0.775rem;
    color: var(--color-error);
    margin-top: 2px;
}

.form-error-msg.visible {
    display: block;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    background: var(--brand-primary);
    color: #ffffff;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.btn-submit:hover {
    background: var(--brand-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.form-feedback-alert {
    display: none;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    margin-top: var(--space-2);
}

.form-feedback-alert.success {
    display: block;
    background: var(--color-success-bg);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--color-success);
}

.form-feedback-alert.error {
    display: block;
    background: var(--color-error-bg);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--color-error);
}

/* --------------------------------------------------------------------------
   15. SEÇÃO 8: RODAPÉ (FOOTER)
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-6);
    position: relative;
    z-index: 1;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding-bottom: var(--space-5);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    display: inline-block;
    margin-bottom: var(--space-1);
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 320px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-social-icons {
    display: flex;
    gap: 10px;
    margin-bottom: var(--space-3);
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.footer-social-btn:hover {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
    transform: translateY(-2px);
}

.back-to-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--border-subtle);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.back-to-top-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-highlight);
    background: var(--bg-surface-elevated);
}

.footer-bottom-bar {
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-3) 0;
}

.footer-bottom-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.copyright-text,
.footer-credits {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

/* --------------------------------------------------------------------------
   16. MENU MOBILE FLUTUANTE (DRAWER / OVERLAY)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-main);
        padding: var(--space-4) var(--space-3);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        border-top: 1px solid var(--border-subtle);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition-slow), opacity var(--transition-slow);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-2);
        width: 100%;
    }

    .nav-link {
        font-size: 1.15rem;
        font-weight: 600;
        padding: 12px 16px;
        border-radius: var(--radius-md);
        background: var(--bg-surface);
        border: 1px solid var(--border-subtle);
        display: block;
    }

    .nav-link.active {
        background: var(--brand-primary-subtle);
        border-color: var(--brand-primary);
    }

    .nav-link::after {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   17. MEDIA QUERIES (TABLET & DESKTOP ENHANCEMENTS)
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
    .hero-quick-stats {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }

    .stat-divider {
        width: 1px;
        height: 40px;
    }

    .hero-cta-group .btn {
        flex: 0 1 auto;
    }

    .project-actions {
        flex-direction: row;
    }

    .project-actions .btn-project-primary,
    .project-actions .btn-project-secondary {
        flex: 1;
    }

    .career-flow-grid {
        flex-direction: row;
        justify-content: space-between;
        gap: var(--space-1);
    }

    .flow-connector {
        transform: rotate(0deg);
    }
}

@media (min-width: 768px) {
    .nav-menu {
        display: block;
    }

    .mobile-menu-trigger {
        display: none;
    }

    .btn-header-cv {
        display: inline-flex;
    }

    .hero-section {
        padding-top: var(--space-8);
        padding-bottom: var(--space-8);
    }

    .section-container {
        padding-top: var(--space-8);
        padding-bottom: var(--space-8);
    }

    .section-main-title {
        font-size: 2.25rem;
    }

    .hero-headline {
        font-size: 2.75rem;
    }

    .about-grid {
        grid-template-columns: 1.2fr 1fr;
    }

    .skills-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .education-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-bottom-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .hero-layout {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: var(--space-7);
    }

    .hero-text-content {
        align-items: flex-start;
        text-align: left;
        flex: 1.2;
    }

    .hero-cta-group {
        justify-content: flex-start;
    }

    .hero-visual-content {
        flex: 0.8;
        justify-content: flex-end;
    }

    .profile-card-wrapper {
        max-width: 360px;
    }

    .profile-image-frame {
        width: 180px;
        height: 180px;
    }

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .project-card {
        display: flex;
        flex-direction: column;
    }

    .project-image-container {
        height: 180px;
    }

    .project-actions {
        flex-direction: column;
    }
}

/* --------------------------------------------------------------------------
   18. PREFERS-REDUCED-MOTION (ACESSIBILIDADE)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --------------------------------------------------------------------------
   19. ESTILOS OTIMIZADOS PARA IMPRESSÃO / PDF CV (@media print)
   -------------------------------------------------------------------------- */
@media print {
    *, *::before, *::after {
        background: transparent !important;
        color: #000000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        font-size: 11pt;
        line-height: 1.4;
        background: #ffffff !important;
    }

    .site-header,
    .ambient-glow,
    .theme-switch-btn,
    .btn-header-cv,
    .mobile-menu-trigger,
    .hero-cta-group,
    .project-mockup-browser,
    .project-actions,
    .contact-form-column,
    .back-to-top-btn,
    .footer-social-icons,
    .site-footer,
    .availability-badge,
    .hero-sub-badges,
    .screenshots-placeholder-area {
        display: none !important;
    }

    .section-container {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
        page-break-inside: avoid;
    }

    .hero-section {
        padding-top: 1rem !important;
        padding-bottom: 1.5rem !important;
    }

    .hero-layout {
        flex-direction: row !important;
        align-items: center !important;
    }

    .hero-text-content {
        text-align: left !important;
    }

    .profile-photo {
        width: 100px !important;
        height: 100px !important;
    }

    .section-main-title {
        font-size: 16pt !important;
        border-bottom: 1px solid #333 !important;
        padding-bottom: 4px !important;
        margin-bottom: 8px !important;
    }

    .section-line {
        display: none !important;
    }

    .project-card,
    .timeline-card,
    .edu-card,
    .skill-category-card,
    .career-flow-card {
        border: 1px solid #ccc !important;
        border-radius: 4px !important;
        padding: 10px !important;
        margin-bottom: 10px !important;
        page-break-inside: avoid;
    }

    .projects-grid,
    .skills-category-grid,
    .education-cards-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .contact-intro-column {
        display: block !important;
    }
}
