@charset "UTF-8";

* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Archivo+Black&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');

:root {
    --vermelho-sa: #d11333; /* vermelho principal */
    --azul-escuro-sa: #003087; /* azul mais escuro */
    --azul-medio-sa: #0047BB; /* azul médio */
    --branco: #FFFFFF;
    --verdewp: #25D366; /* Verde Whatsapp */
    --verdeescuro: #17603c;
    --ss: #d6c8a2;
    --marrom: #8B5A2B;
    --roboto: 'Roboto', sans-serif;
    --Anton: 'Anton', sans-serif;
    --Black: 'Archivo Black', sans-serif;
}

/* ============================================= 
   LAYOUT BASE E CONTAINER PRINCIPAL 
   ============================================= */

html {
}

body {
    font-family: var(--roboto);
    animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body a {
    text-decoration: none;
}

main {
    margin: 0 auto;
    max-width: 1250px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.300);
}

header {
    background-color: #b90c29;
}





.imglogo {
    border-radius: 50%;
    margin: auto;
    width: 300px;
    display: block;
    transition: 0.5s;
}

/* Navbar */
.navbar {
    width: 98%;
    background-color: #b90c29;
    position: sticky;
    top: 0px;
    z-index: 10;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 10px #0000003a;
    border-radius: 8px;

}
.navbar1 {
    position: sticky;
    top: 0px;
    z-index: 30;
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: #b90c29;
    padding: 10px;

}

/* Menu hambúrguer - inicialmente escondido */
.menu-toggle {
    position: relative;
    height: 60px;
    padding: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
   
}

.menu-toggle span {
    width: 40px;
    height: 4px;
    background-color: var(--branco);
    margin: 4px 0;
    transition: 0.5s;
    border-radius: 2px;
}

/* Animação do hambúrguer quando ativo */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(180deg);
}

.menu-toggle.active span:nth-child(2) {
    transform: rotate(180deg) ;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(180deg) ;
}

.links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.links a {
    padding: 5px 30px;
    margin: 8px;
    text-decoration: none;
    color: var(--branco);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bolder;
    font-size: 1.7em;
    display: inline-block;
    transition: 0.5s;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.63);
}






.links a:hover {
    box-shadow: 0px 0px 20px red;
    border-radius: 5px;
}

.links a#lwtp {
    background-color: var(--verdeescuro);
    padding: 15px;
    border-radius: 5px;
}

.links a#lwtp:hover {
    transform: scaleX(1.1);
    transform: scaleY(1.1);
    box-shadow: 0px 0px 10px var(--verdeescuro);
    border-radius: 10px;
}

/* Seção principal (front) */
.front {
     background-image: url("../imagens/imagemdafrente/imgdestaque2.jpg");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
}

.contentp {
    padding-top: 70px;
    margin-left: 5%;
    margin-right: 5%;
    max-width: 1000px;
}


.nomeloja {
    font-family: var(--Black);
    font-weight: 900;
    font-size: 4.5em;
    color: #1a1919;
    margin-bottom: 85px;
    transition: 0.5s;
}

#MOVEIS {
    color: var(--vermelho-sa);
}

#ELETRO {
    color: var(--azul-escuro-sa);
}

.marca {
    vertical-align: top;
    font-size: 0.4em;
}

.contentp h1 {
    font-family: var(--roboto);
    font-size: 3em;
    font-weight: bolder;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.500);
    margin-bottom: 25px;
}

.contentp p {
    font-size: 1.5em;
    font-family: var(--roboto);
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.534);
}

.linkfrente {
   
    padding: 30px 20px 50px 0px;
    border-radius: 8px;
    margin-top: 20px;
}

.linkfrente a.a1 {
    text-decoration: none;
    font-family: var(--roboto);
    font-weight: bold;
    font-size: 1.5em;
    padding: 15px;
    margin: 0px -20px;
    color: var(--branco);
    background-color: var(--vermelho-sa);
    border-radius: 10px;
    transition: 0.3s;
}

.linkfrente a#a2 {
    text-decoration: none;
    font-family: var(--roboto);
    font-weight: bold;
    font-size: 1.5em;
    border-radius: 10px;
    padding: 15px;
    margin: 0px 30px 0px 0px;
    color: var(--branco);
    background-color: var(--verdeescuro);
    transition: 0.3s;
}

.linkfrente .a1:hover {
    box-shadow: 0px 0px 10px var(--vermelho-sa);
    transform: scaleX(1.1);
    transform: scaleY(1.1);
}

.linkfrente #a2:hover {
    box-shadow: 0px 0px 10px var(--verdeescuro);
    transform: scaleX(1.1);
    transform: scaleY(1.1);
}

/* Categorias */
.categorias1 {
    background-color: var(--branco);
    padding: 10px;
}

.categorias1 h1 {
    font-family: var(--Black);
    font-weight: bolder;
    color: var(--vermelho-sa);
    display: flex;
    justify-content: left;
    padding-left: 10px;
    margin: 30px;
}

.subcategorias1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
}

.subcategorias1 img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
}

.subcategorias1 p {
    margin: 10px;
    text-align: center;
    font-family: var(--Black);
    font-size: 1.6em;
    font-weight: 500;
    color: black;
}

.c1div1, .c1div2, .c1div3, .c1div4 {
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.400);
    overflow: hidden;
    transition: 0.5s;
    background-color: #fff;
}

.c1div1:hover, .c1div2:hover, .c1div3:hover, .c1div4:hover {
    transform: scale(0.95)
}

/* Produtos em destaque */
.categorias2 {
    background-color: var(--branco);
    margin: 0px 60px;
}

.categorias2 h1 {
    font-family: var(--Black);
    font-weight: bolder;
    color: var(--vermelho-sa);
    text-align: center;
    padding-left: 10px;
    margin: 30px;
    border-radius: 10px;
    padding: 10px;
    background-color: #e2e2e2de;
}

.subcategorias2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    transition: 0.5;
}

.subcategorias2 img {
    width: 100%;
    height: 250px;        /* altura padrão das imagens */
    object-fit: cover;    /* corta sem distorcer */
    border-radius: 10px 10px 0px 0px;
    display: block;
}

.subcategorias2 p {
    margin: 10px;
    text-align: center;
    font-family: var(--Black);
    font-size: 1.2em;
    font-weight: 500;
}

.c2divA, .c2divB, .c2div3, .c2div4 {
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.400);
    overflow: hidden;
    transition: 0.5s;
    background-color: #fff;
}

.c2divA:hover, .c2divB:hover, .c2div3:hover, .c2div4:hover {
    transform: scale(0.95)
}

.c2divA .produto, .c2divB .produto, .c2div3 .produto, .c2div4 .produto {
    font-family: var(--Anton);
    font-size: 1.6em;
    margin: 5px;
    color: black;
}

.c2divA .valor {
    color: var(--vermelho-sa);
}

.c2divB .valor {
    color: var(--azul-medio-sa);
}

.c2divA .valor {
    color: var(--vermelho-sa);
}

.c2divB .valor {
    color: var(--azul-medio-sa);
}


.subcategorias2 .valor {
    font-weight: bolder;
    font-size: 1.6em;
    text-shadow: 0px 0px 1px black;
}

.subcategorias2 .valor:hover {
    text-decoration: underline;
}

.parcelas {
    font-size: 1.2em;
    color: rgb(58, 58, 58);
}

.valor-acrescimo {
    font-weight: bold;
}

/* Quem Somos */
.qs {
    background: white;
    padding: 20px;
}

.subqs {
    display: flex;
    border-radius: 20px;
    background: #e2e2e2de;
}

.qs1 {
    max-width: 800px;
    padding: 30px;
}

.qs1 h2 {
    font-family: var(--roboto);
    font-size: 2.5em;
    color: var(--vermelho-sa);
    padding: 10px;
}

.qs1 p {
    text-align: justify;
    display: grid;
    font-size: 1.5em;
    padding: 10px;
    margin-bottom: 10px;
}

.qs1 a {
    font-family: var(--roboto);
    font-weight: 600;
    color: var(--branco);
    font-size: 1.5em;
    padding: 15px 5px;
    border-radius: 6px;
    background-color: var(--verdeescuro);
}

.qs2 {
    display: grid;
}

.qs2 img {
    width: 60px;
    margin: 0px 15px;
}

.qs2 p {
    display: grid;
    justify-content: center;
    margin: 10px;
    display: flex;
    font-size: 1.5em;
}

/* Footer */
abbr {
    text-decoration: none;
}

footer {
    padding: 15px;
    text-align: center;
    background-image: linear-gradient(to bottom, var(--vermelho-sa), #a10f27);
    color: white;
    font-family: var(--roboto);
    font-size: 0.9rem;
}

/* ============================================= 
   MEDIA QUERIES - RESPONSIVIDADE PROGRESSIVA 
   ============================================= */

/* Começa a reduzir a partir de 1500px */
@media (max-width: 1500px) {
    .nomeloja {
        font-size: 4.2em;
    }
    .imglogo {
        width: 250px;
    }
    .contentp {
        margin-left: 0;
        
    }
    .contentp h1 {
        font-size: 2.6em;
    }
    .contentp p {
        font-size: 1.3em;
    }
    .linkfrente a.a1, .linkfrente a#a2 {
        font-size: 1.3em;
        padding: 12px 20px;
    }
    .linkfrente a#a2 img {
        width: 32px;
    }
    .front {
        background-position: center center;
        min-height: 60vh;
        transition: 0.5s;
    }
    .contentp {
        padding-left: 50px;
    }
}

@media (max-width: 1280px) {
    .nomeloja {
        font-size: 3.2em;
        margin-bottom: 50px;
    }
    .imglogo {
        width: 220px;
    }
    .contentp {
        margin-left: 30px;
        padding-top: 40px;
    }
    .contentp h1 {
        font-size: 2.3em;
    }
    .links a {
        font-size: 1.4em;
        padding: 5px 20px;
        margin: 6px;
    }
    .front {
        min-height: 50vh;
    }
}

/* Tablets landscape / notebooks menores */
@media (max-width: 1024px) {
    .nomeloja {
        font-size: 2.8em;
        margin-bottom: 40px;
        text-align: center;
    }
    .imglogo {
        width: 200px;
    }
    .contentp {
        padding-top: 70px;
        max-width: 1000px;
        margin: 0 auto;
        text-align: center;
    }
    .contentp {
        padding-left: 0px;
    }
    .contentp h1 {
        font-size: 2.1em;
    }
    .contentp p {
        font-size: 1.2em;
    }
    .linkfrente {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .linkfrente a.a1, .linkfrente a#a2 {
        width: 70%;
        text-align: center;
        margin: 0;
    }
    .links a {
        font-size: 1.2em;
        padding: 8px 15px;
    }
    .front {
        background-position: center;
    }
    .subcategorias1 p {
        font-size: 1.3em;
    }
    .nomeloja {
        font-size: 3em;
    }
    .subcategorias2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Quando não couber mais 4 colunas → cai para 2 */
@media (max-width: 960px) {
    .subcategorias1 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets portrait / celulares grandes - ATIVA MENU HAMBÚRGUER */
@media (max-width: 768px) {
    /* Mostra o botão hambúrguer */
    .menu-toggle {
        display: flex;
        width: 100%;
        justify-content: center;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        flex-direction: column;
        align-items: center;
    }

    .navbar {
        padding: 25px;
        position: relative;
        justify-content: center;
    }

    /* Links ficam em coluna e escondidos por padrão */
    .links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #a10f27;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.3);
    }
    
    /* Quando ativo, mostra o menu */
    .links.active {
        max-height: 600px;
        padding: 10px;
    }

    .links a {
        padding: 10px 20px;
        margin: 5px 0;
        font-size: 1.3em;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

     .navbar1 {
        position: relative;
        top: auto;
    }

    .navbar {
        position: relative;
    }


    .links a#lwtp {
        margin: 10px 20px;
        width: calc(100% - 40px);
    }

    .nomeloja {
        font-size: 2.5em;
    }
    .contentp {
        padding: 30px 15px 15px;
        margin: 0;
        text-align: center;
    }
    .contentp h1 {
        font-size: 2em;
    }
    .imglogo {
        width: 190px;
    }
    .categorias1 h1, .categorias2 h1 {
        font-size: 2em;
        text-align: center;
    }
    .categorias1 img, .categorias2 img {
        max-width: 100%;
        height: auto;
    }
    .produto {
        font-size: 1.3em !important;
    }
    .valor {
        font-size: 1.7em;
    }
    .parcelas {
        font-size: 1em !important;
    }
    .subcategorias1 p {
        font-size: 1.2em;
    }
    .subqs {
        flex-direction: column;
    }
    .subqs .qs1 {
        text-align: center;
        width: 100%;
    }
    .subqs .qs1 p {
        font-size: 1.5em;
    }
    .subqs .qs2 {
        width: 100%;
    }

}

@media (max-width: 650px) {
    .imglogo {
        transition: 0.5s;
        width: 170px;
    }
    .nomeloja {
        margin-bottom: 20px;
    }
    .linkfrente {
        margin-top: 0px;
    }
}


@media (max-width: 555px) {
    .categorias2 {
        margin: 0px 30px;
    }
}

/* Celular pequeno → 1 coluna */
@media (max-width: 500px) {
    .subcategorias1 {
        grid-template-columns: 1fr;
    }
}

/* Celulares pequenos */
@media (max-width: 480px) {
    .categorias2 {
        margin: 0px 20px;
    }
    .nomeloja {
        font-size: 2.5em;
    }
    .contentp h1 {
        font-size: 1.8em;
    }
    .contentp p {
        font-size: 1.1em;
    }
    .linkfrente a.a1, .linkfrente a#a2 {
        font-size: 1.1em;
        padding: 10px 15px;
        width: 70%;
    }
    .links a {
        font-size: 1.1em;
        padding: 12px 15px;
    }
    .links a#lwtp {
        padding: 12px;
        border-radius: 5px;
    }
    .subcategorias2 .valor {
        font-size: 1.4em;
    }
    .qs .subqs .qs1 a {
        font-size: 100%;
        padding: 10px 4px;
        border-radius: 6px;
    }
    .qs .subqs .qs1 p {
        text-align: justify;
        font-size: 1.3em;
    }
    .subqs .qs1 h2 {
        font-size: 2.2em;
    }
    .subqs .qs2 p {
        font-size: 1.3em;
    }
    .categorias2 h1 {
        font-size: 1.5em;
    }
    footer p {
        font-size: 0.8em;
    }
}



.aviso-novidades {
  position: relative;
  text-align: center;
  padding: 18px 30px;         
  font-family: var(--Black);
  font-size: 1.3em;
  color: white;
  background: linear-gradient(270deg, #d11333, #003087, #0047BB, #d11333);
  background-size: 600% 600%;
  animation: gradienteAnimado 8s ease infinite;
  letter-spacing: 1px;
  border-radius: 12px;              
  overflow: hidden;                 
  z-index: 1;
  border: 3px solid transparent;    
  background-clip: padding-box;     
  background-origin: border-box;    
}

/* Animação do fundo original (mantida) */
@keyframes gradienteAnimado {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.aviso-novidades p {
  margin: 0;
  position: relative;
  z-index: 2;                       /* Texto fica acima de tudo */
}

/* Rotação infinita da fita */
@keyframes rotateLED {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(10deg); }
}

/* Opcional: glow extra ao redor (pra reforçar o efeito LED) */
.aviso-novidades {
  box-shadow: 
    0 0 20px rgba(209, 19, 51, 0.2),
    0 0 20px rgba(0, 71, 187, 0.2),
    0 0 20px rgba(0, 48, 135, 0.2);
}

@media screen and (min-width: 1024px) {
    .subcategorias2:last-of-type {
        display: flex;
        justify-content: center;
        gap: 20px;
    }
}