/* ==========================================================================
   ESTILOS EXCLUSIVOS DO PORTFÓLIO (/portfolio/index.php)
   ========================================================================== */

/* Configuração base do topo do portfólio */
.profile-header {
    padding-top: 40px;
    padding-bottom: 40px;
    background: radial-gradient(circle at top, rgba(0, 100, 55, 0.12) 0%, transparent 70%);
    border-bottom: 1px solid var(--bs-border-color);
    transition: background 0.3s ease;
}

/* Detalhe do topo casado com o fundo claro fosco */
html[data-bs-theme="light"] .profile-header {
    background: radial-gradient(circle at top, rgba(0, 100, 55, 0.05) 0%, rgba(244, 244, 240, 0) 70%) !important;
    border-bottom: 1px solid #e1e1dc !important;
}

/* Customização dos botões secundários vazados */
html[data-bs-theme="light"] .btn-outline-secondary {
    color: #334155;
    border-color: #cbd5e1;
}

html[data-bs-theme="light"] .btn-outline-secondary:hover {
    background-color: #f1f5f9;
    color: var(--bg-marrastack);
    border-color: var(--bg-marrastack);
}

/* Componentização das Badges de Tecnologia */
.tech-badge {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    margin: 4px;
    border-radius: 8px; 
    display: inline-flex;
    align-items: center;
    gap: 8px; 
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
}

.tech-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    filter: brightness(1.05);
}

/* Controle cromático das tags por tema */
html[data-bs-theme="dark"] .tech-badge {
    background-color: #1e293b;
    color: #f1f5f9;
    border-color: rgba(255, 255, 255, 0.03);
}
html[data-bs-theme="dark"] .badge-marra { 
    color: #4ade80 !important; 
    background-color: rgba(74, 222, 128, 0.08);
}
html[data-bs-theme="dark"] .badge-luci { 
    color: #ff944d !important; 
    background-color: rgba(255, 148, 77, 0.08);
}

html[data-bs-theme="light"] .tech-badge {
    background-color: #ffffff; 
    color: #334155;
    border-color: #e2e8f0;
}
html[data-bs-theme="light"] .badge-marra { 
    background-color: #e2edd5 !important; 
    color: #0b4623 !important; 
}
html[data-bs-theme="light"] .badge-luci { 
    background-color: #fbebd8 !important; 
    color: #9c3a00 !important; 
}

/* Componente de Linha do Tempo (Frentes de Engenharia) */
.timeline-item {
    border-left: 3px solid var(--bg-marrastack);
    padding-left: 16px;
    position: relative;
    margin-bottom: 28px;
}

.timeline-item:nth-child(odd) {
    border-left-color: var(--bg-luci);
}

.timeline-item::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--bg-marrastack);
    border-radius: 50%;
    left: -7px;
    top: 7px;
}

.timeline-item:nth-child(odd)::before {
    background: var(--bg-luci);
}