/* Reset básico */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, sans-serif; }
body { background-color: #f9f9f9; color: #333; line-height: 1.4; }
.container { width: 92%; max-width: 1200px; margin: auto; padding: 15px 0; }
.container-topo { width: 92%; max-width: 1200px; margin: auto; padding: 10px 0; }

/* Cabeçalho */
header { background: #fff; text-align: center; padding: 5px 0; border-bottom: 4px solid #009b3a; }
.logo { max-width: 220px; display: block; margin: 0 auto 3px; }
.slogan-texto { font-size: 1rem; color: #002776; font-weight: bold; }
.destaque-slogan { color: #009b3a; font-size: 1.1rem; }
.bola-slogan { width: 12px; height: 12px; vertical-align: middle; margin-left: 2px; }

/* Alerta de Feriado */
.alerta-topo { background: #ffcc00; color: #000; text-align: center; padding: 10px; font-weight: bold; font-size: 1rem; line-height: 1.5; }

/* Bloco Hero (Entrada) */
.hero { background: #002776; color: #fff; text-align: center; padding: 25px 15px; }
.hero h1 { font-size: 1.6rem; margin-bottom: 8px; }
.hero p { font-size: 1.05rem; color: #ffcc00; font-weight: bold; }

/* Botões de Contato */
.botoes-contato { margin-top: 15px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-whatsapp, .btn-tel { 
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    min-width: 230px; padding: 10px 15px; border-radius: 6px; text-decoration: none; font-weight: bold; 
    box-shadow: 0 3px 5px rgba(0,0,0,0.15); transition: transform 0.2s;
}
.btn-whatsapp:active, .btn-tel:active { transform: scale(0.98); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-tel { background: #fff; color: #002776; }
.btn-principal { font-size: 1.15rem; }
.btn-secundario { font-size: 0.85rem; font-weight: normal; opacity: 0.9; margin-top: 1px; }

/* Bloco de Promoções */
.promocoes { padding: 25px 0; text-align: center; }
.promocoes h2 { color: #002776; margin-bottom: 15px; font-size: 1.5rem; }
.grid-promocoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 15px; }
.card { 
    background: #fff; padding: 20px; border-radius: 8px; 
    box-shadow: 0 2px 6px rgba(0,0,0,0.05); border-top: 6px solid #ffcc00; 
    display: flex; flex-direction: column; justify-content: space-between; min-height: 200px;
}
.card-conteudo { margin-bottom: 15px; }

/* Estilização das 3 linhas das promoções */
.card h3 { color: #111; font-size: 1.25rem; margin-bottom: 6px; font-weight: bold; } /* Linha 1 Maior */
.txt-linha2 { color: #555; font-size: 0.95rem; margin-bottom: 4px; }                      /* Linha 2 Comum */
.txt-linha3 { color: #009b3a; font-size: 1rem; font-weight: bold; }                     /* Linha 3 Destaque */

.btn-orcamento { 
    background: #009b3a; color: #fff; font-weight: bold; text-decoration: none;
    padding: 10px; border-radius: 6px; display: block; text-align: center; transition: background 0.2s;
}
.btn-orcamento:hover { background: #007a2e; }

/* Galeria de Fotos */
.galeria { background: #fff; padding: 25px 0; text-align: center; border-top: 1px solid #eee; }
.galeria h2 { color: #002776; margin-bottom: 15px; font-size: 1.5rem; }
.grid-galeria { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.foto-item { overflow: hidden; border-radius: 6px; box-shadow: 0 2px 5px rgba(0,0,0,0.08); height: 200px; }
.foto-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; display: block; }
.foto-item img:hover { transform: scale(1.05); }

/* Informações da Loja */
.info-loja { background: #f9f9f9; padding: 25px 0; text-align: center; border-top: 1px solid #eee; }
.info-loja h2 { margin-bottom: 15px; font-size: 1.5rem; }
.link-titulo-mapa { color: #002776; text-decoration: none; border-bottom: 2px dashed #002776; }
.info-loja p { font-size: 1rem; margin-bottom: 6px; }
.endereco { margin-top: 10px; }
.pagamento { color: #009b3a; font-weight: bold; margin: 15px 0; }
.btn-mapa { 
    display: inline-block; background: #002776; color: #fff; font-weight: bold; 
    text-decoration: none; padding: 10px 30px; border-radius: 6px; margin-top: 5px; box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Rodapé */
footer { background: #333; color: #fff; text-align: center; padding: 12px 0; font-size: 0.8rem; margin-top: 20px; }

/* Botão Fixo Zap */
.zap-flutuante { position: fixed; bottom: 15px; right: 15px; width: 55px; height: 55px; z-index: 100; }

/* Mobile */
@media (max-width: 600px) {
    .logo { max-width: 170px; }
    .slogan-texto { font-size: 0.9rem; }
    .destaque-slogan { font-size: 1rem; }
    .bola-slogan { width: 10px; height: 10px; }
    .hero h1 { font-size: 1.3rem; }
    .botoes-contato { flex-direction: column; align-items: center; gap: 8px; }
    .btn-whatsapp, .btn-tel { width: 100%; max-width: 290px; }
    .foto-item { height: 180px; }
}

/* Força a imagem a ter o tamanho e alinhamento de um emoji */
.emoji-custom {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
    margin-left: 2px;
    object-fit: contain; /* Garante que a imagem não distorça */
}

/* Estilos do Modal de Aviso Especial */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75); /* Fundo escuro elegante */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Fica acima de tudo, inclusive do botão do Zap */
    animation: fadeInModal 0.3s ease-out;
}

.modal-conteudo {
    position: relative;
    width: 90%;
    max-width: 500px; /* Largura máxima ideal para cartazes de aviso */
    background: transparent;
    text-align: center;
}

.modal-img-aviso {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px; /* Cantos arredondados modernos */
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-height: 80vh; /* Não deixa a imagem estourar a altura em telas pequenas */
    object-fit: contain;
}

.btn-fechar-modal {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    padding: 5px;
}

.btn-fechar-modal:hover {
    color: #ffcc00; /* Destaca em amarelo ao passar o mouse */
}

/* Animação suave de surgimento */
@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Ajuste fino para celulares bem pequenos */
@media (max-width: 400px) {
    .btn-fechar-modal {
        top: -40px;
        font-size: 30px;
    }
}