html {
	scroll-behavior: smooth;
}

body {
	background-color: #eef1f5;
}

header {
	background: #000;
}

footer {
	background: #000;
	border-top: 5px solid #662d91;
	color: #fff;
	margin-top: 40px;
	font-family: 'Plus Jakarta Sans', sans-serif;
}

footer h4 {
	color: #8f50bf;
	font-size: 1.15rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
}

footer div div div,
.banners div {
	margin-top: 30px;
	margin-bottom: 30px
}

footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

footer li {
	padding: 0 0 8px 0;
	font-size: 14px;
	font-weight: 400;
}

.pw-footer-desenvolvedor {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    width: 100%;
}

.plataformaweb {
	display: block;
	width: 50px;
	height: 38px;
	text-indent: -9999px;
	overflow: hidden;
	color: transparent;
	font-size: 0;
	line-height: 0;
	background: url(/pw-auto-site/00/images/plataformaweb.png) no-repeat center center;
	background-size: contain;
	opacity: 0.8;
	transition: opacity 0.3s ease, transform 0.3s ease;
	margin: 0 auto;
}
.plataformaweb:hover {
	opacity: 1;
	transform: scale(1.08);
}

.box {
	background: #ffffff;
	color: #1c1c1e;
	display: block;
	margin-bottom: 30px;
	border-radius: 5px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.box:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), 0 6px 18px rgba(102, 45, 145, 0.25);
}
/* sem sublinhado nos links dos cards */
.box, .box:hover,
.box a, .box a:hover {
	text-decoration: none;
}
/* wrapper com raio no próprio filho: com transform no hover o clip
   do overflow:hidden do card falha no Chrome (camada composta) */
.box .box-img-wrapper {
	overflow: hidden;
	border-radius: 5px 5px 0 0;
}
.box .box-img-wrapper img {
	display: block;
	transition: transform 0.3s ease;
}
.box:hover .box-img-wrapper img {
	transform: scale(1.04);
}

.box h4 {
	color: #080808;
	background-color: #e7e7e7;
	padding: 10px 12px 8px;
	font-size: 18px;
	margin: 0;
}

/* marca em linha própria, menor, acima do modelo */
.box h4 .pw-sl-marca {
	display: block;
	color: #8c909e;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin-bottom: 2px;
}

/* modelo em 1 linha: cards com a mesma altura */
.box h4 .pw-sl-modelo {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* preço no mesmo fundo do modelo: corpo do card contínuo */
.box .barra {
	padding: 6px 12px 12px;
	background: #e7e7e7;
	color: #1c1c1e;
	font-size: 20px;
	font-weight: 800;
}

/* "R$" e ",00" menores que o valor */
.box .barra .pw-preco-moeda,
.box .barra .pw-preco-centavos {
	font-size: 62%;
	font-weight: 700;
	color: #8c909e;
}

/* "Ver detalhes" no mesmo fundo do modelo — assume o roxo no hover do card */
.home_carro_detalhes {
	padding: 10px;
	background: #e7e7e7;
	color: #662d91;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-radius: 0 0 5px 5px;
	transition: all 0.25s ease;
}
.box:hover .home_carro_detalhes {
	background: #662d91;
	color: #ffffff;
}

@media(min-width:992px) {
	.destaque .col-md-4 {
		padding: 0 30px 0 0
	}
}

@media(min-width:401px) and (max-width:991px) {
	body {
		/*margin-top: 300px;*/
	}
}

.menu {
	background: #111
}

.navbar-right.navbar-text {
	white-space: nowrap
}

.nav-tabs.nav-justified>li>a {
	margin-bottom: 5px;
	text-align: center;
	color: #8339bb;
	white-space: nowrap;
	font-family: 'Ethnocentric Rg', sans-serif;
}

.nav-tabs.nav-justified>li>a:hover {
	color: #fff;
}

.nav-tabs.nav-justified>li:hover {
	background: #552976
}

hr {
	border-top: 4px solid #ccc
}

.margin-bt40 {
	margin-bottom: 40px
}

.titulo {
	background: #424251;
	color: #fff;
	border-radius: 6px;
	padding: 15px;
	margin: 0 0 30px
}

h1, .h1 {
    font-size: 36px;
    margin: 0;
    color: #000;
    font-family: 'Ethnocentric Rg', sans-serif;
}

h2 {
	color: #000
}

h4 {
	color: #424251
}

h5 {
	color: #CCC
}

.marcas {
	padding-left: 30px;
	padding-right: 30px;
}

/* grimm */
.busca {
	border-top: 4px solid #662d91;
	border-radius: 8px;
	background-color: #000;
	margin-bottom: 20px;
	padding: 20px;
}

.navbar-default .navbar-text {
	color: #FFF;
}

.coluna_esquerda_social_media {
	font-size: 32px;
}

.coluna_esquerda_social_media ul {
	padding: 0;
	margin: 0;
}

.coluna_esquerda_social_media ul li {
	display: inline;
	padding: 0;
	margin: 0;
}

/* pw.complemento */
#showMessage {
	max-width: 600px;
	display: block;
	font-weight: bold;
	padding: 25px;
	font-size: 20px;
	text-align: center;
	background-color: #F1F1F1;
	border: 1px solid #FF0000;
	color: #FF0000;
	border-radius: 12px;
}

/* ---------------------------------------------------
   Listagem (seminovos.php compartilhado) — cards
   brancos sobre o fundo cinza geral
   --------------------------------------------------- */
.carro-resultado {
	background-color: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	color: #1c1c1e;
	line-height: 150%;
	margin: 0 0 20px;
	padding: 20px;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
@media (min-width: 768px) {
	.carro-resultado {
		align-items: center;
	}
}
.carro-resultado:hover {
	transform: translateY(-3px);
	border-color: rgba(102, 45, 145, 0.35);
	box-shadow: 0 14px 30px rgba(20, 20, 30, 0.14);
}

/* box do tamanho exato da miniatura tn (200px) no desktop:
   preenche 100% sem upscale nem corte */
.carro-resultado .carro-img {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	background-color: #f2f3f5;
	border-radius: 12px;
	overflow: hidden;
	padding: 0 !important;
}
@media (min-width: 768px) {
	.carro-resultado .carro-img {
		max-width: 200px;
	}
}
.carro-resultado .carro-img img {
	border-radius: 12px;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform .3s ease;
}
.carro-resultado:hover .carro-img img {
	transform: scale(1.04);
}

.carro-resultado .carro-info h3 {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 10px 0 4px;
}
.carro-resultado .carro-info h3 a {
	color: #1c1c1e;
	text-decoration: none;
}
.carro-resultado .carro-info h3 a:hover {
	color: #662d91;
}
.carro-resultado .carro-info h3 .pw-sl-marca {
	display: block;
	color: #8c909e;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin-bottom: 2px;
}

.pw-seminovos-lista-detalhes {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 6px 0 14px;
}
.pw-seminovos-lista-detalhes span {
	background: #f2f3f5;
	border-radius: 50rem;
	color: #444;
	font-size: 13px;
	font-weight: 600;
	padding: 3px 12px;
}
.pw-seminovos-lista-detalhes span.badge {
	color: #fff;
}

.estoque_si_whats {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: linear-gradient(135deg, #168c46 0%, #20b35b 100%);
	border-radius: 50rem;
	color: #fff;
	font-size: 14.5px;
	font-weight: 600;
	padding: 8px 16px;
	transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}
a:hover .estoque_si_whats {
	filter: brightness(1.1);
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(32, 179, 91, 0.35);
}

.carro-resultado .marca {
	padding: 4px 0 10px;
}
.carro-resultado .marca img {
	border-radius: 8px;
}
.carro-resultado .preco {
	color: #662d91;
	font-size: 24px;
	font-weight: 800;
	margin: 0 0 10px;
	padding: 0;
}
.carro-resultado .preco .pw-preco-moeda,
.carro-resultado .preco .pw-preco-centavos {
	color: #8c909e;
	font-size: 62%;
	font-weight: 600;
}

.carro-resultado .pw-cta-carro-individual {
	background: transparent;
	border: 2px solid #662d91;
	border-radius: 8px;
	color: #662d91;
	font-weight: 700;
	padding: 8px 16px;
	transition: background .2s ease, color .2s ease;
}
.carro-resultado .pw-cta-carro-individual:hover {
	background: #662d91;
	border-color: #662d91;
	color: #fff;
}

/* shim: classe do Bootstrap 4 ainda emitida pelo seminovos.php */
.btn-block {
	display: block;
	width: 100%;
}

@media (max-width: 767.98px) {
	.carro-resultado {
		padding: 14px;
	}
	.carro-resultado .carro-img {
		margin-bottom: 12px;
	}
	.carro-resultado .preco {
		margin-top: 6px;
	}
}
/* Widget de Marcas Moderno (Fábio Motors 3287) */
.pw-marcas-widget {
    background-color: #000000;
    border-top: 5px solid #662d91;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.pw-marcas-widget-title {
    color: #8f50bf;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 14px 0;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pw-marcas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.pw-marca-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 6px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.pw-marca-card:hover {
    transform: translateY(-3px);
    border-color: #662d91;
    box-shadow: 0 6px 15px rgba(102, 45, 145, 0.35);
}

.pw-marca-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Fallback marcas_lista */
.marcas_lista {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.marcas_lista::after {
    display: none;
}
.marcas_lista_item_x {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 6px;
    text-align: center;
    width: 100%;
    height: 60px;
    float: none;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}
.marcas_lista_item_x:hover {
    transform: translateY(-3px);
    border-color: #662d91;
    box-shadow: 0 6px 15px rgba(102, 45, 145, 0.35);
}
.marcas_lista_item_x img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.home_h1_categoria {
	background-color: #000;
	border-left: 5px solid #662d91;
	color: #ffffff;
	padding: 5px 14px 5px 10px;
	width: max-content;
	margin-bottom: 3px;
	border-radius: 0 5px 5px 0;
	-webkit-border-radius: 0 5px 5px 0;
	-moz-border-radius: 0 5px 5px 0;
}
.home_h1_categoria a {
	color: #ffffff;
}
.home_h1_categoria a:hover {
	color: #8f50bf;
	text-decoration: none;
}

.home_btn_estoque_completo {
	text-align: center;
	margin: 32px 0 15px;
}

.home_btn_estoque_completo a {
	display: block;
	max-width: 420px;
	margin: 0 auto;
	background: #0e0e0e;
	color: #a06cd5;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: .05em;
	padding: 14px 40px;
	border-radius: 30px;
	transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.home_btn_estoque_completo a:hover {
	background: #662d91;
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(102, 45, 145, 0.45);
}

.pwas-whatsapp-float {
	position: fixed;
	width: 64px;
	height: 64px;
	bottom: 40px;
	right: 40px;
	background-color: #00A550;
	color: #FFF;
	border-radius: 50px;
	text-align: center;
	font-size: 48px;
	z-index: 100;
	padding-top: 8px;
}

.pwas-whatsapp-pulse {
	position: fixed;
	width: 64px;
	height: 64px;
	bottom: 40px;
	right: 40px;
	z-index: 100;
	border-radius: 50px;
	animation: pwas-whatsapp-pulse 1s infinite
}

@keyframes pwas-whatsapp-pulse {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(0, 160, 39, .7)
	}

	50% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(0, 160, 39, .6)
	}

	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(0, 160, 39, .7)
	}
}

@media only screen and (max-width: 767px) {
	.pw-footer-desenvolvedor {
		padding: 20px;
		display: flex;
		justify-content: center;
	}
	.pw-header-telefone-redes-sociais {
		height: auto;
	}
	.pw-header-telefone-redes-sociais span{
		padding: 8px 0
	}
	.pw-header-instagram{display: none}
}

.pw-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pw-footer-menu li {
    margin-bottom: 6px;
}
.pw-footer-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
}
.pw-footer-menu li a:hover {
    color: #8f50bf;
    text-decoration: underline;
}

/* Scroll List para Modelos (Fábio Motors 3287) */
.pw-footer-scroll-list::-webkit-scrollbar {
    width: 6px;
}
.pw-footer-scroll-list::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}
.pw-footer-scroll-list::-webkit-scrollbar-thumb {
    background: #8f50bf;
    border-radius: 4px;
}
.pw-footer-scroll-list::-webkit-scrollbar-thumb:hover {
    background: #662d91;
}
.pw-header-telefone-redes-sociais {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 15px;
	height: 98px
}

/* badges de contato do topo: mesma altura pros dois
   (os paddings/font-size inline diferem — !important pra vencer) */
#top_bg .badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	font-size: 15px !important;
	font-weight: 600;
	padding: 9px 16px !important;
	border-radius: 50rem;
	transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}
#top_bg a:hover .badge {
	filter: brightness(1.12);
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

a {
    color: #3a224d;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
/* ---------------------------------------------------
   Cores do Template default-bootstrap5 (Seminovo)
   --------------------------------------------------- */
.pw-si-check-icon {
    color: #8f50bf;
}

.pw-si-form-header {
    background-color: #f8f9fa !important;
}
.pw-si-form-title {
    color: #000 !important;
    font-size: 20px;
}

.pw-btn-custom {
    background-color: #662d91;
    color: #fff;
    border: none;
    font-weight: bold;
}
.pw-btn-custom:hover {
    background-color: #542577;
    color: #fff;
    text-decoration: none;
}

.info-card {
    background-color: #2c2c2c;
    border-color: #404040;
    color: #ffffff;
}
.info-card:hover {
    border-color: #8f50bf;
}
.info-card .ic-icon {
    background-color: transparent;
    color: #8f50bf;
    font-size: 20px;
}
.info-card .ic-label {
    color: #aaaaaa;
}
.info-card .ic-value {
    color: #ffffff;
}
.info-card a {
    color: #ffffff;
}
.info-card a:hover {
    color: #8f50bf;
    text-decoration: none;
}

/* "R$" e ",00" menores que o valor no card de preço */
.info-card .ic-value .pw-preco-moeda,
.info-card .ic-value .pw-preco-centavos {
    font-size: 70%;
    font-weight: 600;
    color: #aaaaaa;
}
/* ---------------------------------------------------
   Animações de entrada (só no carregamento da página)
   fill-mode "backwards": o estado inicial vale durante o delay e a
   propriedade é liberada ao terminar — por isso os transforms de
   hover continuam funcionando (com "both"/"forwards" a animação
   venceria a regra de :hover).
   --------------------------------------------------- */
@keyframes pw-entra-de-cima {
    from {
        opacity: 0;
        transform: translateY(-14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes pw-entra-de-baixo {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes pw-surge {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#top_bg {
    animation: pw-entra-de-cima 0.55s ease 0.05s backwards;
}

.pw-custom-menu {
    animation: pw-entra-de-cima 0.5s ease 0.12s backwards;
}

/* o slider é do Swiper, que controla transform no wrapper — aqui só opacidade */
.mySwiperHome {
    animation: pw-surge 0.7s ease 0.15s backwards;
}

.busca {
    animation: pw-entra-de-baixo 0.5s ease backwards;
}
.busca:nth-of-type(1) { animation-delay: 0.20s; }
.busca:nth-of-type(2) { animation-delay: 0.28s; }

.home_h1_categoria {
    animation: pw-entra-de-baixo 0.5s ease 0.22s backwards;
}

/* cards de destaque: escalonados dentro de cada fileira */
.box {
    animation: pw-entra-de-baixo 0.5s ease backwards;
}
.col-md-4:nth-of-type(1) .box { animation-delay: 0.28s; }
.col-md-4:nth-of-type(2) .box { animation-delay: 0.36s; }
.col-md-4:nth-of-type(3) .box { animation-delay: 0.44s; }

.home_btn_estoque_completo {
    animation: pw-entra-de-baixo 0.5s ease 0.4s backwards;
}

/* listagem: as primeiras fileiras entram escalonadas */
.carro-resultado {
    animation: pw-entra-de-baixo 0.5s ease backwards;
}
.carro-resultado:nth-of-type(1) { animation-delay: 0.20s; }
.carro-resultado:nth-of-type(2) { animation-delay: 0.26s; }
.carro-resultado:nth-of-type(3) { animation-delay: 0.32s; }
.carro-resultado:nth-of-type(4) { animation-delay: 0.38s; }
.carro-resultado:nth-of-type(5) { animation-delay: 0.44s; }
.carro-resultado:nth-of-type(6) { animation-delay: 0.50s; }

@media (prefers-reduced-motion: reduce) {
    #top_bg,
    .pw-custom-menu,
    .mySwiperHome,
    .busca,
    .home_h1_categoria,
    .box,
    .home_btn_estoque_completo,
    .carro-resultado {
        animation: none;
    }
}
