/* ==========================================================================
   RESET E VARIÁVEIS GLOBAIS
   ========================================================================== */
:root {
    --primary-color: #1a365d;    /* Azul escuro institucional */
    --accent-color: #d69e2e;     /* Dourado suave */
    --text-color: #2d3748;       /* Cinza escuro para texto */
    --bg-light: #f7fafc;         /* Fundo claro */
    --white: #ffffff;            /* Branco puro */
    --gray-100: #edf2f7;
    --gray-600: #718096;
    --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   HEADER / CABEÇALHO
   ========================================================================== */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* LOGO */
.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo span {
    color: var(--accent-color);
}

/* NAVEGAÇÃO PRINCIPAL */
.main-nav .nav-list {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-list a {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.nav-list a:hover {
    color: var(--accent-color);
}

/* BUSCA NO HEADER */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-form {
    display: flex;
    align-items: center;
    background-color: var(--gray-100);
    border-radius: 20px;
    padding: 5px 15px;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.search-form:focus-within {
    border-color: var(--accent-color);
    background-color: var(--white);
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    padding: 5px;
    font-size: 0.85rem;
    color: var(--text-color);
    width: 140px;
    transition: width 0.3s ease;
}

.search-input:focus {
    width: 180px;
}

.search-button {
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button:hover {
    color: var(--primary-color);
}

/* BOTÃO MENU MOBILE */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE) - MENU CORRIGIDO
   ========================================================================== */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        position: relative;
        z-index: 1100;
    }

    /* Animação do botão hambúrguer para X */
    .mobile-menu-toggle.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.4s ease-in-out;
        z-index: 1050;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .main-nav.active {
        clip-path: circle(150% at 100% 0);
    }

    .main-nav .nav-list {
        flex-direction: column;
        padding: 0;
        gap: 0;
        text-align: center;
    }

    .main-nav .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
    }

    .main-nav .nav-list li:last-child {
        border-bottom: none;
    }

    .main-nav .nav-list a {
        display: block;
        padding: 15px 20px;
        font-size: 1rem;
    }

    .header-actions {
        display: none;
    }
}

/* ==========================================================================
   HERO SECTION / DESTAQUE PRINCIPAL
   ========================================================================== */
.hero-section {
    padding: 30px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

/* Card Principal (Banner Maior) */
.hero-card-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 440px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--primary-color);
}

.hero-card-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-card-main:hover img {
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 20%, rgba(10, 25, 47, 0.88) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

.hero-badge {
    align-self: flex-start;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.hero-title-main {
    color: var(--white);
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-title-main a {
    color: var(--white);
}

.hero-title-main a:hover {
    color: var(--accent-color);
}

.hero-excerpt {
    color: #e2e8f0;
    font-size: 0.95rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.82rem;
    color: #cbd5e0;
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-meta i {
    width: 14px;
    height: 14px;
}

/* Sidebar do Hero (Posts Secundários) */
.hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-card-secondary {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 210px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background-color: var(--primary-color);
}

.hero-card-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-card-secondary:hover img {
    transform: scale(1.04);
}

.hero-card-secondary .hero-overlay {
    padding: 20px;
}

.hero-card-secondary .hero-title-secondary {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.35;
    margin-bottom: 8px;
    font-weight: 600;
}

.hero-card-secondary .hero-title-secondary a:hover {
    color: var(--accent-color);
}

/* RESPONSIVIDADE DA HERO SECTION */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-card-main {
        height: 380px;
    }
}

@media (max-width: 576px) {
    .hero-card-main {
        height: 320px;
    }

    .hero-overlay {
        padding: 20px;
    }

    .hero-title-main {
        font-size: 1.35rem;
    }

    .hero-excerpt {
        display: none;
    }
}

/* ==========================================================================
   GRID DE CATEGORIAS
   ========================================================================== */
.categories-section {
    padding: 30px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--gray-100);
    padding-bottom: 12px;
}

.section-title {
    font-size: 1.35rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background-color: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.category-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: rgba(214, 158, 46, 0.12);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.category-card:hover .category-icon {
    background-color: var(--accent-color);
    color: var(--white);
}

.category-icon i {
    width: 26px;
    height: 26px;
}

.category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.category-count {
    font-size: 0.82rem;
    color: var(--gray-600);
}

/* RESPONSIVIDADE DAS CATEGORIAS */
@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   FEED DE ARTIGOS RECENTES
   ========================================================================== */
.recent-posts-section {
    padding: 30px 0 50px 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.post-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--gray-100);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.post-card-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: var(--primary-color);
}

.post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card-thumb img {
    transform: scale(1.05);
}

.post-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.post-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-title {
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.post-card-title a {
    color: var(--primary-color);
}

.post-card-title a:hover {
    color: var(--accent-color);
}

.post-card-excerpt {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.post-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-card-meta i {
    width: 13px;
    height: 13px;
}

/* RESPONSIVIDADE DO FEED */
@media (max-width: 992px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   VERSÍCULO DO DIA (BLOCO DE REFLEXÃO)
   ========================================================================== */
.daily-verse-section {
    padding: 20px 0 50px 0;
}

.verse-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #102a43 100%);
    border-radius: 12px;
    padding: 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(26, 54, 93, 0.2);
    border-left: 6px solid var(--accent-color);
}

.verse-card::before {
    content: '“';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 12rem;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    pointer-events: none;
}

.verse-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.verse-tag {
    background-color: rgba(214, 158, 46, 0.2);
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(214, 158, 46, 0.4);
}

.verse-body {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.verse-quote {
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 12px;
    color: #f7fafc;
}

.verse-reference {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
}

.verse-reflection {
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.verse-reflection h4 {
    font-size: 1rem;
    color: var(--accent-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verse-reflection p {
    font-size: 0.92rem;
    color: #e2e8f0;
    line-height: 1.6;
}

/* RESPONSIVIDADE DO VERSÍCULO DO DIA */
@media (max-width: 768px) {
    .verse-card {
        padding: 25px;
    }

    .verse-quote {
        font-size: 1.15rem;
    }
}

/* ==========================================================================
   PÁGINAS INSTITUCIONAIS (POLÍTICA DE PRIVACIDADE, SOBRE, CONTATO)
   ========================================================================== */
.page-container {
    padding: 40px 0 60px 0;
}

.page-header-block {
    background-color: var(--white);
    border-radius: 10px;
    padding: 35px;
    margin-bottom: 30px;
    border: 1px solid var(--gray-100);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border-left: 5px solid var(--accent-color);
}

.page-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.page-subtitle {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.page-content-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    border: 1px solid var(--gray-100);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    line-height: 1.8;
    color: var(--text-color);
}

.page-content-card h2 {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin: 30px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gray-100);
}

.page-content-card h2:first-of-type {
    margin-top: 0;
}

.page-content-card p {
    margin-bottom: 18px;
    font-size: 0.98rem;
}

.page-content-card ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.page-content-card li {
    margin-bottom: 8px;
    font-size: 0.98rem;
}

.page-content-card a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.page-content-card a:hover {
    color: var(--accent-color);
}

.highlight-box {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .page-header-block,
    .page-content-card {
        padding: 25px;
    }

    .page-title {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   PÁGINA SOBRE NÓS
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.value-card {
    background-color: var(--bg-light);
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.value-card i {
    width: 32px;
    height: 32px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.value-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.88rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

.sidebar-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--gray-100);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border-top: 4px solid var(--primary-color);
}

.sidebar-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PÁGINA DE CONTATO
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 30px;
}

.contact-form-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 35px;
    border: 1px solid var(--gray-100);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.contact-form-group {
    margin-bottom: 20px;
}

.contact-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 0.92rem;
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-100);
    border-radius: 6px;
    background-color: var(--bg-light);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-color);
    outline: none;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
    border-color: var(--accent-color);
    background-color: var(--white);
}

.contact-form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.btn-submit-contact {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-submit-contact:hover {
    background-color: #0d213a;
}

/* CARDS DE INFORMAÇÃO DE CONTATO */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--gray-100);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(214, 158, 46, 0.12);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    width: 20px;
    height: 20px;
}

.contact-info-details h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.contact-info-details p {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 0;
}

/* RESPONSIVIDADE CONTATO */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PÁGINA DE ARTIGO ÚNICO (SINGLE.PHP)
   ========================================================================== */
.single-post-grid {
    display: grid;
    grid-template-columns: 2.8fr 1.2fr;
    gap: 35px;
    padding: 30px 0 60px 0;
}

.post-main-content {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid var(--gray-100);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.post-header {
    margin-bottom: 25px;
    border-bottom: 1px solid var(--gray-100);
    padding-bottom: 20px;
}

.post-category-tag {
    display: inline-block;
    background-color: rgba(214, 158, 46, 0.15);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.post-full-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 15px;
}

.post-full-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.88rem;
    color: var(--gray-600);
}

.post-full-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-featured-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
}

/* ÁREA DE CONTEÚDO DO ARTIGO */
.post-body-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
}

.post-body-text p {
    margin-bottom: 22px;
}

.post-body-text h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 35px 0 15px 0;
    font-weight: 700;
}

.post-body-text blockquote {
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    padding: 20px 25px;
    margin: 25px 0;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--primary-color);
    border-radius: 0 8px 8px 0;
}

/* BLOCOS DE ANÚNCIOS ADSENSE (PLACEHOLDERS) */
.adsense-placeholder {
    background-color: var(--bg-light);
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    color: var(--gray-600);
    font-size: 0.8rem;
    margin: 30px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CAIXA DE AUTOR */
.author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 25px;
    margin-top: 40px;
    border: 1px solid var(--gray-100);
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 0;
}

/* SIDEBAR DO ARTIGO */
.single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid var(--gray-100);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.widget-title {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gray-100);
}

.sidebar-post-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.sidebar-post-item:last-child {
    margin-bottom: 0;
}

.sidebar-post-thumb {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-post-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
}

.sidebar-post-title a {
    color: var(--primary-color);
}

.sidebar-post-title a:hover {
    color: var(--accent-color);
}

/* RESPONSIVIDADE SINGLE */
@media (max-width: 992px) {
    .single-post-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .post-main-content {
        padding: 20px;
    }

    .post-full-title {
        font-size: 1.6rem;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   PÁGINA DE CATEGORIA (CATEGORIA.PHP)
   ========================================================================== */
.category-header-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a365d 100%);
    color: var(--white);
    padding: 40px 0;
    border-radius: 12px;
    margin-bottom: 35px;
    text-align: center;
}

.category-banner-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--white);
}

.category-banner-subtitle {
    font-size: 1rem;
    color: #e2e8f0;
    max-width: 650px;
    margin: 0 auto;
}

.category-badge-count {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 15px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.empty-category-msg {
    background-color: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    color: var(--gray-600);
}


/* ==========================================================================
   PÁGINA 404 PERSONALIZADA
   ========================================================================== */
.error-404-wrapper {
    background: linear-gradient(135deg, var(--primary-color) 0%, #102a43 100%);
    border-radius: 16px;
    padding: 70px 40px;
    text-align: center;
    color: var(--white);
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(26, 54, 93, 0.25);
}

.error-404-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(214, 158, 46, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.error-404-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(214, 158, 46, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.error-404-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
}

.error-404-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.error-404-digit {
    font-size: 6rem;
    font-weight: 900;
    color: var(--accent-color);
    line-height: 1;
    text-shadow: 0 4px 20px rgba(214, 158, 46, 0.3);
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.error-404-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(214, 158, 46, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(214, 158, 46, 0.3);
    animation: pulse-icon 2.5s ease-in-out infinite;
}

.error-404-icon i {
    width: 40px;
    height: 40px;
    color: var(--accent-color);
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(214, 158, 46, 0.4); }
    50%      { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(214, 158, 46, 0); }
}

.error-404-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.3;
}

.error-404-subtitle {
    font-size: 1.05rem;
    color: #cbd5e0;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.error-404-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-404-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.error-404-btn i {
    width: 18px;
    height: 18px;
}

.error-404-btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.error-404-btn-primary:hover {
    background-color: #b7791f;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(214, 158, 46, 0.3);
}

.error-404-btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.error-404-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
}

.error-404-suggestions {
    margin-top: 20px;
}

/* RESPONSIVIDADE 404 */
@media (max-width: 768px) {
    .error-404-wrapper {
        padding: 50px 25px;
    }

    .error-404-digit {
        font-size: 4rem;
    }

    .error-404-icon {
        width: 60px;
        height: 60px;
    }

    .error-404-icon i {
        width: 30px;
        height: 30px;
    }

    .error-404-title {
        font-size: 1.5rem;
    }

    .error-404-subtitle {
        font-size: 0.95rem;
    }

    .error-404-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .error-404-btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .error-404-digit {
        font-size: 3rem;
    }

    .error-404-code {
        gap: 10px;
    }

    .error-404-icon {
        width: 50px;
        height: 50px;
    }
}


/* ==========================================================================
   FOOTER / RODAPÉ
   ========================================================================== */
.site-footer {
    background-color: var(--primary-color);
    color: #e2e8f0;
    padding-top: 50px;
    margin-top: 60px;
    border-top: 4px solid var(--accent-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3, 
.footer-col h4 {
    color: var(--white);
    margin-bottom: 18px;
    font-size: 1.1rem;
    position: relative;
}

.footer-col h3 span {
    color: var(--accent-color);
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #cbd5e0;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e0;
    font-size: 0.9rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

/* NEWSLETTER DO RODAPÉ */
.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-newsletter-form input[type="email"] {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.footer-newsletter-form input[type="email"]:focus {
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-newsletter-form button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 10px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.footer-newsletter-form button:hover {
    background-color: #b7791f;
    color: var(--white);
}

/* REDES SOCIAIS */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.social-links i {
    width: 18px;
    height: 18px;
}

/* DIREITOS AUTORAIS / BOTTOM BAR */
.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #a0aec0;
}

.footer-bottom p {
    margin: 0;
}

/* RESPONSIVIDADE DO RODAPÉ */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}


/* ==========================================================================
   VÍDEO DO YOUTUBE NOS ARTIGOS
   ========================================================================== */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    margin: 30px 0;
    background-color: #000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 576px) {
    .video-wrapper {
        margin: 20px 0;
        border-radius: 6px;
    }
}


/* ==========================================================================
   SEÇÃO DE VÍDEOS & TV (Home)
   ========================================================================== */
.videos-section {
    padding: 30px 0 50px 0;
}

.section-link {
    font-size: 0.88rem;
    color: var(--accent-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.section-link:hover {
    color: var(--primary-color);
}

.videos-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    background-color: var(--primary-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(26, 54, 93, 0.15);
}

/* VÍDEO DESTAQUE (esquerda) */
.video-main {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    background-color: #102a43;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #000;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-main:hover .video-thumb img {
    transform: scale(1.03);
}

/* Overlay escuro sutil sobre a thumbnail */
.video-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Botão PLAY grande */
.video-play-big {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(230, 30, 30, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.video-play-big i {
    width: 30px;
    height: 30px;
    margin-left: 4px; /* centraliza o triângulo */
}

.video-main:hover .video-play-big {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: rgba(230, 30, 30, 1);
}

/* Conteúdo do destaque */
.video-main-content {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.video-badge {
    align-self: flex-start;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 12px;
}

.video-main-title {
    color: var(--white);
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 700;
    margin: 0;
}

.video-main:hover .video-main-title {
    color: var(--accent-color);
}

/* LISTA DE VÍDEOS SECUNDÁRIOS (direita) */
.video-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
}

.video-item {
    display: flex;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    align-items: center;
}

.video-item:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

.video-item-thumb {
    position: relative;
    width: 130px;
    min-width: 130px;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background-color: #000;
    flex-shrink: 0;
}

.video-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-item:hover .video-item-thumb img {
    transform: scale(1.05);
}

/* Botão PLAY pequeno */
.video-play-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(230, 30, 30, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 2;
    transition: transform 0.3s ease;
}

.video-play-small i {
    width: 16px;
    height: 16px;
    margin-left: 2px;
}

.video-item:hover .video-play-small {
    transform: translate(-50%, -50%) scale(1.15);
}

.video-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.video-item-title {
    color: var(--white);
    font-size: 0.9rem;
    line-height: 1.35;
    font-weight: 600;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-item:hover .video-item-title {
    color: var(--accent-color);
}

.video-item-meta {
    font-size: 0.75rem;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }

    .video-list {
        flex-direction: row;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 10px;
        justify-content: flex-start;
    }

    .video-item {
        flex-direction: column;
        min-width: 220px;
        align-items: flex-start;
    }

    .video-item-thumb {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .videos-grid {
        padding: 16px;
        gap: 16px;
    }

    .video-play-big {
        width: 55px;
        height: 55px;
    }

    .video-play-big i {
        width: 24px;
        height: 24px;
    }

    .video-main-title {
        font-size: 1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}