@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap");

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Lexend;
}

/* Compensação para header fixo */
body {
    padding-top: 140px; /* Ajuste conforme a altura do header */
}

/* Barra de navegação - Header fixo */
.barra-navegacao {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 2rem 2rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Seção de busca */
.secao-busca {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.secao-busca input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(217, 217, 217, 0.19);
    border-radius: 100px;
    width: 250px;
    height: 44px;
    font-size: 15px;
}

/* Links de navegação */
.links-navegacao {
    display: flex;
    gap: 1.5rem;
}

.links-navegacao a {
    text-decoration: none;
    color: #000000;
    padding: 0.8rem 1.2rem;
    font-size: 18px;
    font-weight: 200;
    letter-spacing: -0.36px;
    position: relative;
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.links-navegacao a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 123, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.links-navegacao a:hover::before {
    left: 100%;
}

.links-navegacao a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff0000, #b30000);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.links-navegacao a:hover::after {
    width: 80%;
}

.links-navegacao a:hover {
    background-color: rgba(255, 0, 0, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.15);
}

/* Seção do logo */
.secao-logo img {
    height: 70px;
}

/* Seção do usuário */
.secao-usuario {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.secao-usuario a {
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.secao-usuario a:hover {
    background-color: rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.secao-usuario img {
    transition: all 0.3s ease;
}

.secao-usuario a:hover img {
    transform: scale(1.1);
}

/* Carrossel de Banners */
#carrossel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#carrossel-banners {
    position: relative;
    width: 100%;
    height: auto;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.banner-slide.ativo {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: auto;
    display: block;
}

#indicadores-carrossel {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicador {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicador.ativo {
    background-color: rgba(255, 255, 255, 1);
}

.botao-navegacao {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10;
    border-radius: 50px;
}

.botao-navegacao:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

#botao-anterior {
    left: 20px;
}

#botao-proximo {
    right: 20px;
}

/* Faixa de Frete Grátis */
.faixa-frete-gratis {
    background-color: #000;
    color: #fff;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.conteudo-faixa-rolante {
    display: flex;
    animation: rolar-faixa 30s linear infinite;
    width: max-content;
}

.texto-frete {
    display: inline-block;
    padding-right: 100px;
    font-size: 14px;
    font-weight: 200;
    letter-spacing: 1px;
    flex-shrink: 0;
}

@keyframes rolar-faixa {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Menu Mobile */
.botao-menu-mobile {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.linha-menu {
    width: 100%;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease;
    transform-origin: center;
}

.botao-menu-mobile.ativo .linha-menu:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.botao-menu-mobile.ativo .linha-menu:nth-child(2) {
    opacity: 0;
}

.botao-menu-mobile.ativo .linha-menu:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu-mobile {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: #f8f9fa;
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.menu-mobile.ativo {
    left: 0;
}

.menu-mobile-conteudo {
    padding: 80px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-mobile-conteudo a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    font-weight: 300;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    transition: color 0.3s ease;
}

.menu-mobile-conteudo a:hover {
    color: #007bff;
}

.menu-mobile-conteudo a:last-child {
    border-bottom: none;
}

body.menu-aberto {
    overflow: hidden;
}

body.menu-aberto::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Responsividade */
@media (max-width: 1113px) {
    /* Ajuste do padding-top para mobile */
    body {
        padding-top: 100px !important;
    }
    
    .barra-navegacao {
        padding: 1rem;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    .links-navegacao {
        display: none;
    }

    .botao-menu-mobile {
        display: flex;
        order: 3;
        margin-left: 1rem;
    }

    .secao-logo {
        order: 1;
        flex: 1;
    }

    .secao-logo img {
        height: 60px;
    }

    .secao-usuario {
        order: 2;
        gap: 0.8rem;
        margin-right: 0.5rem;
    }

    .secao-usuario img {
        width: 24px;
        height: 24px;
    }

    /* Carrossel responsivo - MAIOR no mobile */
    #carrossel-container {
        height: 70vh;
        min-height: 500px;
    }
    
    #carrossel-banners {
        height: 100%;
    }
    
    .banner-slide {
        height: 100%;
    }
    
    .banner-slide img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .botao-navegacao {
        padding: 12px 18px;
        font-size: 18px;
    }

    #botao-anterior {
        left: 15px;
    }

    #botao-proximo {
        right: 15px;
    }

    #indicadores-carrossel {
        bottom: 20px;
    }

    .indicador {
        width: 12px;
        height: 12px;
    }

    /* Faixa de frete responsiva */
    .faixa-frete-gratis {
        padding: 12px 0;
    }

    .texto-frete {
        font-size: 13px;
        padding-right: 80px;
    }

    .conteudo-faixa-rolante {
        animation: rolar-faixa 25s linear infinite;
    }
}

@media (max-width: 480px) {
    .barra-navegacao {
        padding: 0.5rem;
    }

    .secao-logo img {
        height: 50px;
    }

    .secao-usuario img {
        width: 20px;
        height: 20px;
    }

    .botao-navegacao {
        padding: 8px 12px;
        font-size: 14px;
    }

    #botao-anterior {
        left: 5px;
    }

    #botao-proximo {
        right: 5px;
    }

    .menu-mobile {
        width: 90%;
    }

    .menu-mobile-conteudo {
        padding: 60px 15px 15px;
    }

    .menu-mobile-conteudo a {
        font-size: 16px;
        padding: 12px 0;
    }

    /* Faixa de frete para mobile pequeno */
    .faixa-frete-gratis {
        padding: 10px 0;
    }

    .texto-frete {
        font-size: 12px;
        padding-right: 60px;
        letter-spacing: 0.5px;
    }

    .conteudo-faixa-rolante {
        animation: rolar-faixa 20s linear infinite;
    }
}

/* Categorias */
.container-categorias {
    padding: 6rem 2rem 3rem;
}

.container-categorias h1 {
    text-align: center;
    font-size: 64px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: -1.28px;
    margin-bottom: 3rem;
}

.secao-categorias {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.carrossel-categorias {
    width: 100%;
    position: relative;
}

.lista-categorias {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.primeira-linha {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.segunda-linha {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.card-categoria {
    flex: 0 0 auto;
}

.card-categoria a {
    display: block;
}

.card-categoria img {
    width: 100%;
    height: auto;
    display: block;
}

.mini-botoes-categoria {
    display: none;
}

.mini-botao {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-botao:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.mini-botao.proximo {
    right: 10px;
}

/* Responsividade */
@media (max-width: 1000px) {
    .container-categorias {
        padding: 4rem 1rem 2rem;
    }

    .container-categorias h1 {
        font-size: 48px;
        margin-bottom: 2rem;
    }

    .carrossel-categorias {
        position: relative;
        overflow: hidden;
    }

    .lista-categorias {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 1rem;
        padding: 0 3rem;
        transition: transform 0.3s ease;
        justify-content: flex-start;
    }
    
    .primeira-linha,
    .segunda-linha {
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }

    .card-categoria {
        flex: 0 0 280px;
        min-width: 280px;
    }

    .mini-botoes-categoria {
        display: block;
    }
}

@media (max-width: 480px) {
.container-categorias {
padding: 3rem 0.5rem 2rem;
}

.container-categorias h1 {
font-size: 36px;
margin-bottom: 1.5rem;
}

.card-categoria {
flex: 0 0 250px;
min-width: 250px;
}

.lista-categorias {
padding: 0 0.5rem;
}

.botao-categoria {
width: 45px;
height: 45px;
font-size: 16px;
}
}

@media (max-width: 360px) {
.container-categorias h1 {
font-size: 32px;
}

.card-categoria {
flex: 0 0 220px;
min-width: 220px;
}

.botao-categoria {
width: 40px;
height: 40px;
font-size: 14px;
}

.indicador-categoria {
width: 8px;
height: 8px;
}
}

/* Seção de Produtos - Estilo igual ao produtos.css */
#sessao-produtos {
    background-color: #ffffff;
    padding: 4rem 2rem;
    font-family: 'Lexend', sans-serif;
}

.titulo-produtos {
    text-align: center;
    font-size: 64px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 2rem;
    letter-spacing: -1.28px;
    line-height: 150%;
}

.botao-ver-mais-container {
    text-align: center;
    margin-bottom: 4rem;
}

.botao-ver-mais {
    background-color: #000;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #000;
    transition: all 0.2s ease;
    display: inline-block;
    font-family: 'Lexend', sans-serif;
}

.botao-ver-mais:hover {
    background-color: #333;
}

.grid-produtos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 1600px;
    margin: 0 auto;
}

.produto {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

/* Container da Imagem com Hover */
.produto-imagem-container {
    position: relative;
    margin-bottom: 16px;
    overflow: hidden;
}

.produto-imagem-principal {
    width: 100%;
    height: 550px;
    object-fit: cover;
    object-position: center;
    display: block;
    background-color: transparent;
    border: none;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.produto-imagem-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 100%;
    height: 550px;
    object-fit: cover;
    object-position: center;
}

.produto-imagem-container:hover .produto-imagem-principal {
    opacity: 0;
}

.produto-imagem-container:hover .produto-imagem-hover {
    opacity: 1;
}

/* Botões que aparecem no hover do card */
.produto-botoes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-top: 12px;
}

.produto:hover .produto-botoes {
    opacity: 1;
}

.botao-comprar,
.botao-carrinho {
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 500;
    font-family: 'Lexend', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #000;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.botao-comprar {
    background-color: #000;
    color: #fff;
}

.botao-comprar:hover {
    background-color: #333;
}

.botao-carrinho {
    background-color: transparent;
    color: #000;
}

.botao-carrinho:hover {
    background-color: #000;
    color: #fff;
}

/* Informações do Produto */
.produto-info {
    text-align: left;
}

.produto-nome {
    font-size: 13px;
    font-weight: 400;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.produto-preco {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin: 0 0 6px 0;
}

.produto-tamanhos {
    font-size: 12px;
    color: #888;
    margin: 0;
    line-height: 1.3;
}

.sem-produtos {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.sem-produtos h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.sem-produtos p {
    font-size: 16px;
}

/* Responsividade para Produtos */
@media (max-width: 1024px) {
    #sessao-produtos {
        padding: 3rem 1.5rem;
    }
    
    .grid-produtos {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .titulo-produtos {
        font-size: 48px;
        margin-bottom: 1.5rem;
    }
    
    .botao-ver-mais-container {
        margin-bottom: 3rem;
    }
    
    .produto-imagem-principal,
    .produto-imagem-hover {
        height: 350px;
    }
}

@media (max-width: 768px) {
    #sessao-produtos {
        padding: 3rem 1rem;
    }
    
    .grid-produtos {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .titulo-produtos {
        font-size: 36px;
        margin-bottom: 1rem;
    }
    
    .botao-ver-mais-container {
        margin-bottom: 2rem;
    }
    
    .produto-imagem-principal,
    .produto-imagem-hover {
        height: 280px;
    }
    
    .produto-nome {
        font-size: 12px;
    }
    
    .produto-preco {
        font-size: 13px;
    }
    
    .produto-tamanhos {
        font-size: 11px;
    }
    
    .botao-comprar,
    .botao-carrinho {
        padding: 6px 12px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    #sessao-produtos {
        padding: 2rem 0.5rem;
    }
    
    .grid-produtos {
        gap: 8px;
    }
    
    .titulo-produtos {
        font-size: 28px;
        margin-bottom: 1rem;
    }
    
    .botao-ver-mais-container {
        margin-bottom: 1.5rem;
    }
    
    .produto-imagem,
    .produto-imagem-hover {
        height: 240px;
    }
    
    .produto-nome {
        font-size: 11px;
    }
    
    .produto-preco {
        font-size: 12px;
    }
    
    .produto-tamanhos {
        font-size: 10px;
    }
    
    .botao-comprar,
    .botao-carrinho {
        padding: 5px 10px;
        font-size: 9px;
    }
}
