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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f3f8;
    color: #29243a;
    line-height: 1.6;
}

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

button,
input {
    font-family: inherit;
}

button {
    cursor: pointer;
}


/* =========================
   CORES
========================= */

:root {
    --roxo: #8b79b5;
    --roxo-claro: #cfc5e4;
    --roxo-escuro: #65538f;
    --roxo-muito-escuro: #29243a;

    --lilas: #e8e1f0;
    --fundo: #f7f3f8;
    --fundo-card: #ffffff;

    --cinza: #706b78;
    --borda: #dcd5e2;
}


/* =========================
   CABEÇALHO
========================= */

.cabecalho {
    width: 100%;
    height: 75px;

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

    padding: 0 7%;

    background: #ffffff;
    border-bottom: 1px solid var(--borda);

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


/* LOGO */

.logo {
    display: flex;
    align-items: center;

    font-size: 23px;
    font-weight: bold;
}

.logosimbolo,
.logo-simbolo {
    width: 35px;
    height: 35px;

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

    margin-right: 8px;

    background: var(--roxo);
    color: white;

    border-radius: 10px;

    font-size: 21px;
}

.logodestaque,
.logo-destaque {
    color: var(--roxo);
}


/* MENU */

.menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.menu a {
    font-size: 14px;
    font-weight: bold;
    transition: 0.2s;
}

.menu a:hover {
    color: var(--roxo);
}


/* BOTÃO MENU */

.botaomenu {
    display: none;

    border: none;
    background: none;

    color: var(--roxo-muito-escuro);

    font-size: 28px;
}


/* =========================
   BANNER
========================= */

body > main > section:first-child {
    width: 100%;
    margin: 0;
    padding: 0;

    background: var(--lilas);

    overflow: hidden;
}

body > main > section:first-child img {
    width: 100%;
    height: auto;

    display: block;

    margin: 0;
    padding: 0;
}


/* =========================
   SEÇÃO EXPLORAR
========================= */

.secao {
    width: 100%;
    padding: 80px 7%;
}

.secao-explorar {
    background: #e9e2ef;
}


/* =========================
   TÍTULO
========================= */

.titulo-secao {
    max-width: 700px;

    margin: 0 auto 45px;

    text-align: center;
}

.etiqueta {
    color: var(--roxo-escuro);

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

    letter-spacing: 2px;
}

.titulo-secao h2 {
    margin-top: 10px;

    font-size: 45px;
    line-height: 1.1;

    color: var(--roxo-muito-escuro);
}

.titulo-secao h2 span {
    color: var(--roxo);
}


/* =========================
   BUSCA
========================= */

.area-busca {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto 35px;
}

.campo-busca {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 5px 18px;

    background: white;

    border: 1px solid var(--borda);
    border-radius: 14px;
}

.campo-busca span {
    font-size: 20px;
}

.campo-busca input {
    width: 100%;

    padding: 15px 5px;

    border: none;
    outline: none;

    font-size: 15px;

    background: transparent;
}


/* =========================
   FILTROS
========================= */

.filtros {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 15px;
}

.filtro {
    padding: 9px 15px;

    border: 1px solid var(--borda);
    border-radius: 20px;

    background: white;
    color: var(--roxo-muito-escuro);

    font-size: 12px;
    font-weight: bold;
}

.filtro:hover,
.filtro.ativo {
    background: var(--roxo);
    border-color: var(--roxo);

    color: white;
}


/* =========================
   PRODUTOS
========================= */

.produtos {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}


/* =========================
   CARD
========================= */

.card-produto {
    width: 100%;

    background: white;

    border: 1px solid var(--borda);
    border-radius: 18px;

    overflow: hidden;

    transition: 0.2s;
}

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

    box-shadow: 0 10px 25px rgba(70, 50, 100, 0.12);

    border-color: var(--roxo-claro);
}


/* =========================
   IMAGEM DO PRODUTO
========================= */

.imagemproduto,
.imagem-produto {
    width: 100%;
    height: 190px;

    position: relative;

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

    overflow: hidden;

    background: var(--lilas);
}


/* CONTROLE */

.imagemproduto img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* OUTROS PRODUTOS */

.imagem-livros {
    background: #e6d8e9;
}

.imagem-fone {
    background: #dcd9ed;
}

.imagem-violao {
    background: #ead9e1;
}

.imagem-skate {
    background: #d8d1e9;
}

.imagem-desenho {
    background: #edd9e4;
}


/* EMOJI */

.emoji-produto {
    font-size: 65px;
}

.card-produto:hover .emoji-produto {
    transform: scale(1.08);
}


/* =========================
   CATEGORIA
========================= */

.categoria {
    position: absolute;

    top: 12px;
    left: 12px;

    padding: 5px 10px;

    background: white;

    color: var(--roxo-escuro);

    border-radius: 15px;

    font-size: 11px;
    font-weight: bold;
}


/* =========================
   CONTEÚDO
========================= */

.conteudo-produto {
    padding: 20px;
}

.conteudo-produto h3 {
    margin-bottom: 5px;

    font-size: 18px;
}

.conteudo-produto > p {
    margin-bottom: 18px;

    color: var(--cinza);

    font-size: 13px;
}


/* =========================
   PROCURO POR
========================= */

.procura {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 12px;

    margin-bottom: 15px;

    background: var(--fundo);

    border-radius: 10px;
}

.procura > img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

.procura small {
    display: block;

    color: #888;

    font-size: 10px;
}

.procura strong {
    display: block;

    color: var(--roxo-muito-escuro);

    font-size: 12px;
}


/* =========================
   BOTÃO
========================= */

.botao-interesse {
    width: 100%;

    padding: 12px;

    border: none;
    border-radius: 10px;

    background: var(--roxo);

    color: white;

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

    transition: 0.2s;
}

.botao-interesse:hover {
    background: var(--roxo-escuro);
}


/* =========================
   NENHUM PRODUTO
========================= */

.nenhum-produto {
    display: none;

    text-align: center;

    padding: 40px;

    color: var(--cinza);
}

.nenhum-produto span {
    font-size: 40px;
}


/* =========================
   RODAPÉ
========================= */

.rodape {
    width: 100%;

    padding: 55px 7% 20px;

    background: var(--roxo-muito-escuro);

    color: white;
}

.rodape-conteudo {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1.4fr 1fr 1.5fr;

    gap: 40px;

    padding-bottom: 35px;
}


/* LOGO */

.rodape .logo {
    margin-bottom: 10px;
}

.rodape-logo p {
    color: #aaa3b1;

    font-size: 13px;
}


/* LINKS */

.rodape-links {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.rodape-links strong {
    margin-bottom: 5px;
}

.rodape-links a {
    color: #aaa3b1;

    font-size: 13px;
}

.rodape-links a:hover {
    color: var(--roxo-claro);
}


/* INFORMAÇÕES */

.rodape-info strong {
    display: block;

    margin-bottom: 5px;
}

.rodape-info p {
    margin-top: 7px;

    color: #aaa3b1;

    font-size: 13px;
}


/* PARTE FINAL */

.rodape-final {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    padding-top: 20px;

    border-top: 1px solid #443c50;

    display: flex;
    justify-content: space-between;

    color: #8e8795;

    font-size: 11px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 950px) {

    .cabecalho {
        padding: 0 5%;
    }

    .secao {
        padding: 70px 5%;
    }

    .produtos {
        grid-template-columns: repeat(2, 1fr);
    }

    .rodape {
        padding-left: 5%;
        padding-right: 5%;
    }

    .rodape-conteudo {
        grid-template-columns: 1fr 1fr;
    }

    .rodape-info {
        grid-column: span 2;
    }
}


/* =========================
   CELULAR
========================= */

@media (max-width: 700px) {

    /* CABEÇALHO */

    .cabecalho {
        height: 65px;

        padding: 0 5%;
    }

    .logo {
        font-size: 20px;
    }

    .botaomenu {
        display: block;
    }


    /* MENU */

    .menu {
        display: none;

        position: absolute;

        top: 65px;
        left: 0;

        width: 100%;

        padding: 15px 20px;

        background: white;

        flex-direction: column;
        align-items: stretch;

        gap: 5px;

        border-bottom: 1px solid var(--borda);
    }

    .menu.aberto {
        display: flex;
    }

    .menu a {
        padding: 10px;
    }


    /* SEÇÃO */

    .secao {
        padding: 60px 5%;
    }


    /* TÍTULO */

    .titulo-secao {
        margin-bottom: 35px;
    }

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


    /* BUSCA */

    .icone-lupa {
    width: 14px;
    height: 14px;
    border: 2px solid var(--roxo);
    border-radius: 50%;
    position: relative;
    display: block;
    flex-shrink: 0;
}

.icone-lupa::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 2px;
    background: var(--roxo);
    right: -5px;
    bottom: -2px;
    transform: rotate(45deg);
    border-radius: 2px;
}


    /* FILTROS */

    .filtros {
        display: grid;

        grid-template-columns: 1fr 1fr;
    }

    .filtro {
        width: 100%;
    }


    /* PRODUTOS */

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


    /* IMAGENS */

    .imagemproduto,
    .imagem-produto {
        height: 200px;
    }


    /* RODAPÉ */

    .rodape-conteudo {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .rodape-info {
        grid-column: auto;
    }

    .rodape-final {
        flex-direction: column;

        gap: 8px;
    }
}


/* =========================
   CELULAR PEQUENO
========================= */

@media (max-width: 450px) {

    .logo {
        font-size: 18px;
    }

    .logosimbolo,
    .logo-simbolo {
        width: 31px;
        height: 31px;

        font-size: 18px;
    }


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


    .imagemproduto,
    .imagem-produto {
        height: 180px;
    }


    .conteudo-produto {
        padding: 18px;
    }


    .rodape {
        padding: 45px 5% 20px;
    }
}