/* AVISO DE LOJA EM TESTE */

.aviso-loja-teste{
  width:min(92%, 1180px);
  margin:14px auto 8px;
  padding:13px 18px;
  border-radius:16px;
  background:rgba(240,196,0,.14);
  border:1px solid rgba(240,196,0,.38);
  color:#fff;
  text-align:center;
  box-shadow:0 8px 18px rgba(0,0,0,.22);
}

.aviso-loja-teste strong{
  color:var(--gold2);
  font-weight:900;
  text-transform:uppercase;
}

.aviso-loja-teste span{
  display:block;
  margin-top:4px;
  font-size:14px;
  line-height:1.4;
  color:rgba(255,255,255,.92);
}

/* HOME */

.hero{
  padding-top:10px;
  padding-bottom:26px;
}

.banner-principal-wrap{
  position:relative;
  width:min(92%, 1250px);
  margin:0 auto 8px;
  border-radius:22px;
  padding:6px;
  background:linear-gradient(145deg, rgba(110,69,22,.95), rgba(10,8,7,.96));
  box-shadow:0 14px 30px rgba(0,0,0,.34);
}

.banner-principal-wrap::before{
  content:"";
  position:absolute;
  inset:3px;
  border-radius:18px;
  border:2px solid rgba(130,82,30,.85);
  box-shadow:inset 0 0 0 1px rgba(255,213,89,.10);
  pointer-events:none;
}

.banner-principal{
  overflow:hidden;
  border-radius:16px;
  background:#111;
}

.banner-principal img{
  width:100%;
  height:auto;
}

.area-unica{
  width:min(92%, 1180px);
  margin:0 auto;
  padding:10px 18px 20px;
  position:relative;
  background:transparent;
}

.topo-vitrine{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:26px;
  align-items:end;
  position:relative;
}

.topo-vitrine::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:2px;
  background:linear-gradient(
    90deg,
    transparent 0%,
    rgba(205,143,41,.85) 8%,
    rgba(205,143,41,.22) 24%,
    rgba(205,143,41,.10) 50%,
    rgba(205,143,41,.22) 76%,
    rgba(205,143,41,.85) 92%,
    transparent 100%
  );
}

.painel-lateral{
  position:relative;
  border-radius:18px;
  min-height:320px;
  display:flex;
  align-items:stretch;
  justify-content:center;
}

.banner-medidas-html{
  width:100%;
  min-height:320px;
  border-radius:18px;
  padding:10px;
  background:
    linear-gradient(rgba(0,0,0,.10), rgba(0,0,0,.20)),
    url("../banner/fundo.png") center center / cover no-repeat;
  box-shadow:
    inset 0 0 0 2px rgba(146,88,24,.55),
    0 10px 20px rgba(0,0,0,.20);
  display:grid;
  grid-template-rows:auto 1fr;
  text-align:center;
  position:relative;
  overflow:hidden;
}

.banner-medidas-html::before{
  content:"";
  position:absolute;
  inset:8px;
  border:1px solid rgba(240,196,0,.26);
  border-radius:14px;
  pointer-events:none;
}

.banner-preco{
  position:relative;
  z-index:2;
  padding:8px 8px 10px;
  border-bottom:1px solid rgba(240,196,0,.28);
}

.preco-titulo{
  font-family:'Oswald', sans-serif;
  font-size:40px;
  font-weight:900;
  line-height:1;
  color:var(--gold2);
  text-transform:uppercase;
  text-shadow:0 2px 8px rgba(0,0,0,.45);
  margin-bottom:8px;
}

.preco-linha{
  font-family:'Oswald', sans-serif;
  font-size:29px;
  font-weight:900;
  line-height:1.02;
  color:var(--gold2);
  text-shadow:0 2px 8px rgba(0,0,0,.45);
}

.preco-valor{
  font-family:'Oswald', sans-serif;
  font-size:31px;
  font-weight:900;
  line-height:1.02;
  color:var(--gold2);
  text-shadow:0 2px 8px rgba(0,0,0,.45);
}

.banner-info{
  position:relative;
  z-index:2;
  padding:12px 14px 6px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.frase-banner{
  position:relative;
  z-index:2;
  margin-top:0;
  display:flex;
  flex-direction:column;
  gap:2px;
}

.linha-branca{
  font-family:'Oswald', sans-serif;
  font-size:26px;
  font-weight:800;
  line-height:.95;
  text-transform:uppercase;
  color:#fff;
  text-shadow:
    0 1px 0 rgba(0,0,0,.45),
    0 2px 6px rgba(0,0,0,.35);
}

.linha-amarela{
  font-family:'Oswald', sans-serif;
  font-size:28px;
  font-weight:900;
  line-height:.95;
  text-transform:uppercase;
  color:var(--gold);
  text-shadow:
    0 1px 0 rgba(0,0,0,.45),
    0 2px 6px rgba(0,0,0,.35);
}

.lista-banner{
  list-style:none;
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  gap:7px;
  align-items:flex-start;
  width:fit-content;
  margin:12px auto 0;
}

.lista-banner li{
  display:flex;
  align-items:center;
  gap:8px;
  font-family:'Montserrat', sans-serif;
  font-size:15px;
  font-weight:800;
  line-height:1.08;
  color:#fff;
  text-align:left;
}

.lista-banner li::before{
  content:"◆";
  color:var(--gold);
  font-size:10px;
  flex-shrink:0;
}

.centro-vitrine{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  min-width:260px;
  position:relative;
  z-index:2;
}

.titulo-centro{
  text-align:center;
  color:#f2dfb4;
  font-family:Georgia, "Times New Roman", serif;
  text-shadow:0 2px 8px rgba(0,0,0,.35);
  line-height:1.02;
}

.titulo-centro .l1{
  display:block;
  font-size:21px;
  font-weight:500;
}

.titulo-centro .l2{
  display:block;
  font-size:23px;
  font-weight:700;
}

.placa-central-wrap{
  width:235px;
  height:325px;
  border-radius:10px;
  overflow:hidden;
  background:#111;
  border:2px solid rgba(255,208,0,.08);
  box-shadow:0 8px 20px rgba(0,0,0,.28);
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease;
}

.placa-central-wrap:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 28px rgba(0,0,0,.35);
}

.placa-central-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.faixa-destaque{
  margin-top:26px;
  position:relative;
  text-align:center;
}

.faixa-destaque::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:50%;
  transform:translateY(-50%);
  height:2px;
  background:linear-gradient(
    90deg,
    transparent 0%,
    rgba(205,143,41,.90) 8%,
    rgba(205,143,41,.22) 24%,
    rgba(205,143,41,.10) 50%,
    rgba(205,143,41,.22) 76%,
    rgba(205,143,41,.90) 92%,
    transparent 100%
  );
}

.faixa-destaque h2{
  display:inline-block;
  position:relative;
  z-index:2;
  padding:0 20px;
  background:transparent;
  font-size:28px;
  font-weight:900;
  color:var(--gold2);
  text-shadow:0 2px 10px rgba(0,0,0,.35);
}

.vitrine-rodape{
  margin-top:12px;
  display:grid;
  grid-template-columns:100px 1fr 100px;
  align-items:center;
  gap:18px;
  max-width:980px;
  margin-left:auto;
  margin-right:auto;
}

.carousel-btn{
  width:58px;
  height:58px;
  border-radius:50%;
  border:none;
  background:linear-gradient(180deg, #f2c93d, #d89d07);
  color:#000;
  font-size:32px;
  font-weight:900;
  cursor:pointer;
  margin:0 auto;
  transition:transform .2s ease, filter .2s ease;
  box-shadow:0 8px 18px rgba(0,0,0,.25);
}

.carousel-btn:hover{
  transform:scale(1.06);
  filter:brightness(1.05);
}

.info-placa{
  text-align:center;
  background:rgba(0,0,0,.38);
  border-radius:18px;
  padding:12px 20px 16px;
  border:1px solid rgba(180,110,35,.6);
  box-shadow:0 10px 18px rgba(0,0,0,.18);
  max-width:360px;
  margin:0 auto;
  position:relative;
}

.info-placa::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:18px;
  box-shadow:inset 0 0 0 2px rgba(128,77,24,.35);
  pointer-events:none;
}

.medida-atual{
  display:inline-block;
  background:linear-gradient(180deg, #f2c93d, #d8a510);
  color:#000;
  font-weight:900;
  font-size:15px;
  padding:7px 18px;
  border-radius:10px;
  box-shadow:0 4px 10px rgba(0,0,0,.25);
  margin-bottom:10px;
}

.nome-placa{
  font-size:18px;
  font-weight:800;
  color:#fff;
  margin-bottom:14px;
  line-height:1.15;
}

.btn-comprar{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:240px;
  padding:12px 18px;
  border:none;
  border-radius:12px;
  background:linear-gradient(180deg, #f7cf4f, #d89d07);
  color:#000;
  font-size:16px;
  font-weight:900;
  text-transform:uppercase;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(0,0,0,.28);
  transition:transform .2s ease, filter .2s ease;
}

.btn-comprar:hover{
  transform:translateY(-2px);
  filter:brightness(1.04);
}

.faixa-acoes{
  margin-top:18px;
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  gap:20px;
  flex-wrap:wrap;
}

.botao-categorias{
  display:flex;
  justify-content:flex-start;
  align-items:center;
}

.botao-categorias a{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  transition:transform .2s ease;
}

.botao-categorias a:hover{
  transform:scale(1.02);
}

.botao-categorias img{
  width:min(100%, 430px);
  height:auto;
}

/* RESPONSIVO HOME */

@media (max-width: 1100px){
  .topo-vitrine{
    gap:18px;
  }

  .placa-central-wrap{
    width:210px;
    height:290px;
  }

  .preco-titulo{
    font-size:31px;
  }

  .preco-linha{
    font-size:23px;
  }

  .preco-valor{
    font-size:25px;
  }

  .linha-branca{
    font-size:22px;
  }

  .linha-amarela{
    font-size:24px;
  }

  .lista-banner li{
    font-size:13px;
  }
}

@media (max-width: 780px){
  .aviso-loja-teste{
    width:94%;
    margin:10px auto 6px;
    padding:11px 12px;
    border-radius:14px;
  }

  .aviso-loja-teste strong{
    font-size:13px;
  }

  .aviso-loja-teste span{
    font-size:12px;
  }

  .banner-principal-wrap{
    border-radius:18px;
    padding:5px;
  }

  .banner-principal-wrap::before{
    inset:3px;
    border-radius:14px;
  }

  .banner-principal{
    border-radius:12px;
  }

  .area-unica{
    width:96%;
    padding:8px 8px 18px;
  }

  .topo-vitrine{
    grid-template-columns:125px 150px 125px;
    gap:10px;
    justify-content:center;
    align-items:end;
  }

  .painel-lateral{
    min-height:auto;
  }

  .banner-medidas-html{
    min-height:170px;
    height:170px;
    border-radius:14px;
    padding:6px;
  }

  .banner-medidas-html::before{
    inset:5px;
    border-radius:10px;
  }

  .banner-preco{
    padding:4px 3px 5px;
  }

  .preco-titulo{
    font-size:16px;
    margin-bottom:3px;
  }

  .preco-linha{
    font-size:10px;
    line-height:1.05;
  }

  .preco-valor{
    font-size:11px;
    line-height:1.05;
  }

  .banner-info{
    padding:5px 4px 3px;
  }

  .frase-banner{
    gap:0;
  }

  .linha-branca{
    font-size:9px;
  }

  .linha-amarela{
    font-size:10px;
  }

  .lista-banner{
    gap:3px;
    margin-top:5px;
  }

  .lista-banner li{
    font-size:6.8px;
    gap:3px;
    line-height:1;
  }

  .lista-banner li::before{
    font-size:6px;
  }

  .centro-vitrine{
    min-width:auto;
    gap:6px;
  }

  .titulo-centro .l1{
    font-size:15px;
  }

  .titulo-centro .l2{
    font-size:16px;
  }

  .placa-central-wrap{
    width:150px;
    height:205px;
  }

  .faixa-destaque{
    margin-top:16px;
  }

  .faixa-destaque h2{
    font-size:22px;
  }

  .vitrine-rodape{
    grid-template-columns:52px 1fr 52px;
    gap:8px;
    max-width:100%;
  }

  .carousel-btn{
    width:42px;
    height:42px;
    font-size:22px;
  }

  .info-placa{
    max-width:260px;
    padding:10px 10px 12px;
    border-radius:14px;
  }

  .medida-atual{
    font-size:13px;
    padding:6px 14px;
  }

  .nome-placa{
    font-size:15px;
  }

  .btn-comprar{
    min-width:180px;
    font-size:13px;
    padding:10px 12px;
  }

  .faixa-acoes{
    justify-content:center;
  }

  .botao-categorias{
    justify-content:center;
    width:100%;
  }

  .botao-categorias img{
    width:min(100%, 300px);
  }
}

@media (max-width: 480px){
  .preco-titulo{
    font-size:14px;
  }

  .preco-linha{
    font-size:9px;
  }

  .preco-valor{
    font-size:10px;
  }

  .linha-branca{
    font-size:8px;
  }

  .linha-amarela{
    font-size:9px;
  }

  .lista-banner li{
    font-size:6.2px;
  }

  .titulo-centro .l1{
    font-size:13px;
  }

  .titulo-centro .l2{
    font-size:14px;
  }

  .info-placa{
    max-width:220px;
  }

  .btn-comprar{
    min-width:160px;
  }
}
/* AJUSTE SEGURO DO CARROSSEL - NÃO CORTAR PLACA */
#placaClick{
  width:300px;
  height:300px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  margin:0 auto;
}

#placaPrincipal{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
}
/* ==============================
   HOME NO CELULAR - LADO A LADO
   ============================== */

@media (max-width: 780px){

  .topo-vitrine{
    display:grid;
    grid-template-columns: 26% 48% 26%;
    gap:6px;
    align-items:center;
    width:100%;
  }

  .painel-lateral{
    width:100%;
    max-width:none;
    min-height:auto;
    border-radius:12px;
  }

  .painel-lateral.esq,
  .painel-lateral.dir{
    order:initial;
  }

  .banner-medidas-html,
  .banner-preco-html{
    min-height:190px;
    padding:8px 5px;
    justify-content:center;
  }

  .banner-medidas-html h2,
  .banner-preco-html h2{
    font-size:15px;
    line-height:1.05;
    margin-bottom:6px;
  }

  .banner-medidas-html p,
  .banner-preco-html p{
    font-size:9px;
    line-height:1.25;
  }

  .banner-preco-html ul{
    margin:8px 0 0 10px;
  }

  .banner-preco-html li{
    font-size:8.5px;
    line-height:1.25;
    margin-bottom:3px;
  }

  .preco-home{
    font-size:17px;
    margin:4px 0;
  }

  .vitrine-centro,
  .carrossel-central,
  .carrossel-home{
    width:100%;
    max-width:none;
    min-height:auto;
    padding:6px 4px;
    border-radius:12px;
  }

  #placaClick{
    width:100%;
    height:190px;
    max-width:100%;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
  }

  #placaPrincipal{
    max-width:100%;
    max-height:100%;
    width:auto;
    height:auto;
    object-fit:contain;
    display:block;
  }

  .titulo-carrossel,
  .carrossel-titulo{
    margin-bottom:4px;
  }

  .titulo-carrossel h2,
  .carrossel-titulo h2{
    font-size:15px;
  }

  .titulo-carrossel p,
  .carrossel-titulo p{
    font-size:9px;
  }

  .info-placa-atual{
    width:100%;
    margin:8px auto 0;
    text-align:center;
  }

  #nomeAtual,
  .nome-atual{
    font-size:17px;
    line-height:1.1;
  }

  #medidaAtual,
  .medida-atual{
    font-size:13px;
  }

  #btnComprar,
  .btn-comprar-destaque{
    width:95%;
    min-width:0;
    max-width:180px;
    padding:10px 8px;
    font-size:12px;
    margin-top:10px;
  }

  .controles-carrossel,
  .carrossel-controles{
    display:flex;
    justify-content:center;
    gap:8px;
    margin-top:10px;
  }

  #prevBtn,
  #nextBtn{
    width:38px;
    height:38px;
    font-size:20px;
  }
}

@media (max-width: 480px){

  .topo-vitrine{
    grid-template-columns: 25% 50% 25%;
    gap:4px;
  }

  .banner-medidas-html,
  .banner-preco-html{
    min-height:170px;
    padding:6px 4px;
  }

  .banner-medidas-html h2,
  .banner-preco-html h2{
    font-size:13px;
  }

  .banner-medidas-html p,
  .banner-preco-html p{
    font-size:8px;
  }

  .banner-preco-html li{
    font-size:7.5px;
  }

  .preco-home{
    font-size:15px;
  }

  #placaClick{
    height:170px;
  }

  #nomeAtual,
  .nome-atual{
    font-size:15px;
  }

  #medidaAtual,
  .medida-atual{
    font-size:12px;
  }

  #btnComprar,
  .btn-comprar-destaque{
    font-size:11px;
    padding:9px 6px;
  }
}