/* ========================================================================== */
/* FOOTER JOVATEC - ESTILO COMPLETO */
/* ========================================================================== */

.site-footer {
    background: var(--jovatec-roxo-escuro);
    color: #ffffff;
    margin-top: auto;
}

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

.footer-logo {
    max-width: 325px;
    height: auto;
    display: block;
}

.footer-text {
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1rem;
}

.footer-slogan {
    font-style: italic;
}

.footer-title {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-link {
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--jovatec-verde-primario);
    padding-left: 0.5rem;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.contact-item small {
    color: rgba(255, 255, 255) !important;
    font-size: 0.75rem;
    margin-bottom: 0.15rem;
}

.contact-icon {
    flex-shrink: 0;
    color: #ffffff;
}

.whatsapp-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.btn-footer {
    background: #ffffff !important;
    color: var(--jovatec-roxo-escuro) !important;
    border: 2px solid #ffffff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.btn-footer svg {
    stroke: var(--jovatec-roxo-escuro) !important;
}

.btn-footer:hover {
    transform: translateY(-2px);
    color: var(--jovatec-roxo-escuro) !important;
    background: #ffffff !important;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-developer {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.developer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.developer-link:hover {
    color: var(--jovatec-verde-primario);
    text-decoration: underline;
}

/* ========================================================================== */
/* BOTÃO VOLTAR AO TOPO */
/* ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--jovatec-roxo-escuro) !important;
    color: #ffffff !important;
    border: 2px solid var(--jovatec-roxo-escuro) !important;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top svg {
    stroke: #ffffff !important;
    transition: stroke 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Inverte cores quando sobre o footer */
.back-to-top.on-footer {
    background: #ffffff !important;
    border-color: var(--jovatec-roxo-escuro) !important;
}

.back-to-top.on-footer svg {
    stroke: var(--jovatec-roxo-escuro) !important;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* ========================================================================== */
/* RESPONSIVIDADE */
/* ========================================================================== */

@media (max-width: 991.98px) {
    .footer-main {
        padding: 3rem 0 2rem;
    }
    
    .footer-logo {
        max-width: 180px;
        margin: 0 auto;
    }
    
    .footer-logo-section {
        text-align: center;
    }
    
    .footer-title {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .footer-main {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-logo {
        max-width: 150px;
    }
    
    .footer-title {
        font-size: 1.15rem;
        text-align: center;
    }
    
    .footer-menu,
    .footer-contact {
        text-align: center;
    }
    
    .footer-menu li {
        margin-bottom: 0.5rem;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .whatsapp-numbers {
        align-items: center;
    }
    
    .btn-footer {
        width: 100%;
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
