body {
    font-family: Arial, sans-serif;
    background: #f8f8f8;
    margin: 0;
    padding: 20px;
}

h1 {
    text-align: center;
}

.vitrine-container {
    display: grid;
    grid-template-columns: repeat(4, 300px); /* 4 colunas de 300px cada */
    gap: 32px;
    max-width: calc(4 * 300px + 3 * 32px); /* 4 colunas + 3 gaps */
    margin: 40px auto 0 auto; /* Centraliza o grid */
    justify-content: center; /* Centraliza os itens no grid */
    background: transparent; /* remova background vermelho se quiser */
    padding-bottom: 40px;
}

.produto {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px #0001;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
}

.produto:hover {
    box-shadow: 0 4px 16px #0002;
}

.produto img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.produto h2 {
    font-size: 18px;
    margin: 10px 0 5px 0;
    text-align: center;
}

.produto p {
    font-size: 15px;
    color: #666;
    margin-bottom: 10px;
    text-align: center;
}

.produto .acessar {
    background: #2979ff;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    transition: background 0.2s;
}

.produto .acessar:hover {
    background: #1351a3;
}

/* Responsivo para tablet */
@media (max-width: 1280px) {
    .vitrine-container {
        grid-template-columns: repeat(2, 300px);
        max-width: calc(2 * 300px + 1 * 32px);
    }
}
/* Responsivo para celular */

@media (max-width: 700px) {
    body {
        padding: 0;
    }
    .vitrine-container {
        grid-template-columns: 1fr;
        max-width: 100vw;
        padding: 0;
    }
    .produto {
        margin: 0 auto 24px auto;
        width: 100%;
        max-width: 600px;
        box-sizing: border-box;
    }
}


