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

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

a {
    text-decoration: none;
}

/* --- VARIÁVEIS DE CORES --- */
:root {
    --purple-dark: #1a1459;
    --purple-light: #3c357a;
    --gray-text: #666;
    --border-color: #eaeaea;
}

.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 {
    position: relative;
    height: 400px;
    background-image: url(https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=1920&q=80);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-left: 80px;
}

.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: 600px;
    z-index: 2;
}

.header-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 800;
}

.header-content .accent-line {
    width: 40px;
    height: 3px;
    background-color: #ffaa00;
    margin-bottom: 15px;
}

.header-content p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.main-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px 20px;
}

.overlap-hero {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.card-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px 30px;
}

.section-title {
    color: var(--purple-light);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.stats-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

.stat-items {
    display: flex;
    flex: 1;
    justify-content: space-between;
    padding-right: 30px;
}

.icon-purple {
    font-size: 28px;
    color: var(--purple-light);
}

.stat-text h2 {
    font-size: 28px;
    color: var(--purple-dark);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-text p {
    font-size: 12px;
    color: #666;
    line-height: 1.2;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background-color: #eaeaea;
    margin: 0 30px;
}

.stat-update {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 180px;
}

.stat-update .icon-gray {
    font-size: 24px;
    color: #a0a0a0;
}

.stat-update p {
    font-size: 12px;
    color: #666;
}

.out-title {
    margin-top: 40px;
    margin-bottom: 15px;
}
.section-title {
    color: var(--purple-light);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.destaque-section {
    display: flex;
    gap: 30px;
    padding: 20px;
}
.card-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px 30px;
}

.destaque-img {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.destaque-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.destaque-content {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
}

.badge {
    background-color: #f0f0fa;
    color: var(--purple-light);
    font-size: 10px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 15px;
}

.destaque-content h2 {
    font-size: 22px;
    color: var(--purple-dark);
    margin-bottom: 15px;
}

.destaque-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.destaque-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #666;
}

.meta-item i {
    font-size: 18px;
    color: #888;
}

.meta-item.text-green i {
    color: #27ae60;
}

.meta-item.text-green strong {
    color: #27ae60;
}

.btn-purple {
    background-color: var(--purple-light);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    align-self: flex-start;
    transition: background 0.3s;
}

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

.historico-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.historico-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.hist-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.hist-header i {
    font-size: 24px;
    color: #3b3183;
}

.hist-header h4 {
    font-size: 16px;
    color: #1a1459;
}

.hist-header p {
    font-size: 12px;
    color: #666;
}

.hist-thumbnails {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.hist-thumbnails img {
    flex: 1;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.btn-outline {
    border: 1px solid #d1cff0;
    color: #3b3183;
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
    margin-top: auto;
}

.btn-outline:hover {
    background-color: #f0f0fa;
    border-color: #3b3183;
    color: #3b3183;
    text-decoration: none;
}

.load-more {
    text-align: center;
    margin-top: 40px;
}

.btn-outline-gray {
    border: 1px solid #ccc;
    color: #555;
    background-color: white;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-outline-gray:hover {
    background-color: #f0f0f0;
    color: #555;
    text-decoration: none;
}

.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: 992px) {
    .stats-wrapper {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .stat-items {
        width: 100%;
        flex-wrap: wrap;
        gap: 20px;
    }
    .stat-divider {
        display: none;
    }
    .destaque-section {
        flex-direction: column;
    }
    .historico-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .hero-gestao {
        height: 300px;
        padding-left: 20px;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .historico-grid {
        grid-template-columns: 1fr;
    }
    .destaque-meta {
        flex-direction: column;
        gap: 15px;
    }
}
