.sliderViaturas {
  width: 100%;
  margin-top: 40px;
}

.swiper-container-3-tps{
    width: 100%;
     /* overflow: hidden; */
}

/* MOBILE: até 799px */
@media screen and (max-width: 799px) {
  .swiper-container-3-tps .swiper-slide {
    transition: opacity 0.4s ease;
    opacity: 0.2;
  }
}

/* DESKTOP: a partir de 1025px */
@media screen and (min-width: 1025px) {
  .swiper-container-3-tps .swiper-slide {
    transition: opacity 0.4s ease;
    opacity: 0.2;
  }
}


/* slide ativo e o anterior/imediato */
.swiper-container-3-tps .swiper-slide-active,
.swiper-container-3-tps .swiper-slide-next {
  opacity: 1;
  filter: blur(0);
}



.swiper-container-galeria {
  width: 100%;
  overflow: hidden;
  max-width: 600px;
      height: 120px;
}

.swiper-container-galeria .swiper-slide {
  border-radius: 10px;
  overflow: hidden;
}

.swiper-container-galeria .swiper-slide img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  border-radius: 30px;
  transition: transform 0.3s ease;
}

.swiper-container-galeria .swiper-slide img:hover {
  transform: scale(1.05);
}




.viatura-card {
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: row;
height: 100%;
    align-items: center;
    max-height: 420px;
    width: 100%;
}

.viatura-info-titulos{
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.viatura-modal-section .viatura-btn-box{
	padding-left: 0px;
}

.viatura-btn-box{
	padding-left: 30px;
}


.viatura-img {
    display: flex;
    justify-content: center;
    margin-right: -20px;
    z-index: 9;
}

.viatura-img a{
	display: flex;
    align-items: center;
}

.viatura-img img {
    width: 260px;
    height: 200px;
    object-fit: cover;
    border-radius: 30px;
    max-width: 300px;
}

.viatura-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 400px;
  background-color: #f6f6f6;
    border-radius: 30px 30px 30px 30px;
    width: 270px;
        justify-content: space-between;
}


.viatura-btn-box a svg{
    width: 15px;
    height: 15px;
    fill: currentColor;
    transition: transform 0.3s 
ease;
}




.viatura-modal-section .viatura-btn-box a{
    background-color: #005CFF;
    font-size: 15px;
    font-weight: 700;
    fill: #FFFFFF;
    color: #FFFFFF;
        border-radius: 30px 30px 30px 30px;
            text-align: center;
}

.viatura-modal-section .viatura-btn-box a span{
        width: 100%;
}

.viatura-btn-box a{
    background-color: #005CFF;
    font-family: 'Montserrat';
    font-size: 15px;
    font-weight: 700;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-radius: 30px 30px 30px 30px;
    padding: 9px 17px 9px 17px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin:0px;
    align-items: center;
}


.viatura-btn-box a:hover{
  background-color: #F8F8F8 !important;
  color:#005CFF !important;
}


.viatura-titulo {
font-size: 24px;
    font-weight: 500;
    color: #100E34;
    margin:0px;
}

.viatura-subtitulo {
margin: 0px;
    font-size: 14px;
    font-weight: 600;
    color: #666872;
}


.viatura-detalhes-main-box{
    padding-left: 30px;
    display: grid;
    gap: 1rem;
}

.viatura-detalhes {
    font-size: 0.95rem;
    color: #333;
    display: flex;
    gap: 10px;
    max-width: 600px;
    width: 100%;
    flex-direction: column;
}

.viatura-detalhes-box{
    display: flex;
    justify-content: space-between;
}


.viatura-detalhes span {
    font-size: 14px;
    font-weight: 600;
    color: #666872;
}

.viatura-detalhes strong{
    font-size: 14px;
    font-weight: 600;
    color: #000000;
}

.viatura-modal-section img{
    max-height: 450px;
    object-fit: cover;
    border-radius: 30px;
    max-width: 600px;
        width: 100%;
    height: 100%;
}


.viatura-modal-box-info{
    display: flex;
    gap: 2rem;
    width: 40%;
    padding: 2rem;
    background: #FAFAFA;
    border-radius: 30px;
    height: auto;
    flex-direction: column;
}

.viatura-modal-loading{
text-align: center;
    color: #005CFF;
    font-size: 24px;
    font-weight: 500;
}


.viatura-modal-section .viatura-preco{
    padding-left: 0px;
}

.viatura-info-titulos h2{
    font-size: 14px;
    font-weight: 600;
    color: #666872;
    margin: 0px;
}

.viatura-preco {
    font-size: 20px;
    font-weight: 400;
    color: #100E34;
    margin:0px;
    padding-left: 30px;
        line-height: 1;
}

.viatura-modal-section .viatura-poupanca{
        padding-left: 0px;
}

.viatura-poupanca {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 30px;
}

.viatura-poupanca span{
font-size: 14px;
    font-weight: 600;
    color: #005CFF;
}

.viatura-poupanca strong {
font-size: 24px;
    font-weight: 600;
    color: #100E34;
        line-height: 1;
    margin: 0;
    padding: 0;
}

.viatura-btn-click {
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #258a94;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.viatura-btn-click svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.viatura-btn-click:hover {
  color: #006d74;
}

.viatura-btn-click:hover svg {
  transform: translateX(4px);
}

/* Swiper ajustes */
.swiper-container-3-tps {
  padding-bottom: 30px;
}

.swiper-container-3-tps .swiper-slide {
  height: 100%;
  max-height: 500px;
    padding: 10px;
    width: 565px !important;
}

.viaturasNegocio-section .viatura-btn-click{
    margin-top: 0px;
}

.viaturasNegocio-section .viatura-btn-click img{
    width: 100%;
    border-radius: 30px 30px 0px 0px;
    height: 220px;
    object-fit: cover;
    transition: all 0.6s ease;
}

.viaturasNegocio-section .viatura-btn-click img:hover{
    transform: scale(1);
    cursor: pointer;
}

.viaturasNegocio-info h1:hover{
      cursor: pointer;  
}

.viaturasNegocio-card{
    background: #FFFFFE;
    border-radius: 30px;
    display: grid;
    gap: 0px;
    box-shadow: 0px 30px 80px 0px rgba(0, 0, 0, 0.04);
        position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    transform: translateY(0);
}


.viaturasNegocio-card:hover{
  transform: translateY(-10px);
}



.viaturasNegocio-info{
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 0px 0px 30px 30px;
}

.viaturasNegocio-info h1{
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #100E34;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}

.viaturasNegocio-section{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1023px) {
    
    .viaturasNegocio-section{
        grid-template-columns: repeat(1, 1fr);
    }
    
    .swiper-container-3-tps .swiper-slide {
        width: 90vw !important;
        max-width: 360px !important;
        max-height: none !important;
    }

    
    .viatura-btn-click{
        margin: 0px;
        width: 100%;
    }
    
    .viatura-detalhes-main-box, .viatura-preco, .viatura-poupanca, .viatura-btn-box{
        padding-left: 0px;
    }
    
    .viatura-info{
        min-height: auto;
        width: 100%;
        margin-top: -40px;
        padding: 60px 20px 20px 20px;
    }
    
    .viatura-card{
        display: flex !important;
        flex-direction: column !important;
        max-height: none;
        gap:1rem;
    }
    
    .viatura-img img{
        width: 100%;
        max-width: none !important;
    }
    
    .viatura-modal{
        padding: 0px 10px 0px 0px !important;
        height: 75vh !important;
        overflow-y: scroll !important;
    }
    
    .viatura-modal::-webkit-scrollbar-thumb {
    background-color: #005CFF;
    border-radius: 10px;
    border: 5px solid #005CFF;
}

.viatura-modal::-webkit-scrollbar {
    width: 5px;
    background-color: #C8C8C880;
}
    
    
    .viatura-modal-section img{
        width: 100%;
    }
    
    .viatura-modal-box-info{
        width: 100%;
            
    }
    
    .swiper-container-3-tps{
        overflow: hidden;
    }
    
}


@media screen and (min-width: 800px) and (max-width: 1024px) {
    .viatura-detalhes{
        max-width: 100%;
    }
    .viatura-modal-section img {
        max-width: 100%;
    }
    .swiper-container-galeria{
        max-width:100%;
    }
}








