/* --- 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;
    --green-success: #27ae60;
    --gray-text: #666;
    --gray-light: #f4f4f8;
    --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;
    --badge-red-bg: #ffebee;
    --badge-red-text: #c62828;
    --pdf-red: #d32f2f;
}

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

/* --- CABEÇALHO DO POST --- */
.post-header {
    margin-bottom: 35px;
}

.post-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.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-purple {
    background-color: var(--badge-purple-bg);
    color: var(--badge-purple-text);
}

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

/* --- CABEÇALHO E META INFO --- */
.page-header h1 {
    font-size: 32px;
    color: var(--purple-dark);
    font-weight: 700;
    margin-bottom: 25px;
}

.meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 35px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.meta-item i {
    font-size: 24px;
}

.icon-purple { color: var(--purple-light); }
.icon-green { color: var(--green-success); }
.text-green { color: var(--green-success) !important; font-weight: 700 !important; }

.meta-text {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 12px;
    color: var(--gray-text);
    margin-bottom: 2px;
}

.meta-value {
    font-size: 14px;
    color: var(--purple-dark);
    font-weight: 700;
}

/* --- SEÇÃO: CONTEÚDO DIVIDIDO (2 COLUNAS) --- */
.content-split {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.main-image {
    flex: 1.2;
    border-radius: 8px;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
}

.main-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-details h3, .gallery-section h3, .before-after-box h3, .extra-info-box h3 {
    font-size: 18px;
    color: var(--purple-dark);
    margin-bottom: 15px;
}

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

.benefits-list {
    list-style: none;
}

.benefits-list li {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- SEÇÃO: GALERIA --- */
.gallery-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.gallery-container {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.gallery-container img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-outline {
    border: 1px solid #d1cff0;
    color: var(--purple-light);
    background-color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: var(--gray-light);
    border-color: var(--purple-light);
}

/* --- SEÇÃO: ANTES/DEPOIS E INFORMAÇÕES EXTRAS --- */
.secondary-split {
    gap: 50px;
    align-items: flex-start;
}

.before-after-box {
    flex: 1.5;
}

.ba-images {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.ba-item {
    position: relative;
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.ba-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
}

.badge-dark { background-color: #333; }
.badge-green { background-color: var(--green-success); }

.ba-divider {
    background-color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.extra-info-box {
    flex: 1;
    background-color: var(--gray-light);
    padding: 25px;
    border-radius: 8px;
}

.extra-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.extra-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.extra-list i {
    font-size: 18px;
    color: var(--purple-light);
    margin-top: 3px;
}

.extra-text {
    display: flex;
    flex-direction: column;
}

.e-label {
    font-size: 11px;
    color: var(--gray-text);
    margin-bottom: 2px;
}

.e-value {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
}

/* --- BOTÕES INFERIORES DE NAVEGAÇÃO --- */
.post-actions-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

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

.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;
}