/**
 * Estilos para pagina inicial (front-page.php)
 */

/* HERO SECTION */
.hero-section {
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section h1 span {
    color: var(--color-secondary);
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* FEATURED POST HOME */
.featured-post {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 60px;
}

.featured-post:hover {
    border-color: var(--color-secondary);
}

.featured-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
}

.featured-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-secondary);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    margin-bottom: 24px;
    width: fit-content;
}

.featured-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-content p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 28px;
    line-height: 1.7;
}

/* POSTS GRID HOME */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* CATEGORIES SECTION */
.categories-section {
    background: rgba(227, 152, 31, 0.03);
    padding: 60px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-card-border);
    border-radius: 12px;
    padding: 36px 30px;
    text-align: center;
    transition: var(--transition);
}

.category-card:hover {
    border-color: var(--color-secondary);
    background: rgba(227, 152, 31, 0.05);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 18px;
}

.category-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.category-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* NEWSLETTER HOME */
.newsletter {
    background: linear-gradient(135deg, rgba(227, 152, 31, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    border: 1px solid var(--color-card-border);
    border-radius: 20px;
    padding: 70px 60px;
    text-align: center;
    margin: 60px 0;
}

.newsletter h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.newsletter p {
    color: var(--color-text-muted);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    max-width: 450px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-card-border);
    border-radius: 8px 0 0 8px;
    color: var(--color-text);
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    padding: 16px 28px;
    background: var(--color-secondary);
    border: none;
    border-radius: 0 8px 8px 0;
    color: var(--color-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #c9841a;
}

/* RESPONSIVIDADE FRONT-PAGE */
@media (max-width: 992px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-post {
        grid-template-columns: 1fr;
    }
    
    .featured-content {
        padding: 30px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-section h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .posts-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter {
        padding: 40px 24px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        border-radius: 8px;
    }
    
    .newsletter-form button {
        margin-top: 12px;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
}
