.motores{
    .topo{
        width: 100%;
        height: 550px;
        background-attachment: fixed;
        background-size: cover;
    }
    .titulo{
        padding: 70px 20%;
        text-align: center;
        h1{
            color: var(--azulventex);
            margin: 0;
            font-weight: 700;
            font-size: 2.5rem;
        }
        p{
            font-size: 1.1rem;
            line-height: 1.5;
            margin: 0;
            text-align: justify;
            text-align-last: center;
        }
    }
    .diferenciais{
        background: #e8e8e8;
        padding: 80px 15%;
        color: #013d53;
        h2{
            color: var(--azulventex);
            margin: 0 0 30px;
            font-weight: 700;
            font-size: 2.5rem;
            text-align: center;
        }
        p{
            font-size: 1.1rem;
            line-height: 1.5;
            font-weight: 300;
            text-align: justify;
            text-align-last: center;
        }
        .grid{
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin: 50px 0;
            .item-diferencial {
                padding: 40px 25px;
                text-align: center;
                transition: background 0.3s ease;
                border-radius: 15px;
                cursor: default;
                &:hover {
                    background: var(--azulventex);
                    color: #fff;
                }
                .icon-wrapper{
                    background: var(--azulventex);
                    width: 60px;
                    height: 60px;
                    display: block;
                    margin: 0 auto 15px;
                    border-radius: 50%;
                    display: flex;
                    justify-content: center;
                    align-items: center;    
                    transition: .3s;            
                    img{
                        height: 25px;
                        filter: contrast(0) brightness(100);
                    }
                }
                h5{
                    font-weight: 700;
                    margin: 0 0 5px;
                    line-height: 1.2;
                    font-size: 1.2rem;
                }
                p{
                    font-size: .9rem;
                    font-weight: 300;
                }
            }
        }
    }
    .destaques{
        padding: 80px 10%;
        h2{
            color: var(--azulventex);
            margin: 0 0 30px;
            font-weight: 700;
            font-size: 2.5rem;
            text-align: center;
        }
        .motores-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 25px;
            max-width: 100%;
            margin: 0 auto;
        }
        .motor-card {
            position: relative;
            width: calc(50% - 25px);
            height: 450px;
            border-radius: 25px;
            overflow: hidden;
            box-sizing: border-box;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-color: #d4d4d3;
            &::before {
                content: '';
                position: absolute;
                bottom: 0; left: 0; right: 0;
                height: 100%; 
                background: linear-gradient(0deg, rgb(0 0 0 / 89%) 1%, rgba(0, 0, 0, 0) 70%);
                z-index: 0;
                border-radius: 25px;
            }
        }
        .card-info {
            position: absolute;
            bottom: 0; left: 0; right: 0;
            padding: 35px;
            background: none; 
            z-index: 1; 
            h2 {
                font-size: 1.5rem; font-weight: 700;
                color: #fff;
                text-shadow: 0 1px 4px rgba(0,0,0,0.3);
                margin-bottom: 4px;
                text-align: left;
            }
            p {
                font-size: 0.9rem;
                color: rgba(255,255,255,0.85);
                margin-bottom: 16px;
                text-shadow: 0 1px 3px rgba(0,0,0,0.2);
            }
        }
        .card-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
        .btn {
            padding: 9px 18px;
            font-size: 0.75rem; font-weight: 700;
            letter-spacing: 0.06em;
            border: none; cursor: pointer;
            text-transform: uppercase;
            text-decoration: none;
            display: inline-block;
            transition: opacity 0.2s, transform 0.15s;
            font-family: inherit;
        }
        .btn:hover { opacity: 0.88; transform: translateY(-1px); }
        .btn:active { transform: translateY(0); }
        .btn-specs { background: var(--azulventex); color: #fff; }
        .btn-quote {
            background: transparent; color: #fff;
            border: 2px solid rgba(255,255,255,0.75);
        }
        .specs-overlay {
            position: absolute;
            inset: 0;
            border-radius: 16px;
            background: var(--azulventex);
            backdrop-filter: blur(6px);
            padding: 35px;
            display: flex;
            flex-direction: column;
            opacity: 0;
            pointer-events: none;
            transform: translateY(12px);
            transition: opacity 0.3s ease, transform 0.3s ease;
            overflow-y: auto;
            z-index: 2;
        }
        .specs-overlay::-webkit-scrollbar {
            width: 10px;
        }

        .specs-overlay::-webkit-scrollbar-track {
            background: var(--azulventex);
            border-radius: 10px;
        }

        .specs-overlay::-webkit-scrollbar-thumb {
            background: var(--azulventex);
            border-radius: 10px;
            border: 10px solid #5b8cdc;
        }

        .specs-overlay.open {
            opacity: 1;
            pointer-events: all;
            transform: translateY(0);
        }
        .close-btn {
            position: absolute;
            top: 14px; right: 16px;
            background: rgba(255,255,255,0.12);
            border: none; color: #fff;
            width: 32px; height: 32px;
            border-radius: 50%;
            font-size: 1.1rem; cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            transition: background 0.2s;
            flex-shrink: 0;
        }
        .close-btn:hover { background: rgba(255,255,255,0.25); }
        .specs-overlay h3 {
            color: #fff; 
            font-size: 1.8rem;
            font-weight: 700; 
            margin: 0 0 3px;
        }
        .specs-subtitle {
            color: #fff; 
            font-size: 0.78rem;
            margin-bottom: 10px;
            text-transform: uppercase; 
        }
        .specs-content {
            color: rgba(255,255,255,0.85);
            font-size: 0.88rem;
            line-height: 1.7;
            flex: 1;
        }
        .specs-content p {
            margin-bottom: 10px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
            padding-bottom: 10px;
        }
        .specs-content p:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }        
    }
    .modelos {
        background: #e8e8e8;
        padding: 80px calc(10% - 50px);
        color: #013d53;
        h2 {
                color: var(--azulventex);
                margin: 0 0 30px;
                font-weight: 700;
                font-size: 2.5rem;
                text-align: center;
        }  
        .motores-carrossel {
            position: relative;
            margin: 0 50px;
        }
        .motores-carrossel .slick-prev, .motores-carrossel .slick-next {
            width: 36px;
            height: 36px;
            background: var(--azulventex);
            border-radius: 50%;
            z-index: 10;
            top: 185px;
            transition: background 0.2s;
        }
        .motores-carrossel .slick-prev:hover, .motores-carrossel .slick-next:hover {
            background: var(--azulsecundario);
        }
        .motores-carrossel .slick-prev {
            left: -50px;
        }
        .motores-carrossel .slick-next {
            right: -50px;
        }
        .motores-carrossel .slick-prev::before, .motores-carrossel .slick-next::before {
            font-weight: 900;
            font-family: "Font Awesome 6 Free";
            font-size: 14px;
            color: #fff;
            opacity: 1;
        }
        .motores-carrossel .slick-prev::before {
            content: '\f053';
        }
        .motores-carrossel .slick-next::before {
            content: '\f054';
        }
        .motores-carrossel .slick-dots {
            display: none !important;
        }
        .motor-card {
            padding: 0 10px;
            box-sizing: border-box;
        }
        .motor-card__inner {
            background: #f0f0f0;
            border-radius: 16px;
            overflow: hidden;
            transition: box-shadow 0.3s;
        }
        .motor-card__inner:hover {
            box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        }
        .motor-card__foto {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 28px 20px 20px;
            min-height: 200px;
            background: #f0f0f0;
        }
        .motor-card__foto img {
            max-width: 100%;
            max-height: 180px;
            object-fit: contain;
            display: block;
        }
        .motor-card__barra {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: var(--azulventex);
            border-radius: 30px;
            margin: 0 12px 12px;
            padding: 10px 10px 10px 18px;
            gap: 8px;
            cursor: pointer;
        }
        .motor-card__nome {
            color: #fff;
            font-size: 0.95rem;
            font-weight: 600;
            flex: 1;
        }
        .motor-card__toggle {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: none;
            background: rgba(255,255,255,0.25);
            color: #fff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: background 0.2s;
        }
        .motor-card__toggle:hover {
            background: rgba(255,255,255,0.4);
        }
        .motor-card__toggle .fa-solid {
            display: inline-block;
            transition: transform 0.35s ease;
            font-size: 13px;
        }
        .motor-card__toggle.is-aberto .fa-solid {
            transform: rotate(180deg);
        }
        .motor-card__painel {
            padding: 0 16px 16px;
        }
        .motor-card__especificacoes {
            text-align: center;
            font-size: 0.82rem;
            color: #333;
            line-height: 1.7;
            margin-bottom: 16px;
        }
        .motor-card__especificacoes strong {
            display: block;
            font-size: 0.85rem;
            color: var(--azulventex);
            margin-bottom: 6px;
            letter-spacing: 0.04em;
        }
        .motor-card__btn {
            display: block;
            text-align: center;
            border: 2px solid var(--azulventex);
            color: var(--azulventex);
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 0.06em;
            padding: 10px 16px;
            border-radius: 4px;
            text-decoration: none;
            transition: background 0.2s, color 0.2s;
            margin-top: 4px;
        }
        .motor-card__btn:hover {
            background: var(--azulventex);
            color: #fff;
        }              
    }

    @media screen and (max-width: 1560px) {
        .topo {
            height: 450px;
        }
        .titulo {
            padding: 70px 15%;
        }
        .diferenciais {
            padding: 70px 10%;
        }
        .destaques {
            padding: 70px 5%;
        }       
        .modelos {
            padding: 70px calc(6% - 50px);
        }         
    }
    @media screen and (max-width: 1024px) {
        .topo {
            background-attachment: unset;
            background-size:cover;
            background-position: center;
        }        
        .titulo {
            padding: 60px;
            h1{
                font-size: 1.8rem;
            }
            p{
                text-align: center;
                font-size: 1rem;
            }
        }
        .diferenciais{
            padding: 60px;
            h2{
                font-size: 1.8rem;
            }
            p{
                font-size: 1rem;
            }
            .grid {
                .item-diferencial {
                    padding: 25px;
                    h5 {
                        font-size: 1.1rem;
                    }
                }
            }
        }
        .destaques{
            padding: 60px;
            h2{
                font-size: 1.8rem;
            }
            .motor-card {
                width: 100%;
            }
        }
        .modelos{
            padding: 60px calc(60px - 40px);
            h2{
                font-size: 1.8rem;
            }
        }
    }  
    @media screen and (max-width: 768px) {
        .motores-carrossel {
            margin: 0 36px;
        }
        .motores-carrossel .slick-prev { left: -40px; }
        .motores-carrossel .slick-next { right: -40px; }        
    }  
    @media screen and (max-width: 480px) {
        .titulo {
            padding: 50px 30px;
        }
        .topo {
            width: 100%;
            height: 350px;
            background-attachment: unset;
            background-size:cover;
            background-position: center;
        }        
        .diferenciais{
            padding: 40px 30px;
            .grid {
                margin: 25px 0;
                grid-template-columns: repeat(1, 1fr);
                gap: 0;
                .item-diferencial {
                    padding: 25px;
                    h5 {
                        font-size: 1.1rem;
                    }
                }
            }
            p{
                text-align: center;
            }
        }
        .destaques{
            padding: 40px 30px;
            h2{
                font-size: 1.8rem;
            }
            .motor-card {
                width: 100%;
                background-size: 100%;
                background-position: top;  
                height: 380px;              
            }
            .card-buttons{
                gap: 5px;
            }
            .card-info {
                padding: 30px 25px;
            }
            .btn {
                padding: 12px;
                font-size: 11px;
                letter-spacing: 0;
            }  
            .specs-overlay {                      
                padding: 25px;
            }
            .specs-overlay h3{
                font-size: 1.5rem;
                margin: 0;
            }
            .specs-subtitle{
                margin-bottom: 5px;
            }
        }
        .modelos{
            padding: 40px 0;
            h2{
                font-size: 1.8rem;
            }
            .motores-carrossel{
                margin: 0 30px;
            }
            .motores-carrossel .slick-prev {
                left: -15px;
            }
            .motores-carrossel .slick-next {
                right: -15px;
            }
        }
    }
}