/* ======================================
   RESET E BASE GERAL
====================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fdf9f5;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Espaço extra embaixo por causa do menu fixo no rodapé */
body {
    padding-bottom: 70px;
}

/* ======================================
   CABEÇALHO / MENU TOPO
====================================== */
.cabecalho {
    background: linear-gradient(90deg, #8B4513, #D4AF37);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.container-cabecalho {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.titulo-logo {
    color: #D4AF37;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.menu-navegacao {
    display: flex;
    gap: 25px;
    margin-left: auto;
}

.link-menu {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.link-menu:hover {
    color: #fff3cd;
}

/* ======================================
   BANNER PRINCIPAL
====================================== */
.banner {
    background: linear-gradient(rgba(139, 69, 19, 0.75), rgba(212, 175, 55, 0.75));
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    text-align: center;
}

.conteudo-banner {
    max-width: 700px;
    margin: 0 auto;
    color: white;
}

.conteudo-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff3cd;
}

.conteudo-banner p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.logo-banner {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: block;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45);
    animation: flotar 3s ease-in-out infinite;
}

@keyframes flotar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}


    background-color: #8B4513;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s ease, transform 0.2s ease;
}

.botao-banner:hover {
    background-color: #a05a2c;
    transform: translateY(-2px);
}

/* ======================================
   SEÇÃO DE PRODUTOS
====================================== */
.secao-produtos {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.titulo-secao {
    text-align: center;
    font-size: 2rem;
    color: #8B4513;
    margin-bottom: 40px;
    position: relative;
}

.titulo-secao::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #8B4513, #D4AF37);
    border-radius: 2px;
}

.grade-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* CARD DO PRODUTO */
.produto-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.produto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.btn-imagem {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.9);
    color: #8B4513;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
    z-index: 2;
}

.produto-card img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    background-color: #ffffff;
    padding: 15px;
}

.info-produto {
    padding: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.info-produto h3 {
    color: #8B4513;
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.info-produto p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.preco {
    color: #8B4513;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.preco-vista {
    font-size: 0.85rem;
    color: #D4AF37;
    font-weight: 600;
}

.botao-comprar {
    display: block;
    width: 100%;
    background-color: #8B4513;
    color: white;
    border: none;
    padding: 13px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.botao-comprar:hover {
    background-color: #a05a2c;
    transform: translateY(-2px);
}

/* ======================================
   SEÇÃO SOBRE / INFORMAÇÕES
====================================== */
.secao-informacoes {
    padding: 60px 20px;
    background-color: #fdf9f5;
}

.container-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-info {
    background-color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border-top: 4px solid #D4AF37;
    transition: transform 0.3s ease;
}

.card-info:hover {
    transform: translateY(-5px);
}

.card-info h3 {
    color: #8B4513;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-info ul {
    list-style: none;
    padding: 0;
    line-height: 2;
    color: #555;
}

.card-info p {
    color: #555;
    line-height: 1.7;
}

/* ======================================
   SEÇÃO CONTATO
====================================== */
.secao-contato {
    padding: 60px 20px;
    background-color: white;
}

.container-contato {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border-top: 4px solid #D4AF37;
    text-align: center;
}

.container-contato p {
    font-size: 1.05rem;
    color: #555;
    margin: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.container-contato i {
    color: #D4AF37;
    font-size: 1.1rem;
}

/* ======================================
   RODAPÉ
====================================== */
.rodape {
    background: linear-gradient(90deg, #8B4513, #D4AF37);
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 70px; /* Espaço para o menu fixo */
}

.rodape p {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* ======================================
   REDES SOCIAIS
====================================== */
.redes-sociais {
    text-align: center;
    margin-bottom: 20px;
}

.redes-sociais h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.botao-rede {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin: 0 6px;
    color: white;
    font-size: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.botao-rede.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.botao-rede.facebook {
    background-color: #3b5998;
}

.botao-rede:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    color: white;
}

/* ======================================
   MENU FIXO NO RODAPÉ
====================================== */
.menu-rodape {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 65px;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.12);
    border-top: 2px solid rgba(212, 175, 55, 0.3);
}

.item-menu-rodape {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #8B4513;
    font-size: 0.65rem;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    flex: 1;
}

.item-menu-rodape i {
    font-size: 1.25rem;
}

.item-menu-rodape:hover,
.item-menu-rodape.ativo {
    color: #D4AF37;
}

.item-menu-rodape.destaque-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    flex: none;
    margin-top: -18px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    font-size: 0.6rem;
}

.item-menu-rodape.destaque-whatsapp i {
    font-size: 1.5rem;
}

.item-menu-rodape.destaque-whatsapp:hover {
    color: white;
    transform: scale(1.05);
}

/* ======================================
   ROBÔ DE ATENDIMENTO
====================================== */
.botao-robo {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(90deg, #8B4513, #D4AF37);
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 999;
    transition: transform 0.3s ease;
}

.botao-robo:hover {
    transform: scale(1.1);
}

.container-robo {
    position: fixed;
    bottom: 145px;
    right: 20px;
    width: 340px;
    max-width: calc(100vw - 40px);
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 998;
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.4s ease;
}

.container-robo.aberto {
    transform: translateY(0);
    opacity: 1;
}

.cabecalho-robo {
    background: linear-gradient(90deg, #8B4513, #D4AF37);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cabecalho-robo h3 {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fechar-robo {
    background: transparent;
    color: white;
    font-size: 18px;
    padding: 5px;
    border: none;
    cursor: pointer;
}

.conteudo-robo {
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
    background-color: #fdf9f5;
}

.mensagem {
    margin-bottom: 12px;
    padding: 12px 15px;
    border-radius: 12px;
    max-width: 85%;
    line-height: 1.5;
    font-size: 0.9rem;
}

.mensagem.robo {
    background-color: #fff;
    border: 1px solid rgba(212, 175, 55, 0.25);
    margin-right: auto;
    border-bottom-left-radius: 4px;
    color: #333;
}

.mensagem.usuario {
    background: linear-gradient(90deg, #8B4513, #D4AF37);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.opcoes-robo {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.btn-opcao {
    background-color: white;
    border: 1px solid #D4AF37;
    color: #8B4513;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-opcao:hover {
    background-color: #fff3cd;
    transform: translateX(5px);
}

.rodape-robo {
    padding: 12px 15px;
    display: flex;
    gap: 10px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.rodape-robo input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-size: 0.9rem;
}

.rodape-robo input:focus {
    border-color: #D4AF37;
}

.btn-enviar {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: linear-gradient(90deg, #8B4513, #D4AF37);
    color: white;
    font-size: 16px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ======================================
   RESPONSIVIDADE
====================================== */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .grade-produtos {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

/* Celulares grandes e tablets pequenos (até 768px) */
@media (max-width: 768px) {
    /* Esconde menu do topo, usa menu do rodapé */
    .menu-navegacao {
        display: none;
    }

    .conteudo-banner h2 {
        font-size: 1.8rem;
    }

    .conteudo-banner p {
        font-size: 1rem;
    }

    .banner {
        padding: 60px 20px;
    }

    .grade-produtos {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .titulo-secao {
        font-size: 1.7rem;
    }

    .container-info {
        grid-template-columns: 1fr;
    }

    .botao-robo {
        bottom: 80px;
        right: 15px;
    }

    .container-robo {
        bottom: 140px;
        right: 10px;
        width: calc(100vw - 20px);
    }
}

/* Celulares pequenos (até 480px) */
@media (max-width: 480px) {
    .titulo-logo {
        font-size: 1.2rem;
    }

    .conteudo-banner h2 {
        font-size: 1.5rem;
    }

    .grade-produtos {
        grid-template-columns: 1fr;
    }

    .produto-card img {
        height: 200px;
    }

    .secao-produtos,
    .secao-informacoes,
    .secao-contato {
        padding: 40px 15px;
    }

    .titulo-secao {
        font-size: 1.5rem;
    }

    .item-menu-rodape span {
        font-size: 0.6rem;
    }
}
