/**
 * Footer Styles
 *
 * @package Timelapse
 * @since 1.0.0
 */

/* ── Base Section ── */
.tlf-section {
    background: var(--tl-bg-dark);
    overflow: hidden;
    position: relative;
}

.tlf-event-padding {
    padding-bottom: 120px;
}

/* ── Banner Container ── */
.tlf-banner-container {
    margin-bottom: 50px;
}

/* ── Main Container ── */
.tlf-container {
    max-width: var(--tl-container-max);
    margin: 0 auto;
    padding: 0 30px 40px;
}

/* ── Grid Layout ── */
.tlf-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 0.8fr 1.2fr;
    gap: 20px;
    margin-bottom: 60px;
}

/* ── Brand Column ── */
.tlf-brand-link {
    display: inline-block;
    text-decoration: none;
}

.tlf-logo-img {
    max-width: 180px;
    margin-bottom: 20px;
    height: auto;
}

.tlf-logo-text {
    font-family: var(--tl-font-primary);
    font-weight: var(--tl-weight-extrabold);
    font-size: var(--tl-text-h3);
    color: var(--tl-white);
    display: block;
    margin-bottom: 20px;
}

.tlf-desc {
    font-size: 0.85rem;
    color: var(--tl-gray-500);
    line-height: 1.5;
    margin-bottom: var(--tl-space-md);
}

/* ── Premium Badge ── */
.tlf-premium-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--tl-space-sm);
    padding: 6px 12px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--tl-radius-sm);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(192, 144, 0, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.tlf-badge-icon {
    color: var(--tl-gold);
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.4));
    display: flex;
    align-items: center;
}

.tlf-badge-text {
    display: flex;
    align-items: center;
}

.tlf-badge-year {
    background: var(--tl-gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.85rem;
    font-weight: var(--tl-weight-extrabold);
    letter-spacing: var(--tl-tracking-wide);
}

.tlf-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-20deg);
    animation: tlfShine 4s infinite;
    pointer-events: none;
}

@keyframes tlfShine {
    0% {
        left: -100%;
    }
    20% {
        left: 200%;
    }
    100% {
        left: 200%;
    }
}

/* ── Column Labels ── */
.tlf-label {
    font-size: 0.65rem;
    color: var(--tl-gray-500);
    letter-spacing: 1px;
    font-weight: var(--tl-weight-bold);
    text-transform: uppercase;
    margin-bottom: var(--tl-space-md);
}

/* ── List ── */
.tlf-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tlf-list li {
    margin-bottom: 5px;
}

/* ── Links ── */
.tlf-link {
    color: var(--tl-white);
    font-size: 0.9rem;
    font-weight: var(--tl-weight-medium);
    text-decoration: none;
    transition: var(--tl-transition-default);
    display: inline-block;
}

.tlf-link:hover {
    color: var(--tl-neon);
    transform: translateX(5px);
}

/* ── Validate Link ── */
.tlf-link-validate {
    color: var(--tl-neon);
    font-weight: var(--tl-weight-bold);
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--tl-transition-default);
}

.tlf-link-validate:hover {
    text-shadow: 0 0 10px rgba(var(--tl-neon-rgb), 0.6);
}

/* ── Social Grid ── */
.tlf-social-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tlf-soc-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--tl-radius-circle);
    border: 1px solid var(--tl-divider);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tl-white);
    text-decoration: none;
    transition: var(--tl-transition-default);
    position: relative;
}

.tlf-soc-icon:hover {
    background: var(--tl-neon);
    color: var(--tl-black);
    border-color: var(--tl-neon);
    transform: translateY(-3px);
}

.tlf-soc-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: var(--tl-bg-base);
    color: var(--tl-white);
    font-size: var(--tl-text-xxs);
    padding: 4px 8px;
    border-radius: var(--tl-radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--tl-transition-fast);
}

.tlf-soc-icon:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── Contact Info ── */
.tlf-contact-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
}

.tlf-link-contato {
    color: var(--tl-white);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--tl-transition-default);
}

.tlf-link-contato:hover {
    color: var(--tl-neon);
}

/* ── CTA Button ── */
.tlf-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--tl-space-sm);
    background: var(--tl-neon);
    color: var(--tl-bg-dark);
    font-size: 0.75rem;
    font-weight: var(--tl-weight-extrabold);
    padding: 14px 20px;
    border-radius: 4px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: var(--tl-tracking-wide);
    transition: var(--tl-transition-default);
    margin-bottom: var(--tl-space-md);
}

.tlf-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--tl-shadow-neon-btn);
    color: var(--tl-bg-dark);
}

.tlf-cta-icon {
    display: flex;
    align-items: center;
}

/* ── Security Seal ── */
.tlf-seal {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    color: var(--tl-gray-600);
    opacity: 0.8;
    letter-spacing: var(--tl-tracking-wide);
}

/* ── Bottom Bar ── */
.tlf-bottom {
    border-top: 1px solid var(--tl-divider);
    padding-top: 30px;
    text-align: center;
}

.tlf-legal {
    font-size: var(--tl-text-xs);
    color: var(--tl-gray-600);
    line-height: var(--tl-leading-relaxed);
}

/* ── Animation Items ── */
.tlf-anim-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--tl-ease-out), transform 0.6s var(--tl-ease-out);
}

.tlf-anim-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback: if JS doesn't load, show footer after 2s */
@media (prefers-reduced-motion: reduce) {
    .tlf-anim-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ── Mobile Responsive ── */
@media (max-width: 900px) {
    .tlf-grid {
        display: flex;
        flex-direction: column;
        gap: var(--tl-space-xl);
    }

    .tlf-col-brand {
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .tlf-col-brand .tlf-desc {
        max-width: 320px;
    }

    .tlf-label {
        text-align: center;
    }

    .tlf-list {
        display: flex;
        flex-wrap: wrap;
        gap: var(--tl-space-sm) var(--tl-space-md);
        justify-content: center;
    }

    .tlf-list li {
        margin-bottom: 0;
    }

    .tlf-social-grid {
        justify-content: center;
    }

    .tlf-soc-icon {
        width: 40px;
        height: 40px;
    }

    .tlf-contact-info {
        align-items: center;
    }

    .tlf-cta {
        width: 100%;
        justify-content: center;
    }

    .tlf-col-social {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .tlf-seal {
        justify-content: center;
    }

    .tlf-container {
        padding: 0 var(--tl-container-padding) 30px;
    }
}
