.category-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f4f7fe 100%);
    padding: 140px 0 70px;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.category-hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--blue);
}

.filter-pills {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.pill {
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    border: 2px solid var(--gray-200);
    background: white;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    cursor: pointer;
}

.pill:hover, .pill.active {
    border-color: var(--blue);
    background: var(--blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.grid-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.post-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: var(--blue);
}

.post-card.featured {
    border: 2px solid var(--blue);
    position: relative;
}

.post-card.featured::before {
    content: '✨ DESTAQUE';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--blue);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
}

.post-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.post-card:hover .post-img {
    transform: scale(1.05);
}

.post-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.post-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.post-title a {
    text-decoration: none;
    color: var(--black);
    transition: color 0.2s;
}

.post-title a:hover {
    color: var(--blue);
}

.post-excerpt {
    color: var(--gray-600);
    font-size: 0.95rem;
    flex: 1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s;
}

.read-more:hover {
    gap: 0.75rem;
}

/* SMART CTA - Contextual */
.smart-cta {
    background: linear-gradient(135deg, #001a33 0%, #003d7a 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 61, 122, 0.3);
}

.smart-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.smart-cta-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

/* PROGRESS TRACKER */
.progress-tracker {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.progress-bar-container {
    width: 100%;
    height: 20px;
    background: var(--gray-100);
    border-radius: 10px;
    overflow: hidden;
    margin: 1.5rem 0;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--blue) 0%, var(--blue-dark) 100%);
    transition: width 1s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
}

/* FLOATING ACTION BUTTON */
.fab-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 70px;
    height: 70px;
    background: var(--red);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: all 0.3s;
    z-index: 1000;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.fab-cta:hover {
    transform: scale(1.1);
    animation: none;
}

.fab-tooltip {
    position: absolute;
    right: 85px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--black);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.fab-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--black);
}

.fab-cta:hover .fab-tooltip {
    opacity: 1;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.page-link {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    background: white;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    min-width: 44px;
    text-align: center;
}

.page-link:hover, .page-link.active {
    border-color: var(--blue);
    background: var(--blue);
    color: white;
}

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
}

/* RESPONSIVE */
@media(max-width: 768px) {
    .category-hero { padding: 100px 0 50px; }
    .grid-posts { grid-template-columns: 1fr; gap: 1.5rem; }
    .smart-cta { padding: 2rem; }
    .smart-cta-content { grid-template-columns: 1fr; text-align: center; }
    .stats-bar { flex-direction: column; gap: 1.5rem; }
    .filter-pills { gap: 0.5rem; }
    .pill { padding: 0.5rem 1rem; font-size: 0.85rem; }
    .fab-cta { bottom: 1rem; right: 1rem; width: 60px; height: 60px; font-size: 1.5rem; }
    .fab-tooltip { display: none; }
}

@media(max-width: 480px) {
    .post-title { font-size: 1.15rem; }
    .breadcrumb { font-size: 0.8rem; }
}
