/* ================================================
   BLOG CSS - APRIMORIZZE CONSULTORIA
   ================================================ */

/* Hero Section do Blog */
.blog-hero-section {
    padding: 120px 0 80px 0;
    background: linear-gradient(135deg, var(--azul-profissional) 0%, var(--azul-claro) 100%);
    color: var(--branco);
    position: relative;
    overflow: hidden;
}

.blog-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/hero-pattern.svg') no-repeat center right;
    background-size: cover;
    opacity: 0.1;
    pointer-events: none;
}

.blog-hero-content {
    max-width: 600px;
    text-align: left;
    color: white;
    position: relative;
    z-index: 2;
}

.blog-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.blog-hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 500px;
}

/* Estatísticas do Blog */
.blog-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    min-width: 100px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--laranja-suave);
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Filtros e Busca */
.blog-filters-section {
    padding: 2rem 0;
    background-color: var(--cinza-claro);
    border-bottom: 1px solid #e0e0e0;
}

.blog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.blog-search {
    flex: 1;
    max-width: 400px;
}

.search-container {
    display: flex;
    background: var(--branco);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.search-container input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
}

.search-container button {
    padding: 1rem 1.5rem;
    background: var(--laranja-suave);
    color: var(--branco);
    border: none;
    cursor: pointer;
    transition: var(--transicao);
}

.search-container button:hover {
    background: #e67e22;
}

.blog-filters {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--azul-profissional);
}

.filter-group select {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: var(--branco);
    font-size: 0.9rem;
    min-width: 150px;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--laranja-suave);
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

/* Posts em Destaque */
.featured-posts-section {
    padding: 5rem 0;
    background: var(--branco);
}

.featured-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.featured-post-card {
    background: var(--branco);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: var(--transicao);
    position: relative;
}

.featured-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.featured-post-card.large {
    grid-column: span 2;
}

.featured-post-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.featured-post-card.large .featured-post-image {
    height: 350px;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transicao);
}

.featured-post-card:hover .featured-post-image img {
    transform: scale(1.05);
}

.post-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--laranja-suave);
    color: var(--branco);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-badge.ebook {
    background: var(--verde-azulado);
}

.post-badge.caso {
    background: var(--azul-claro);
}

.featured-post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.post-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-views {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-post-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--azul-profissional);
    line-height: 1.4;
}

.featured-post-card.large .featured-post-content h3 {
    font-size: 2rem;
}

.featured-post-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
}

.author-info h4 {
    font-size: 0.9rem;
    margin: 0;
    color: var(--azul-profissional);
}

.author-info span {
    font-size: 0.8rem;
    color: #666;
}

/* Força avatares sempre circulares - Regra Global */
.author-avatar,
.author-avatar img {
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
}

/* Conteúdo Principal do Blog */
.blog-posts-section {
    padding: 5rem 0;
    background: #fafafa;
}

.blog-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.blog-main-content {
    background: var(--branco);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.posts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--laranja-suave);
}

.posts-header h2 {
    margin: 0;
    color: var(--azul-profissional);
}

.posts-count {
    color: #666;
    font-size: 0.9rem;
}

/* Grid de Posts */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    min-height: 600px; /* Manter altura mínima consistente */
}

.blog-post-card {
    background: var(--branco);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: var(--transicao);
    border: 1px solid #f0f0f0;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--laranja-suave);
}

.blog-post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transicao);
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.05);
}

.blog-post-content {
    padding: 1.5rem;
}

.blog-post-content .post-meta {
    margin-bottom: 1rem;
}

.blog-post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--azul-profissional);
    line-height: 1.4;
}

.blog-post-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--laranja-suave);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transicao);
}

.read-more-btn:hover {
    color: #e67e22;
    gap: 0.8rem;
}

/* Paginação */
.blog-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.pagination-info {
    font-weight: 600;
    color: var(--azul-profissional);
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--branco);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.sidebar-widget h3 {
    margin: 0 0 1.5rem 0;
    color: var(--azul-profissional);
    font-size: 1.3rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--laranja-suave);
}

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--laranja-suave);
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

.newsletter-form button {
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 6px;
    background: var(--laranja-suave);
    color: var(--branco);
    cursor: pointer;
    transition: var(--transicao);
}

.newsletter-form button:hover {
    background: #e67e22;
}

/* Categorias */
.categories-list {
    list-style: none;
}

.categories-list li {
    margin-bottom: 0.8rem;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    color: var(--azul-profissional);
    text-decoration: none;
    transition: var(--transicao);
}

.categories-list a:hover {
    background: var(--laranja-suave);
    color: var(--branco);
}

.category-count {
    background: var(--azul-profissional);
    color: var(--branco);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.categories-list a:hover .category-count {
    background: var(--branco);
    color: var(--laranja-suave);
}

/* Posts Populares */
.popular-post-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.popular-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-post-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-content h4 {
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.popular-post-content h4 a {
    color: var(--azul-profissional);
    text-decoration: none;
    transition: var(--transicao);
}

.popular-post-content h4 a:hover {
    color: var(--laranja-suave);
}

.popular-post-date {
    font-size: 0.8rem;
    color: #666;
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag-item {
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--azul-profissional);
    text-decoration: none;
    transition: var(--transicao);
    border: 1px solid #e9ecef;
}

.tag-item:hover {
    background: var(--laranja-suave);
    color: var(--branco);
    border-color: var(--laranja-suave);
}

/* Loading States */
.loading-posts {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.loading-posts i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--laranja-suave);
}

/* Estados Vazios */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #ddd;
}

.empty-state h3 {
    margin-bottom: 1rem;
    color: var(--azul-profissional);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .blog-content-wrapper {
        grid-template-columns: 1.5fr 1fr;
        gap: 3rem;
    }
    
    .featured-posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .featured-post-card.large {
        grid-column: span 1;
    }
}

@media (max-width: 992px) {
    .blog-hero-content h1 {
        font-size: 2.8rem;
    }
    
    .blog-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .blog-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-main-content {
        padding: 2rem;
    }
    
    .blog-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .blog-search {
        max-width: none;
    }
    
    .blog-filters {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .blog-hero-section {
        padding: 100px 0 60px;
    }
    
    .blog-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .blog-hero-content p {
        font-size: 1.1rem;
    }
    
    .blog-stats {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .stat-item {
        min-width: 80px;
        padding: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .blog-filters {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-group select {
        min-width: auto;
        width: 100%;
    }
    
    .featured-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-main-content {
        padding: 1.5rem;
    }
    
    .posts-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
    
    .blog-pagination {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .blog-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .blog-main-content {
        padding: 1rem;
    }
    
    .sidebar-widget {
        padding: 1rem;
    }
    
    .featured-post-content {
        padding: 1.5rem;
    }
    
    .blog-post-content {
        padding: 1rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Modo de alto contraste */
@media (prefers-contrast: high) {
    .blog-post-card {
        border: 2px solid var(--azul-profissional);
    }
    
    .sidebar-widget {
        border: 2px solid var(--azul-profissional);
    }
}

/* ========================================
   BREADCRUMBS - ESCONDER COMPLETAMENTE
======================================== */
.breadcrumbs-container {
    display: none !important;
}

/* ========================================
   CTA SECTION - PADRÃO SERVICOS-RH.HTML
======================================== */
.cta-section {
    position: relative;
    background-color: var(--cinza-claro);
    padding: 5rem 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(26, 188, 156, 0.9));
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    color: var(--branco);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--branco);
    line-height: 1.2;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-content .btn {
    font-size: 1.1rem;
    padding: 15px 40px;
    background: var(--laranja-suave);
    color: var(--branco);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
    cursor: pointer;
}

.cta-content .btn:hover {
    background: #E67E22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

/* ========================================
   MODAL - PADRÃO SERVICOS-RH.HTML
======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background-color: var(--branco);
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover,
.modal-close:focus {
    color: #000;
    text-decoration: none;
}

.modal-form {
    padding: 40px 30px 30px;
}

.modal-form h3 {
    color: var(--azul-profissional);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    font-family: var(--font-heading);
}

.contact-modal-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.form-group.checkbox-group input[type="checkbox"] {
    margin-top: 5px;
    flex-shrink: 0;
}

.form-group.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--azul-profissional);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--cinza-claro);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--laranja-suave);
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.contact-modal-form button {
    grid-column: span 2;
    justify-self: center;
    padding: 15px 40px;
    background: var(--laranja-suave);
    color: var(--branco);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.contact-modal-form button:hover {
    background: #E67E22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

/* Responsividade do Modal */
@media (max-width: 768px) {
    .contact-modal-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .contact-modal-form button {
        grid-column: span 1;
    }
    
    .modal-form {
        padding: 30px 20px 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
}

/* ========================================
   FOOTER - PADRÃO APRIMORIZZE
======================================== */
.footer {
    background: var(--azul-profissional);
    color: var(--branco);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--branco);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.footer-logo img {
    margin-bottom: 15px;
    filter: brightness(1.2);
}

.footer-logo h2 {
    color: var(--laranja-suave);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.footer-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 15px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-description {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--cinza-claro);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-column ul li a:hover {
    color: var(--laranja-suave);
    transform: translateX(5px);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: var(--cinza-claro);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-info li i {
    color: var(--laranja-suave);
    margin-right: 12px;
    margin-top: 2px;
    font-size: 16px;
    min-width: 16px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--branco);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icons a:hover {
    background: var(--laranja-suave);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--cinza-claro);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--laranja-suave);
}

/* Responsividade do Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    /* Mantendo o layout de 2 colunas como na página index */
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px;
    }
    
    .footer-logo {
        align-items: center;
    }
    
    .footer-bottom .container {
        flex-direction: row !important;
        text-align: left !important;
        justify-content: space-between !important;
    }
    
    .footer-links {
        justify-content: flex-end !important;
    }
    
    /* Ajuste para o texto do email não cortar */
    .footer-column p, 
    .footer-column li, 
    .footer-column a, 
    .contact-info li {
        font-size: 0.9rem !important;
        word-break: break-word !important;
    }
    
    .footer-column h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    /* Mantendo o layout de 2 colunas mesmo em telas muito pequenas */
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    
    /* Reduzir ainda mais o tamanho da fonte no footer */
    .footer-column p, 
    .footer-column li, 
    .footer-column a, 
    .contact-info li {
        font-size: 0.8rem !important;
    }
    
    .footer-column h3 {
        font-size: 1rem !important;
    }
    
    /* Ajustar o tamanho do email para evitar corte */
    .contact-info li i {
        font-size: 0.8rem !important;
        width: 15px !important;
        margin-right: 5px !important;
    }
    
    .footer-bottom {
        font-size: 0.75rem !important;
    }
    
    .footer-links {
        flex-direction: row !important;
    }
    
    .footer-links a {
        margin-left: 0.5rem !important;
    }
    
    .social-icons {
        justify-content: flex-start !important;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
}

/* =====================================================
   ESTILOS PARA POST INDIVIDUAL (SINGLE POST)
   ===================================================== */

/* Container principal do post */
.single-post-container {
    margin-top: 120px;
    padding: 2rem 0;
}

/* Header do post */
.post-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.post-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-badge {
    background: var(--laranja-suave);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-date-reading {
    display: flex;
    gap: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

.post-date i,
.post-reading-time i {
    margin-right: 0.5rem;
    color: var(--laranja-suave);
}

.post-title {
    font-size: 2.5rem;
    color: var(--azul-profissional);
    margin: 1rem 0;
    line-height: 1.2;
}

.post-excerpt {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.post-featured-image {
    margin: 2rem auto;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Corpo do post */
.post-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 3rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: var(--azul-profissional);
    margin: 2rem 0 1rem 0;
}

.post-content h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--laranja-suave);
    padding-bottom: 0.5rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content h4 {
    font-size: 1.3rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid var(--laranja-suave);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Seção do autor */
.post-author-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    margin: 3rem 0;
    border: 1px solid #e9ecef;
}

.author-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--laranja-suave);
    aspect-ratio: 1 / 1;
}

.author-info h3 {
    margin: 0 0 0.5rem 0;
    color: var(--azul-profissional);
    font-size: 1.3rem;
}

.author-info p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.author-social {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.author-social-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--azul-profissional);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #666;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.author-social a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Cores específicas para cada rede social */
.author-social a.linkedin {
    background: rgba(0, 119, 181, 0.1);
    color: #0077b5;
}

.author-social a.linkedin:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.author-social a.instagram {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
}

.author-social a.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: #e1306c;
}

.author-social a.facebook {
    background: rgba(24, 119, 242, 0.1);
    color: #1877f2;
}

.author-social a.facebook:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.author-social a.youtube {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
}

.author-social a.youtube:hover {
    background: #ff0000;
    color: white;
    border-color: #ff0000;
}

.author-social a.website {
    background: rgba(68, 68, 68, 0.1);
    color: #444;
}

.author-social a.website:hover {
    background: #444;
    color: white;
    border-color: #444;
}

/* Tags do post */
.post-tags {
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #eee;
}

.post-tags h4 {
    margin: 0 0 1rem 0;
    color: var(--azul-profissional);
    font-size: 1.1rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-item {
    background: #e9ecef;
    color: #495057;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: var(--laranja-suave);
    color: white;
    transform: translateY(-2px);
}

/* Botões de compartilhamento */
.post-share {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 3rem 0;
    text-align: center;
}

.post-share h4 {
    margin: 0 0 1.5rem 0;
    color: var(--azul-profissional);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook {
    background: #1877f2;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.whatsapp {
    background: #25d366;
    color: white;
}

/* Posts relacionados */
.related-posts {
    margin: 4rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.related-posts h3 {
    text-align: center;
    margin: 0 0 2rem 0;
    color: var(--azul-profissional);
    font-size: 1.8rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.related-post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.related-post-image {
    height: 150px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-content h4 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.related-post-content h4 a {
    color: var(--azul-profissional);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-content h4 a:hover {
    color: var(--laranja-suave);
}

.related-post-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Botão voltar ao blog */
.back-to-blog {
    text-align: center;
    margin: 3rem 0;
}

.back-to-blog .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Estados de loading e erro */
.loading-container {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--laranja-suave);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-state {
    text-align: center;
    padding: 4rem 2rem;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-state h2 {
    color: var(--azul-profissional);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.error-state p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* =====================================================
   RESPONSIVO - POST INDIVIDUAL
   ===================================================== */

@media (max-width: 768px) {
    .single-post-container {
        margin-top: 100px;
        padding: 1rem 0;
    }

    .post-meta-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .post-date-reading {
        flex-direction: column;
        gap: 0.5rem;
    }

    .post-title {
        font-size: 1.8rem;
        text-align: left;
    }

    .post-excerpt {
        font-size: 1rem;
        text-align: left;
    }

    .post-body {
        padding: 1rem;
    }

    .post-content {
        font-size: 1rem;
    }

    .post-content h2 {
        font-size: 1.5rem;
    }

    .post-content h3 {
        font-size: 1.3rem;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .author-avatar {
        width: 60px;
        height: 60px;
    }
    
    .author-avatar img {
        width: 100%;
        height: 100%;
    }
    
    .author-social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .author-social a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .share-buttons {
        flex-direction: column;
        align-items: center;
    }

    .share-btn {
        width: 200px;
        justify-content: center;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .post-author-section,
    .post-share,
    .related-posts {
        padding: 1.5rem 1rem;
        margin: 2rem 0;
    }
}

@media (max-width: 480px) {
    .post-title {
        font-size: 1.5rem;
    }

    .post-featured-image {
        margin: 1rem auto;
    }

    .category-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    .post-author-section,
    .post-share {
        padding: 1rem;
    }
    
    .author-social-title {
        text-align: center;
        font-size: 0.8rem;
    }
    
    .author-social-links {
        gap: 0.8rem;
    }
    
    .author-social a {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* =====================================================
   ESTILOS PARA TABELAS NOS POSTS
   ===================================================== */

/* Container responsivo para tabelas */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Wrapper responsivo para tabelas */
.post-content div:has(table),
.single-post-container table {
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

/* Header da tabela */
.post-content table thead tr {
    background-color: var(--azul-profissional);
    color: white;
}

.post-content table th {
    padding: 15px;
    border: 1px solid #ddd;
    font-weight: 600;
    text-align: left;
    font-size: 1rem;
}

/* Corpo da tabela */
.post-content table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.post-content table tbody tr:nth-child(even) {
    background-color: white;
}

.post-content table tbody tr:hover {
    background-color: #f0f8ff;
    transition: background-color 0.3s ease;
}

.post-content table td {
    padding: 15px;
    border: 1px solid #ddd;
    vertical-align: top;
    line-height: 1.5;
}

/* Texto em negrito nas células */
.post-content table td strong,
.post-content table th strong {
    color: var(--azul-profissional);
    font-weight: 600;
}

/* Primeira coluna destacada */
.post-content table tbody tr td:first-child {
    font-weight: 600;
    color: var(--azul-profissional);
    background-color: rgba(44, 62, 80, 0.05);
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    .post-content table {
        font-size: 0.9rem;
        margin: 1.5rem 0;
    }
    
    .post-content table th,
    .post-content table td {
        padding: 12px 8px;
    }
    
    /* Layout de cards em mobile para tabelas muito largas */
    .post-content table.mobile-cards {
        border: 0;
    }
    
    .post-content table.mobile-cards thead {
        display: none;
    }
    
    .post-content table.mobile-cards tbody tr {
        display: block;
        border: 1px solid #ddd;
        margin-bottom: 1rem;
        border-radius: 8px;
        background: white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .post-content table.mobile-cards tbody td {
        display: block;
        text-align: right;
        border: none;
        border-bottom: 1px solid #eee;
        padding: 10px;
        position: relative;
        padding-left: 40%;
    }
    
    .post-content table.mobile-cards tbody td:before {
        content: attr(data-label) ": ";
        position: absolute;
        left: 6px;
        width: 35%;
        text-align: left;
        font-weight: bold;
        color: var(--azul-profissional);
    }
    
    .post-content table.mobile-cards tbody td:last-child {
        border-bottom: none;
    }
}

/* Tabelas específicas do WordPress */
.wp-block-table table,
.wp-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.wp-block-table table th,
.wp-table table th {
    background-color: var(--azul-profissional);
    color: white;
    padding: 15px;
    border: 1px solid #ddd;
    font-weight: 600;
}

.wp-block-table table td,
.wp-table table td {
    padding: 15px;
    border: 1px solid #ddd;
    vertical-align: top;
}

.wp-block-table table tbody tr:nth-child(odd),
.wp-table table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.wp-block-table table tbody tr:hover,
.wp-table table tbody tr:hover {
    background-color: #f0f8ff;
}

/* Scroll horizontal para tabelas largas */
.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.table-wrapper table {
    margin: 0;
    min-width: 600px; /* Largura mínima para scroll */
}

/* Indicador de scroll */
.table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: var(--laranja-suave);
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #e67e22;
} 