/* --- 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;
}

/* --- SEÇÕES PADRÃO --- */
.section-block {
    margin-bottom: 50px;
}

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

/* --- DESTAQUE DO MÊS (CARD) --- */
.highlight-card {
    display: flex;
    background-color: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.highlight-img {
    flex: 0 0 45%;
    padding: 15px; /* Margem interna para a imagem não tocar na borda */
}

.highlight-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    min-height: 220px;
}

.highlight-content {
    flex: 1;
    padding: 30px 30px 30px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.date-text {
    font-size: 13px;
    color: var(--gray-text);
}

.highlight-content h3 {
    font-size: 22px;
    color: var(--purple-dark);
    margin-bottom: 12px;
}

.highlight-content p {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-solid {
    background-color: var(--purple-light);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-self: flex-start;
    transition: background 0.3s;
}

.btn-solid:hover {
    background-color: var(--purple-dark);
    color: #ffffff;
    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);
}

/* --- OUTRAS NOTÍCIAS (LISTA) --- */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 20px;
    transition: all 0.3s;
}

.news-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-color: #d1cff0;
    transform: translateY(-2px);
}

.news-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.icon-box {
    color: var(--purple-light);
    font-size: 18px;
    border: 1px solid #d1cff0;
    border-radius: 6px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8fb;
}

.news-title {
    font-size: 15px;
    color: #333;
    font-weight: 400;
}

.news-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.arrow-icon {
    color: var(--gray-text);
    font-size: 14px;
    transition: color 0.3s;
}

.news-item:hover .arrow-icon {
    color: var(--purple-light);
}

/* --- 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;
}