/**
 * ============================================================================
 * ENSINO NACIONAL - FOOTER DO BLOG
 * ============================================================================
 * Footer profissional para blog educacional
 * Cores: Teal (#089B8E) como primária
 */

/* ============================================================================
   FOOTER WRAPPER
   ============================================================================ */

.fhub-blog-footer {
    background: #1f2937;
    color: #cbd5e0;
    position: relative;
}

/* ============================================================================
   MAIN FOOTER CONTENT
   ============================================================================ */

.fhub-footer-main {
    padding: 4rem 0 2rem;
}

.fhub-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.fhub-footer-column {
    display: flex;
    flex-direction: column;
}

.fhub-footer-heading {
    color: white;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    font-family: 'Lexend Deca', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fhub-footer-heading i {
    color: #089B8E;
    font-size: 1rem;
}

.fhub-footer-description {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

/* ============================================================================
   FOOTER CONTACT
   ============================================================================ */

.fhub-footer-contact {
    margin-top: auto;
}

.fhub-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #cbd5e0;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    padding: 0.75rem;
    background: rgba(8, 155, 142, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(8, 155, 142, 0.2);
}

.fhub-footer-contact-item:hover {
    background: rgba(8, 155, 142, 0.15);
    border-color: #089B8E;
    color: white;
}

.fhub-footer-contact-item i {
    color: #089B8E;
    font-size: 1rem;
}

/* ============================================================================
   FOOTER LINKS
   ============================================================================ */

.fhub-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.fhub-footer-links li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e0;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.fhub-footer-links li a:hover {
    color: white;
    padding-left: 0.25rem;
}

.fhub-footer-links li a i {
    color: #6b7280;
    font-size: 0.75rem;
    width: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.fhub-footer-links li a:hover i {
    color: #089B8E;
}

.fhub-footer-cat-count {
    color: #6b7280;
    font-size: 0.75rem;
    margin-left: auto;
}

/* Secondary Links (Column 4) */
.fhub-footer-links-secondary {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #2d3748;
}

/* ============================================================================
   FOOTER POSTS (Popular Posts)
   ============================================================================ */

.fhub-footer-post-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.fhub-footer-post-item:last-child {
    border-bottom: none;
}

.fhub-footer-post-item:hover {
    background: rgba(255, 255, 255, 0.03);
    margin: 0 -0.5rem;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
}

.fhub-footer-post-thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.fhub-footer-post-thumb-placeholder {
    background: #2d3748;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fhub-footer-post-thumb-placeholder i {
    color: #4b5563;
    font-size: 1.25rem;
}

.fhub-footer-post-info {
    flex: 1;
    min-width: 0;
}

.fhub-footer-post-info h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e5e7eb;
    margin: 0 0 0.25rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.fhub-footer-post-item:hover .fhub-footer-post-info h5 {
    color: #089B8E;
}

.fhub-footer-post-info span {
    font-size: 0.75rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.fhub-footer-post-info span i {
    font-size: 0.625rem;
    color: #089B8E;
}

.fhub-footer-empty {
    font-size: 0.875rem;
    color: #6b7280;
    font-style: italic;
}

/* ============================================================================
   FOOTER SOCIAL
   ============================================================================ */

.fhub-footer-social {
    display: flex;
    gap: 0.625rem;
    margin-bottom: 1.5rem;
}

.fhub-social-icon {
    width: 40px;
    height: 40px;
    background: #2d3748;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e0;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}

.fhub-social-icon:hover {
    transform: translateY(-3px);
}

.fhub-social-facebook:hover {
    background: #1877f2;
    color: white;
}

.fhub-social-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.fhub-social-youtube:hover {
    background: #ff0000;
    color: white;
}

/* ============================================================================
   FOOTER BOTTOM
   ============================================================================ */

.fhub-footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.fhub-footer-copyright {
    font-size: 0.875rem;
    color: #6b7280;
}

.fhub-brand-name {
    color: white;
    font-weight: 600;
}

.fhub-footer-cnpj {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #4b5563;
}

.fhub-footer-legal-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.fhub-footer-legal-links a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fhub-footer-legal-links a:hover {
    color: #089B8E;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 1024px) {
    .fhub-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .fhub-footer-main {
        padding: 3rem 0 1.5rem;
    }

    .fhub-footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .fhub-footer-heading {
        font-size: 1.125rem;
    }

    .fhub-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .fhub-footer-copyright {
        text-align: center;
    }

    .fhub-footer-cnpj {
        display: inline;
        margin-top: 0;
    }

    .fhub-footer-legal-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .fhub-footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .fhub-footer-main {
        padding: 2.5rem 0 1.5rem;
    }

    .fhub-footer-legal-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .fhub-social-icon {
        width: 44px;
        height: 44px;
    }
}
