/* Estilos Gerais */
body {
    font-family: 'Oswald', sans-serif;
}

a:hover {
    opacity: 0.8;
}

.mobile {
    display: none;
}

.line-divider, .line-divider-empresa, .line-divider-politica, .line-divider-sac, .line-divider-veiculos {
    width: 100%;
    height: 109px;
    background: url(../img/line-divider.png) no-repeat center center;
    position: relative;
    top: -37px;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

.line-divider-empresa {
    top: -41px;
    background: url(../img/line-divider-empresa.webp) no-repeat center center;
}

.line-divider-politica {
    top: -41px;
    background: url(../img/line-divider-politica.webp) no-repeat center center;
}

.line-divider-sac {
    top: -41px;
    background: url(../img/line-divider-sac.webp) no-repeat center center;
}

.line-divider-veiculos {
    top: -41px;
    background: url(../img/line-divider-veiculos.webp) no-repeat center center;
}


/* Ajuste para o container do banner */
.banner-container {
    position: relative;
}

/* Faixa Top */
.top-bar {
    height: 110px;
    background: url(../img/top-bkg.png) repeat-x bottom;
    position: relative;
    z-index: 1000;
}

.top-bar-content {
    height: 110px;
}

.btn-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    padding: 0;
    cursor: pointer;
}

.btn-menu:hover {
    color: #666;
}

.logo img {
    width: auto;
    height: 170px;
    position: absolute;
    transform: translateX(-50%);
    top: 0;
}

@media (max-width: 768px) {
    .mobile {
        display: block;
    }
    .desktop {
        display: none;
    }
    .banner-container {
        margin-bottom: 0;
    }
    .line-divider, .line-divider-empresa, .line-divider-politica, .line-divider-sac, .line-divider-veiculos {
        width: 100%;
        height: 109px;
        background: url(../img/line-divider.png) no-repeat center center;
        background-size: 200%;
        position: relative;
        top: -51px;
        left: 0;
    }
    .line-divider-empresa, .line-divider-politica, .line-divider-sac, .line-divider-veiculos {
        top: -61px;
    }
    .top-bar-content, .top-bar {
        height: 60px;
    }
    .logo {
        width: 170px;
        margin-top: 30px;
    }
    .logo img {
        width: 100%;
        height: auto;
        position: relative;
        transform: none;
        margin: 0 auto;
        display: block;
    }
}

.social-icons a {
    color: #555;
    font-size: 2.2rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #888;
}

/* Menu Offcanvas */
.custom-offcanvas {
    top: 110px !important;
    height: auto !important;
    max-height: none !important;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    background: rgba(30,30,30,0.92);
    color: #bdbdbd;
}

.custom-offcanvas.show {
    transform: translateX(0);
}

.offcanvas-header {
    align-items: center;
    position: relative;
}

.offcanvas-close-btn {
    background: #111;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin-left: 10px;
    padding: 0;
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: 10;
}

.offcanvas-close-x {
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    font-weight: bold;
    display: block;
    margin-top: -2px;
}

.offcanvas-close-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px #bd1d2c55;
}

.offcanvas-title {
    color: #bdbdbd;
    font-weight: 600;
    font-style: italic;
    text-transform: uppercase;
}

.list-group-item {
    border: none;
    border-bottom: 1px solid #444;
    padding: 16px 24px;
    font-weight: 600;
    font-style: italic;
    color: #bdbdbd;
    background: transparent;
    font-size: 1.3rem;
    letter-spacing: 1px;
    transition: background 0.2s, color 0.2s;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item:hover {
    background-color: rgba(255,255,255,0.04);
    color: #fff;
}

/* Social icons at the bottom of offcanvas */
.offcanvas-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    padding: 24px 0 12px 0;
}

.offcanvas-social a {
    color: #fff;
    opacity: 0.85;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.offcanvas-social a:hover {
    opacity: 1;
}

.offcanvas-social .icon-facebook,
.offcanvas-social .icon-instagram {
    font-size: 2.2rem;
}

.offcanvas-social .icon-whatsapp {
    font-size: 2.8rem;
}

@media (max-width: 768px) {
    .offcanvas {
        max-width: 100vw;
    }

    .social-icons a {        
        font-size: 1.6rem;        
    }
}

/* Banner Carousel */
#mainCarousel {
    margin-bottom: 2rem;
}

.carousel-item {
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .carousel-item {
        height: 105px;
        overflow: hidden;
    }

    .carousel-item.home {
        height: 150px;
    }
    
    .carousel-item img {
        height: initial;
    }
    
    .carousel-caption {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
}

/* Footer */
footer {
    background: url(../img/footer-gradient.png) repeat-x top center #080808;
    color: #fff;
    padding: 40px 0;
    min-height: 700px;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
}

.footer-contact {
    margin-bottom: 30px;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.footer-sitemap h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-sitemap ul li {
    margin-bottom: 10px;
}

.footer-sitemap ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.footer-sitemap ul li a:hover {
    opacity: 0.8;
}

footer h5 {
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

footer p {
    font-weight: 300;
}

.social-links a {
    font-size: 1.2rem;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 0.8;
}

/* Footer Formulário */
.footer-form {
    color: #fff;
    /* max-width: 400px; */
    /* margin: 0 auto; */
}

.footer-form-title {
    color: #fff;
    font-size: 1.5rem;
    font-style: italic;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-form-subtitle {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-form .form-control {
    background: #eaeaea;
    border: 1px solid #666;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
    padding: 10px 15px;
}

.footer-form .form-control:focus {
    box-shadow: 0 0 0 2px #bd1d2c33;
    border: none;
}

.footer-form-btn {
    display: block;
    width: 100%;
    background: linear-gradient(90deg, #bd1d2c 60%, #a51a25 100%);
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    border: none;
    border-radius: 3px;
    padding: 12px 0;
    margin-top: 10px;
    box-shadow: 2px 3px 0 #333;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

.footer-form-btn:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .footer-form {
        max-width: 100%;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .footer-frm {
        order: 0;
        padding: 0 30px 30px 30px;        
    }
    .footer-info {
        order: 1;
        text-align: center;
    }
    .social-icons {
        font-size: 1rem;
    }   
}

/* Cards da Home */
.home-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.home-card {
    display: flex;
    flex-direction: column;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 100%;
}

.home-card-body {
    padding: 0;
    line-height: 0;
    height: 250px;
    overflow: hidden;
}

.home-card-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-card-title {
    width: 100%;
    background: url(../img/home-card-title.png) no-repeat center center;
    background-size: cover;
    color: #EEE;
    text-transform: uppercase;
    padding: 15px;
    font-size: 1.5rem;
    font-weight: 600;
    font-style: italic;
    text-align: center;
    margin: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-card-footer {
    background: url(../img/home-card-footer.png) repeat-y center center;
    background-size: cover;
    padding: 15px 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 140px;
}

.home-card-text {
    height: 70px;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 300;
}

.home-card-cta {
    color: #333;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    margin-top: 10px;
    display: block;
}

.home-card-cta:hover {
    opacity: 0.8;
}

.home-start {
    margin-top: -80px;
    padding-top: 80px;
    background: url(../img/bkg-gradient.png) repeat-y center center;
}

.home-start.sub {
    margin-top: -85px;
}

@media (max-width: 768px) {
    .home-cards {
        margin: 60px 0;
        grid-template-columns: repeat(2, 1fr);
    }

    .home-card-body {        
        height: 350px;
        overflow: hidden;
    }
    
    .home-about-content {
        padding: 40px 0;
    }

    .home-card-text {      
        font-size: 1.1rem;
    }
    .home-card-cta {
        font-size: 1.5rem;
    }
    .home-start {
        margin-top: -101px;
        padding-top: 10px;
    }
    .home-start.sub {
        margin-top: -110px;
    }
}

@media (max-width: 768px) {
    .home-cards {
        grid-template-columns: 1fr;
    }
}

/* Segundo bloco de conteúdo */
.home-about {
    margin: 0;
    min-height: 600px;
    position: relative;
}

.home-about .row {
    min-height: 600px;
    display: flex;
    flex-wrap: nowrap;
}

.home-about-image {
    background: url(../img/home-foto.webp) no-repeat center center;
    background-size: cover;
    width: 50%;
    min-height: 500px;
    flex: 0 0 50%;
}

.home-about-content {
    background: url(../img/h-gradient.png) no-repeat top center #000;
    background-size: cover;
    width: 50%;
    min-height: 500px;
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.home-about-text {
    padding: 40px;
}

.home-about-text h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.home-about-text p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
}

.home-about-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #e63946;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    transition: opacity 0.3s;
}

.home-about-btn:hover {
    opacity: 0.8;
    color: white;
}

@media (max-width: 768px) {
    .home-about .row {
        flex-direction: column;
        flex-wrap: wrap !important;
    }
    .home-about-image,
    .home-about-content {
        width: 100%;
        padding: 0;
    }
    .home-about-content {
        min-height: 300px;
    }
    .home-about-image {
        flex: none;
        min-height: 300px;
    }
    .home-about-text {
        padding: 40px;
        margin: 0 auto;
        text-align: center;
    }
    
}

.home-contact-btn {
    display: block;
    margin: 40px 0;
    max-width: 200px;
    transition: opacity 0.3s;
}

.home-contact-btn:hover {
    opacity: 0.8;
}

.home-contact-btn img {
    width: 100%;
    height: auto;
    display: block;
}

/* Seção de Marcas */
.brands-section {
    position: relative;
}

.brands-container {
    background: url(../img/bkg-gradient.png) no-repeat center center;
    background-size: cover;
    padding: 60px 0;
}

.brands-end {
    background: url(../img/bkg-gradient-end.png) no-repeat center top;    
    height: 29px;
}

.brands-title {
    max-width: 300px;
    margin-bottom: 40px;
}

.brands-logos {
    max-width: 100%;
    margin-bottom: 40px;
}

.brands-section .home-contact-btn {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .home-contact-btn {
        margin: 0 auto;
    }
    .brands-container {
        padding: 40px 0;
    }
    
    .brands-title {
        max-width: 300px;
    }
}

/* Linha Divisória */
.section-divider {
    height: 11px;
    background-color: #bd1d2c;
    border-top: 1px solid #311d20;
    border-bottom: 1px solid #311d20;
}

.footer-form-img-btn {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    display: block;
    width: auto;
}

.footer-form-img-btn img {
    display: block;
    width: auto;
    max-width: 220px;
    height: auto;
    margin: 0;
}

.menu-label {
    font-size: 1rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin-top: 2px;
    user-select: none;
}

/* Footer End */
.footer-end {
    width: 100%;
    height: 0;
    padding-bottom: 11.5625%; /* 222/1920 * 100 to maintain aspect ratio */
    background: url(../img/footer-end.webp) no-repeat center center;
    background-size: contain;
    position: relative;
}

/* Estilos da Página Empresa */
.empresa-content {
    position: relative;
    overflow: hidden;
}

.empresa-img {
    float: left;
    width: 400px;
    margin: 0 20px 20px 0;
    border-radius: 5px;
}

.section-title {
    color: #333;
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 1.5rem 0;
    position: relative;
    padding-bottom: 0.5rem;
}

.diferenciais-list {
    list-style: none;
    padding-left: 0;
    clear: both;
}

.diferenciais-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.diferenciais-list li:before {
    content: '•';
    color: #bd1d2c;
    position: absolute;
    left: 0;
    font-size: 1.1rem;
    line-height: 1.2;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #444;
}

@media (max-width: 768px) {
    .empresa-img {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    .diferenciais-list li {
        font-size: 1rem;
    }
}

/* SAC Page Custom Layout */
.sac-form-wrapper {
    max-width: 500px;
    margin-right: auto;
    margin-left: 0;
}

.sac-content {
    font-size: 1.1rem;
    font-weight: 400;
}

.sac-content ul {
    margin-top: 1.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    padding-left: 0;
}

.sac-content ul li {
    margin-bottom: 0.5rem;
}

@media (max-width: 991.98px) {
    .sac-form-wrapper {
        max-width: 100%;
        margin: 0 auto 2rem auto;
    }
    .sac-content {
        text-align: left;
        margin-top: 2rem;
    }
}

/* Cards de Veículos */
.veiculo-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.veiculo-card {
    display: flex;
    flex-direction: column;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 100%;
}

.veiculo-card-body {
    padding: 0;
    line-height: 0;    
    overflow: hidden;
}

.veiculo-card-body img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.veiculo-card-footer {
    background: url(../img/home-card-footer.png) repeat-y center center;
    background-size: cover;
    padding: 15px 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 192px;
}

.veiculo-card-text {
    height: auto;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 300;
}

.veiculo-card-cta {
    color: #333;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    margin-top: 10px;
    display: block;
}

.veiculo-card-cta:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .veiculo-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .veiculo-card-body {        
        /* height: 350px; */
        overflow: hidden;
    }

    .veiculo-card-text {      
        font-size: 1.3rem;
    }
    .veiculo-card-cta {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .veiculo-cards {
        grid-template-columns: 1fr;
    }
}

#foto-principal {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.thumbnails-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.thumbnail {
    width: 350px;
    height: auto;
    cursor: pointer;
    transition: opacity 0.3s;
}

.thumbnail:hover {
    opacity: 0.8;
}

.thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .thumbnail {
        width: 100%;
    }
    #foto-principal {
        display: none;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
    will-change: opacity, transform;
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}
