html{
    scroll-behavior: smooth;
}
header{
	background:#fff;
}
footer{
	background:#0f1b38;
	border-top:5px solid #d7352d;
	color:#fff;
	margin-top:40px;
}
footer h4{
	color:#d7352d;
	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;
}

/* Home: cards de destaques */
.box{
	background:#eef2f7;
	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 1px 3px rgba(15, 27, 56, 0.08);
    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);
}
.box:hover{
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(15, 27, 56, 0.15);
}
.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: #0f1b38;
}
.pw-home-swiper .swiper-button-prev,
.pw-home-swiper .swiper-button-next {
    color: #d7352d;
}
.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: #d7352d;
    opacity: 1;
}

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

/* Banner de topo (swiper) */
.pw-bxslider-w100 {
    margin: 0;
    background-color: #000;
}
.pw-banner-swiper img {
    width: 100%;
    height: auto;
    display: block;
}
.pw-banner-swiper .swiper-button-prev,
.pw-banner-swiper .swiper-button-next {
    color: #d7352d;
}

@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:#0f1b38}

/* Menu mobile: sem anel de foco no toggler */
.navbar-toggler:focus {
    box-shadow: none;
}

.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:#d7352d
}

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: 3px solid #d7352d;
    border-radius: 6px;
	background-color: #0f1b38;
    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 */
.pw-body-seminovos {
    background-color: #e9edf2;
}

.carro-resultado {
    border: 1px solid #dfe3e8;
    border-radius: 8px;
    line-height: 150%;
    margin: 0 0 10px 0;
    padding: 15px 0;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(15, 27, 56, 0.08);
    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(15, 27, 56, 0.15);
    border-color: rgba(215, 53, 45, 0.45);
}

.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: #d7352d;
}
.carro-titulo .carro-modelo {
    font-size: 20px;
    font-weight: 700;
    color: #212529;
}
.carro-titulo a:hover .carro-modelo {
    color: #d7352d;
}

.carro-preco {
    white-space: nowrap;
}
.carro-resultado .carro-preco {
    color: #0f1b38;
}
.pw-btn-ver-detalhes {
    display: block;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #3d5175;
    border: 1px solid #c9d2e0;
    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: #d7352d;
    border-color: #d7352d;
    color: #fff;
    transform: translateY(-2px);
}
.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: #0f1b38;
    border-left: 3px solid #d7352d;
    padding: 5px;
    margin-bottom: 3px;
    border-radius: 6px;
    max-width: 100%;
}

.home_h1_categoria a{
	color: #ffffff;
	text-decoration: none;
}

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

.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: #dedede;
    border-left: 3px solid #d7352d;
    padding: 5px;
    margin-bottom: 12px;
    border-radius: 6px;
    max-width: 100%;
    font-size: 42px;
}
.marcas {
	padding-left:30px;
	padding-right:30px;
}

.pw-header-fonewhats-redes-sociais {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    line-height: 72px;
    vertical-align:middle
}

.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-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;
}

/* 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(215, 53, 45, 0.35);
    border-color: #d7352d;
}

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

/* Redesign Rodapé */
.pw-footer-heading {
    color: #d7352d;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid rgba(215, 53, 45, 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: #d7352d;
    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: #d7352d;
    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;
    }
}