.img_frota {
    width: 100%;
    min-height: 450px;
    background-image: url('../assets//images/patio-aerea.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

}

.texto {
    position: absolute;
    /* sobrepõe a imagem */
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    text-align: left;
    /* gradiente escuro embaixo para legibilidade */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
}

.texto h2,
.texto span {
    text-align: left;
    color: #fff;
    /* texto branco sobre a imagem */
}

.container-frota {
    position: relative;
    /* referência para o texto absoluto */
    margin-top: 3%;
    width: 100%;
    overflow: hidden;
}

.texto h1 {
    max-width: 600px;
    font-weight: 500;
}

.texto_subtitulo {
    font-weight: 600;
    width: 50%;
}

.span-small {
    font-size: 0.8rem;
    width: 100%;
}

.linha {
    width: calc(100% + 40% + 40px);
    /* texto + imagem + gap */
    height: 2px;
    background: #ff7b00;
    z-index: 0;
    margin-left: calc(-40% - 40px);
    /* puxa a linha pra baixo da imagem */
    margin-bottom: 15px;
}

.texto-frota {
    max-width: 800px;
    justify-content: center;
}

.texto-frota h1 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
    color: var(--cor-secundaria);
}

.texto-frota span {
    font-weight: 400;
    line-height: 1.6;
    color: #fff;
    background-color: #627177;
}

.cards {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    width: 100%;
}

.informacoes {
    box-sizing: border-box;
    border: 0.5px solid #e0ddd8;
    border-radius: 14px;
    padding: 1.25rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.25s, transform 0.25s;
    background: #fff;
}

.informacoes:hover {
    border-color: #FD883B;
    transform: translateY(-3px);
}

.info-linha {
    width: 32px;
    height: 3px;
    background: #FD883B;
    border-radius: 999px;
}

.info-num {
    font-size: 2.4rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 0;
}

.info-num small {
    font-size: 1.1rem;
    font-weight: 400;
    color: #5a5a5a;
}

.info-laranja {
    color: #FD883B;
}

.informacoes span {
    font-size: 0.82rem;
    color: #5a5a5a;
    line-height: 1.4;
}


.section-laranja {
    background-color: var(--cor-primaria);
    /* margin-right: -60px;
    margin-left: -60px; */
}

/* BLOCO ESCURO */
.container-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    padding: 40px 60px;
    background-color: var(--cor-secundaria);

    clip-path: polygon(0 0,
            100% 0,
            100% 75%,
            92% 100%,
            0 100%);

    filter: drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.25));
    padding: 3%;
}

.container-card::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 90px;
    right: 0px;
    height: 2px;
    background-color: var(--cor-primaria);

    z-index: 3;
    transform: translateY(-50%);
}

.card-infos {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-align: center;
    flex: 1;
    padding: 0 15px;
    border-right: 1px solid rgba(255, 123, 0, 0.25);
}

.card-infos:last-child {
    border-right: none;
}

.card-infos img {
    max-width: 60px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    /* ícones brancos */
}

.card-infos span {
    font-size: 0.8rem;
    max-width: 300px;
}


@media (max-width: 768px) {
    .img_frota {
        width: 100%;
        min-height: 400px;
        background-attachment: scroll;
        /* desativa parallax no mobile */
    }

    .texto_subtitulo {
        width: 100%;
        height: 50%;
    }

    .section-laranja {
        margin-left: -10px;
        margin-right: -10px;
    }

    .texto-frota h1 {
        font-size: 1.4rem;
    }

    .texto-frota span {
        font-size: 0.8rem;
    }

    .texto {
        margin-top: 20px;
        order: -1;
        width: 100%;
        align-items: flex-start;
    }


    .cards {
        justify-content: flex-start;
        /* tira centralização */
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin-left: 0;
    }

    .cards::-webkit-scrollbar {
        display: none;
    }

    .informacoes {
        min-width: 250px;
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .linha {
        margin-left: calc(-50% - 40px);
    }

    .informacoes {
        padding: 10px;
        width: 80%;
    }

    .informacoes h1 {
        font-size: 2rem;
    }

    .container-card {
        display: block !important;
    }

    .card-infos {
        margin-bottom: 15px;
    }

    .card-infos span {
        max-width: 260px;
    }

    .container-card::before {
        top: 1% !important;
    }
}