/**
 * Footer Refatorado - Ferfa Gás
 * Cores da marca: #002D72 (azul) e #E30613 (vermelho)
 * 
 * @author Roka Digital - https://rokadigital.com.br/contato/
 */

/* Footer Principal */
.site-footer {
    background: #B2B2B2;
    color: white;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(227, 6, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-main {
    position: relative;
    padding: 60px 0 30px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Layout das 3 Colunas com Flexbox */
.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col-1 {
    flex: 1.2;
    max-width: 400px;
}

.footer-col-2 {
    flex: 1.5;
    max-width: 450px;
}

.footer-col-3 {
    flex: 0.8;
    max-width: 300px;
    text-align: right;
}

/* Logo e Descrição */
.footer-logo {
    margin-bottom: 0;
}

.footer-logo img {
    max-height: 120px;
    width: auto;
    filter: brightness(1.2) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    position: relative;
}

.footer-logo img::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: radial-gradient(circle, rgba(211, 49, 0, 0.2) 0%, transparent 70%);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.footer-logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.3) drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}

.footer-logo img:hover::before {
    opacity: 1;
}

.footer-logo h2 {
    font-size: 2rem;
    margin: 0;
    color: white;
    font-weight: 700;
}

.footer-desc {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    margin: 8px 0 0 0;
    max-width: 350px;
}

/* Títulos das Seções */
.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-title i {
    color: #E30613;
    font-size: 1rem;
}

.footer-col-3 .footer-title {
    justify-content: flex-end;
}

.location-title {
    margin-top: 35px;
}

/* Lista de Contatos */
.contact-list {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    flex-shrink: 0;
}

.phone-icon {
    background: #D33100;
}

.whatsapp-icon {
    background: #25D366;
}

.contact-details {
    flex: 1;
}

.contact-type {
    font-size: 10px;
    text-transform: uppercase;
    color: #E30613;
    margin-bottom: 3px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: block;
}

.contact-link {
    font-size: 15px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #E30613;
}

/* Informações de Localização */
.location-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    transition: transform 0.3s ease;
    margin-bottom: 15px;
}

.location-info:hover {
    transform: translateX(5px);
}

.location-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #E30613;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    flex-shrink: 0;
    margin-top: 2px;
}

.location-details {
    flex: 1;
}

.location-address {
    font-size: 15px;
    color: white;
    line-height: 1.4;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Redes Sociais */
.social-links {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    color: white;
}

.social-link.whatsapp {
    background: #25D366;
}

.social-link.whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
}

.social-link.facebook {
    background: #1877F2;
}

.social-link.facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

/* Footer Bottom */
.footer-bottom {
    background: #000000;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 20px;
}

.footer-copyright {
    text-align: center;
}

.footer-privacy {
    text-align: left;
}

.footer-credits {
    text-align: right;
}

.footer-copyright p,
.footer-credits p,
.footer-privacy p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.dev-link {
    color: #25D366;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.dev-link:hover {
    color: #20ba5a;
    text-decoration: underline;
}

.privacy-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #25D366;
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    .footer-bottom-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }
    
    .footer-privacy,
    .footer-copyright,
    .footer-credits {
        text-align: center;
    }
    
    .footer-desc {
        font-size: 0.95rem;
        line-height: 1.4;
        margin: 6px 0 0 0;
    }
}

@media (max-width: 992px) {
    .footer-row {
        flex-direction: column;
        gap: 35px;
    }
    
    .footer-col {
        max-width: 100%;
        text-align: center;
        min-width: auto;
    }
    
    .footer-col-1,
    .footer-col-2,
    .footer-col-3 {
        flex: none;
        max-width: 100%;
    }
    
    .footer-col-3 {
        text-align: center;
    }
    
    .footer-col-3 .footer-title {
        justify-content: center;
    }
    
    .social-links {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .location-title {
        margin-top: 25px;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 45px 0 25px;
    }
    
    .footer-row {
        gap: 25px;
    }
    
    .footer-col {
        min-width: 100%;
        padding: 0 10px;
    }
    
    .footer-title {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .footer-col-2 .footer-title {
        justify-content: center;
    }
    
    .contact-list {
        margin-bottom: 20px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 15px;
        gap: 8px;
    }
    
    .location-info {
        justify-content: center;
        text-align: center;
        gap: 6px;
    }
    
    .location-title {
        margin-top: 20px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    
    .footer-bottom-row {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .footer-desc {
        font-size: 0.9rem;
        line-height: 1.4;
        margin: 5px 0 0 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .footer-main {
        padding: 40px 0 20px;
    }
    
    .footer-row {
        gap: 20px;
    }
    
    .footer-col {
        padding: 0 5px;
    }
    
    .footer-logo h2 {
        font-size: 1.8rem;
    }
    
    .footer-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .contact-item {
        margin-bottom: 10px;
    }
    
    .contact-type {
        font-size: 13px;
    }
    
    .contact-link {
        font-size: 18px;
    }
    
    .location-address {
        font-size: 18px;
    }
    
    .location-title {
        margin-top: 15px;
    }
    
    .social-links {
        gap: 18px;
        margin-bottom: 30px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
    
    .footer-bottom {
        padding: 15px 0;
    }
    
    .footer-copyright p,
    .footer-credits p,
    .footer-bottom p {
        font-size: 16px;
    }
    
    .footer-desc {
        font-size: 0.85rem;
        line-height: 1.4;
        margin: 4px 0 0 0;
    }
}

