/* * Home Page Styles - Versão Final Consolidada
 * Inclui: Hero, Grade Masonry, Lista de Notícias e Paginação
 */

/* --- Configurações Gerais da Secção Hero --- */
.hero-section {
    position: relative;
    height: 500px;
    margin: 30px auto 80px;
    max-width: 1200px;
    width: calc(100% - 40px);
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hero-link {
    display: block;
    height: 100%;
    position: relative;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-content-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    color: #ffffff;
}

.hero-cat-badge {
    display: inline-block;
    background: #fec202;
    color: #1a1a1a;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-excerpt {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.95;
    max-width: 700px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.hero-dot {
    opacity: 0.6;
}

/* --- Contentor Principal e Cabeçalhos --- */
.home-container {
    padding-bottom: 80px;
}

.latest-news-section {
    margin-bottom: 60px;
}

.section-header {
    margin-bottom: 50px;
}

.section-heading {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.section-line {
    width: 80px;
    height: 4px;
    background: #fec202;
    border-radius: 2px;
}

/* --- Grade Masonry (Posts 1 ao 6) --- */
.news-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- Banner de CTA (Call to Action) --- */
.home-cta-section {
    background: #1a1a1a;
    border-radius: 24px;
    padding: 60px;
    margin: 60px 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.home-cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(254, 194, 2, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.2;
}

.cta-text {
    font-size: 1.1rem;
    opacity: 0.8;
    line-height: 1.6;
}

.cta-action {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.btn-cta-premium {
    background: #fec202;
    color: #1a1a1a;
    padding: 18px 35px;
    border-radius: 12px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-cta-premium:hover {
    background: #ffffff;
    transform: scale(1.05);
}

.news-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.card-link {
    display: block;
    height: 100%;
    text-decoration: none;
}

.card-thumbnail {
    position: relative;
    overflow: hidden;
}

.card-thumbnail img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.news-card:hover .card-thumbnail img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
}

.card-body {
    padding: 25px;
}

.cat-badge {
    display: inline-block;
    background: #fef9c3;
    color: #1a1a1a;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.card-heading {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #718096;
}

/* --- Secção de Lista (Posts 9 ao 12) --- */
.news-list-wrapper {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: 2px solid #f7fafc;
    padding-top: 40px;
}

.news-list-item {
    background: #fff;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.news-list-item:hover {
    background: #f8fafc;
    border-color: #edf2f7;
    transform: translateX(5px);
}

.list-item-link {
    display: flex;
    align-items: center;
    gap: 25px;
    text-decoration: none;
    padding: 15px;
}

.list-item-thumbnail {
    flex-shrink: 0;
    width: 150px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

.list-item-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-item-content {
    flex-grow: 1;
}

.list-item-meta {
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.list-cat {
    color: #fec202;
    margin-right: 12px;
}

.list-date {
    color: #a0aec0;
}

.list-item-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
    transition: color 0.2s;
}

.news-list-item:hover .list-item-title {
    color: #2d3748;
}

/* --- Botões e Links de Ver Mais --- */
.view-all-link {
    color: #fec202;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    margin-bottom: 20px;
}

.view-all-link:hover {
    color: #1a1a1a;
    transform: translateX(5px);
}

.btn-load-more {
    display: inline-block;
    background: #1a1a1a;
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-load-more:hover {
    background: #fec202;
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(254, 194, 2, 0.3);
}

/* --- Paginação do WordPress (Removida da Home mas mantida para referência) --- */
.pagination-wrapper {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #4a5568;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.pagination-wrapper .page-numbers:hover {
    background: #fec202;
    border-color: #fec202;
    color: #1a1a1a;
}

.pagination-wrapper .page-numbers.current {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}

.pagination-wrapper .prev,
.pagination-wrapper .next {
    padding: 0 20px;
}

/* --- Responsividade --- */
/* --- News Ticker (Removido) --- */

/* --- Nossa História Section --- */
.home-history-section {
    background: #ffffff;
    border-radius: 32px;
    padding: 80px 60px;
    margin: 80px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.history-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.history-image-box {
    position: relative;
}

.history-image-box img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

.history-experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: #fec202;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 10px 10px 30px rgba(254, 194, 2, 0.3);
    display: flex;
    flex-direction: column;
}

.exp-number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    color: #1a1a1a;
}

.exp-text {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a1a1a;
}

.history-subtitle {
    font-size: 0.9rem;
    color: #fec202;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.history-title {
    font-size: 3rem;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.history-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 25px;
}

.history-stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
}

.stat-label {
    font-size: 0.85rem;
    color: #718096;
    font-weight: 600;
}

.btn-history {
    display: inline-block;
    padding: 16px 35px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-history:hover {
    background: #fec202;
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(254, 194, 2, 0.2);
}

/* --- Ajuste Mobile History --- */
@media (max-width: 992px) {
    .history-content-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .history-image-box {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .home-history-section {
        padding: 40px 25px;
    }

    .history-title {
        font-size: 2.2rem;
    }

    .history-experience-badge {
        right: 0;
        bottom: -20px;
        padding: 15px;
    }

    .exp-number {
        font-size: 1.8rem;
    }
}

/* --- Quick Categories Navigation --- */
.quick-categories-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.cat-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 10px 24px;
    border-radius: 30px;
    color: #4a5568;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cat-pill:hover {
    background: #1a1a1a;
    color: #fec202;
    border-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* --- Ajuste Mobile CTA --- */
@media (max-width: 768px) {
    .home-cta-section {
        flex-direction: column;
        padding: 40px 30px;
        text-align: center;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .btn-cta-premium {
        width: 100%;
        text-align: center;
    }
}