﻿/* --- Base Footer Styles --- */
.site-footer {
    background-color: #00010D;
    color: #E0E0E0;
    padding: 60px 40px 30px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    line-height: 1.6;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    padding: 20px 0;
}

/* --- Branding Column with Logo (Vertical Stack) --- */
.footer-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 25px;
}

.footer-logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: brightness(1.1);
    transition: transform 0.3s cubic-bezier(.16,1,.3,1);
}

.footer-logo-wrapper:hover .footer-logo-img {
    transform: scale(1.1);
}

.footer-logo-text {
    font-size: 1.8em;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 1px;
    margin: 0;
}

.footer-description {
    font-size: 0.95em;
    color: #B0B0B0;
    line-height: 1.5;
    max-width: 250px;
}

/* --- Column Titles --- */
.footer-column h4 {
    font-size: 1.3em;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 25px;
    position: relative;
}

    .footer-column h4::after {
        content: '';
        display: block;
        width: 40px;
        height: 3px;
        background-color: #1565C0;
        margin-top: 10px;
        border-radius: 2px;
    }

/* --- Navigation Links --- */
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: #B0B0B0;
    text-decoration: none;
    font-size: 1em;
    font-weight: 400;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease-in-out;
}

    .footer-nav a:hover {
        color: #FFFFFF;
    }

    .footer-nav a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -3px;
        width: 0;
        height: 2px;
        background-color: #1565C0;
        transition: width 0.3s cubic-bezier(.16,1,.3,1);
    }

    .footer-nav a:hover::after {
        width: 100%;
    }

/* --- Contact CTA Button --- */
.footer-contact p {
    color: #B0B0B0;
    font-size: 1em;
    font-weight: 400;
}

.footer-contact .cta-button {
    display: inline-block;
    background-color: #1565C0;
    color: #FFFFFF;
    padding: 14px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(.16,1,.3,1);
    box-shadow: 0 5px 15px rgba(21, 101, 192, 0.4);
}

    .footer-contact .cta-button:hover {
        background-color: #0D47A1;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(21, 101, 192, 0.6);
    }

    .footer-contact .cta-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.6s cubic-bezier(.16,1,.3,1);
        z-index: -1;
    }

    .footer-contact .cta-button:hover::before {
        left: 100%;
    }

/* --- Copyright Section --- */
.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    text-align: center;
    padding-top: 20px;
}

.copyright {
    font-size: 0.85em;
    color: #757575;
}

/* --- Responsive Design --- */

/* Tablet (2 colunas) */
@media (max-width: 768px) {
    .site-footer {
        padding: 50px 30px 25px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-branding {
        grid-column: span 2;
        text-align: center;
    }

    .footer-logo-wrapper {
        align-items: center;
        justify-content: center;
    }

    .footer-branding .footer-description {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-column h4::after {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-nav, .footer-contact {
        text-align: center;
    }

        .footer-nav ul {
            display: inline-block;
        }

        .footer-contact .cta-button {
            margin-left: auto;
            margin-right: auto;
        }
}

/* Mobile (1 coluna) */
@media (max-width: 480px) {
    .site-footer {
        padding: 40px 20px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-branding {
        grid-column: span 1;
    }

    .footer-column {
        padding: 15px 0;
    }

    .footer-logo-img {
        width: 90px;
        height: 90px;
    }

    .footer-logo-text {
        font-size: 1.5em;
    }

    .footer-column h4 {
        font-size: 1.1em;
    }

    .footer-nav a,
    .footer-contact p,
    .footer-contact .cta-button {
        font-size: 0.9em;
    }

    .footer-contact .cta-button {
        padding: 12px 20px;
    }
}
