/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    background: url();
}

.preco-antigo {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
}

.preco-novo {
  font-size: 24px;
  font-weight: bold;
  color: #2a9d8f;
}

.desconto {
  display: inline-block;
  margin-top: 5px;
  background: #e63946;
  color: #fff;
  padding: 5px 10px;
  font-size: 10px;
  border-radius: 4px;
}

html {
    scroll-behavior: smooth;
}

/* HEADER */
.header {
    display: flex;
    height: 642px;
    justify-content: space-between;
    align-items: flex-start;
    color: rgb(49, 46, 46);
    padding: 15px 30px;
    background: url('/img/ChatGPT\ Image\ 30\ de\ mar.\ de\ 2026\,\ 18_44_19.png') center/cover;
}

/* --- Estilo Mobile (Nova Imagem) --- */
@media (max-width: 768px) {
    .header {
        /* Apenas altera a imagem e talvez a posição */
        background-image: url('/img/Gemini_Generated_Image_z53y9hz53y9hz53y.png');
        background-position: center;
        background-size: cover;
        /* Opcional: ajuste a altura para o mobile */
        height: 600px;
    }
}

.header h1 {

    font-weight: 100;
    margin-top: -5px;
}

.header nav a  {
    color: rgb(29, 27, 27);
    margin-left: 20px;
    text-decoration: none;
    cursor: pointer;
}


.banner {
    height: 400px; /* como você pediu */
    background: url('https://via.placeholder.com/1200x500') center/cover;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

img {
    max-width: 100%;
    height: auto;
}

.banner-text h2 {
    font-size: 40px;
    color: palevioletred;
}

.banner-text p {
    margin: 10px 0;
    color: black;
}

.btn {
    background: rgb(52, 228, 90);
    color: white;
    border: solid 1px black;
    border-radius: 20px;
    padding: 8px 15px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
}

.btn-topo {

    padding: 10px 20px;
    background: #25D366;
    color: white;
    border: solid 1px black;
    text-decoration: none;
    font-size: 17px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 20px;
}


/* PRODUTOS */
.produtos {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* CARD */
.card {
    width: 250px;
    background: #f5f5f5;
    border-radius: 10px;
    text-align: center;
    padding: 15px;
}


.card img {
    width: 100%;
    border-radius: 10px;
}

.card h3 {
    margin: 10px 0;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 20px;
    background: palevioletred;
    color: white;
}

.contato {
    text-align: center;
    padding: 40px;
    background: #f5f5f5;
}

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

/* MOBILE (até 480px) */
@media (max-width: 480px) {

    .header {
        flex-direction: column;
        text-align: center;
    }

    .header nav {
        margin-top: 10px;
    }

    .banner {
        height: 400px;
        padding: 20px;
    }

    .banner-text h2 {
        font-size: 24px;
    }

    .produtos {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .card {
        width: 90%;
    }

    .categorias {
        justify-content: flex-start;
        padding: 10px;
    }
}


/* TABLET (481px até 768px) */
@media (min-width: 481px) and (max-width: 768px) {

    .produtos {
        justify-content: center;
    }

    .card {
        width: 45%;
    }

    .banner-text h2 {
        font-size: 30px;
    }
}


/* NOTEBOOK / DESKTOP (769px pra cima) */
@media (min-width: 769px) {

    .produtos {
        justify-content: center;
    }

    .card {
        width: 250px;
    }
}

/* CATEGORIAS */
.categorias {
    display: flex;
    justify-content: center;
    gap: 70px;
    padding: 20px;
    overflow-x: auto;
    margin-top: -10px;
}

.categoria {
    text-align: center;
    min-width: 80px;
}

.categoria img {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* DEIXA REDONDO */
    object-fit: cover;
    border: 3px solid #eb5757;
    margin-top: -20px;
}

.categoria p {
    margin-top: 5px;
    font-size: 14px;
}

/* ANIMAÇÃO */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* MOBILE MENU */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background: black;
        position: absolute;
        top: 60px;
        left: 0;
    }

    nav a {
        padding: 15px;
        border-top: 1px solid #333;
    }

    nav.active {
        display: flex;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    font-size: 30px;
    padding: 15px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    z-index: 1000;
}

