* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff; /* Fundo geral claro */
    color: #1a1a1a;          /* Texto padrão escuro */
}

@font-face {
    font-family: 'GraffiThink';
    src: url('GraffiThink.ttf') format('truetype');
}

/* Cabeçalho Claro */
.header {
    background-color: #ffffff; /* Fundo do cabeçalho branco */
    color: #1a1a1a;
    padding: 15px 40px 20px;
    border-bottom: 1px solid #e5e5e5; /* Linha sutil para delimitar o topo */
    
    /* Configurações para fixar o cabeçalho ao rolar a página */
    position: sticky;
    top: 0;
    z-index: 1000; /* Garante que ele fique sobreposto aos produtos/banners */
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Estilo do Botão do Ícone (incluindo o SVG de busca) */
.icon-btn {
    background: none;
    border: none;
    color: #1a1a1a; /* Define a cor do ícone SVG para escuro */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: opacity 0.2s ease;
}

.icon-btn:hover {
    opacity: 0.6;
}

.logo {
    max-height: 45px;
    display: block;
}

.header-center a {
    display: inline-block;
    text-decoration: none;
    transform: translateX(20px);
    
}

.header-nav {
    display: flex;
    justify-content: center; /* Centraliza perfeitamente no meio do cabeçalho */
    align-items: center;
    gap: 40px;               /* Espaço uniforme entre PRODUTOS e CONTATO */
    width: 100%;
    margin-top: 15px;
    padding: 0;
}

.header-nav a {
    color: #1a1a1a; 
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-align: center;
}

.header-nav a:hover {
    text-decoration: underline;
}

/* Container Principal do Banner */
.banner-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: #f4f4f4;
}

/* Slides e Imagem */
.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: flex-end; /* Empurra o conteúdo para a parte INFERIOR */
    justify-content: center;
    padding-bottom: 30px; /* Distância da borda inferior da imagem */
}

.slide.active {
    opacity: 1;
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Conteúdo do Banner (Título, Descrição e Botão) */
.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: rgb(0, 0, 0);
    font-family: 'GraffiThink', sans-serif; /* <-- FONTE ATUALIZADA AQUI */
    font-size: 25px;
    -webkit-text-stroke: 0.5px #7e7979;
}

.slide-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(14, 0, 0, 0.5); /* Sombra leve para garantir leitura caso a imagem seja clara */
}

.slide-content p {
    font-size: 15px;
    margin-bottom: 15px;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.slider-arrow:hover {
    opacity: 0.5;
}

.slide-content h2,
.slide-content p {
    color: inherit; /* Herda a cor exata do .slide-content */
}

/* Área Externa para as Bolinhas (Fundo Branco/Claro) */
.slider-controls {
    width: 100%;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff; /* Área clara fora do banner */
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid #1a1a1a;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #1a1a1a;
}

/* ==========================================
   SEÇÃO DO CARROSSEL DE PRODUTOS EM DESTAQUE
   ========================================== */

/* Container Principal */
.featured-products-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 10px;
    position: relative;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    gap: 12px; /* Gap menor no mobile */
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 16px; /* Espaçamento padrão entre cards */
    transition: transform 0.4s ease-in-out;
}

/* -------------------------------------------------------------
   PADRÃO: CELULAR / TELA PEQUENA (Mostra 2 cards por tela)
   ------------------------------------------------------------- */
.product-card {
    /* Seus estilos atuais */
    flex: 0 0 calc((100% - 16px) / 2); 
    max-width: calc((100% - 16px) / 2); 
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%; 

    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px; /* Opcional: arredonda levemente as bordas se preferir */
}

.product-card:hover {
    /* Leve expansão (102% do tamanho original) e sobe 5px */
    transform: translateY(-5px) scale(1.02); 
    
    /* Cria uma sombra macia embaixo do card */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); 
}

.product-image-container {
display: block; /* Adicione esta linha */
    width: 100%;
    aspect-ratio: 3 / 4;
    background-color: #f7f7f7;
    margin-bottom: 12px;
    overflow: hidden;
    position: relative;
}

.product-image {
position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Adiciona transição suave de opacidade e zoom */
    transition: opacity 0.4s ease, transform 0.4s ease;}

/* Imagem da frente (Capa) */
.product-image.front-image {
    opacity: 1;
    z-index: 2;
}

/* Imagem de trás (Costas) */
.product-image.back-image {
    opacity: 0;
    z-index: 1;
}

/* Troca de foto e efeito de zoom ao passar o mouse */
.product-image-container:hover .product-image.front-image {
    opacity: 0; /* Esconde a frente */
}

.product-image-container:hover .product-image.back-image {
    opacity: 1; /* Revela as costas */
}

.product-image-container:hover .product-image {
    transform: scale(1.05); /* Aplica o zoom na foto que estiver visível */
}

.product-title {
    font-size: 13px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    /* Evita que títulos longos quebrem o layout no celular */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
}

.product-price {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

/* Setas */
.carousel-btn {
    background: transparent;
    border: none;
    font-size: 22px;
    color: #000;
    cursor: pointer;
    padding: 5px;
    transform: translateY(-20px);
}

/* Paginação (Bolinhas) */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid #000;
    background-color: transparent;
    cursor: pointer;
    padding: 0;
}

.dot.active {
    background-color: #000;
}

/* -------------------------------------------------------------
   DESKTOP / TELA GRANDE (Acima de 768px: Mostra 4 cards)
   ------------------------------------------------------------- */
@media (min-width: 768px) {
    .featured-products-container {
        padding: 40px 20px;
    }

    .carousel-wrapper {
        gap: 20px;
    }

    .carousel-track {
        gap: 24px;
    }

    .product-card {
        /* Exibe 4 cards: 100% / 4 descontando 3 gaps de 24px */
        flex: 0 0 calc((100% - (24px * 3)) / 4);
    }

    .product-title {
        font-size: 14px;
        white-space: normal;
    }

    .product-price {
        font-size: 16px;
    }

    .carousel-btn {
        font-size: 28px;
        transform: translateY(-30px);
    }
}

/* ==========================================================================
   ESTILOS DA JANELA MODAL (POP-UP DO PRODUTO)
   ========================================================================== */

/* 1. Fundo escuro cobrindo a tela inteira */
.modal-overlay {
    display: none; /* Escondido por padrão */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.65); /* Fundo semi-transparente */
    z-index: 9999; /* Garante que fique acima de TUDO na página */
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

/* 2. Classe ativada via JavaScript para MOSTRAR o modal */
.modal-overlay.active {
    display: flex;
}

/* 3. O Quadradinho/Caixa Central da Modal */
.modal-content {
    background-color: #ffffff;
    width: 100%;
    max-width: 750px; /* Largura máxima da caixa */
    max-height: 90vh; /* Não ultrapassa a altura da tela */
    border-radius: 8px;
    position: relative;
    padding: 30px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow-y: auto; /* Permite rolagem interna se a tela for muito pequena */
}

/* 4. Botão Fechar (X no canto) */
.close-btn {
    position: absolute;
    top: 12px;
    right: 18px;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    line-height: 1;
    z-index: 10;
}

.close-btn:hover {
    color: #000;
}

/* 5. Corpo da Modal em 2 Colunas */
.modal-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Coluna da Imagem */
.modal-image-col {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f7f7f7;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.modal-image-col img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: contain;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 5;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* Coluna das Informações (Título, Preço, Descrição, Botão) */
.modal-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info-col h2 {
    font-size: 22px;
    margin: 0 0 10px 0;
    color: #111;
}

.modal-price {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0 0 15px 0;
}

.modal-description {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

/* Botão do WhatsApp */
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    text-align: center;
}

.whatsapp-button:hover {
    background-color: #1EBE5D;
}

/* 6. Layout para Telas Maiores (Desktop / Tablet) -> Lado a Lado */
@media (min-width: 600px) {
    .modal-body {
        flex-direction: row; /* Coloca Imagem na esquerda e Info na direita */
    }
}

/* Card de Produto Esgotado */
.product-card.sold-out {
    position: relative;
    opacity: 0.55; /* Apaga o card suavemente sem alterar a estrutura */
    pointer-events: none; /* Trava cliques e troca de imagem */
    cursor: not-allowed;
}

/* Impede que o card suba ou aumente de tamanho ao passar o mouse */
.product-card.sold-out:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Badge simples sobre a foto (sem overlay que cubra a área) */
.product-card.sold-out .product-image-container::before {
    content: "ESGOTADO";
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: #000000;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 3px;
    z-index: 10;
}

.product-price .old-price {
    color: #888;
    font-size: 0.9em;
    margin-right: 8px;
}

.product-price .new-price {
    color: #e53935; /* Vermelho de destaque (ou a cor de sua preferência) */
    font-weight: bold;
}

/* ==========================================================================
   ESTILOS DO RODAPÉ (FOOTER MINIMALISTA)
   ========================================================================== */

/* Container Principal do Rodapé */
.site-footer {
    width: 100%;
    background-color: inherit; /* Herda a mesma cor de fundo do restante do site */
    padding: 30px 0 15px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

/* Container dos Ícones (Divide a tela igualmente em 3 colunas de 1/3) */
.footer-social-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px; /* Limita a largura para manter os ícones próximos e elegantes no PC */
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Cada item ocupa exatamente 1/3 da largura do container */
.social-icon {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #1a1a1a; /* Cor preta/grafite discreta */
    transition: color 0.2s ease, transform 0.2s ease;
}

/* Tamanho do Ícone: Pequeno, delicado e visível */
.social-icon i {
    font-size: 20px; /* Ajustado para um tamanho elegante */
}

/* Efeito suave ao passar o mouse */
.social-icon:hover {
    color: #666666;
    transform: translateY(-2px);
}

/* Barra de Direitos Autorais */
.footer-bottom-bar {
    max-width: 600px;
    margin: 20px auto 0 auto;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5; /* Linhazinha fina e discreta */
    text-align: center;
}

.footer-bottom-bar p {
    margin: 0;
    font-size: 11px; /* Texto pequeno e minimalista */
    color: #888888;
    letter-spacing: 0.5px;
    font-weight: 300;
}

/* Ajustes Finais para Telas Muito Pequenas (Celulares) */
@media (max-width: 480px) {
    .site-footer {
        padding: 24px 0 12px 0;
    }
    
    .social-icon i {
        font-size: 18px; /* Reduz levemente no celular para não carregar visualmente */
    }

    .footer-bottom-bar {
        margin-top: 16px;
        padding-top: 12px;
    }
}