html{
    scroll-behavior: smooth;
}
body{
    background-color: #202020;
}
header{
	background:#000;}

footer{
	background:#000;
	border-top:5px solid #F53636;
	color:#fff;
	margin-top:40px;
}
footer h4{
	color:#F53636;
	font-size:1.1rem;
	font-weight:700;
}
footer ul{
	list-style:none;
	margin:0;
	padding:0;
}
footer li{
	padding:0 0 8px 0;
	font-size:15px;
}
.plataformaweb {
    display: block;
    width: 50px;
    height: 35px;
    text-indent: -9999px;
    background: url(https://plataformaweb-sites.s3.amazonaws.com/pw-auto-plataformaweb-sistema-pra-loja-de-carros-img/pw-auto-plataformaweb-sistemas-ico-50x38.png) no-repeat right;
	float:right;
}

.box{
	background:#fff;
	color:#242424;
	display:flex;
	flex-direction:column;
	margin-bottom:30px;
    border: 1px solid transparent;
    border-radius: 8px;
    background-clip: padding-box;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.35s ease;
}
.box:hover{
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(245, 54, 54, 0.25);
    border-color: #F53636;
}
.box h4{
	color: #212529;
	padding:10px;
	margin: 0;
	font-size:18px;
}

/* Home: swiper de destaques por categoria */
.swiper.pw-home-swiper {
    --swiper-pagination-bottom: 4px;
    margin: 0 -6px;
    padding: 10px 12px 44px 12px;
}
.pw-home-swiper .swiper-slide {
    height: auto;
    display: flex;
}
.pw-home-swiper .box {
    width: 100%;
    margin-bottom: 0;
}
.pw-home-swiper .box > a:last-child {
    margin-top: auto;
}
.pw-home-swiper .box h4 {
    padding-bottom: 0;
    text-align: center;
}
.pw-home-swiper .carro-titulo .carro-modelo {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pw-home-swiper .carro-foto {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.pw-home-swiper .box:hover .carro-foto {
    transform: scale(1.08);
}
.pw-home-swiper .carro-preco {
    color: #212529;
}
.pw-home-swiper .swiper-button-prev,
.pw-home-swiper .swiper-button-next {
    color: #F53636;
}
.pw-home-swiper .swiper-button-prev::after,
.pw-home-swiper .swiper-button-next::after {
    font-size: 30px;
    font-weight: 700;
}
.pw-home-swiper .swiper-pagination-bullet {
    background: #999;
    opacity: 0.7;
}
.pw-home-swiper .swiper-pagination-bullet-active {
    background: #F53636;
    opacity: 1;
}

/* Menu mobile: toggler branco nitido (padrao navbar-dark e 55% de opacidade) */
.navbar-dark .navbar-toggler {
    --bs-navbar-color: #fff;
    color: #fff;
    border: 0;
    font-weight: 700;
}
.navbar-dark .navbar-toggler:focus {
    box-shadow: none;
}
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Banner de topo (swiper, markup vem do gerenciador) */
.pw-bxslider-w100 {
    margin: 0;
    background-color: #000;
}
/* fallback: se ainda estiver o markup antigo do bxslider, mostra so o primeiro banner */
.pw-bxslider-w100 .bxslider-w100 > div:not(:first-child) {
    display: none;
}
.pw-banner-swiper img {
    width: 100%;
    height: auto;
    display: block;
}
.pw-banner-swiper .swiper-button-prev,
.pw-banner-swiper .swiper-button-next {
    color: #F53636;
}

.home_carro_detalhes {
    padding: 8px 10px;
    background: transparent;
    color: #495057;
    font-weight: 600;
    font-size: 14px;
    border-top: 1px solid #e3e3e3;
    transition: background 0.3s ease, color 0.3s ease;
}
.box:hover .home_carro_detalhes {
    background: #F53636;
    color: #fff;
}

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

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

.nav-tabs.nav-justified>li>a {
	/*margin-bottom: 5px;*/
	text-align: center;
	color:#fff;
	white-space:nowrap;
}
.nav-tabs.nav-justified>li>a:hover {
    color: #fff;
}

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

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

/* grimm */
.busca{
    border-top: 4px solid #c50000;
    border-radius: 10px;
	background-color: #000000;
    margin-bottom: 15px;
    padding: 15px;
}

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

/* pw.complemento */
#showMessage {
background: #468847;
    color: #fff;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 18px;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
    padding: 10px;
    margin: 15px 0 15px 0;
    text-align: center;
    width: 100%;
}

/* Listagem de seminovos */
.carro-resultado {
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    line-height: 150%;
    margin: 0 0 10px 0;
    padding: 15px 0;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.35s ease;
}
.carro-resultado:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(245, 54, 54, 0.25);
    border-color: #F53636;
}

.carro-img a {
    display: inline-block;
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    border-radius: 6px;
}
.carro-img picture {
    display: block;
}
.carro-img img {
    width: 100%;
    height: auto;
    /* caixa 4:3 uniforme nos cards; cover recorta em vez de distorcer as fotos fora do 4:3 */
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.3s ease;
}
/* no desktop a foto volta ao teto de 200px (layout de 3 colunas) */
@media (min-width: 768px) {
    .carro-img a {
        max-width: 200px;
    }
}
.carro-resultado:hover .carro-img img {
    transform: scale(1.05);
}

.carro-titulo .carro-marca {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #c50000;
}
.carro-titulo .carro-modelo {
    font-size: 20px;
    font-weight: 700;
    color: #212529;
}
.carro-titulo a:hover .carro-modelo {
    color: #F53636;
}

.carro-preco {
    white-space: nowrap;
}
.carro-resultado .carro-preco {
    color: #212529;
}
.pw-btn-ver-detalhes {
    display: block;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.pw-btn-ver-detalhes:hover {
    background: #F53636;
    border-color: #F53636;
    color: #fff;
    transform: translateY(-2px);
}

/* Galeria do veiculo: zoom suave dentro da moldura (o <a> tem overflow hidden) */
#lightgallery .transition-hover {
    transition: transform 0.3s ease-in-out;
}
#lightgallery .transition-hover:hover {
    transform: scale(1.05);
}

/* Titulo da pagina do veiculo (fundo escuro) */
.pw-vi-titulo .carro-marca {
    color: #F53636;
}
.carro-preco .preco-cifrao,
.carro-preco .preco-centavos {
    font-size: 0.58em;
    font-weight: 600;
    opacity: 0.8;
}
.marcas_lista::after {
    clear: both;
    content: "";
    display: block;
}
.marcas_lista_item_x{
 	background-color: #fff;
    border-radius: 8px;
    padding: 5px;
    text-align: center;
    width: 60px;
    height: 60px;
    float: left;
    margin: 4px;
}

.home_h1_categoria {
    background-color: #000000;
    border-left: 3px solid #c50000;
    padding: 5px;
    width: max-content;
    margin-bottom: 12px;
    border-radius: 6px;
    -webkit-border-radius: 0 5px 5px 0;
    -moz-border-radius: 0 5px 5px 0;
    max-width: 100%;
    width: max-content;
}

.home_h1_categoria a{
	color: #ffffff;
}

.home_h1_categoria a:hover{
	color: #F53636;
}

.carro-info{
	color: #333;
}

@media only screen and (max-width: 767px) {
    .pw-footer-desenvolvedor {        
        padding: 20px;
        display: flex;
        justify-content: center;
    }
    .pw-header-instagram, .pw-header-whatsapp-ico-grande {
        display: none;
    }
}

.pw-footer-menu {
    list-style: none;
    padding: 0;
    & li{
        display: flex;
		margin-bottom: 8px;
        & a{
            color: #ffffff;
            text-decoration: none;
            font-size: 18px;
            & :hover{
                text-decoration: underline
            }
        }
    }
}

.pw-h1-container {
    background-color: #000000;
    border-left: 3px solid #c50000;
    padding: 8px 15px;
    margin-bottom: 18px;
    border-radius: 6px;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
}

.pw-h1-container h1 {
    margin: 0;
    padding: 0;
    font-size: 32px;
    font-weight: normal;
    color: #c50000;
    border: none;
    background: transparent;
}

.pw-seminovo-individual-logo-fabricante {
    border-radius: 4px;
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.pw-seminovos-lista-detalhes span{
	display: inline-block;
	padding: 0 5px 0 5px;
	font-size: 14px;
	color: #555;
	border-right: 1px solid #ccc;
}
.pw-seminovos-lista-detalhes span:last-child{
    padding-right: 0;
    border-right: 0;
}
.marcas {
	padding-left:30px;
	padding-right:30px;
}
.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;
}
@media only screen and (max-width: 768px) {
    .pw-footer-desenvolvedor {        
        padding: 20px;
        display: flex;
        justify-content: center;
    }
}

/* Redesign Listagem de Marcas */
.marcas_lista_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.marca_card_item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border: 1px solid transparent;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.marca_card_item:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 12px rgba(245, 54, 54, 0.35);
    border-color: #F53636;
}

.marca_card_item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Redesign Rodapé */
.pw-footer-heading {
    color: #F53636;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid rgba(245, 54, 54, 0.3);
}

.pw-footer-contact li {
    font-size: 0.95rem;
    color: #cbd5e1;
}

.pw-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pw-footer-links li {
    margin-bottom: 0.4rem;
}

.pw-footer-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.pw-footer-links a:hover {
    color: #F53636;
    transform: translateX(4px);
}

.pw-footer-scroll {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 6px;
}

.pw-footer-scroll::-webkit-scrollbar {
    width: 4px;
}

.pw-footer-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.pw-footer-scroll::-webkit-scrollbar-thumb {
    background: #F53636;
    border-radius: 4px;
}

/* Animações de entrada */
@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; }
}
header { animation: pw-entra-de-cima 0.55s ease-out 0.05s backwards; }
.menu { animation: pw-entra-de-cima 0.5s ease-out 0.12s backwards; }
.pw-bxslider-w100 { animation: pw-surge 0.7s ease-out 0.15s backwards; }
.busca { animation: pw-entra-de-baixo 0.5s ease-out 0.2s backwards; }
.home_h1_categoria { animation: pw-entra-de-baixo 0.5s ease-out 0.22s backwards; }
.pw-home-swiper { animation: pw-entra-de-baixo 0.5s ease-out 0.28s backwards; }
.carro-resultado { animation: pw-entra-de-baixo 0.5s ease-out 0.2s backwards; }
.carro-resultado:nth-child(2) { animation-delay: 0.26s; }
.carro-resultado:nth-child(3) { animation-delay: 0.32s; }
.carro-resultado:nth-child(4) { animation-delay: 0.38s; }
.carro-resultado:nth-child(5) { animation-delay: 0.44s; }
.carro-resultado:nth-child(6) { animation-delay: 0.5s; }

/* Botão "Ver estoque completo" */
.btn-danger.btn-lg {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn-danger.btn-lg:hover {
    transform: translateY(-3px) scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== gtauto 1026: ajustes pro markup do motor do gtauto (lista_bootstrap5 + seminovo-individual.tpl compartilhado) ===== */
:root {
    --pw-acc: #F53636;
    --pw-acc-txt: #c50000;
    --pw-ink: #212529;
    --pw-title: #ffffff;
    --pw-si-txt: #f2f2f2;
    --pw-si-card-bg: #2a2b30;
    --pw-si-card-bd: #3a3a3a;
    --pw-si-label: #a9a9b2;
}

/* --- Lista: título (marca pequena acima, modelo negrito; sem sublinhado de link) --- */
.carro-resultado .carro-info h3 { margin: 0 0 4px 0; font-size: 20px; line-height: 1.3; }
.carro-resultado .carro-info h3 a,
.carro-resultado .carro-info h3 a:hover { text-decoration: none; }
.carro-resultado .carro-info h3 .pw-sl-marca {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--pw-acc-txt);
    line-height: 1.5;
}
.carro-resultado .carro-info h3 .pw-sl-modelo {
    font-size: 20px;
    font-weight: 700;
    color: var(--pw-ink);
    text-transform: uppercase;
}
.carro-resultado .carro-info h3 a:hover .pw-sl-modelo { color: var(--pw-acc); }

/* --- Lista: detalhes em caixa baixa com inicial maiúscula (o motor entrega em caixa alta); km fica como veio --- */
.carro-resultado .pw-seminovos-lista-detalhes span:not(:last-child) { text-transform: lowercase; }
.carro-resultado .pw-seminovos-lista-detalhes span:not(:last-child)::first-letter { text-transform: uppercase; }

/* --- Lista: botão do WhatsApp (verde do Bootstrap, como no site atual) --- */
.carro-resultado .carro-info .estoque_si_whats {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #198754;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
    padding: 4px 16px;
    border-radius: 6px;
}
.carro-resultado .carro-info a:has(> .estoque_si_whats) { text-decoration: none; }

/* --- Lista: coluna da direita (logo, preço, ver detalhes) --- */
.carro-resultado > .col-md-3:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    text-align: right;
}
.carro-resultado > .col-md-3:last-child .marca { margin-bottom: 8px; }
.carro-resultado > .col-md-3:last-child .marca img { width: 40px; height: 40px; object-fit: contain; border-radius: 6px !important; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.carro-resultado h3.preco {
    color: var(--pw-ink);
    font-size: 1.75rem;
    font-weight: 700;
    white-space: nowrap;
    margin: 0 0 16px 0;
    line-height: 1.5;
}
.carro-resultado h3.preco .pw-preco-moeda,
.carro-resultado h3.preco .pw-preco-centavos {
    font-size: 58%;
    font-weight: 600;
    opacity: .8;
}
.carro-resultado .pw-cta-carro-individual {
    display: block;
    width: 100%;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    background: transparent;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.carro-resultado .pw-cta-carro-individual:hover {
    background: var(--pw-acc);
    border-color: var(--pw-acc);
    color: #fff;
    transform: translateY(-2px);
}
@media (max-width: 767.98px) {
    .carro-resultado > .col-md-3:last-child { text-align: center; align-items: center; margin-top: 12px; }
    .carro-resultado > .col-md-3:last-child { align-items: stretch; margin-top: 8px; }
    .carro-resultado > .col-md-3:last-child .marca { display: none; }
    .carro-resultado h3.preco { font-size: 1.55rem; margin-bottom: 12px; }
    .carro-resultado .pw-seminovos-lista-detalhes { margin-bottom: 10px; }
    .carro-resultado .carro-info > .row + .row { margin-top: 8px; }
    .carro-resultado .carro-info { margin-top: 6px; }
}

/* --- Lista: veículo sem foto mostra a arte própria da loja (o motor só aceita o "foto em breve" genérico) --- */
.carro-img a:has(> img[src*="foto-em-breve"]) {
    background: url(https://plataformaweb-sites.s3.amazonaws.com/salao-do-automovel-cidade-do-automovel-brasilia-df/CARRO-EM-PREPARACAO-2022-09.png) center / cover no-repeat;
}
.carro-img a > img[src*="foto-em-breve"] { opacity: 0; }

/* --- Veículo individual (template compartilhado: só CSS da loja) --- */
.col-md-9 > .row .col-md-6 { color: var(--pw-si-txt); }
.col-md-9 h2.fw-bold { color: var(--pw-title); font-size: 1.9rem; text-transform: uppercase; line-height: 1.15; }
.info-card {
    background-color: var(--pw-si-card-bg);
    border-color: var(--pw-si-card-bd);
    color: var(--pw-si-txt);
}
.info-card:hover { border-color: var(--pw-acc); }
.info-card .ic-icon { background: transparent; color: var(--pw-acc); font-size: 20px; }
.info-card .ic-label { color: var(--pw-si-label); }
.info-card .ic-value { color: var(--pw-si-txt); }
.info-card .ic-value .pw-preco-moeda,
.info-card .ic-value .pw-preco-centavos { font-size: 62%; font-weight: 600; opacity: .8; }
.info-card .ic-value[style] { font-size: 1.6rem !important; font-weight: 700; }
a:has(> #pw_si_whats), a:has(> #pw_si_whats):hover { text-decoration: none; }
#pw_si_whats {
    background: linear-gradient(180deg, #1f9a58, #178348) !important;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    border-radius: 8px;
    padding: 14px 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
a:has(> #pw_si_whats):hover #pw_si_whats { filter: brightness(1.1); }
.col-md-9 > .row .col-md-6 > .mt-4.mb-1 {
    color: var(--pw-acc-txt);
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--pw-acc);
    padding-bottom: 6px;
    margin-bottom: 14px !important;
}
.col-md-9 > .row .col-md-6 > strong { font-weight: 400; color: var(--pw-si-txt); line-height: 2; }
.pw-si-check-icon { color: var(--pw-acc); }
/* ícones: o site carrega Font Awesome 5.1.1 e o template usa classes do FA6 (fa-solid, nomes novos); mapeia pros glifos do FA5 */
.info-card .fa-solid { font-family: "Font Awesome 5 Free"; font-weight: 900; font-style: normal; }
.info-card .fa-calendar-days::before { content: "\f073"; }
.info-card .fa-oil-can::before { content: "\f013"; }
.info-card .fa-gears::before { content: "\f085"; }
.info-card .fa-gauge-high::before { content: "\f3fd"; }
/* galeria: miniaturas em 4 por linha, como no site atual */
#lightgallery > .col-6 { width: 25%; }
@media (max-width: 767.98px) { #lightgallery > .col-6 { width: 33.3333%; } }
/* ===== /gtauto 1026 ===== */
