* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Georgia, serif;
    background-color: #f8f3f3;
    color: #222;
}

/* PÁGINA INICIAL */

.inicio {
    min-height: 100vh;
    background-color: #080608;
    color: white;

    text-align: center;

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

    padding: 40px 20px;
}

/* LOGO */

.logo {
    width: 260px;
    height: 260px;

    object-fit: cover;
    border-radius: 50%;

    margin-bottom: 25px;
}

/* TÍTULO */

.inicio h1 {
    font-size: 48px;
    margin: 10px 0;

    letter-spacing: 2px;
}

/* FRASE */

.frase {
    font-size: 20px;

    max-width: 500px;

    line-height: 1.6;

    margin: 10px 0;
}

/* LOCALIZAÇÃO */

.localizacao {
    font-size: 18px;

    margin: 20px 0 30px;
}

/* BOTÃO */

.botao-produtos {
    display: inline-block;

    background-color: #c43b7b;
    color: white;

    padding: 15px 45px;

    border-radius: 30px;

    text-decoration: none;

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

    letter-spacing: 1px;

    transition: 0.3s;
}

.botao-produtos:hover {
    background-color: #a92f68;
    transform: translateY(-2px);
}

/* CONTATOS */

.links {
    display: flex;

    justify-content: center;

    gap: 120px;

    padding: 30px 20px;
}

.links strong {
    font-size: 18px;
    font-weight: normal;
}

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

.links a:hover strong {
    color: #f27eb0;
}

.links p {
    margin: 8px 0 0;

    font-size: 14px;

    opacity: 0.7;
}

/* CATEGORIAS E FILTROS */

.categorias {
    padding: 45px 20px;
    text-align: center;
    background-color: white;
}

.categorias h2 {
    margin: 0 0 24px;
    font-size: 30px;
}

.botoes-categorias {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;

    max-width: 900px;
    margin: 0 auto 22px;
}

.botoes-categorias button {
    padding: 10px 16px;

    border: 1px solid #c43b7b;
    border-radius: 24px;

    background-color: white;
    color: #8f315c;

    font-size: 14px;
    cursor: pointer;
}

.botoes-categorias button:hover,
.botoes-categorias .categoria-ativa {
    background-color: #c43b7b;
    color: white;
}

.filtros-produtos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filtros-produtos input,
.filtros-produtos select {
    min-height: 44px;
    padding: 10px 12px;

    border: 1px solid #d1c5c8;
    border-radius: 6px;

    background-color: white;
    font-size: 15px;
}

.filtros-produtos input {
    width: min(100%, 320px);
}

.mensagem-catalogo {
    grid-column: 1 / -1;
    margin: 0;
    color: #666;
    font-family: Arial, sans-serif;
}

/* CATÁLOGO */

.catalogo {
    text-align: center;

    padding: 70px 20px;
}

.catalogo h2 {
    font-size: 42px;

    margin-bottom: 5px;

    color: #222;
}

.subtitulo {
    font-size: 16px;

    color: #777;

    margin-bottom: 40px;
}

/* PRODUTOS */

.produtos {
    display: grid;

    grid-template-columns: repeat(4, 300px);

    justify-content: center;

    gap: 40px;
}

/* CARD */

.produto {
    width: 300px;

    background-color: white;

    padding: 15px;

    border-radius: 15px;

    box-shadow: 0 5px 20px #d8d8d8;

    transition: 0.3s;
}

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

/* CARROSSEL */

.carrossel {
    position: relative;

    width: 100%;
    height: 350px;
}

.imagem-carrossel {
    width: 100%;
    height: 350px;

    object-fit: cover;

    border-radius: 10px;
}

/* SETAS */

.carrossel button {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 40px;
    height: 40px;

    border: none;

    border-radius: 50%;

    background-color: rgba(0, 0, 0, 0.6);

    color: white;

    font-size: 28px;

    cursor: pointer;
}

.carrossel button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.anterior {
    left: 10px;
}

.proxima {
    right: 10px;
}

/* NOME */

.produto h3 {
    font-size: 22px;
}

/* PREÇO */

.preco {
    color: #c43b7b;

    font-size: 22px;

    font-weight: bold;
}

/* BOTÃO DO PRODUTO */

.botao-produto {
    display: inline-block;

    background-color: #c43b7b;

    color: white;

    padding: 12px 30px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: bold;

    margin-top: 10px;
}

/* RODAPÉ */

footer {
    background-color: #c43b7b;

    color: white;

    text-align: center;

    padding: 20px;

    font-size: 18px;
}

/* TABLET */

@media (max-width: 1350px) {

    .produtos {
        grid-template-columns: repeat(3, 300px);
    }
}

/* TABLET PEQUENO */

@media (max-width: 1000px) {

    .produtos {
        grid-template-columns: repeat(2, 300px);
    }
}

/* CELULAR */

@media (max-width: 600px) {

    .inicio {
        padding: 30px 15px;
    }

    .logo {
        width: 190px;
        height: 190px;
    }

    .inicio h1 {
        font-size: 34px;
    }

    .frase {
        font-size: 17px;
    }

    .localizacao {
        font-size: 16px;
    }

    .links {
        flex-direction: column;

        gap: 25px;

        padding: 30px 10px 0;
    }

    .catalogo {
        padding: 50px 15px;
    }

    .categorias {
        padding: 35px 15px;
    }

    .categorias h2 {
        font-size: 27px;
    }

    .botoes-categorias {
        justify-content: flex-start;
    }

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

    .filtros-produtos input,
    .filtros-produtos select {
        width: 100%;
    }

    .catalogo h2 {
        font-size: 34px;
    }

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

        gap: 30px;
    }

    .produto {
        width: 100%;

        max-width: 340px;

        margin: 0 auto;
    }

    .imagem-carrossel {
        height: 400px;
    }

    .carrossel {
        height: 400px;
    }
}
