/* ============================================
   FOOTER RESPONSIVO - SITE PÚBLICO
   ============================================ */

/* Footer base */
.site-footer {
    transition: all 0.3s ease;
}

/* Container do footer */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid do footer */
.footer-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 40px;
}

/* Colunas do footer */
.footer-col {
    animation: fadeInUp 0.5s ease backwards;
}

.footer-col:nth-child(1) { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.2s; }
.footer-col:nth-child(3) { animation-delay: 0.3s; }
.footer-col:nth-child(4) { animation-delay: 0.4s; }

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary, #d4af37);
    transition: width 0.3s ease;
}

.footer-col:hover h4::after {
    width: 60px;
}

/* Listas do footer */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.8;
    display: inline-block;
}

.footer-col ul li a:hover {
    opacity: 1;
    transform: translateX(5px);
}

.footer-col ul li i {
    width: 25px;
    margin-right: 8px;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    padding: 12px 24px;
    background: var(--primary, #d4af37);
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: #e6c422;
}

/* Redes Sociais */
.footer-social {
    margin: 30px 0 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.8;
    font-size: 18px;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-3px);
    background: rgba(212, 175, 55, 0.15);
}

/* Copyright */
.footer-copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    opacity: 0.6;
}

/* ============================================
   RESPONSIVIDADE DO FOOTER
   ============================================ */

/* Desktop padrão (acima de 1024px) */
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(var(--footer-columns, 4), 1fr);
    }
}

/* Tablet (768px a 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-col ul li {
        text-align: center;
    }
    
    .footer-col ul li a:hover {
        transform: translateX(0) translateY(-2px);
    }
    
    .footer-col:last-child {
        grid-column: span 2;
    }
    
    .newsletter-form {
        max-width: 400px;
        margin: 15px auto 0;
    }
}

/* Mobile (até 767px) */
@media (max-width: 767px) {
    .site-footer {
        padding: 40px 0 !important;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 35px;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .footer-col h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
    }
    
    .footer-col:hover h4::after {
        width: 70px;
    }
    
    .footer-col ul li {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .footer-col ul li a:hover {
        transform: translateX(0) translateY(-2px);
    }
    
    .footer-col ul li i {
        margin-right: 8px;
    }
    
    /* Newsletter mobile */
    .newsletter-form {
        flex-direction: column;
        max-width: 280px;
        margin: 15px auto 0;
    }
    
    .newsletter-form button {
        width: 100%;
        padding: 10px 20px;
    }
    
    .newsletter-form input {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    /* Redes Sociais mobile */
    .social-links {
        gap: 12px;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    /* Copyright mobile */
    .footer-copyright {
        font-size: 11px;
        padding-top: 20px;
        margin-top: 20px;
    }
}

/* Mobile pequeno (até 480px) */
@media (max-width: 480px) {
    .site-footer {
        padding: 30px 0 !important;
    }
    
    .footer-container {
        padding: 0 12px;
    }
    
    .footer-grid {
        gap: 25px;
    }
    
    .footer-col h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .footer-col ul li {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .newsletter-form {
        max-width: 100%;
    }
    
    .newsletter-form input {
        padding: 8px 10px;
    }
    
    .newsletter-form button {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .footer-copyright {
        font-size: 10px;
    }
}

/* ============================================
   ANIMAÇÕES
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover nas colunas */
.footer-col {
    transition: transform 0.3s ease;
}

.footer-col:hover {
    transform: translateY(-3px);
}

/* Links com ícones */
.footer-col ul li a i {
    transition: transform 0.3s ease;
}

.footer-col ul li a:hover i {
    transform: translateX(3px);
}

/* Contato cards */
.contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.contact-card i {
    width: 30px;
    font-size: 18px;
    text-align: center;
}

/* ============================================
   UTILITÁRIOS
   ============================================ */

.text-center {
    text-align: center;
}

.mt-2 { margin-top: 10px; }
.mt-3 { margin-top: 15px; }
.mt-4 { margin-top: 20px; }
.mb-2 { margin-bottom: 10px; }
.mb-3 { margin-bottom: 15px; }
.mb-4 { margin-bottom: 20px; }

