/* =========================================
   RESET
========================================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
    overflow-x: clip;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f5f5f5;
    color: #222;
    overflow-x: clip;
}


/* =========================================
   HEADER
========================================= */

header {
    background: #A020F0;
    color: #fff;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 2%;

    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 80px;
    height: auto;
    border-radius: 15px;
}

.logo-texto {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    color: #fff;
    font-size: 24px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.logo span {
    color: #fff;
    letter-spacing: 2px;
    font-size: 14px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: 500;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

nav a:hover {
    color: #000;
}

/* Botão ícone do carrinho no header */
.btn-icone-carrinho {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    position: relative;
    padding: 4px;
}

.badge-carrinho {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4444;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Agrupamento de ações do cabeçalho (carrinho + hamburguer) */
.header-acoes {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 16px;
    flex-shrink: 0;
}

/* No desktop: menu primeiro, carrinho no extremo direito */
@media (min-width: 701px) {
    nav#nav-principal { order: 3; }
    .header-acoes { order: 4; }
}


/* =========================================
   BARRA DE PESQUISA (header)
========================================= */

.busca-form {
    display: flex;
    align-items: center;

    flex: 1;
    max-width: 640px;
    margin: 0 24px;

    background: #fff;
    border-radius: 30px;
    overflow: hidden;
}

.busca-form input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 10px 16px;
    font-size: 14px;
    color: #222;
    background: transparent;
}

.busca-form button {
    border: none;
    background: #a020f0;
    color: #fff;
    width: 42px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.busca-form button:hover {
    background: #7d2fff;
}


/* =========================================
   CARROSSEL DE BANNERS (topo)
========================================= */

.carrossel-container {
    width: 100%;
    height: 570px;

    position: relative;
    overflow: hidden;
}

.carrossel-container input[type="radio"] {
    display: none;
}

/* 5 banners = largura de 500% */
.slides-wrapper {
    display: flex;

    width: 500%;
    height: 100%;

    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 20%;
    height: 100%;

    flex-shrink: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: #fff;

    position: relative;

    background-size: cover;
    background-position: center;
}

/* Imagens de fundo dos banners */
.bg-banner1 { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("Imagens/Banner\ Influencer.png"); }
.bg-banner2 { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("Imagens/Banner Frete gratis.png"); }
.bg-banner3 { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("Imagens/Banner indicação.png"); }
.bg-banner4 { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("Imagens/Banner\ suplementos.png"); }
.bg-banner5 { background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url("Imagens/Banner novos clientes.png"); }

/* Texto opcional em cima do banner */
.conteudo-banner {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 15px;

    max-width: 800px;
    padding: 0 20px;
}

.conteudo-banner h2 { font-size: 2.5rem; }
.conteudo-banner p  { font-size: 1.2rem; }

.btn-roxo {
    background-color: #a855f7;
    color: #fff;

    border: none;

    padding: 12px 24px;
    border-radius: 8px;

    font-weight: bold;
    cursor: pointer;
}

/* Setas laterais do banner */
.seta-banner {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    font-size: 30px;
    font-weight: bold;

    color: #fff;

    padding: 15px;

    cursor: pointer;
    user-select: none;

    z-index: 5;
}

.seta-esquerda { left: 20px; }
.seta-direita  { right: 20px; }

/* Bolinhas indicadoras */
.bolinhas-navegacao {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    gap: 10px;

    z-index: 5;
}

.bolinha {
    width: 12px;
    height: 12px;

    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.5);

    cursor: pointer;
    transition: background 0.3s;
}

/* Movimentação: 20% por slide */
#banner1:checked ~ .slides-wrapper { transform: translateX(0%); }
#banner2:checked ~ .slides-wrapper { transform: translateX(-20%); }
#banner3:checked ~ .slides-wrapper { transform: translateX(-40%); }
#banner4:checked ~ .slides-wrapper { transform: translateX(-60%); }
#banner5:checked ~ .slides-wrapper { transform: translateX(-80%); }

/* Bolinha ativa */
#banner1:checked ~ .bolinhas-navegacao .b1,
#banner2:checked ~ .bolinhas-navegacao .b2,
#banner3:checked ~ .bolinhas-navegacao .b3,
#banner4:checked ~ .bolinhas-navegacao .b4,
#banner5:checked ~ .bolinhas-navegacao .b5 {
    background-color: #a855f7;
}


/* =========================================
   SEÇÕES DE PRODUTOS
========================================= */

.secao-produtos {
    width: 90%;
    max-width: 1300px;

    margin: 60px auto;
}

.titulo-secao {
    width: 100%;
    text-align: center;
    margin-bottom: 35px;
}

.titulo-secao h2 {
    font-size: 36px;
    font-weight: 700;
    color: #222;
}

.titulo-secao p {
    margin-top: 8px;
    font-size: 16px;
    color: #777;
}


/* =========================================
   CARROSSEL DE CARDS
========================================= */

.carousel {
    width: 100%;
    position: relative;
}

/* Área visível dos produtos */
.carousel-container {
    width: 100%;
    overflow: hidden;
}

/* Linha dos produtos */
.carousel-track {
    display: flex;
    gap: 20px;

    width: max-content;

    transition: transform 0.5s ease;
}


/* =========================================
   CARDS DOS PRODUTOS
========================================= */

.card {
    --altura-foto: 180px;

    flex: 0 0 250px;

    width: 250px;
    min-width: 250px;

    background: #fff;
    color: #222;

    border-radius: 15px;
    padding: 20px;

    text-align: center;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);

    /* Alinha o botão sempre na parte de baixo */
    display: flex;
    flex-direction: column;
}

.card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #222;
}

.card p {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}

/* Preço antigo (riscado) */
.card .preco-antigo {
    font-size: 15px;
    color: #999;
    margin-bottom: 5px;
}

/* Preço atual */
.card span {
    display: block;

    font-size: 30px;
    font-weight: bold;
    color: #9b4dff;

    margin-bottom: 20px;
}

/* Botão comprar — empurrado para baixo */
.btn-comprar {
    width: 100%;
    padding: 15px;

    border: none;
    border-radius: 8px;

    background: #9b4dff;
    color: #fff;

    font-size: 17px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.3s;

    margin-top: auto;
}

.btn-comprar:hover {
    background: #7d2fff;
}


/* =========================================
   CARDS DAS MARCAS PARCEIRAS (Nossas Marcas)
========================================= */

.card-marca {
    /* MEXA AQUI para mudar o tamanho SÓ dos cards das marcas.
       (não altere o .card, que controla os produtos) */
    flex: 0 0 140px;
    width: 140px;
    min-width: 140px;
    height: 140px;
    padding: 0;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    border-radius: 100px;
}

.card-marca img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 100px;
}


/* =========================================
   SEÇÃO NOSSAS MARCAS — carrossel com fundo
   branco e título com bloco de fundo preto
========================================= */

#marcas .carousel {
    background: #fff;
    border-radius: 14px;
    padding: 28px 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

#marcas .titulo-secao h2 {
    color: #000;
}


/* =========================================
   SEÇÃO PROMOÇÕES — bloco de fundo claro
   (aplicado a todos os blocos de produtos da home)
========================================= */

.secao-produtos .carousel {
    background: #fff;
    border-radius: 14px;
    padding: 28px 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}


/* =========================================
   CARROSSEL INTERNO DO CARD
   (mesmo padrão da página de Produtos)
========================================= */

.card-carrossel {
    position: relative;
    width: 100%;
    height: var(--altura-foto);
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #f5f5f5;
}

/* Etiqueta de oferta (desconto) no canto superior direito da imagem */
.card-oferta {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    background: #e60000;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 7px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.5px;
    pointer-events: none;
    white-space: nowrap;
}

/* Faixa deslizante */
.card-fotos {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.card-fotos img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* Setas internas */
.card-seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 30px;
    height: 30px;

    border: none;
    border-radius: 50%;

    background: rgba(155, 77, 255, 0.9);
    color: #fff;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: background 0.2s, opacity 0.2s;
}

.card-seta:hover {
    background: #7d2fff;
}

.card-prev { left: 5px; }
.card-next { right: 5px; }

/* Bolinhas indicadoras */
.card-bolinhas {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 5;
}

.card-bolinha {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.3s;
}

.card-bolinha.ativa {
    background: #9b4dff;
}


/* =========================================
   SETAS DO CARROSSEL DE CARDS
========================================= */

.seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 55px;
    height: 55px;

    border: none;
    border-radius: 50%;

    background: #9b4dff;
    color: #fff;

    font-size: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    z-index: 20;

    transition: 0.3s;
}

.seta:hover {
    background: #7d2fff;
    transform: translateY(-50%) scale(1.08);
}

.seta:disabled {
    opacity: 0.35;
    cursor: default;
}

.seta:disabled:hover {
    background: #9b4dff;
    transform: translateY(-50%);
}

.prev { left: -25px; }
.next { right: -25px; }


/* =========================================
   CARRINHO
========================================= */

.carrinho {
    width: 90%;
    max-width: 1300px;

    margin: 0 auto 60px;

    background: #fff;

    padding: 30px;
    border-radius: 15px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
}

.carrinho h2 {
    margin-bottom: 20px;
    font-size: 26px;
}

.itens-carrinho {
    min-height: 120px;

    border: 1px dashed #ccc;

    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.carrinho-vazio {
    color: #888;
}

/* Item individual no carrinho */
.item-carrinho {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;

    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.item-carrinho:last-child {
    border-bottom: none;
}

.item-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 160px;
    gap: 3px;
}

.item-nome {
    font-weight: bold;
    font-size: 15px;
    color: #222;
}

.item-preco-unit {
    font-size: 13px;
    color: #777;
}

.item-controles {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-qtd {
    width: 30px;
    height: 30px;

    border: none;
    border-radius: 6px;

    background: #9b4dff;
    color: #fff;

    font-size: 18px;
    font-weight: bold;
    line-height: 1;

    cursor: pointer;
    transition: 0.2s;

    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-qtd:hover {
    background: #7d2fff;
}

.item-qtd {
    min-width: 24px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.btn-remover {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 2px 4px;
    border-radius: 6px;
    transition: 0.2s;
}

.btn-remover:hover {
    background: #ffe0e0;
}

.item-subtotal {
    font-size: 16px;
    font-weight: bold;
    color: #9b4dff;
    min-width: 90px;
    text-align: right;
}

.total {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 25px;

    font-size: 22px;
}

.total span {
    font-weight: bold;
    color: #9b4dff;
}

.finalizar {
    width: 100%;
    padding: 18px;

    background: #25D366;
    color: #fff;

    border: none;
    border-radius: 10px;

    font-size: 18px;
    font-weight: bold;

    cursor: pointer;
    transition: .3s;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.finalizar:hover {
    background: #18b354;
}


/* =========================================
   NOTIFICAÇÃO FLUTUANTE DO CARRINHO
========================================= */

.notificacao-carrinho {
    position: fixed;
    bottom: 96px;
    right: 30px;
    z-index: 9999;

    background: #1f1f1f;
    color: #fff;

    padding: 14px 22px;
    border-radius: 10px;

    font-size: 15px;
    font-weight: bold;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);

    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.35s ease, transform 0.35s ease;

    pointer-events: none;
}

.notificacao-carrinho.visivel {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
   FOOTER
========================================= */

.footer {
    width: 100%;
    margin-top: 100px;

    background: #1f1f1f;
    color: #fff;
}

.footer-container {
    width: 90%;
    max-width: 1300px;

    margin: 0 auto;
    padding: 60px 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;

    text-align: center;
}

.footer-coluna {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
}

.footer-coluna h2 {
    font-size: 28px;
    color: #a848ff;
    margin-bottom: 15px;
}

.footer-coluna h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 15px;
}

.footer-coluna p {
    color: #bbb;
    font-size: 15px;
    line-height: 1.7;

    max-width: 320px;
    margin: 0 auto;
}

.redes-sociais {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.rede {
    color: #ddd;
    text-decoration: none;

    font-size: 15px;
    text-align: center;

    transition: 0.3s;
}

.rede:hover {
    transform: translateY(-2px);
}

.rede.instagram:hover { color: #e1306c; }
.rede.whatsapp:hover  { color: #25d366; }
.rede.email:hover     { color: #a848ff; }

.footer-bottom {
    width: 100%;

    border-top: 1px solid #333;

    padding: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #888;
    font-size: 13px;
}


/* =========================================
   HAMBURGUER
========================================= */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;

    width: 42px;
    height: 42px;

    background: none;
    border: none;
    cursor: pointer;

    padding: 4px;
    border-radius: 6px;
    z-index: 200;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    border-radius: 3px;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animação X quando aberto */
.hamburger.aberto span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.aberto span:nth-child(2) {
    opacity: 0;
}
.hamburger.aberto span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


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

/* Notebook */
@media (max-width: 1200px) {

    .secao-produtos {
        width: 88%;
    }

    .card {
        --altura-foto: 160px;

        flex: 0 0 230px;
        width: 230px;
        min-width: 230px;
    }

}


/* Tablet */
@media (max-width: 900px) {

    html {
        scroll-padding-top: 80px;
    }

    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding: 10px 4%;
        /* sticky já está declarado; precisa de overflow visível pro dropdown */
        overflow: visible;
    }

    .hamburger {
        display: flex;
    }

    /* Nav escondida por padrão no mobile */
    nav#nav-principal {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;

        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        background: #8a00d4;
        padding: 10px 0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.35);
        z-index: 150;
    }

    nav#nav-principal.aberto {
        display: flex;
    }

    nav#nav-principal a {
        width: 100%;
        padding: 14px 24px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

    nav#nav-principal a:last-of-type {
        border-bottom: none;
    }

    .carrossel-container {
        height: 420px;
    }

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

    .secao-produtos {
        width: 85%;
    }

    .card {
        --altura-foto: 150px;

        flex: 0 0 210px;
        width: 210px;
        min-width: 210px;
    }

    .card h3 {
        font-size: 20px;
    }

    .card span {
        font-size: 25px;
    }

}


/* Celular */
@media (max-width: 700px) {

    header {
        flex-wrap: wrap;
    }

    /* Barra de pesquisa ocupa a linha inteira embaixo do logo + menu,
       assim fica larga e o texto digitado aparece por completo */
    .busca-form {
        order: 3;
        flex-basis: 100%;
        max-width: 100%;
        margin: 10px 0 0;
    }

    /* Cards das marcas menores no celular (no PC mantém 140px) */
    .card-marca {
        flex: 0 0 80px;
        width: 80px;
        min-width: 80px;
        height: 80px;
    }

    .card-marca img {
        width: 80px;
        height: 80px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

}


@media (max-width: 600px) {

    html {
        scroll-padding-top: 70px;
    }

    .carrossel-container {
        height: 260px;
    }

    .seta-banner {
        font-size: 20px;
        padding: 10px;
    }

    .secao-produtos {
        width: 96%;
        margin: 35px auto;
    }

    /* Reduz a borda do bloco para dar mais espaço aos cards */
    .secao-produtos .carousel {
        padding: 16px 8px;
    }

    .titulo-secao h2 {
        font-size: 26px;
    }

    .titulo-secao p {
        font-size: 14px;
    }

    .card {
        --altura-foto: 100px;

        /* Largura em % da tela: garante 2 produtos visíveis lado a lado */
        flex: 0 0 calc((100vw - 76px) / 2);
        width: auto;
        min-width: 0;

        padding: 8px;
    }

    .card h3 {
        font-size: 13px;
    }

    .card p {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .card span {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .btn-comprar {
        font-size: 11px;
        padding: 8px;
    }

    .seta {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .prev { left: -18px; }
    .next { right: -18px; }

    /* Carrinho */
    .carrinho {
        padding: 20px 16px;
    }

    .item-carrinho {
        flex-direction: column;
        align-items: flex-start;
    }

    .item-subtotal {
        text-align: left;
    }

    .total {
        font-size: 18px;
    }

    .finalizar {
        font-size: 15px;
        padding: 14px;
    }

}


/* Celulares pequenos */
@media (max-width: 480px) {

    html {
        scroll-padding-top: 65px;
    }

    .logo img {
        width: 52px;
    }

    .logo h1 {
        font-size: 18px;
    }

    .logo span {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .carrossel-container {
        height: 200px;
    }

    /* Marcas ainda menores em telas bem pequenas */
    .card-marca {
        flex: 0 0 72px;
        width: 72px;
        min-width: 72px;
        height: 72px;
    }

    .card-marca img {
        width: 72px;
        height: 72px;
    }

    .secao-produtos {
        width: 80%;
        margin: 28px auto;
    }

    .titulo-secao h2 {
        font-size: 22px;
    }

    .card {
        --altura-foto: 110px;

        flex: 0 0 150px;
        width: 150px;
        min-width: 150px;

        padding: 10px;
    }

    .card h3 {
        font-size: 13px;
    }

    .card p {
        font-size: 11px;
    }

    .card span {
        font-size: 17px;
    }

    .btn-comprar {
        font-size: 11px;
        padding: 8px;
    }

    .seta {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .prev { left: -16px; }
    .next { right: -16px; }

    .footer-container {
        width: 92%;
        padding: 40px 0;
    }

    .rede {
        font-size: 13px;
        word-break: break-word;
    }

}


@media (max-width: 360px) {

    .secao-produtos {
        width: 76%;
    }

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

    .seta {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .prev { left: -14px; }
    .next { right: -14px; }

}

/* =========================================
   ANIMAÇÃO DO ÍCONE DO CARRINHO
========================================= */

@keyframes carrinho-brilho {
    0%   { filter: drop-shadow(0 0 0 rgba(255,255,255,0)); transform: scale(1); }
    40%  { filter: drop-shadow(0 0 16px rgba(255,255,255,0.95)); transform: scale(1.28); }
    100% { filter: drop-shadow(0 0 0 rgba(255,255,255,0)); transform: scale(1); }
}

.btn-icone-carrinho.carrinho-brilho {
    animation: carrinho-brilho 0.7s ease;
}


/* =========================================
   MELHORIAS VISUAIS E ANIMAÇÕES
========================================= */

/* Cabeçalho com gradiente e profundidade */
header {
    background: linear-gradient(135deg, #7b2dd8 0%, #a020f0 55%, #9b4dff 100%);
    box-shadow: 0 4px 24px rgba(160, 32, 240, 0.35);
}

/* Títulos de seção com detalhe inferior animado */
.titulo-secao h2,
.titulo-pagina h1 {
    position: relative;
    display: inline-block;
}
.titulo-secao h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 999px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, #a020f0, #9b4dff);
    transform: scaleX(0.35);
    transform-origin: center;
    transition: transform 0.4s ease;
}
.titulo-pagina h1::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 999px;
    margin: 12px 0 0;
    background: linear-gradient(90deg, #a020f0, #9b4dff);
    transform: scaleX(0.35);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.titulo-secao h2:hover::after,
.titulo-pagina h1:hover::after {
    transform: scaleX(1);
}

/* Cards de produto — elevação e zoom na foto */
.card {
    transition: transform 0.35s cubic-bezier(.2,.7,.3,1), box-shadow 0.35s ease;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(160, 32, 240, 0.20);
}
.card-fotos img {
    transition: transform 0.5s ease;
}
.card:hover .card-fotos img {
    transform: scale(1.08);
}

/* Botões com elevação e brilho */
.btn-comprar,
.btn-roxo,
.finalizar,
.btn-qtd,
.card-seta {
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-comprar:hover,
.btn-roxo:hover,
.finalizar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(155, 77, 255, 0.5);
}
.btn-comprar:active,
.btn-roxo:active,
.finalizar:active {
    transform: translateY(0);
}

/* Marcas — leve elevação */
.card-marca {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-marca:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

/* Aparição suave ao rolar (ativa via JavaScript) */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.3,1);
    will-change: opacity, transform;
}
.reveal.reveal-ativo {
    opacity: 1;
    transform: translateY(0);
}

/* Texto do banner entra com suavidade na carga */
.conteudo-banner {
    animation: entrar-banner 0.9s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes entrar-banner {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Foco visível para acessibilidade */
button:focus-visible,
.busca-form input:focus-visible,
.busca-form button:focus-visible {
    outline: 3px solid rgba(160, 32, 240, 0.6);
    outline-offset: 2px;
}

/* Respeita usuários que preferem menos movimento */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001s !important;
        transition-duration: 0.001s !important;
    }
    .reveal,
    .conteudo-banner {
        opacity: 1 !important;
        transform: none !important;
    }
}


/* =========================================
   SEÇÃO NOS SIGA NO INSTAGRAM
========================================= */

.secao-instagram .carousel {
    background: #fff;
    border-radius: 14px;
    padding: 28px 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.reel-card {
    flex: 0 0 180px;
    width: 180px;
    min-width: 180px;
    height: 320px;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.reel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

/* Os quadradinhos agora são links para os vídeos do Instagram */
a.reel-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* O vídeo ocupa todo o quadradinho, como prévia em loop */
.reel-card video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}
.reel-icone { z-index: 2; }
.reel-rotulo { z-index: 2; }

.reel-foto {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Fundos de exemplo (troque pelos thumbnails reais dos reels) */
.r1 { background-image: linear-gradient(135deg, #c13584, #833ab4, #5851db); }
.r2 { background-image: linear-gradient(135deg, #fd5949, #d6249f, #285AEB); }
.r3 { background-image: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7); }
.r4 { background-image: linear-gradient(135deg, #8a3ab9, #e95950, #bc2a8d); }
.r5 { background-image: linear-gradient(135deg, #405de6, #5851db, #833ab4); }
.r6 { background-image: linear-gradient(135deg, #fcb045, #fd1d1d, #833ab4); }
.r7 { background-image: linear-gradient(135deg, #4a00e0, #8e2de2, #b06ab3); }
.r8 { background-image: linear-gradient(135deg, #16a085, #27ae60, #6dd5ed); }

.reel-icone {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #fff;
    color: #c13584;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.reel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #c13584;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease;
}
.reel-card:hover .reel-play {
    transform: translate(-50%, -50%) scale(1.12);
}

.reel-rotulo {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 10px 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

/* Reels menores no celular */
@media (max-width: 600px) {
    .reel-card {
        flex: 0 0 150px;
        width: 150px;
        min-width: 150px;
        height: 266px;
    }
    .reel-play { width: 46px; height: 46px; font-size: 18px; }
}


/* =========================================
   SEÇÃO VANTAGENS
========================================= */

.secao-vantagens {
    width: 84%;
    margin: 24px auto 6px;
}
.vantagens-grade {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.vantagem {
    background: #fff;
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vantagem:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(160, 32, 240, 0.18);
}
.vantagem-icone {
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a020f0, #9b4dff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vantagem-icone svg {
    width: 20px;
    height: 20px;
}
.vantagem h3 {
    font-size: 13px;
    color: #222;
    margin-bottom: 4px;
}
.vantagem p {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
}

/* Entrada escalonada dos itens quando a seção aparece */
.secao-vantagens.reveal-ativo .vantagem {
    animation: entrar-item 0.6s cubic-bezier(.2,.7,.3,1) both;
}
.secao-vantagens.reveal-ativo .vantagem:nth-child(2) { animation-delay: 0.08s; }
.secao-vantagens.reveal-ativo .vantagem:nth-child(3) { animation-delay: 0.16s; }
.secao-vantagens.reveal-ativo .vantagem:nth-child(4) { animation-delay: 0.24s; }
@keyframes entrar-item {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .secao-vantagens { width: 92%; }
}
/* Mobile: as 4 em uma única linha, lado a lado e alinhadas */
@media (max-width: 700px) {
    .vantagens-grade { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .vantagem { padding: 12px 6px; }
    .vantagem-icone { width: 36px; height: 36px; margin-bottom: 6px; }
    .vantagem-icone svg { width: 18px; height: 18px; }
    .vantagem h3 { font-size: 12px; }
    .vantagem p { display: none; }
}
@media (max-width: 480px) {
    .vantagens-grade { gap: 6px; }
    .vantagem { padding: 10px 4px; }
    .vantagem-icone { width: 32px; height: 32px; }
    .vantagem-icone svg { width: 16px; height: 16px; }
    .vantagem h3 { font-size: 10px; }
}


/* =========================================
   SEÇÃO NEWSLETTER
========================================= */

.secao-newsletter {
    width: 84%;
    margin: 40px auto;
}
.newsletter-box {
    background: linear-gradient(135deg, #7b2dd8 0%, #a020f0 55%, #9b4dff 100%);
    border-radius: 18px;
    padding: 40px 24px;
    text-align: center;
    color: #fff;
    box-shadow: 0 12px 34px rgba(160, 32, 240, 0.35);
    position: relative;
    overflow: hidden;
}
.newsletter-box h2 {
    font-size: 28px;
    margin-bottom: 10px;
}
.newsletter-box p {
    font-size: 15px;
    opacity: 0.92;
    margin-bottom: 22px;
}
.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 460px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.newsletter-form input {
    flex: 1 1 240px;
    padding: 14px 16px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
}
.newsletter-form button {
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    background: #fff;
    color: #a020f0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}
.newsletter-msg {
    margin-top: 16px;
    font-weight: 600;
    min-height: 20px;
}

@media (max-width: 600px) {
    .secao-newsletter { width: 92%; }
    .newsletter-box h2 { font-size: 23px; }
}


/* =========================================
   BARRA FLUTUANTE DO CARRINHO (mobile)
========================================= */
.barra-carrinho-flutuante {
    position: fixed;
    left: 12px;
    right: 84px;
    bottom: 12px;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
    border: 2px solid #9b4dff;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(160, 32, 240, 0.35);
    padding: 10px 12px;
    transform: translateY(140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(.2,.7,.3,1), opacity 0.3s ease;
}
.barra-carrinho-flutuante.visivel {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.barra-carrinho-icone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #7b2dd8, #a020f0);
    color: #fff;
}
.barra-carrinho-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.barra-carrinho-info strong {
    font-size: 13px;
    color: #333;
    white-space: nowrap;
}
.barra-carrinho-info #barra-total {
    font-size: 18px;
    font-weight: 800;
    color: #9b4dff;
    line-height: 1;
}
.barra-carrinho-flutuante .barra-carrinho-btn {
    border: none;
    background: linear-gradient(135deg, #7b2dd8, #a020f0);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.barra-carrinho-flutuante .barra-carrinho-btn:active {
    transform: scale(0.97);
}

@media (min-width: 701px) {
    .barra-carrinho-flutuante { display: none; }
}

/* =========================================
   BOTÃO FIXO DO WHATSAPP
========================================= */

.whatsapp-flutuante {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.whatsapp-flutuante svg { width: 32px; height: 32px; }
.whatsapp-flutuante::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.5);
    z-index: -1;
    animation: pulso-whats 2.2s ease-out infinite;
}
@keyframes pulso-whats {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.6); opacity: 0; }
}
.whatsapp-flutuante:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}
.whatsapp-flutuante-tag {
    position: absolute;
    left: 68px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #1f1f1f;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.whatsapp-flutuante:hover .whatsapp-flutuante-tag { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .whatsapp-flutuante::before { animation: none; }
}

/* Ícone do WhatsApp (imagem) */
.whatsapp-flutuante-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 0 0 3px #25D366;
}