/* ============================================
   BREADCRUMB
   ============================================ */

.breadcrumb-section {
    padding: 12px 0 10px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    z-index: 10;
    margin-top: 60px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: #666666;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #555555;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.breadcrumb-item:not(.active):hover {
    color: #c8102e;
}

.breadcrumb-item:not(.active):hover i {
    transform: scale(1.1);
}

.breadcrumb-item.active {
    color: #333333;
    font-weight: 600;
    cursor: default;
}

.breadcrumb-item i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.breadcrumb-separator {
    color: #cccccc;
    user-select: none;
    font-weight: 400;
}

/* ===================================
   SEÇÃO DE NOTÍCIAS
   =================================== */

.news-section {
    padding: 80px 0;
    background-color: var(--color-white);
    position: relative;
}

/* Cabeçalho da Seção */
.news-section .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.news-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

/* Linha animada */
.news-section .section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background-color: var(--color-primary);
    transition: all 0.6s ease;
}

.news-section .section-title.title-visible::after {
    animation: underlineGrow 0.8s ease-out 0.3s both;
}

.news-section .section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray);
    line-height: 1.6;
}

/* Grid de Notícias */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Card de Notícia */
.news-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Imagem da Notícia */
.news-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

/* Categoria */
.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* Conteúdo da Notícia */
.news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Meta informações */
.news-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: var(--color-gray);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-meta i {
    font-size: 0.875rem;
    color: var(--color-primary);
}

/* Título da Notícia */
.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-title a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--color-primary);
}

/* Excerpt */
.news-excerpt {
    font-size: 0.9375rem;
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Link "Leia mais" */
.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.news-link:hover {
    gap: 12px;
    color: var(--color-primary-dark);
}

.news-link i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.news-link:hover i {
    transform: translateX(4px);
}

/* CTA Ver Todas */
.news-cta {
    text-align: center;
}

.news-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.25);
    transition: all 0.3s ease;
}

.news-cta .btn:hover {
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.35);
    transform: translateY(-2px);
}

.news-cta .btn i {
    font-size: 1.125rem;
}

/* ===================================
   RESPONSIVIDADE
   =================================== */

/* Tablets */
@media (max-width: 992px) {
    .news-section {
        padding: 60px 0;
    }

    .news-section .section-title {
        font-size: 2rem;
    }

    .news-section .section-subtitle {
        font-size: 1rem;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-bottom: 40px;
    }

    .news-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .news-image {
        height: 200px;
    }

    .news-content {
        padding: 20px;
    }

    .news-title {
        font-size: 1.125rem;
    }

    .news-excerpt {
        font-size: 0.875rem;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .news-section {
        padding: 50px 0;
    }

    .news-section .section-header {
        margin-bottom: 40px;
    }

    .news-section .section-title {
        font-size: 1.75rem;
        padding-bottom: 12px;
    }

    .news-section .section-subtitle {
        font-size: 0.9375rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 40px;
    }

    .news-card:nth-child(3) {
        grid-column: auto;
        max-width: 100%;
    }

    .news-image {
        height: 200px;
    }

    .news-category {
        top: 12px;
        left: 12px;
        padding: 5px 12px;
        font-size: 0.75rem;
    }

    .news-content {
        padding: 20px;
    }

    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        font-size: 0.8125rem;
    }

    .news-title {
        font-size: 1.125rem;
        margin-bottom: 12px;
    }

    .news-excerpt {
        font-size: 0.875rem;
        margin-bottom: 16px;
    }

    .news-link {
        font-size: 0.875rem;
    }

    .news-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 32px;
        font-size: 0.9375rem;
    }

    .news-cta .btn i {
        font-size: 1rem;
    }
}

/* Mobile Pequeno */
@media (max-width: 375px) {
    .news-section .section-title {
        font-size: 1.5rem;
    }

    .news-image {
        height: 180px;
    }

    .news-content {
        padding: 16px;
    }

    .news-title {
        font-size: 1rem;
    }

    .news-excerpt {
        font-size: 0.8125rem;
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }
}
