/* ===== FOOTER ===== */
.main-footer {
    background: linear-gradient(135deg, var(--verde-primario) 0%, #0a4a2a 100%);
    color: var(--branco);
    padding: 60px 5% 30px;
    position: relative;
    margin-top: 60px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Grid do footer */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* Logo no footer */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo .logo-circle {
    width: 48px;
    height: 48px;
    background: var(--branco);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--verde-primario);
    font-size: 24px;
    font-weight: 700;
    overflow: hidden;
}

.footer-logo .logo-circle img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo .logo-primary {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--branco);
}

.footer-logo .logo-secondary {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Descrição da empresa */
.company-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
    max-width: 300px;
}

/* Redes sociais */
.footer-social h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--branco);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--branco);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--verde-secundario);
    transform: translateY(-3px);
}

/* Títulos das colunas */
.footer-contact h3,
.footer-links h3,
.footer-hours h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--branco);
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h3::after,
.footer-links h3::after,
.footer-hours h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--verde-secundario);
    border-radius: 2px;
}

/* Lista de contatos */
.contact-list {
    list-style: none;
}

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--verde-secundario);
    transform: translateY(-3px);
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--branco);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--verde-secundario);
}

/* Links rápidos */
.links-list {
    list-style: none;
}

.links-list li {
    margin-bottom: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link i,
.footer-link img {
    font-size: 0.8rem;
    color: var(--verde-secundario);
    transition: transform 0.3s ease;
    width: 0.9rem;
    height: 0.9rem;
    object-fit: contain;
    display: inline-block;
}

.footer-link:hover {
    color: var(--branco);
    transform: translateX(5px);
}

.footer-link:hover i {
    transform: translateX(3px);
}

/* Horário de funcionamento */
.hours-list {
    list-style: none;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hour-day {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.hour-time {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--branco);
}

.hour-closed {
    color: #ff6b6b;
}

/* Call to Action no footer */
.footer-cta {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--branco);
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-cta .btn {
    background: var(--branco);
    color: var(--verde-primario);
    border: none;
    padding: 16px 40px;
    font-size: 1.1rem;
}

.footer-cta .btn:hover {
    background: var(--verde-secundario);
    color: var(--branco);
    transform: translateY(-3px);
}

/* Barra inferior do footer */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.legal-links {
    display: flex;
    gap: 25px;
}

.legal-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--branco);
}

/* Botão voltar ao topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--verde-primario);
    color: var(--branco);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--sombra-forte);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--verde-secundario);
    transform: translateY(-5px);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .footer-company {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 40px 20px 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-company {
        grid-column: span 1;
    }
    .footer-cta {
        padding: 30px 20px;
    }
    .cta-title {
        font-size: 1.5rem;
    }
    .cta-subtitle {
        font-size: 1rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .legal-links {
        justify-content: center;
    }
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        flex-direction: column;
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
    .footer-cta .btn {
        width: 100%;
    }
}