.footer {
    background: #fff;
    color: #000;
    width: 100%;
    overflow-x: hidden;
}

.footer .container {
    padding: 0 15px;
    margin: 0 auto;
    box-sizing: border-box;
}

.footer .lineNewsletter {
    width: 100%;
    background-color: #fba61a;
    padding: 30px 0;
    color: #000;
}
.footer .lineNewsletter .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.footer .lineNewsletter .left {
    display: flex;
    align-items: center;
    gap: 15px;
}
.footer .lineNewsletter .left em {
    color: #7c40d8;
    font-size: 32px;
}
.footer .lineNewsletter .left span {
    font-size: 24px;
    line-height: 1.2;
    max-width: 350px;
}
.footer .lineNewsletter .arrow {
    font-size: 20px;
}
.footer .lineNewsletter .formNews {
    display: flex;
    gap: 10px;
    flex-grow: 1;
    /* max-width: 500px; */
    justify-content: flex-end;
}
.footer .lineNewsletter .formNews input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 80px;
    border: none;
    background-color: #fff;
    color: #444;
    outline: none;
}
/* Foco visível no campo de e-mail (o tema remove o contorno padrão). */
.footer .lineNewsletter .formNews input:focus-visible {
    outline: 2px solid #7428c1; /* cor do botão Enviar: contraste 3,9:1 sobre o laranja */
    outline-offset: 2px;
}
.footer .lineNewsletter .formNews .btn {
    /* padding: 12px 25px;
    border: none;
    background-color: #7c40d8;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s; */
    border-radius: 80px;
    max-width: 200px;
}
.footer .lineNewsletter .formNews .btn:hover {
    /* background-color: #5b2fa1; */
}

.footer .linePayments {
    width: 100%;
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}
.footer .linePayments .container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer .linePayments .left {
    font-weight: 800;
    font-size: 18px;
    color: #000;
    white-space: nowrap;
    margin-right: 20px;
}
.footer .linePayments .lista {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.footer .linePayments .lista img {
    height: 30px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* --- Seção Menu Categorias --- */
.footer .lineCategories {
    width: 100%;
    padding: 20px 0;
    border-bottom: 2px solid #f1f1f1;
}
.footer .lineCategories .menu-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    color: #000;
    font-weight: 600;
    font-size: 15px;
}
.footer .lineCategories a {
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}
.footer .lineCategories a:hover {
    color: #e6a430;
}

#rodape-bloco {
    padding: 40px 0;
}
.footer-itens {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-1 .bloco {
    display: flex;
    align-items: center;
    color: #43454b;
    line-height: 1.6;
}
.footer-1 img {
    max-width: 120px;
    margin-right: 15px;
}

.footer-2 .titulo-rodape {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-2 .ulista-rodape {
    color: #43454b;
    font-size: 14px;
    line-height: 1.6;
    padding-left: 28px;
}
/* Endereço com link para o Google Maps: sublinhado discreto para indicar que abre o mapa. */
.footer-2 .ulista-rodape a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(67, 69, 75, 0.4);
    text-underline-offset: 3px;
}
.footer-2 .ulista-rodape a:hover,
.footer-2 .ulista-rodape a:focus-visible {
    color: #000;
    text-decoration-color: currentColor;
}

.footer-3 .titulo-rodape {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
}
.footer-3 .redes {
    display: flex;
    gap: 15px;
}
.footer-3 .redes a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.2s;
}
.footer-3 .redes a:hover {
    transform: scale(1.1);
    color: #e6a430;
}

#copyright {
    width: 100%;
    padding: 20px 0;
    background-color: #c8c8c8;
    font-size: 13px;
    text-align: center;
    color: #333;
    font-weight: bold;
}


@media (max-width: 992px) {
    .footer .lineNewsletter .container {
        flex-direction: column;
        text-align: center;
    }
    .footer .lineNewsletter .left {
        flex-direction: column;
        justify-content: center;
    }
    .footer .lineNewsletter .arrow {
        display: none;
    }
    .footer .lineNewsletter .formNews {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer .linePayments .container {
        flex-direction: column;
        gap: 15px;
    }
    .footer .linePayments .left {
        margin-right: 0;
        margin-bottom: 5px;
    }
    .footer .linePayments .lista {
        justify-content: center;
    }
    .footer .linePayments .lista img {
        height: 25px; 
    }

    .footer .lineCategories .menu-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-itens {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .footer-1 .bloco {
        flex-direction: column;
    }
    .footer-1 img {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .footer-2 .titulo-rodape {
        justify-content: center;
    }
    .footer-2 .ulista-rodape {
        padding-left: 0;
    }

    .footer-3 .titulo-rodape {
        justify-content: center;
    }
    .footer-3 .redes {
        justify-content: center;
    }

    .footer .lineNewsletter .formNews input,
    .footer .lineNewsletter .formNews .btn {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 550px) {
    .footer .lineNewsletter .formNews {
        flex-direction: column;
    }
    .footer .lineNewsletter .formNews .btn{
        max-width: 100%;
    }
}

/* Newsletter, acabamento (03/11/2026): campo e botão numa só barra branca, ícone em círculo, botão de 48 px.
   Fica no fim do arquivo para valer sobre as regras de 992/768/550 px acima; o HTML não muda (PHP e Next iguais). */
.footer .lineNewsletter {
    padding: 40px 0;
}
.footer .lineNewsletter .left {
    gap: 16px;
}
.footer .lineNewsletter .left em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #fff;
    color: #7428c1;
    font-size: 26px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.footer .lineNewsletter .left em::before {
    margin: 0;
}
.footer .lineNewsletter .left span {
    font-size: 24px;
    line-height: 1.25;
}
.footer .lineNewsletter .left span b {
    font-weight: 700;
}
.footer .lineNewsletter .arrow {
    opacity: 0.6;
}
.footer .lineNewsletter .formNews,
.footer .lineNewsletter .formNews:is(form) {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex-grow: 1;
    max-width: 520px;
    padding: 6px;
    border-radius: 999px;
    background-color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
}
.footer .lineNewsletter .formNews:focus-within {
    outline: 2px solid #7428c1;
    outline-offset: 3px;
}
.footer .lineNewsletter .formNews input,
.footer .lineNewsletter .formNews input:focus-visible {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 48px;
    margin: 0;
    padding: 0 8px 0 18px;
    border-radius: 999px;
    background: transparent;
    font-size: 16px;
    outline: none;
}
.footer .lineNewsletter .formNews input::placeholder {
    color: #6b6b6b;
}
.footer .lineNewsletter .formNews .btn {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    height: 48px;
    margin: 0;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background-color: #7428c1;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 48px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.footer .lineNewsletter .formNews .btn:hover {
    background-color: #5c1f9b;
}
.footer .lineNewsletter .formNews .btn:focus-visible {
    outline: 2px solid #1d0b33;
    outline-offset: 2px;
}
@media (max-width: 992px) {
    .footer .lineNewsletter .formNews {
        width: 100%;
    }
}
@media (max-width: 550px) {
    .footer .lineNewsletter {
        padding: 32px 0;
    }
    .footer .lineNewsletter .left span {
        font-size: 20px;
    }
    .footer .lineNewsletter .formNews .btn {
        padding: 0 20px;
    }
}

/* Bloco do rodape centralizado no desktop (03/11/2026): as colunas ocupam a largura do conteudo e o grupo fica no centro da pagina, alinhado ao meio na vertical. */
@media (min-width: 769px) {
    .footer-itens {
        justify-content: center;
        align-items: center;
        gap: 32px 64px;
    }
    .footer-col {
        flex: 0 1 auto;
    }
    .footer-1 {
        max-width: 460px;
    }
}
