/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Readex Pro', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* Banner */
.banner {
    width: 100vw;
    height: 75vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(../imagens/bateria4.jpg.png) no-repeat center center/cover;
    background-size: cover;
    background-color: #f71111;
    background-position: center;
     display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    margin: 0;
}

.banner h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.banner p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.btn-banner {
    background-color: #f53123;
    color: #fff;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-banner:hover {
    background-color: #d42a2a;
}

/* Navegação */
nav {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    background-color: rgba(0,0,0,0.6);
    padding: 10px 20px;
    border-radius: 30px;
    z-index: 1000;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

nav a:hover {
    background-color: #f53123;
    color: #fff;
    transform: scale(1.05);
}

/* Promoções */
.promocao {
    padding: 1rem 1rem;
}

.promocao h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.promocao-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    justify-content: center;
    align-items: center;
    text-align: center;
    justify-items: center;
}
.promocao img {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1.5 / 1;   /* força 1x1 */
    object-fit: cover;     /* preenche o quadrado, cortando bordas se necessário */
    border-radius: 10px;
    margin-bottom: 10px;
    display: block
}

/* Produtos */
.produtos {
    padding: 3rem 1rem;
}

.produtos h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.produtos-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    justify-items: center;
}


/* Ajustes para tablets */
@media (max-width: 1200px) {
    .produtos-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ajustes para celulares grandes */
@media (max-width: 900px) {
    .produtos-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Ajustes para celulares pequenos */
@media (max-width: 600px) {
    .produtos-container {
        grid-template-columns: 1fr;
    }
}


.produto {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 15px;
}

.produto:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.produto img {
    width: 100%;
    aspect-ratio: 1.5 / 1;   /* força 1x1 */
    object-fit: cover;     /* preenche o quadrado, cortando bordas se necessário */
    border-radius: 10px;
    margin-bottom: 10px;
    display: block;
}

.selos {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0;
}

.selos span {
    background-color: #e6f7ff;
    color: #f71111;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.btn-produto {
    display: inline-block;
    margin-top: 10px;
    background-color: #353131;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-produto:hover {
    background-color: #eb0c0c;
}

/* Sobre */
/* Sobre */
.sobre {
    padding: 3rem 1rem;
    text-align: center;
    background: #ffffff;
    border-radius: 20px;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* faixa superior da cor da marca */
.sobre::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: #d62828; /* vermelho da marca */
    border-radius: 20px 20px 0 0;
}

.sobre h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #111;
    font-weight: 700;
}

.sobre p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.7;
}


/* Contato */
.contato {
    padding: 3rem 1rem;
    text-align: center;
    background: #ffffff;
    border-radius: 20px;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.contato::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: #d62828; /* vermelho da marca */
    border-radius: 20px 20px 0 0;
}
.contato form {
    max-width: 500px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contato input, 
.contato textarea {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    outline: none;
    width: 100%;
}

.contato input:focus,
.contato textarea:focus {
    border-color: #6d4744;
}

.contato button {
    padding: 12px;
    border-radius: 10px;
    border: none;
    background-color: #443838;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
}

.contato button:hover {
    background-color: #d42a2a;
}

/* WhatsApp flutuante */
.whatsapp-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 30%;
    background-color: #25d366;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

.whatsapp-link:hover {
    transform: scale(1.1);
}

.whatsapp-link img,
.whatsapp-link svg {
    width: 70%;
    height: 70%;
}

.btn-instagram {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 999;
    border-radius: 50%;
    overflow: hidden; /* corta o fundo branco da imagem */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}


.btn-instagram img {
    width: 70%;
    height: 70%;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.btn-instagram:hover img {
    transform: scale(1.1);
}

   /* telas menores */
@media (max-width: 480px) {

    .whatsapp-link {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-link img,
    .whatsapp-link svg {
        width: 70%;
        height: 70%;
    }

    .btn-instagram {
        width: 60px;
        height: 60px;
        bottom: 100px;
        right: 20px;
    }

    .btn-instagram img {
        width: 70%;
        height: 70%;
    }
}

/* Mapa */
.mapa-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.mapa-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

/* Rodapé */
footer {
    text-align: center;
    background-color: #1d1b1b;
    color: #fff;
    padding: 1.5rem;
    margin-top: 2rem;
    border-top: 3px solid #f53123;
}
/* ===== Correções de responsividade do BANNER ===== */
.banner h1 {
    /* tamanho fluido: mínimo 1.4rem, cresce com a tela, máximo 3rem */
    font-size: clamp(1.4rem, 6.5vw, 3rem);
    line-height: 1.15;
    margin-bottom: 0.5rem;
    max-width: 18ch;            /* limita a largura do título para não “espalhar” */
    margin-inline: auto;
    word-wrap: break-word;
    word-break: break-word;
}

.banner p {
    font-size: clamp(1rem, 3.5vw, 1.3rem);
    margin-bottom: 1.5rem;
    max-width: 38ch;
    margin-inline: auto;
}

/* tablets */
@media (max-width: 900px) {
    .banner { height: 65vh; }
}

/* celulares pequenos */
@media (max-width: 480px) {
    .banner {
        /* dá espaço por causa do nav fixo no topo */
        padding: 80px 16px 0;
        height: 60vh;
    }

    .btn-banner {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}



