/* CSS Document */

body{
	background-color: #eef1f5; /* fundo cinza-claro: cards brancos ganham separação */
}

header{
	background:#fff;
}

footer{
	background:#000;
	border-top:5px solid #060074;
	color:#fff;
	margin-top:40px;
	font-family: 'Plus Jakarta Sans', sans-serif;
}
footer h4{
	color:#fff;
	font-size:1.15rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	margin-top: 0;
}
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;
}
.footer-endereco{ background: url(/pw-auto-site/00/226/black/images/ico-mapa.png) no-repeat left top;}
.footer-email{background: url(/pw-auto-site/00/226/black/images/ico-email.png) no-repeat left top;}
.footer-tel{background: url(/pw-auto-site/00/226/black/images/ico-tel.png) no-repeat left top;}
.footer-whats{background: url(/pw-auto-site/00/226/black/images/ico-whats.png) no-repeat left top;}

.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/226/black/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);
}

@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 em "vidro escuro" translúcido: deixa a foto do topo atravessar */
.menu{
    background: rgba(6, 8, 14, 0.64);
    /*backdrop-filter: blur(4px);*/
    /*-webkit-backdrop-filter: blur(4px);*/
}

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

.nav-tabs.nav-justified>li>a {
	margin-bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	text-align: center;
	color:#fff;
	white-space:nowrap;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-decoration: none;
}
.nav-tabs.nav-justified>li>a:hover {
    color: #fff;
    text-decoration: none;
}

.nav-tabs.nav-justified>li {
    border-radius: 8px;
    transition: background .2s ease;
}
/* hover translúcido: a foto do topo segue aparecendo sob o navy */
.nav-tabs.nav-justified>li:hover {
    background: rgba(6, 0, 116, 0.52);
}

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}
h2{ color:#000}
h4{ color: #424251}
h5{ color: #CCC}

/* grimm */
.busca{
	background-color: #ffffff;
	border: 1px solid #e2e8f0;
    margin-bottom: 20px;
    padding: 20px;
    border-top: 6px solid #060074;
    border-radius:12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.busca .pw-busca-label {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
/* "ACESSÓRIO" vem nas agregações como marca mas não tem logo — esconder o chip */
.pw-marca-card[title^="ACESSÓRIO"],
.pw-marca-card[title^="ACESSORIO"] {
    display: none;
}

.navbar-default .navbar-text {
	color: #12427a
}

/* Topo: fundo discreto de concessionária (foto de showroom) sob véu
   branco — ajustar a opacidade do véu regula a presença da imagem */
#top_bg {
    background:
        linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
        url('/pw-auto-site/00/226/black/images/header-bg.webp') center 40% / cover no-repeat;
}

/* Topo: badges de WhatsApp e telefone com a mesma altura */
.pw-header-contatos .badge {
    height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}
/* hover: sobe, clareia e ganha sombra (vale pros whats verdes e pro fone azul) */
.pw-header-contatos a:hover .badge {
    transform: translateY(-2px);
    filter: brightness(1.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* entrada animada do topo: logo + segmentos em cascata */
@media (prefers-reduced-motion: no-preference) {
    #top_bg .navbar-brand,
    .pw-header-contatos > div {
        animation: pw-header-in .55s cubic-bezier(0.2, 0.7, 0.3, 1) both;
    }
    .pw-header-contatos > div:nth-child(1) { animation-delay: .12s; }
    .pw-header-contatos > div:nth-child(2) { animation-delay: .20s; }
    .pw-header-contatos > div:nth-child(3) { animation-delay: .28s; }
    .pw-header-contatos > div:nth-child(4) { animation-delay: .36s; }
}
@keyframes pw-header-in {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: none; }
}

/* pw.complemento */
#showMessage{width: 600px; display:block; font-weight:bold; padding:25px; font-size:20px; text-align: center; background-color:#F1F1F1; border: 1px solid #FF0000; color: #FF0000;}
/* Listagem de Estoque Modernizada (carro-resultado) - Grid Automóveis 226 */
.carro-resultado {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 12px;
    margin: 0 0 20px 0;
    color: #1e293b;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    align-items: center;
}
.carro-resultado:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(6, 0, 116, 0.12);
    border-color: #060074;
}

/* Container da Imagem - Respeita a Proporção (Retrato e Paisagem) */
.carro-resultado .carro-img {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
}
/* desktop usa a miniatura "tn" de 200px: box do mesmo tamanho da foto = preenche 100% sem upscale */
@media (min-width: 768px) {
    .carro-resultado .carro-img {
        max-width: 200px;
    }
}
.carro-resultado .carro-img a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.carro-resultado .carro-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.3s ease;
}
.carro-resultado:hover .carro-img img {
    transform: scale(1.03);
}

/* Informações do Veículo */
.carro-resultado .carro-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
}
.carro-resultado .carro-info h3 a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}
.carro-resultado .carro-info h3 a:hover {
    color: #060074;
}

/* marca em linha própria, menor, acima do modelo (spans do lista_bootstrap5) */
.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-bottom: 14px;
}
.pw-seminovos-lista-detalhes span {
    background: #f1f3f6;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    text-transform: uppercase;
}
.pw-seminovos-lista-detalhes span.badge {
    background-color: #dc3545 !important;
    color: #ffffff !important;
    border: none !important;
}

/* Botão WhatsApp do Vendedor */
.estoque_si_whats {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14px;
    padding: 9px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.25);
    margin-top: 4px;
}
.estoque_si_whats:hover {
    background: #1eb956;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
    color: #ffffff !important;
}

/* Coluna Direita (Preço e CTA) */
.carro-resultado .preco {
    font-size: 24px;
    font-weight: 800;
    color: #060074;
    margin: 8px 0 12px 0;
}

/* "R$" e ",00" menores que o valor */
.carro-resultado .preco .pw-preco-moeda,
.carro-resultado .preco .pw-preco-centavos {
    font-size: 62%;
    font-weight: 700;
}
.pw-cta-carro-individual {
    display: inline-block;
    width: 100%;
    background: #060074;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(6, 0, 116, 0.3);
}
.pw-cta-carro-individual:hover {
    background: #040050;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(6, 0, 116, 0.5);
    color: #ffffff !important;
}

.carro-resultado .marca img {
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 2px;
}

/* Widget de Marcas — card claro no padrão do box de busca */
.pw-marcas-widget {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 5px solid #060074;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pw-marcas-widget-title {
    color: #060074;
    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(4, 1fr);
    gap: 10px;
}

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

.pw-marca-card:hover {
    transform: translateY(-3px);
    border-color: #060074;
    box-shadow: 0 6px 15px rgba(6, 0, 116, 0.25);
}

.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: #060074;
    box-shadow: 0 6px 15px rgba(6, 0, 116, 0.35);
}
.marcas_lista_item_x img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Card de destaque da home — padrão canônico, tema claro */
.home-box{
	background: #ffffff;
	color: #1e293b;
	display: block;
	margin-bottom: 30px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.home-box:hover{
	transform: translateY(-5px);
	border-color: #060074;
	box-shadow: 0 12px 28px rgba(6, 0, 116, 0.15);
}
/* sem sublinhado nos links internos do card */
.home-box a, .home-box a:hover{
	text-decoration: none;
}

/* box da foto com proporção fixa: fileiras alinhadas independente da foto */
.home-box .box-img-wrapper{
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background-color: #f1f3f6;
}
.home-box .box-img-wrapper img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}
.home-box:hover .box-img-wrapper img{
	transform: scale(1.04);
}

.home-box h4{
	color: #0f172a;
	background-color: transparent;
	margin: 0;
	padding: 12px 15px 4px 15px;
	font-size: 18px;
}

/* marca em linha própria, menor, acima do modelo */
.home-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 */
.home-box h4 .pw-sl-modelo {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-box .home-barra{
	padding: 4px 15px 12px 15px;
	background: transparent;
	color: #060074;
	font-size: 20px;
	font-weight: 800;
}

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

/* pílula VER ESTOQUE COMPLETO */
.home_btn_estoque_completo {
    width: 100%;
    max-width: 420px;
    margin: 40px auto;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: #060074;
    border: 2px solid #060074;
    box-shadow: 0 4px 15px rgba(6, 0, 116, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.home_btn_estoque_completo:hover {
    transform: translateY(-3px) scale(1.02);
    background: #040050;
    box-shadow: 0 8px 24px rgba(6, 0, 116, 0.35);
}
.home_btn_estoque_completo a {
    color: #ffffff;
    text-decoration: none;
    padding: 16px 32px;
    width: 100%;
    display: block;
}
.home_btn_estoque_completo a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* botão "Ver detalhes" do card da home */
.home_carro_detalhes {
    padding: 10px;
    background: #f8f9fb;
    color: #060074;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-top: 1px solid #e2e8f0;
    transition: all 0.25s ease;
}
.home-box:hover .home_carro_detalhes {
    background: #060074;
    color: #ffffff;
}

.home_h1_categoria{
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #060074;
    padding: 10px 15px;
    width: auto;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-size: 1.4rem; /* no h1: reduz o strut da linha (default 2.5rem) */
    line-height: 1.3;
}
.home_h1_categoria a{
	color: #060074;
	text-decoration: none;
	font-weight: 800;
	letter-spacing: 0.5px;
}
.home_h1_categoria a:hover, .home_h1_categoria a:focus {
	color: #060074;
	text-decoration: underline
}

/* contagem da categoria como badge */
.home_h1_categoria_count {
	display: inline-block;
	background-color: #060074;
	color: #ffffff;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.5px;
	padding: 4px 14px;
	border-radius: 20px;
	margin-left: 8px;
	vertical-align: middle;
	transition: all 0.25s ease;
}
.home_h1_categoria a:hover .home_h1_categoria_count {
	background-color: #0b0487;
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(6, 0, 116, 0.3);
}
.home_h1_categoria a:focus {
	outline: thin dotted;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px
}

@media only screen and (max-width: 768px) {
    .pw-footer-desenvolvedor {        
        padding: 20px;
        display: flex;
        justify-content: center;
    }
}

.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: #428bca;
    text-decoration: underline;
}

/* Scroll List para Modelos (Grid Automóveis 226) */
.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: #060074;
    border-radius: 4px;
}
.pw-footer-scroll-list::-webkit-scrollbar-thumb:hover {
    background: #0b0487;
}

h1{
	background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #060074;
	color: #060074;
    padding: 5px;
    margin-bottom: 8px;
    border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
}
a {
    color: #428bca;
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
}

/* ---------------------------------------------------
   Cores do Template default-bootstrap5 (Seminovo)
   --------------------------------------------------- */
.pw-si-check-icon {
    color: #060074;
}

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

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

.info-card {
    background-color: #ffffff;
    border-color: #e0e0e0;
    color: #333333;
}
.info-card:hover {
    border-color: #060074;
}
.info-card .ic-icon {
    background-color: transparent;
    color: #060074;
    font-size: 20px;
}
.info-card .ic-label {
    color: #777777;
}
.info-card .ic-value {
    color: #333333;
}
.info-card a {
    color: #333333;
}
.info-card a:hover {
    color: #060074;
    text-decoration: none;
}
