* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    background-color: #0d0d0d;
    color: #f2f2f2;
}


.cabecalho {
    width: 100%;
    background: #0f0f0f;
    position: fixed;
    z-index: 4;
}

.container-cabecalho {
    width: 100%;
    padding: 15px 20px;
    display: flex;
    align-items: center;
}

.logo {
    font-size: 38px;
    color: #ff0000;
    margin-left: 10px;
    font-family: "Fruktur", system-ui;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 2px;
}

.campo-pesquisa {
    flex: 0 0 520px;
    margin: 0 auto;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background-color: #1e1e1e;
    color: #fff;
}

.menu {
    display: flex;
    align-items: center;
    gap: 25px;

}

.menu-navegacao a {
    color: #fff;
    text-decoration: none;
    margin-right: 15px;
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;

}

.area-carrinho {
    position: relative;
    cursor: pointer;
    margin-right: 25px;
}

.contador-carrinho {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #ff3b3b;
    color: #fff;
    border-radius: 50%;
    padding: 4px 7px;
    font-size: 12px;
    font-weight: bold;
}

.banner-destaque {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carrossel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.ativo {
    opacity: 1;
}

.conteudo-banner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.45);
}

.conteudo-banner h2 {
    font-size: 48px;
    margin-bottom: 10px;
    font-family: "Fruktur", system-ui;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 2px;
    color: #fe0202;
}

.conteudo-banner p {
    font-size: 20px;
    color: #e0e0e0;
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
}

.secao-categoria {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
}

.container-sobre h2 {
    font-family: "Fruktur", system-ui;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 2px;
    color: #9f0000;
}

.container-sobre p {
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
}

.titulo-secao {
    font-size: 28px;
    margin-bottom: 30px;
   font-family: "Merienda", cursive;
  font-optical-sizing: auto;
  color: #f90000; ;
}

.menu-navegacao {
    display: flex;
    gap: 20px;
}

.menu-navegacao a {
    text-decoration: none;
    color: #f2f2f2;
    font-weight: bold;
    transition: color 0.2s;
}

.menu-navegacao a:hover {
    color: #00b4ff;
}

.grade-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.card-produto {
    background-color: #1a1a1a;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-produto:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 180, 255, 0.25);
}

.imagem-produto {
    width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 10px;
}

.card-produto h3 {
    font-size: 14px;
    min-height: 38px;
}

.preco-produto {
    font-size: 16px;
    color: #00ff99;
    margin: 8px 0;
}

.botao-adicionar {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(135deg, #00b4ff, #0077ff);
    color: #000;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.botao-adicionar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 180, 255, 0.4);
    opacity: 0.95;
}

.botao-finalizar {
    width: 100%;
    margin-top: 15px;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #00ff99, #00cc77);
    color: #000;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.botao-finalizar:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 255, 153, 0.4);
}

.painel-carrinho {
    position: fixed;
    right: 0;
    top: 0;
    width: 340px;
    height: 100%;
    background-color: #151515;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    z-index: 999;
}

.painel-carrinho.ativo {
    transform: translateX(0);
}

.lista-carrinho {
    list-style: none;
    margin-top: 20px;
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
}

.lista-carrinho li {
    background-color: #1f1f1f;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
}

.total-carrinho {
    font-size: 18px;
    margin-top: 15px;
    color: #00ff99;
    font-weight: bold;
}

.botao-remover {
    background-color: #ff3b3b;
    border: none;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    margin-left: 5px;
}

.botao-remover:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(255, 59, 59, 0.6);
    opacity: 0.9;
}


.secao-sobre {
    background-color: #111;
    padding: 80px 20px;
}

.container-sobre {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.container-sobre h2 {
    font-size: 36px;
    margin-bottom: 30px;
     color: #fe0202;
}

.container-sobre p {
    font-size: 18px;
    line-height: 1.7;
    color: #d0d0d0;
    margin-bottom: 20px;
}

.secao-contato {
    background-color: #0d0d0d;
    padding: 80px 20px;
}

.container-contato {
    max-width: 600px;
    margin: auto;
    text-align: center;
}

.container-contato h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #fe0202;
    font-family: "Fruktur", system-ui;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 2px;
}

.formulario-contato {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.formulario-contato input,
.formulario-contato textarea {
    padding: 14px;
    border-radius: 8px;
    border: none;
    background-color: #1e1e1e;
    color: #fff;
    font-size: 16px;
}

.formulario-contato textarea {
    resize: none;
    height: 140px;
}

.formulario-contato button {
    padding: 14px;
    border-radius: 8px;
    border: none;
    background-color: #00b4ff;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.formulario-contato button:hover {
    transform: scale(1.05);
}

.rodape {
    background-color: #121212;
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: #aaa;
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;

}
.rodape a{
    color: #aaa;
    text-decoration: none;
    cursor: pointer;

}

/*responsividade*/
@media (max-width: 1024px) {

    .campo-pesquisa {
        flex: 0 0 420px;
    }

    .titulo-secao {
        font-size: 24px;
    }

    .conteudo-banner h2 {
        font-size: 40px;
    }

    .conteudo-banner p {
        font-size: 18px;
    }

    .grade-produtos {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {

    .container-cabecalho {
        flex-wrap: wrap;
        gap: 15px;
    }

    .logo {
        font-size: 30px;
    }

    .campo-pesquisa {
        flex: 1 1 100%;
        margin: 0;
    }

    .menu-navegacao {
        width: 100%;
        justify-content: center;
    }

    .menu-navegacao a {
        font-size: 14px;
    }

    .area-carrinho {
        margin-left: auto;
    }

    .banner-destaque {
        height: 80vh;
    }

    .conteudo-banner h2 {
        font-size: 34px;
    }

    .conteudo-banner p {
        font-size: 16px;
    }

    .painel-carrinho {
        width: 85%;
        max-width: 360px;
    }
}

@media (max-width: 480px) {

    .logo {
        font-size: 26px;
    }

    .menu-navegacao {
        flex-direction: column;
        gap: 10px;
    }

    .campo-pesquisa {
        padding: 10px;
        font-size: 14px;
    }

    .conteudo-banner h2 {
        font-size: 26px;
    }

    .conteudo-banner p {
        font-size: 14px;
    }

    .titulo-secao {
        font-size: 22px;
        text-align: center;
    }

    .card-produto h3 {
        font-size: 13px;
    }

    .preco-produto {
        font-size: 14px;
    }

    .botao-adicionar {
        font-size: 13px;
        padding: 9px;
    }

    .painel-carrinho {
        width: 90%;
        max-width: 320px;
        padding: 15px;
    }
}
