/* =========================================
   FOOTER BASE (SEM ANIMAÇÃO)
   ========================================= */

.footer {
    background: #000;
    padding: 100px 20px;
    text-align: center;
}

/* =========================================
   TOP
   ========================================= */

.footer-top {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: block;
    margin: 0 auto 20px;
    width: 80px;
    transition: 0.4s;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-text {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 30px;
}

/* =========================================
   NEWSLETTER
   ========================================= */

.newsletter {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter input {
    flex: 1;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    background: #222;
    color: #fff;
    transition: 0.3s;
}

.newsletter input:focus {
    outline: none;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255,107,0,0.2);
}

.btn-send {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: var(--primary-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.btn-send i {
    font-size: 22px;
}

.btn-send:hover {
    transform: scale(1.1);
}

/* =========================================
   DIVISORES
   ========================================= */

.footer-divider,
.footer-bottom {
    width: 100%;
    height: 1px;
    background: #333;
    margin: 60px auto;
}

/* =========================================
   CONTENT (CENTRALIZADO)
   ========================================= */

.footer-content {
    display: flex;
    justify-content: center; /* 🔥 CENTRALIZA */
    align-items: flex-start;
    flex-wrap: wrap; /* 🔥 evita quebrar layout */
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    text-align: center;
}

.footer-col {
    flex: 1;
    min-width: 220px;
    color: #aaa;
    font-size: 13px;
}

/* garante alinhamento consistente */
.footer-col.center,
.footer-col.right {
    text-align: center;
}

/* =========================================
   LINKS
   ========================================= */

.footer-col a {
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 6px;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* =========================================
   TÍTULOS
   ========================================= */

.footer-col h3,
.footer-col h4 {
    color: #fff;
    margin-bottom: 15px;
}

/* =========================================
   SOCIAL
   ========================================= */

.social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social i {
    font-size: 24px;
    transition: 0.3s;
    cursor: pointer;
}

.social i:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

/* =========================================
   COPYRIGHT
   ========================================= */

.footer-copy {
    margin-top: 20px;
    font-size: 12px;
    color: #777;
}

/* =========================================
   PAGAMENTOS E SEGURANÇA
   ========================================= */

.payment-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    max-width: 220px; /* Trava a largura para forçar a quebra em 4 itens por linha igual à sua imagem */
    margin-left: auto;
    margin-right: auto;
}

/* Cria a caixinha branca para os ícones de cartão não sumirem no fundo preto */
.pay-icon {
    width: 45px;
    height: 30px;
    background: #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    transition: 0.3s;
}

.pay-icon:hover {
    transform: scale(1.1);
}

.pay-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Espaçamento entre os blocos */
.mt-space {
    margin-top: 35px;
}

.security-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Ajusta as imagens dos selos de segurança */
.seal-img {
    height: 40px; 
    object-fit: contain;
    transition: 0.3s;
}

.seal-img:hover {
    transform: scale(1.05);
}



/* =========================================
   RESPONSIVO
   ========================================= */

/* TABLET */
@media (max-width: 768px) {

    .footer {
        padding: 60px 20px;
    }

    .newsletter {
        flex-direction: column;
        width: 100%;
    }

    .btn-send {
        width: 100%;
        height: 50px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 35px;
    }

    .footer-col {
        width: 100%;
    }

    .footer-divider,
    .footer-bottom {
        width: 100%;
    }
}

/* MOBILE */
@media (max-width: 480px) {

    .footer {
        padding: 50px 15px;
    }

    .footer-text {
        font-size: 13px;
    }

    .newsletter input {
        padding: 14px;
        font-size: 14px;
    }

    .btn-send {
        height: 45px;
    }

    .footer-logo {
        width: 70px;
    }

    .social i {
        font-size: 22px;
    }
}