/**
 * ============================================================================
 * FERRAMENTAS HUB - FOOTER + CTA INTEGRADO
 * Design premium unificado
 * ============================================================================
 */

/* ============================================================================
   FOOTER BASE - Mesma cor do CTA
   ============================================================================ */

.fhub-modern-footer {
    background: linear-gradient(135deg, #111827 0%, #0f172a 50%, #111827 100%);
    color: #9ca3af;
    position: relative;
    font-family: 'Lexend Deca', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow: hidden;
}

.fhub-modern-footer::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.fhub-modern-footer::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

/* ============================================================================
   CTA INTEGRADO AO FOOTER
   ============================================================================ */

.fhub-footer-cta {
    padding: 80px 0 0;
    position: relative;
    z-index: 1;
}

.fhub-footer-cta-box {
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 56px 48px;
    backdrop-filter: blur(10px);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.fhub-footer-cta-content h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.fhub-footer-cta-content p {
    font-size: 16px;
    color: #9ca3af;
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 480px;
}

.fhub-footer-cta-features {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.fhub-footer-cta-feat {
    text-align: center;
}

.fhub-footer-cta-feat-icon {
    font-size: 26px;
    margin-bottom: 4px;
}

.fhub-footer-cta-feat-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.fhub-footer-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.fhub-footer-cta-btn-primary {
    background: #10b981;
    color: #ffffff;
    padding: 18px 44px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Lexend Deca', sans-serif;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    white-space: nowrap;
}

.fhub-footer-cta-btn-primary:hover {
    background: #059669;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.5);
}

.fhub-footer-cta-btn-secondary {
    background: transparent;
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Lexend Deca', sans-serif;
    border: 2px solid rgba(255,255,255,0.15);
}

.fhub-footer-cta-btn-secondary:hover {
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    transform: translateY(-2px);
}

.fhub-footer-cta-garantias {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.fhub-footer-cta-garantia {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
}

.fhub-footer-cta-garantia i {
    color: #10b981;
    font-size: 14px;
}

/* ============================================================================
   FOOTER COMPACTO
   ============================================================================ */

.fhub-footer-main {
    padding: 56px 0 32px;
    position: relative;
    z-index: 1;
}

.fhub-footer-compact {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
    padding-top: 48px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.fhub-footer-brand {}

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

.fhub-footer-heading {
    color: #ffffff;
    font-size: 0.9375rem;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: 'Lexend Deca', sans-serif;
    letter-spacing: -0.01em;
}

.fhub-footer-description {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* ============================================================================
   FOOTER LINKS (simplificado, sem ícones)
   ============================================================================ */

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

.fhub-footer-links li a {
    display: inline-block;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.8125rem;
    transition: all 0.25s ease;
}

.fhub-footer-links li a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

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

.fhub-footer-social {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.fhub-social-icon {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.25s ease;
    text-decoration: none;
    font-size: 0.8125rem;
}

.fhub-social-icon:hover {
    transform: translateY(-2px);
    border-color: transparent;
    color: white;
}

.fhub-social-icon:nth-child(1):hover { background: #1877f2; }
.fhub-social-icon:nth-child(2):hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.fhub-social-icon:nth-child(3):hover { background: #ff0000; }
.fhub-social-icon:nth-child(4):hover { background: #1da1f2; }

/* ============================================================================
   TRUST BADGES & PAYMENT
   ============================================================================ */

.fhub-trust-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fhub-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #6b7280;
}

.fhub-trust-badge i {
    color: #10b981;
    font-size: 0.8125rem;
    width: 14px;
    text-align: center;
}

.fhub-payment-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 16px;
}

.fhub-payment-icon {
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.fhub-payment-icon:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.fhub-payment-icon i {
    font-size: 1.125rem;
    color: #6b7280;
}

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

.fhub-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fhub-footer-copyright {
    font-size: 0.75rem;
    color: #4b5563;
}

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

.fhub-desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .fhub-desktop-only {
        display: inline;
    }
}

.fhub-footer-legal-links {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.75rem;
}

.fhub-footer-legal-links a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.25s ease;
}

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

/* ============================================================================
   RESPONSIVE - Tablet
   ============================================================================ */

@media (max-width: 1024px) {
    .fhub-footer-cta-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 28px;
    }

    .fhub-footer-cta-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .fhub-footer-cta-features {
        justify-content: center;
    }

    .fhub-footer-cta-actions {
        width: 100%;
    }

    .fhub-footer-cta-btn-primary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .fhub-footer-cta-btn-secondary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .fhub-footer-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }
}

/* ============================================================================
   RESPONSIVE - Mobile
   ============================================================================ */

@media (max-width: 767px) {
    .fhub-footer-cta {
        padding: 56px 0 0;
    }

    .fhub-footer-cta-box {
        padding: 32px 20px;
        gap: 32px;
    }

    .fhub-footer-cta-features {
        gap: 16px;
    }

    .fhub-footer-cta-garantias {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .fhub-footer-main {
        padding: 40px 0 24px;
    }

    .fhub-footer-compact {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .fhub-footer-legal-links {
        gap: 12px;
    }

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

@media (max-width: 480px) {
    .fhub-payment-icons {
        grid-template-columns: repeat(4, 1fr);
    }

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