/* ════════════════════════════════════════════════
   NTA DIGITAL — BLOG STYLES
   Layout com contraste: Hero escuro + Seções claras
   ════════════════════════════════════════════════ */

/* ═══════════════════════════════════════
   HERO SECTION (Dark)
   ═══════════════════════════════════════ */
.b-hero {
    padding: calc(var(--space-32) + var(--nav-height)) 0 var(--space-16);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.b-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero-radial);
    opacity: 0.8;
    pointer-events: none;
}

.b-hero__tag {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--amber-subtle);
    color: var(--amber);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-6);
}

.b-hero__title {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: clamp(38px, 6vw, 68px);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: var(--space-8);
    color: var(--text-primary);
}

.b-hero__desc {
    position: relative;
    z-index: 1;
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
}

/* ═══════════════════════════════════════
   FEATURED POST (Dark Section)
   ═══════════════════════════════════════ */
.b-featured {
    padding: 0 0 var(--space-24);
    background: var(--bg-primary);
}

.b-featured__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    background: var(--bg-card);
    border: 1px solid var(--border-standard);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--ease-base);
}

.b-featured__card:hover {
    border-color: var(--border-amber);
    box-shadow: 0 0 50px rgba(255, 180, 0, 0.05);
}

.b-featured__img-wrap {
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.b-featured__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--ease-slow);
}

.b-featured__card:hover .b-featured__img {
    transform: scale(1.05);
}

.b-featured__content {
    padding: var(--space-12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-4);
}

.b-featured__category {
    color: var(--amber);
    font-weight: 700;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.b-featured__title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 600;
    line-height: 1.2;
}

.b-featured__excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
}

@media (max-width: 992px) {
    .b-featured__card {
        grid-template-columns: 1fr;
    }

    .b-featured__img-wrap {
        min-height: 300px;
    }
}

/* ═══════════════════════════════════════
   POSTS GRID (Light Section)
   ═══════════════════════════════════════ */
.b-grid {
    padding: var(--space-24) 0;
    background: #f5f5f5;
}

.b-grid__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.b-post-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--ease-base);
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.b-post-card:hover {
    border-color: var(--amber);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.b-post-card__img-wrap {
    height: 200px;
    overflow: hidden;
}

.b-post-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--ease-slow);
}

.b-post-card:hover .b-post-card__img {
    transform: scale(1.1);
}

.b-post-card__content {
    padding: var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.b-post-card__category {
    font-size: 11px;
    font-weight: 700;
    color: var(--amber);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.b-post-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    line-height: 1.3;
    color: #080808;
}

.b-post-card__excerpt {
    font-size: var(--text-sm);
    color: #5a5a5a;
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.b-post-card__footer {
    padding: var(--space-4) var(--space-6) var(--space-6);
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    color: #888;
    font-size: var(--text-xs);
    font-weight: 500;
}

@media (max-width: 992px) {
    .b-grid__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .b-grid__container {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════
   NEWSLETTER (Dark Section)
   ═══════════════════════════════════════ */
.b-newsletter {
    padding: var(--space-24) 0;
    background: var(--bg-primary);
}

.b-newsletter__card {
    background: var(--bg-card);
    border: 1px solid var(--border-amber);
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.b-newsletter__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 180, 0, 0.05), transparent);
    pointer-events: none;
}

.b-newsletter__title {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.b-newsletter__desc {
    position: relative;
    z-index: 1;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto var(--space-8);
}

.b-newsletter__form {
    position: relative;
    z-index: 1;
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: var(--space-3);
}

.b-newsletter__input-wrap {
    flex: 1;
}

@media (max-width: 560px) {
    .b-newsletter__form {
        flex-direction: column;
    }
}

/* ═══════════════════════════════════════
   SECTION DIVIDER (Dark to Light)
   ═══════════════════════════════════════ */
.b-section-divider {
    height: 1px;
    background: linear-gradient(90deg,
            var(--bg-primary) 0%,
            var(--border-subtle) 50%,
            var(--bg-primary) 100%);
    margin: 0;
}

/* ═══════════════════════════════════════
   RESPONSIVE ADJUSTMENTS
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
    .b-hero {
        padding: calc(var(--space-24) + var(--nav-height)) 0 var(--space-12);
    }

    .b-hero__desc {
        font-size: var(--text-base);
    }

    .b-featured,
    .b-grid,
    .b-newsletter {
        padding: var(--space-16) 0;
    }

    .b-featured__content {
        padding: var(--space-8);
    }

    .b-featured__title {
        font-size: var(--text-2xl);
    }

    .b-newsletter__card {
        padding: var(--space-8);
    }

    .b-newsletter__title {
        font-size: var(--text-2xl);
    }
}