/* --- CONFIGURAÇÕES GERAIS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #fcfcfd;
    color: #333;
}

a {
    text-decoration: none;
}

/* --- VARIÁVEIS DE CORES --- */
:root {
    --purple-dark: #1a1459;
    --purple-light: #3c357a;
    --gray-text: #666;
    --border-color: #eaeaea;
    --bg-card: #ffffff;
    
    /* Cores das Badges */
    --badge-green-bg: #e8f5e9;
    --badge-green-text: #2e7d32;
    --badge-orange-bg: #fff3e0;
    --badge-orange-text: #ef6c00;
    --badge-purple-bg: #f3e5f5;
    --badge-purple-text: #6a1b9a;
}

.navbar {
    background-color: var(--purple-light);;
}

.nav-item a {
    color: #dfdeef;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-item a.active {
    color: white;
    border-bottom: 2px solid #ffaa00;
}

.nav-item .btn-top-lock {
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 15px;
    border-radius: 4px;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.nav-item .btn-top-lock i {
    margin-right: 5px;
    color: #ffaa00;
}

.header-space {
    position: relative;
    height: 320px;
    background-image: url(https://images.unsplash.com/photo-1576013551627-0cc20b96c2a7?auto=format&fit=crop&w=1920&q=80);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(26, 20, 89, 0.9) 0%, rgba(26, 20, 89, 0.2) 100%);
}

.header-content {
    position: relative;
    color: white;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
}

/* --- CONTAINER PRINCIPAL --- */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px 20px;
}

/* --- BREADCRUMB --- */
.breadcrumb {
    font-size: 13px;
    color: var(--purple-light);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
}

.breadcrumb a {
    color: var(--purple-light);
    transition: color 0.3s;
}

.breadcrumb span {
    color: var(--purple-dark);
    font-weight: 700;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h2 {
    font-size: 28px;
    color: var(--purple-dark);
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.page-header p {
    font-size: 16px;
    color: var(--gray-text);
    line-height: 1.5;
}


/* --- TABS / FILTROS --- */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    background-color: #f4f4f8;
    color: #666;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover {
    background-color: #e2e2e8;
}

.tab-btn.active {
    background-color: #3b3183;
    color: white;
}

/* --- LISTA DE AÇÕES --- */
.actions-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.action-item {
    display: flex;
    gap: 25px;
    align-items: stretch;
}

.action-img {
    flex: 0 0 280px; /* Largura fixa para a imagem */
    border-radius: 8px;
    overflow: hidden;
}

.action-img img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
    display: block;
}

.action-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 5px;
}

.badge-category {
    background-color: #f0f0fa;
    color: #3b3183;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 12px;
}

.action-content h2 {
    font-size: 18px;
    color: #1a1459;
    margin-bottom: 8px;
}

.action-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Rodapé do Item (Data, Status, Botão) */
.action-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto; /* Empurra para o final do card */
}

.date {
    font-size: 13px;
    color: #666;
}

.date strong {
    color: #333;
}

.status-green {
    font-size: 13px;
    color: #27ae60;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #eefaf3;
    padding: 4px 10px;
    border-radius: 4px;
}

.btn-outline-small {
    border: 1px solid #d1cff0;
    color:  var(--purple-light);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-small:hover {
    background-color:  var(--purple-light);
    color:white;
    text-decoration: none;
}

/* --- BADGES (TAGS) --- */
/* .badge {
    font-size: 10px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-green {
    background-color: var(--badge-green-bg);
    color: var(--badge-green-text);
}

.badge-orange {
    background-color: var(--badge-orange-bg);
    color: var(--badge-orange-text);
}

.badge-purple {
    background-color: var(--badge-purple-bg);
    color: var(--badge-purple-text);
} */

/* --- BOTÃO VOLTAR --- */
.bottom-action {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
}

.btn-outline-large {
    border: 1px solid var(--purple-light);
    color: var(--purple-light);
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    background-color: white;
}

.btn-outline-large:hover{
    background-color:  var(--purple-light);
    color:white;
    text-decoration: none;
}

/* --- FOOTER CONDTECH --- */
.footer-banner-container {
    padding: 0 20px 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-banner {
    background: linear-gradient(135deg, #241d4f 0%, #3c357a 100%);
    border-radius: 8px;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-icon {
    font-size: 40px;
    color: rgba(255, 255, 255, 0.2);
}

.footer-text .dev-by {
    font-size: 11px;
    color: #aaa5df;
    display: block;
    margin-bottom: 2px;
}

.footer-text h2 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.footer-text .orange-text {
    color: #f39c12;
}

.footer-text p {
    font-size: 12px;
    color: #ccc8f1;
    margin-top: 2px;
}

.btn-footer {
    border: 1px solid white;
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: background 0.3s, color 0.3s;
}

.btn-footer:hover {
    background-color: var(--purple-dark);
    color: #ffffff;
    text-decoration: none;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .page-container {
        padding: 25px 20px;
    }
    
    .action-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .action-img {
        flex: auto;
        width: 100%;
        height: 200px;
    }

    .action-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .btn-outline-small {
        width: 100%;
        justify-content: center;
    }
}