html {
    scroll-behavior: smooth;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, sans-serif; }
        body { background-color: #f8efde; color: #333; }

/* --- NAVBAR (PC) --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #000;
    position: relative;
    height: 70px; /* Altura fixa para manter tudo alinhado */
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Ícones no PC ficam na direita como já estavam */
.social-icons {
    display: flex;
    align-items: center;
}

.social-icons img {
    width: 25px !important; /* Tamanho pequeno para não quebrar a barra */
    height: auto;
    margin-left: 15px;
}

/* --- RESPONSIVIDADE (CELULAR) --- */
@media (max-width: 768px) {
    .menu-icon { 
        display: block; 
        color: #fff;
        order: 3; /* Hambúrguer na direita */
    }

    .brand-container {
        order: 1; /* Logo na esquerda */
    }

    /* O PULO DO GATO: Centralizar os ícones no meio da barra */
    .social-icons {
        display: flex !important;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        order: 2; /* Visualmente no meio */
    }

    .social-icons img {
        width: 30px !important;
        margin: 0 5px !important; /* Espaço entre o Insta e Face */
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #222;
        padding: 20px;
        z-index: 10;
    }

    #menu-toggle:checked ~ .nav-links {
        display: flex;
    }

    .brand-name {
        font-size: 1rem; /* Ajuste para não apertar os ícones */
        color:white;
    }
}

        /* LOGO PEQUENO NA NAVBAR */
        .brand-container {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .logo-navbar {
            height: 35px; /* Tamanho pequeno para a barra */
            width: auto;
        }
        .brand-name {
            font-weight: bold;
            font-size: 1.2rem;
            color:white;
        }

        .nav-links { display: flex; list-style: none; gap: 20px; }
        .nav-links a { color: #fff; text-decoration: none; font-weight: bold; font-size: 0.9rem; }
        .social-icons img { width: 20px; margin-left: 10px; }
        
        #menu-toggle { display: none; }
        .menu-icon { display: none; cursor: pointer; font-size: 1.8rem; }

        /* LOGO GRANDE ACIMA DAS FOTOS */
        .logo-hero {
            width: 100%;
            text-align: center;
            padding: 40px 20px 10px 20px;
        }
        .logo-principal {
            max-width: 220px;
            height: auto;
        }

        /* Container das Lojas */
        .container {
            max-width: 1200px;
            margin: 20px auto 6px auto;
            padding: 20px;
            display: flex;
            flex-wrap: wrap;
            gap: 25px;
            justify-content: center;
        }

        .loja-card {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            width: calc(33.333% - 25px);
            min-width: 300px;
            padding: 20px;
            text-align: center;
            display: flex;
            flex-direction: column;
            border: 1px solid #eee;
        }

        .loja-card img.fachada {
            width: 100%;
            height: 220px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 15px;
        }

        h3 { margin-bottom: 5px; color: #d32f2f; font-size: 1.3rem; }
        .endereco { font-size: 0.9rem; color: #666; margin-bottom: 10px; }

        .btn-pdf {
            display: inline-block;
            margin-top: auto;
            padding: 15px;
            background: #d32f2f;
            color: #fff;
            text-decoration: none;
            border-radius: 6px;
            font-weight: bold;
            transition: 0.3s;
        }
        .btn-pdf:hover { background: #b71c1c; transform: scale(1.02); }

        .link-mapa {
            display: block;
            margin-bottom: 15px;
            font-size: 0.85rem;
            color: #007bff;
            text-decoration: none;
        }

        /* Responsividade */
        @media (max-width: 768px) {
            .menu-icon { display: block; }
            .nav-links {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 58px;
                left: 0;
                width: 100%;
                background: #222;
                padding: 20px;
                border-top: 1px solid #444;
            }
            #menu-toggle:checked ~ .nav-links { display: flex; }
            .loja-card { width: 100%; }
            .logo-principal { max-width: 160px; }
            .social-icons { display: none; } /* Esconde ícones soltos no mobile para limpar o topo */
        }

        .social-icons img {
            width: 40px;  /* Ajuste este valor para o tamanho que desejar */
            height: auto; /* Mantém a proporção da imagem */
            margin: 0 10px; /* Cria um espacinho entre os ícones */
            transition: transform 0.3s; /* Opcional: efeito suave ao passar o mouse */
        }

        .social-icons img:hover {
            transform: scale(1.1); /* Opcional: o ícone cresce um pouquinho ao passar o mouse */
        }

        .btn-mapa {
            display: inline-block;
            margin-bottom: 10px;
            padding: 12px;
            background: #2e7d32; /* Verde para identificar mapa/gps */
            color: #fff;
            text-decoration: none;
            border-radius: 6px;
            font-weight: bold;
            font-size: 0.9rem;
            transition: 0.3s;
        }

        .btn-mapa:hover {
            background: #1b5e20;
            transform: scale(1.02);
        }


/* Seção Nossa História */
.secao-historia {
    background-color: #222; /* Fundo escuro para destacar o texto */
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 4px solid #d32f2f; /* Linha vermelha para combinar com os botões */
}

.historia-container {
    max-width: 800px;
    margin: 0 auto;
    max-width: 90% !important; /* Aqui ele passa a ocupar 90% da largura da tela */
    margin: 0 auto;
    text-align: center; /* Mantém o alinhamento reto nas laterais */
}

.historia-container h2 {
    font-size: 1.5rem;
    color: #d32f2f;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.historia-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #ddd;
    text-align: justify; /* Mantém o alinhamento que você gosta */
}

.destaque-pastel {
    background: #d32f2f;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    display: inline-block;
    margin: 10px 0;
    border-radius: 4px;
}

.hashtag {
    display: block;
    color: #ffc107; /* Amarelo para a hashtag se destacar */
    font-weight: bold;
    margin-top: 10px;
}

.logo-historia {
    max-width: 250px; /* Tamanho do logo dentro da história */
    height: auto;
    margin-bottom: 20px; /* Espaço entre o logo e o título "Nossa História" */
}

@media (max-width: 768px) {
    .logo-historia {
        max-width: 180px; /* Um pouco menor no celular para caber melhor */
    }
}

.tit_card {
    text-align: center;
}

/* Seção de Contato */
.secao-contato {
    background-color: #1a1a1a;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    border-top: 4px solid #d32f2f;
}

.contato-container {
    max-width: 90%;
    margin: 0 auto;
}

.contato-item {
    margin-bottom: 30px;
}

.contato-item h4 {
    color: #d32f2f;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.contato-item p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Botão de Telefone chamativo */
.btn-telefone {
    display: inline-block;
    background: #d32f2f;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-telefone:hover {
    background: #b71c1c;
    transform: translateY(-3px);
}

.rodape-final {
    background: #000;
    padding: 20px;
    font-size: 0.8rem;
    color: #666;
}

.aviso-cardapio {
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
    margin-top: 12px;
    line-height: 1.2;
}