
.normal-logo {
    width: 100%;
}

.mobile-slidebar .scroll-logo {
    max-width: 100%;
    max-height: 100px;
    filter: invert(1) grayscale(1);
}

.top-bar__inner .redes-sociais {
    border-radius: 20px;
    margin: 5px;
    height: 46px;
    line-height: 44px;
}

.footer-logo__link img {
    max-width: 100%;
    max-height: 100px;
    filter: invert(1) grayscale(1);
}

.b-welcome {
    background-repeat: no-repeat !important;
    background-position-x: right !important;
}

.div-select {
    padding: 0px 10px;
    font-size: 14px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.07);
    margin-bottom: 10px !important;
}

.div-select select {
    width: 100%;
    height: 34px;
    margin: 2px 0px;
    border: none;
    color: #aaa;
    background-color: #fff;
}

#select-ordem {
    min-width: 200px;
}


.contactos-principais {

    a {
        text-decoration: none;
    }

    .b-contacts:hover {
        background-color: #ccc;
        text-decoration: none !important;
    }

    /* espaço entre os cartões de contacto e a secção seguinte (mapa) */
    .section-area {
        padding-bottom: 40px;
    }

}

.equipa-contadores {

    .b-team__inner {
        margin: -40px 0px 0px 0px;
    }

    .b-team__footer.phone {
        padding-bottom: 0px;
    }

    .b-team__footer.email {
        padding-top: 0px;
        a {
            text-decoration: none;
            color:#333;
        }
        a:hover {
            color:#d01818;
        }
    }

    .b-progress-list__item {
        padding-top:25px;
    }

    .b-progress-list {
        margin-top: 0px;
        width: 100%;
    }

    .b-progress-list__wrap {
        position: relative;
        padding-bottom: 28px;
        padding-top: 30px;
        background: #ccc;
        border-top: 13px solid #253241;
    }
    
}

.b-contacts {
    background-color: #fff;
}

.main-slider__wrap, .main-slider__slide-2 .main-slider__wrap {
    background-color: rgba(18, 24, 32, 0.9);
}

/* Pagina destaque home page */

.destaques-home {

    .b-goods-f__title {
        margin-bottom: 0px !important;
        padding-bottom: 15px;
        span {
            font-size: 14px;
            font-weight: 400;
        }
        div:nth-child(1) {
            line-height: 20px;
        }
        div:nth-child(2) {
            line-height: 16px;
        }
    }

    .b-goods-f__list li {
        display: flex !important;
        flex-direction: column;
        color: #000;
    }

    .b-goods-f__sidebar {
        height: 56px !important;
        border-top: 3px solid #ddd;
    }

    .div_preco_anterior {
        margin-top: 5px;
        margin-bottom: -12px;
    }

    .div_preco_anterior span {
        position: relative;
    }

    .div_preco_anterior span::after {
        float: right;
        position: absolute;
        content: '';
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: rgba(255, 0, 0, 0.5);
        transform: rotate(-15deg);
        transform-origin: center;
    }

}

/* Testemunhos */

.testemunhos {

    .b-reviews__author {
        display: block;
        overflow: hidden;
        width: 260px;
        margin-left: 20px;
        border-radius: 10px;
        z-index: 10;
    }

    .area-bg_dark:after {
        background-color: rgba(37, 50, 65, 0.2);
    }

}

/* Serviços Listagem */

.servicos-listagem {

    li .active img {
        filter: invert(1);
    }

    li img {
        height: 90px;
    }

}

/* Viaturas Listagem colunas */

.veiculos-listagem .widget-inner {
    background-color: initial;
}

.veiculos-listagem .b-goods-f {

    .b-goods-f__title  {
        margin-bottom: 0px !important;
        padding-bottom: 15px;
        height: 65px;
        span {
            font-size: 14px;
            font-weight: 400;
        }
        div:nth-child(1) {
            line-height: 20px;
        }
        div:nth-child(2) {
            line-height: 16px;
        }
    }

    .b-goods-f__sidebar {
        height: 20px;
    }

    .b-goods-f__price-numb {
        color:#000 !important;
        background-color: transparent !important;
    }

    .b-goods-f__list {
        padding-bottom: 0px;
        display: flex;
        justify-content: space-around;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    .b-goods-f__list-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-right: 0px !important;
        padding-left: 0px !important;
        font-size: 12px;
        align-items: center;
        width: 25%;
        color:#000;
        padding: 9px 8px;
    }

    .viat-sombra:hover {
        box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    }

    .div_preco_anterior {
        margin-top:-5px;
    }

    .div_preco_anterior span {
        position: relative;
    }

    .div_preco_anterior span::after {
        float: right;
        position: absolute;
        content: '';
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: rgba(255, 0, 0, 0.5);
        transform: rotate(-15deg);
        transform-origin: center;
    }

}

/* Viaturas Listagem colunas: características com altura fixa (máx. 2 linhas) para os cards ficarem iguais */

.veiculos-listagem .b-goods-f:not(.b-goods-f_row) {

    /* espaçamentos reduzidos ao mínimo */
    .b-goods-f__main {
        padding-top: 10px;
        padding-bottom: 8px;
    }

    /* altura = 2 linhas (marca/modelo 20px + versão 16px) + padding 6px */
    .b-goods-f__title {
        height: 42px;
        padding-bottom: 6px;
        overflow: hidden;
    }

    .b-goods-f__list {
        margin-bottom: 8px;
    }

    /* altura = padding 2x4px + ícone 20px + margem 4px + 2 linhas de texto */
    .b-goods-f__list-item {
        justify-content: center;
        min-width: 0;
        height: 62px;
        padding-top: 4px;
        padding-bottom: 4px;
        font-size: 11px;
    }

    .b-goods-f__list-item .icon {
        height: 17px;
        margin-bottom: 4px;
    }

    .b-goods-f__list-item .icon img {
        height: 17px;
        width: auto;
        display: block;
    }

    .b-goods-f__list-item .valor {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.3em;
        max-height: 2.6em;
        max-width: 100%;
        text-align: center;
    }

    .txt-longo {
        display: none !important;
    }

}

.veiculos-listagem .b-goods-f_row .txt-curto {
    display: none !important;
}

/* Viaturas Listagem Lista */

.etiqueta {
    position: absolute;
    bottom: 10px;
    right: 0px;
    padding: 1px 10px 1px 15px;
    border-radius: 10px 0px 0px 10px;
    border: 1px solid;
    border-right: none;
}

.etiqueta-slider {
    bottom: initial;
    top: 30px;
    right: 15px;
}

.veiculos-listagem .b-goods-f_row {

    flex-direction: column;
    position: relative;
    margin-bottom: 30px !important;
    padding-bottom: 0px !important;
    border: 1px solid #ddd;
    padding: 0px;
    background-color: #fff;

    .b-goods-f__main {
        display: flex;
        justify-content: space-between;
    }

    .b-goods-f__list {
        display: flex;
        justify-content: space-around;
        padding: 10px;
        position: absolute;
        bottom: 0px;
        left: 300px; /* largura de .b-goods-f__media */
        right: 0px;
        border-top:none;
        border-bottom: none;
    }

    .b-goods-f__list-item {
        width: 25%;
        max-width: 25%;
        min-width: 0;
        flex: 0 0 25% !important;
        text-align: center;
        padding-left: 5px !important;
        padding-right: 5px !important;
        overflow-wrap: break-word;
    }

    .b-goods-f__sidebar {
        padding-bottom: 0px;
    }

    .b-goods-f__sidebar {
        padding-bottom: 0px;
    }

    .viat-sombra:hover {
        box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
        overflow: hidden;
    }

}

/* Pagina de detalhe de viatura */

.ficha-viatura {

    h1 span {
        font-size: 24px;
    }

    .div_preco_anterior {
        font-size: 20px;
        position: relative !important;
        margin-right: 0px;
        color:rgb(220, 220, 220);
    }

    .div_preco_anterior span {
        position: relative;
    }

    .div_preco_anterior span::after {
        float: right;
        position: absolute;
        content: '';
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: rgba(255, 255, 255, 0.8);
        transform: rotate(-15deg);
        transform-origin: center;
    }

    .especificacoes {

        padding:0px;
        list-style: none;
        
        li {
            padding: 5px 0px;
        }

        li span {
            font-weight: bold;
            float: right;
        }

        .garantia-icon {
            position: relative;
            cursor: pointer;
        }

        .garantia-icon img {
            width: 20px;
            height: 20px;
            margin-right: 5px;
            cursor: pointer;
        }

        .garantia-termos {
            display: none;
        }

        .garantia-icon:hover .garantia-termos {
            display: block;
            position: absolute;
            bottom:0px;
            right: 0px;
            width: 275px;
            text-align: center;
            padding: 10px;
            background-color: #f2f2f2;
            border: 1px solid #ccc;
            border-radius: 8px;
        }

    }

    .list-mark-2 li:before {
        color: #225176 !important;
    }

    /* ---------- Ficha de viatura: cabeçalho ---------- */

    .ficha-cabecalho {
        margin-bottom: 24px;
    }

    .ficha-titulo {
        margin: 0;
        font-family: Montserrat, sans-serif;
        font-weight: 800;
        font-size: 34px;
        line-height: 1.15;
        text-transform: uppercase;
        color: #16295c;
    }

    .ficha-versao {
        margin: 6px 0 0;
        font-size: 18px;
        color: #5b6478;
    }

    .ficha-destaques {
        list-style: none;
        margin: 14px 0 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .ficha-destaques li {
        padding: 7px 14px;
        background: #fff;
        border: 1px solid #e4e8f0;
        border-radius: 999px;
        font-size: 14px;
        font-weight: 700;
        color: #2a3145;
        line-height: 1.3;
    }

    /* ---------- Cartões ---------- */

    .ficha-cartao {
        position: relative;
        background: #fff;
        border: 1px solid #e4e8f0;
        border-radius: 12px;
        padding: 24px 28px;
        margin-bottom: 24px;
    }

    .ficha-cartao__titulo {
        margin: 0 0 16px;
        font-family: Montserrat, sans-serif;
        font-weight: 700;
        font-size: 20px;
        line-height: 1.3;
        color: #16295c;
        text-transform: none;
    }

    .ficha-cartao__titulo--pequeno {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .ficha-galeria {
        padding: 12px;
        margin-bottom: 0;
        overflow: hidden;
    }

    .ficha-galeria .etiqueta-slider {
        top: 26px;
        right: 26px;
    }

    /* ---------- Preço ---------- */

    .ficha-preco {
        padding: 0;
        overflow: hidden;
        box-shadow: 0 8px 24px rgba(22, 41, 92, 0.08);
    }

    .ficha-preco__topo {
        padding: 22px 24px 16px;
    }

    .ficha-preco__anterior {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        font-size: 14px;
        color: #5b6478;
        margin-bottom: 4px;
    }

    .ficha-preco__desconto {
        padding: 2px 8px;
        border-radius: 6px;
        background: #fdeaea;
        color: #b01414;
        font-weight: 700;
        font-size: 13px;
    }

    .ficha-preco__valor {
        font-family: Montserrat, sans-serif;
        font-weight: 800;
        font-size: 38px;
        line-height: 1.15;
        color: #16295c;
        margin-bottom: 8px;
    }

    .ficha-preco__valor--vendida {
        display: inline-block;
        margin: 4px 0;
        padding: 8px 16px;
        border: 2px solid #d01818;
        border-radius: 8px;
        font-size: 24px;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #d01818;
    }

    .ficha-preco__tag {
        display: inline-block;
        padding: 4px 10px;
        border-radius: 999px;
        background: #edf1f8;
        color: #225176;
        font-size: 13px;
        font-weight: 700;
    }

    .ficha-preco__financiamento {
        margin: 0 24px;
        padding: 12px 16px;
        border-radius: 10px;
        background: #f4f7fa;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        font-size: 14px;
        line-height: 1.35;
        color: #5b6478;
    }

    .ficha-preco__financiamento strong {
        font-family: Montserrat, sans-serif;
        font-size: 21px;
        color: #16295c;
    }

    .ficha-preco__financiamento a {
        font-weight: 700;
        color: #225176;
        white-space: nowrap;
    }

    .ficha-preco__acoes {
        padding: 18px 24px 24px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .ficha-preco__acoes-sec {
        display: flex;
        gap: 10px;
    }

    .ficha-preco__acoes-sec .ficha-btn {
        flex: 1 1 0;
    }

    /* ---------- Botões ---------- */

    .ficha-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 46px;
        padding: 0 14px;
        border-radius: 8px;
        border: 1.5px solid transparent;
        font-family: Montserrat, sans-serif;
        font-weight: 700;
        font-size: 14px;
        text-decoration: none !important;
        transition: background-color .15s ease, color .15s ease;
    }

    .ficha-btn--principal {
        min-height: 50px;
        background: #d01818;
        color: #fff !important;
    }

    .ficha-btn--principal:hover {
        background: #b01414;
    }

    .ficha-btn--contorno {
        border-color: #225176;
        color: #225176 !important;
    }

    .ficha-btn--contorno:hover {
        background: #225176;
        color: #fff !important;
    }

    .ficha-btn--whatsapp {
        border-color: #138a43;
        color: #10773a !important;
    }

    .ficha-btn--whatsapp:hover {
        background: #138a43;
        color: #fff !important;
    }

    /* ---------- Equipa comercial ---------- */

    .ficha-equipa {
        padding: 18px 20px 6px;
        margin-bottom: 0;
    }

    .ficha-comercial {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 0;
        border-top: 1px solid #eef1f6;
    }

    .ficha-comercial__foto {
        flex: none;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        overflow: hidden;
        background: #dfe5ee;
    }

    .ficha-comercial__foto img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .ficha-comercial__nome {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        line-height: 1.3;
    }

    .ficha-comercial__nome strong {
        font-size: 15px;
        color: #2a3145;
    }

    .ficha-comercial__nome span {
        font-size: 13px;
        color: #5b6478;
    }

    .ficha-comercial__contactos {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        gap: 6px;
    }

    .ficha-comercial__contactos a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #edf1f8;
        color: #225176;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        transition: background-color .15s ease, color .15s ease;
    }

    .ficha-comercial__contactos .whatsapp a {
        background: #e7f6ec;
        color: #10773a;
        font-size: 18px;
    }

    .ficha-comercial__contactos a:hover {
        background: #225176;
        color: #fff;
    }

    .ficha-comercial__contactos .whatsapp a:hover {
        background: #138a43;
        color: #fff;
    }

    /* ---------- Especificações ---------- */

    .ficha-specs {
        margin: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 40px;
    }

    .ficha-specs > div {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        padding: 10px 0;
        border-bottom: 1px solid #eef1f6;
        font-size: 15px;
    }

    .ficha-specs dt {
        font-weight: 400;
        color: #5b6478;
    }

    .ficha-specs dd {
        margin: 0;
        font-weight: 700;
        color: #2a3145;
        text-align: right;
    }

    .ficha-garantia {
        margin-top: 18px;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        border-radius: 8px;
        background: #edf6ef;
        color: #1f5e33;
        font-size: 14px;
    }

    .ficha-garantia img {
        width: 24px;
        height: 24px;
        flex: none;
    }

    /* ---------- Equipamento ---------- */

    .lista-equipamentos {
        display: flex; /* Fallback caso Isotope não carregue */
        flex-wrap: wrap;
    }

    .equipamento-item {
        width: calc(50% - 7.5px); /* Largura de 50% menos o gutter do Isotope (15px) */
        margin-bottom: 15px;
        box-sizing: border-box;
        border: 1px solid #e4e8f0;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
    }

    .lista-equipamentos h6 {
        margin: 0;
        padding: 10px 16px;
        background: #f4f7fa;
        border-bottom: 1px solid #e4e8f0;
        font-family: Montserrat, sans-serif;
        font-weight: 700;
        font-size: 12px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #225176;
    }

    .ficha-lista-check {
        list-style: none;
        margin: 0;
        padding: 12px 16px 14px;
    }

    .ficha-lista-check li {
        position: relative;
        padding: 3px 0 3px 26px;
        font-size: 15px;
        line-height: 1.45;
    }

    .ficha-lista-check li::before {
        content: '';
        position: absolute;
        left: 2px;
        top: 8px;
        width: 12px;
        height: 7px;
        border-left: 2.5px solid #225176;
        border-bottom: 2.5px solid #225176;
        transform: rotate(-45deg);
    }

    /* ---------- Informação complementar ---------- */

    .ficha-lista-pontos {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px 40px;
    }

    .ficha-texto-livre p {
        margin: 0 0 10px;
        font-size: 15px;
        line-height: 1.6;
        color: #2a3145;
    }

    .ficha-texto-livre p:last-child {
        margin-bottom: 0;
    }

    .ficha-lista-pontos li {
        position: relative;
        padding-left: 18px;
        font-size: 15px;
        line-height: 1.5;
    }

    .ficha-lista-pontos li::before {
        content: '';
        position: absolute;
        left: 2px;
        top: 9px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #225176;
    }

    .info-complementares__aviso {
        margin: 18px 0 0;
        padding-top: 12px;
        border-top: 1px dashed #e4e8f0;
        font-size: 13px;
        font-style: italic;
        color: #5b6478;
    }

    .ficha-cartao__titulo + .info-complementares__aviso {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    /* ---------- Pedidos (separadores) ---------- */

    .ficha-pedidos {
        padding: 0;
        overflow: hidden;
    }

    .ficha-pedidos__tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-bottom: 1px solid #e4e8f0;
    }

    .ficha-pedidos__tabs button {
        min-height: 52px;
        border: 0;
        background: #f4f7fa;
        color: #5b6478;
        font-family: Montserrat, sans-serif;
        font-weight: 700;
        font-size: 14px;
        cursor: pointer;
    }

    .ficha-pedidos__tabs button:only-child {
        grid-column: 1 / -1;
    }

    .ficha-pedidos__tabs button.ativo {
        background: #fff;
        color: #16295c;
        box-shadow: inset 0 -3px 0 #d01818;
    }

    .ficha-pedidos__painel {
        padding: 20px;
    }

    .ficha-pedidos__painel[hidden] {
        display: none;
    }

    .ficha-pedidos__painel .form-control {
        border-radius: 8px;
    }

    .ficha-pedidos__linha {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    /* ---------- Barra fixa (telemóvel) ---------- */

    .ficha-barra-movel {
        display: none;
    }

    .contactos {

         ul {
            margin: 1rem 0px 0px 0px;
            padding: 0px;
         }

         .b-team__soc-link { 
            text-align: center;
         }

         i {
            color:#fff;
         }

    }

    .b-seller {
        margin-bottom: 20px;
    }

    .b-team__soc-item {
        background-color: #225176;
    }

    .b-seller__header {
            
        background-color: #fff;
        border: 1px solid #ddd;

        .b-seller__name {
            color:#253241;
        }

        .b-seller__category {
            color:#253241;
        }

    }

}

/* SLIDER REDES SOCIAIS E EQUIPA */

.tooltip {

    margin-bottom: 1em;

    .tooltip-inner {
        background-color: #225176;
    }

    .tooltip-inner span {
        font-size: 10px;
        text-transform: lowercase;
    }

    .arrow::before {
        border-top-color: #225176;
    }
}

/* ############ Equipa + Redes Sociais (seccao_barra_redes_sociais_e_contactos.php) ############ */

.ajap-equipa-contactos {
    --ajap-navy: #16295c;
    --ajap-navy-2: #1c3170;
    --ajap-green: #25d366;
    --ajap-text: #5b6478;
    --ajap-border: #e4e8f0;
    background: linear-gradient(100deg, #f3f5f9 0%, #f3f5f9 70%, #e9edf5 100%);
    padding: 60px 0 25px;
    border-top: 1px solid #eceff4;

    .ajap-equipa-contactos__top {
        display: grid;
        grid-template-columns: minmax(240px, 300px) 1fr;
        gap: 40px;
        align-items: center;
        padding-bottom: 50px;
        border-bottom: 1px solid #e1e5ec;
    }

    /* Intro */
    .ajap-equipa-contactos__eyebrow {
        display: flex;
        align-items: center;
        gap: 10px;
        font-family: Montserrat, sans-serif;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .2em;
        text-transform: uppercase;
        color: var(--ajap-navy);
        margin-bottom: 14px;
    }
    .ajap-equipa-contactos__eyebrow::before {
        content: "";
        width: 26px;
        height: 2px;
        background: var(--ajap-navy);
    }
    .ajap-equipa-contactos__title {
        font-family: Montserrat, sans-serif;
        font-size: 28px;
        line-height: 1.15;
        font-weight: 800;
        color: var(--ajap-navy);
        margin: 0 0 20px;
        text-transform: none;
    }
    .ajap-equipa-contactos__lead {
        font-family: Lato, sans-serif;
        font-size: 14px;
        line-height: 1.65;
        color: var(--ajap-text);
        margin: 0 0 22px;
    }
    .ajap-equipa-contactos__status {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        color: #2a3145;
    }
    .ajap-equipa-contactos__status .dot {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: var(--ajap-green);
        box-shadow: 0 0 0 3px rgba(37, 211, 102, .2);
        margin-right: 6px;
    }
    .ajap-equipa-contactos__status strong { font-weight: 700; }
    .ajap-equipa-contactos__status .horario { color: #444b5c; margin-left: 6px; }

    /* Cards */
    .ajap-equipa-contactos__cards {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 18px;
    }

    .ajap-membro {
        position: relative;
        background: #fff;
        border: 1px solid transparent;
        border-radius: 14px;
        padding: 18px 14px 16px;
        box-shadow: 0 2px 10px rgba(22, 41, 92, .05);
        transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    }
    .ajap-membro:hover {
        transform: translateY(-6px);
        border-color: var(--ajap-navy-2);
        box-shadow: 0 14px 30px rgba(22, 41, 92, .14);
    }

    .ajap-membro__head {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 18px;
    }
    .ajap-membro__avatar {
        position: relative;
        flex: 0 0 auto;
    }
    .ajap-membro__foto {
        width: 58px;
        height: 58px;
        border-radius: 50%;
        background-size: cover;
        background-position: center top;
        background-color: #e9edf5;
        box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--ajap-border);
    }
    .ajap-membro__online {
        position: absolute;
        right: -2px;
        bottom: 2px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: var(--ajap-green);
        border: 2px solid #fff;
    }
    .ajap-membro__nome {
        font-family: Montserrat, sans-serif;
        font-size: 16px;
        font-weight: 700;
        color: #1d2233;
        margin: 0 0 5px;
        text-transform: none;
        line-height: 1.2;
    }
    .ajap-membro__funcao {
        display: inline-block;
        font-family: Montserrat, sans-serif;
        font-size: 11px;
        font-weight: 600;
        color: #3e5a8a;
        background: #edf1f8;
        border-radius: 20px;
        padding: 2px 10px;
    }
    .ajap-membro__funcao.is-pos-venda {
        color: #8a6a12;
        background: #fdf3d4;
    }

    .ajap-membro__acoes {
        display: flex;
        gap: 6px;
    }
    .ajap-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        height: 36px;
        padding: 0 9px;
        border-radius: 7px;
        font-family: Lato, sans-serif;
        font-size: 12px;
        font-weight: 600;
        text-decoration: none !important;
        border: 1px solid var(--ajap-border);
        background: #fff;
        color: #2a3145;
        white-space: nowrap;
        transition: background-color .2s ease, color .2s ease, border-color .2s ease, filter .2s ease;
    }
    .ajap-btn--ligar,
    .ajap-btn--email { flex: 1 1 0; padding: 0 12px; }
    .ajap-btn--whatsapp { flex-grow: 1.4 !important; flex-basis: 0 !important; }
    .ajap-btn svg { flex: 0 0 auto; }
    .ajap-btn i { font-size: 14px; }
    .ajap-btn--whatsapp {
        flex: 1 1 auto;
        background: var(--ajap-green);
        border-color: var(--ajap-green);
        color: #fff;
    }
    .ajap-btn--whatsapp:hover { filter: brightness(.94); color: #fff; }
    .ajap-btn--email:hover,
    .ajap-btn--ligar:hover { border-color: var(--ajap-navy); color: var(--ajap-navy); }
    /* Tooltip com o número de telefone (hover no botão Ligar) */
    .ajap-btn[data-tooltip] { position: relative; }
    .ajap-btn[data-tooltip]::before,
    .ajap-btn[data-tooltip]::after {
        position: absolute;
        left: 50%;
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease;
        z-index: 5;
    }
    .ajap-btn[data-tooltip]::after {
        content: attr(data-tooltip);
        bottom: calc(100% + 10px);
        transform: translate(-50%, 6px);
        background: var(--ajap-navy);
        color: #fff;
        font-size: 11px;
        font-weight: 600;
        white-space: nowrap;
        padding: 5px 10px;
        border-radius: 6px;
    }
    .ajap-btn[data-tooltip]::before {
        content: "";
        bottom: calc(100% + 0px);
        transform: translate(-50%, 6px);
        border: 5px solid transparent;
        border-top-color: var(--ajap-navy);
    }
    .ajap-btn[data-tooltip]:hover::before,
    .ajap-btn[data-tooltip]:hover::after,
    .ajap-btn[data-tooltip]:focus-visible::before,
    .ajap-btn[data-tooltip]:focus-visible::after {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    .ajap-membro:hover .ajap-btn--ligar {
        background: var(--ajap-navy-2);
        border-color: var(--ajap-navy-2);
        color: #fff;
    }

    /* Barra redes sociais */
    .ajap-equipa-contactos__redes {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding-top: 22px;
    }
    .ajap-equipa-contactos__redes-texto {
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 6px 18px;
    }
    .ajap-equipa-contactos__redes-texto strong {
        font-family: Montserrat, sans-serif;
        font-size: 14px;
        font-weight: 700;
        color: var(--ajap-navy);
    }
    .ajap-equipa-contactos__redes-texto span {
        font-size: 13px;
        color: var(--ajap-text);
    }
    .ajap-equipa-contactos__redes-links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .ajap-rede {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        height: 40px;
        padding: 0 16px;
        background: #fff;
        border: 1px solid var(--ajap-border);
        border-radius: 22px;
        font-size: 13px;
        font-weight: 600;
        color: #1d2233;
        text-decoration: none !important;
        transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    }
    .ajap-rede i { font-size: 17px; }
    .ajap-rede img { width: 18px; height: 18px; object-fit: contain; }
    .ajap-rede:hover {
        color: #1d2233;
        border-color: #c9d0dd;
        box-shadow: 0 4px 12px rgba(22, 41, 92, .08);
        transform: translateY(-1px);
    }
    .ajap-rede--facebook i  { color: #1877f2; }
    .ajap-rede--instagram i { color: #e1306c; }
    .ajap-rede--youtube i   { color: #ff0000; }
    .ajap-rede--linkedin i  { color: #0a66c2; }
    .ajap-rede--tiktok i    { color: #000; }
    .ajap-rede--whatsapp i  { color: #25d366; }
}

@media (max-width: 1199px) {
    .ajap-equipa-contactos .ajap-equipa-contactos__top { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 767px) {
    .ajap-equipa-contactos { padding-top: 45px; }
    .ajap-equipa-contactos .ajap-equipa-contactos__cards { grid-template-columns: 1fr; }
    .ajap-equipa-contactos .ajap-equipa-contactos__title { font-size: 24px; }
    .ajap-equipa-contactos .ajap-equipa-contactos__redes { flex-direction: column; align-items: flex-start; }
}

/* ############ Cookies ############ */

#div_cookies {
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0px;
    padding: 30px 30px 50px 30px;
    background: #fff;
    border-top: 2px solid #225176;
    color: #225176;
    display: none;
    align-content: center;
    z-index: 999999;
}

#div_cookies a {
    color: #05233b;
    font-weight: 600;
    text-decoration: none;
}

#div_cookies a:hover {
    text-decoration: underline;
}

#fechar_cookies {
    border: 1px solid #225176;
    background-color: #225176;
    color: #fff;
    padding: 5px 30px;
    border-radius: 5px;
}

#fechar_cookies:hover {
    background-color: #fff;
    color: #225176;
    padding: 5px 30px;
}

/* ############ Reclamações ############ */

.div_reclamacoes {
    display: none;
    text-align: center;
    padding: 25px;
    border: 1px solid #1b1b1b;
    background: #eee;
    color:#225176;
}

.div_reclamacoes p {
    margin: 0px;
}

.div_reclamacoes p a {
    color: #000;
    font-weight: 700;
    text-decoration: none;
}

/* ############ Litigio ############ */

.div_litigio {
    display: none;
    text-align: center;
    padding: 25px;
    border: 1px solid #1b1b1b;
    background: #eee;
    color:#225176;
}

.div_litigio p {
    margin: 0px;
}

.div_litigio p a {
    color: #000;
    font-weight: 700;
    text-decoration: none;
}

/* ############ MODAL COMPRAR ############ */

#modal-comparar {

    table {
        width: 100%;
        border-collapse: collapse;
    }

    img {
        width: 100px;
    }

}

/* ############ MODAL PARTILHAR ############ */

#modal-partilhar {

    .list-inline {
        display: flex;
        justify-content: space-evenly;
        padding: 0px;
    }

    img {
        width: 45px;
    }

}


.modal {
    
    .viatura {

        width: 100%;
        display: flex;
        border-bottom: 1px solid #e9ecef;
        margin-top: -10px;

        .img {
            height: 90px;
            background-position: center center;
            background-size: cover;
            background-repeat: no-repeat;
            margin-left: 15px;
        }

        .info-tec {
            display: flex;
            justify-content: space-around;
            align-items: center;
            div {
                text-align: center;
                font-size: 10px;
            }
            .preco span {
                font-size: 19px;
            }
        }

    }

    .icon_close {
        font-size: 30px;
        cursor: pointer;
    }

}



@media (max-width: 1199px) {
    
    .veiculos-listagem .b-goods-f_row .b-goods-f__media {
        width: 250px;
        max-width: 40%;
    }

    .veiculos-listagem .b-goods-f_row .b-goods-f__list {
        left: min(250px, 40%);
    }

}

@media screen and (max-width: 991px) {
    
    .normal-logo {
        width: inherit;
        max-height: 80px;
    }

    .equipamento-item {
        width: 100%;
    }

    /* Ficha de viatura: barra fixa de contacto */
    .ficha-viatura {
        padding-bottom: 90px;
    }

    .ficha-viatura .ficha-barra-movel {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        display: flex;
        gap: 8px;
        padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid #e4e8f0;
        box-shadow: 0 -6px 18px rgba(22, 41, 92, 0.08);
    }

    .ficha-viatura .ficha-barra-movel .ficha-btn {
        flex: 1 1 0;
        min-height: 48px;
        padding: 0 8px;
    }

    .ficha-viatura .ficha-equipa {
        margin-bottom: 24px;
    }

}

@media screen and (max-width: 767px) {

    .sp-horizontal .sp-previous-arrow {
        left: 20px;
    }

    .sp-horizontal .sp-next-arrow {
        right: 20px;
    }

    .servicos-listagem li img {
        height: inherit;
        width: 54px;
        margin-top: -30px;
    }

    .ficha-viatura .equipamento-item {
        width: 100%;
    }

    .ficha-viatura .ficha-titulo {
        font-size: 24px;
    }

    .ficha-viatura .ficha-versao {
        font-size: 15px;
    }

    .ficha-viatura .ficha-destaques li {
        padding: 6px 12px;
        font-size: 13px;
    }

    .ficha-viatura .ficha-cartao {
        padding: 18px 16px;
        margin-bottom: 16px;
    }

    .ficha-viatura .ficha-galeria {
        padding: 8px;
    }

    .ficha-viatura .ficha-preco,
    .ficha-viatura .ficha-pedidos {
        padding: 0;
    }

    .ficha-viatura .ficha-equipa {
        padding: 16px 16px 4px;
    }

    .ficha-viatura .ficha-preco__valor {
        font-size: 32px;
    }

    .ficha-viatura .ficha-specs,
    .ficha-viatura .ficha-lista-pontos {
        grid-template-columns: minmax(0, 1fr);
    }

    .ficha-viatura .ficha-specs > div {
        font-size: 14px;
    }

    .ficha-viatura .b-goods-f-price__inner {
        text-align: right;
    }

    .ficha-viatura h1 span {
        display: flex;
    }

}

@media screen and (max-width: 468px) {

    .main-slider__figure-1.img-fluid {
        display: block !important;
    }

    .main-slider__wrap, .main-slider__slide-2 .main-slider__wrap {
        padding: 30px 10px 0;
        background: rgba(18, 24, 32, 0.5);
    }

}

/* ############ Bem-vindos (seccao_bem-vindos.php) ############ */

.ajap-bemvindos {
    --bv-navy: #16295c;
    --bv-red: #d01818;
    --bv-text: #5b6478;
    --bv-border: #e4e8f0;
    padding: 80px 0;
    background: #fff;
}
.ajap-bemvindos__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

/* Imagem */
.ajap-bemvindos__media {
    position: relative;
    height: 100%;
    min-height: 520px;
}
.ajap-bemvindos__img {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background-color: #e9edf5;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}
.ajap-bemvindos__badge {
    position: absolute;
    left: -30px;
    bottom: 40px;
    background: var(--bv-navy);
    color: #fff;
    border-radius: 14px;
    padding: 22px 28px;
    box-shadow: 0 18px 40px rgba(22, 41, 92, .3);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ajap-bemvindos__badge-num {
    font-family: Montserrat, sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}
.ajap-bemvindos__badge-txt {
    font-family: Lato, sans-serif;
    font-size: 13px;
    opacity: .9;
}

/* Conteúdo */
.ajap-bemvindos__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--bv-red);
    margin-bottom: 10px;
}
.ajap-bemvindos__eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--bv-red);
}
.ajap-bemvindos__title {
    font-family: Montserrat, sans-serif;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--bv-navy);
    text-transform: none;
    margin: 0 0 20px;
}
.ajap-bemvindos__title .text-primary {
    color: var(--bv-red) !important;
}
.ajap-bemvindos__lead p {
    font-family: Lato, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--bv-text);
    margin: 0 0 8px;
}

/* Itens com ícone */
.ajap-bemvindos__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 30px 0 30px;
}
.ajap-bemvindos__feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 16px;
    border: 1px solid var(--bv-border);
    border-radius: 12px;
    background: #fff;
    transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.ajap-bemvindos__feature:hover {
    border-color: #f3c9c9;
    box-shadow: 0 10px 25px rgba(22, 41, 92, .08);
    transform: translateY(-2px);
}
.ajap-bemvindos__feature-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fdecec;
    color: var(--bv-red);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ajap-bemvindos__feature-icon svg {
    width: 20px;
    height: 20px;
}
.ajap-bemvindos__feature-icon img {
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
}
.ajap-bemvindos__feature-title {
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--bv-navy);
    margin-bottom: 4px;
}
.ajap-bemvindos__feature-text {
    font-family: Lato, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--bv-text);
}

/* Contadores */
.ajap-bemvindos__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--bv-border);
    padding-top: 26px;
}
.ajap-bemvindos__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 20px;
    border-left: 1px solid var(--bv-border);
}
.ajap-bemvindos__stat:first-child {
    padding-left: 0;
    border-left: 0;
}
.ajap-bemvindos__stat-num {
    font-family: Montserrat, sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--bv-navy);
}
.ajap-bemvindos__stat-txt {
    font-family: Lato, sans-serif;
    font-size: 13px;
    color: var(--bv-text);
}

@media screen and (max-width: 1199px) {
    .ajap-bemvindos__grid { gap: 50px; }
    .ajap-bemvindos__title { font-size: 30px; }
    .ajap-bemvindos__stat-num { font-size: 26px; }
}
@media screen and (max-width: 991px) {
    .ajap-bemvindos { padding: 60px 0; }
    .ajap-bemvindos__grid { grid-template-columns: 1fr; gap: 40px; }
    .ajap-bemvindos__media { min-height: 360px; }
    .ajap-bemvindos__badge { left: 20px; bottom: 20px; }
}
@media screen and (max-width: 575px) {
    .ajap-bemvindos__media { min-height: 260px; }
    .ajap-bemvindos__badge { padding: 16px 20px; }
    .ajap-bemvindos__badge-num { font-size: 30px; }
    .ajap-bemvindos__title { font-size: 26px; }
    .ajap-bemvindos__features { grid-template-columns: 1fr; }
    .ajap-bemvindos__stat { padding: 0 10px; }
    .ajap-bemvindos__stat-num { font-size: 22px; }
}


/* ############ Header novo (header.php) ############ */

/* o header novo ocupa o seu espaço no fluxo: retira o espaço reservado ao header fixo do tema
   e usa overflow-x: clip (o hidden impedia o position: sticky do header) */
.l-theme {
    padding-top: 0 !important;
    overflow-x: clip;
}

.ajap-header {
    --hd-navy: #16295c;
    --hd-red: #d01818;
    --hd-text: #1d2433;
    --hd-muted: #6b7385;
    --hd-border: #e4e8f0;
    position: sticky;
    top: -40px;               /* a barra de topo sai, a barra principal fica fixa */
    z-index: 999;
    background: #fff;
    font-family: Montserrat, sans-serif;
}

.ajap-topbar {
    background: var(--hd-navy);
    color: rgba(255,255,255,.85);
    font-family: Lato, sans-serif;
    font-size: 13px;
}
.ajap-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
}
.ajap-topbar__info {
    display: flex;
    gap: 28px;
    margin: 0;
}
.ajap-topbar__info li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ajap-topbar__info i { font-size: 12px; opacity: .8; }
.ajap-topbar a { color: inherit; text-decoration: none; }
.ajap-topbar a:hover { color: #fff; }
.ajap-topbar__social { display: flex; align-items: center; gap: 20px; }
.ajap-topbar__social a { color: #fff; font-weight: 700; }
.ajap-topbar__social a:hover { text-decoration: underline; }

.ajap-header__main {
    background: #fff;
    border-bottom: 1px solid var(--hd-border);
    transition: box-shadow .3s;
}
.ajap-header__inner {
    display: flex;
    align-items: center;
    height: 88px;
    gap: 24px;
}
.ajap-header__logo { flex: 0 0 auto; margin-right: auto; }
.ajap-header__logo img { height: 52px; width: auto; display: block; }

.ajap-nav { display: flex; align-items: center; gap: 6px; margin: 0; }
.ajap-nav .nav-item { list-style: none; }
.ajap-nav .nav-link {
    position: relative;
    display: block;
    padding: 10px 14px;
    color: var(--hd-text);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s;
}
.ajap-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 14px; right: 14px; bottom: 0;
    height: 2px;
    background: var(--hd-red);
    transform: scaleX(0);
    transition: transform .25s;
}
.ajap-nav .nav-link:hover,
.ajap-nav .active .nav-link { color: var(--hd-red); }
.ajap-nav .nav-link:hover::after,
.ajap-nav .active .nav-link::after { transform: scaleX(1); }

.ajap-header__phone {
    align-items: center;
    gap: 14px;
    padding-left: 30px;
    border-left: 1px solid var(--hd-border);
    text-decoration: none !important;
}
.ajap-header__phone-icon {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: #fdeaea;
    color: var(--hd-red);
    font-size: 17px;
}
.ajap-header__phone-txt { display: flex; flex-direction: column; line-height: 1.25; }
.ajap-header__phone-txt strong { color: var(--hd-text); font-size: 16px; font-weight: 700; }
.ajap-header__phone-txt small { color: var(--hd-muted); font-family: Lato, sans-serif; font-size: 12px; }
.ajap-header__phone:hover strong { color: var(--hd-red); }

.ajap-btn-stock {
    align-items: center;
    height: 46px;
    padding: 0 24px;
    border-radius: 8px;
    background: var(--hd-red);
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(208,24,24,.28);
    transition: background .2s, transform .2s;
}
.ajap-btn-stock:hover { background: #b51212; transform: translateY(-1px); }

.ajap-header .menu-mobile-button {
    position: static;
    margin: 0;
}

@media (max-width: 1199px) {
    .ajap-header__inner { gap: 14px; }
    .ajap-nav .nav-link { padding: 10px 10px; font-size: 14px; }
    .ajap-nav .nav-link::after { left: 10px; right: 10px; }
}
@media (max-width: 991px) {
    .ajap-header { top: 0; }
    .ajap-header__inner { height: 72px; }
    .ajap-header__logo img { height: 44px; }
}


/* ############ Slider + pesquisa (seccao_header_slider.php) ############ */

.ajap-hero {
    position: relative;
    padding-bottom: 30px;
    background: #fff;
}
.ajap-hero__slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #0d1630;
}
.ajap-hero__slide {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .9s ease, visibility .9s;
}
.ajap-hero__slide.is-active { opacity: 1; visibility: visible; }
.ajap-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ajap-hero__content {
    position: absolute;
    left: 0; right: 0;
    top: 50%;
    transform: translateY(-60%);
}
.ajap-hero__text { max-width: 560px; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.45); }
.ajap-hero__eyebrow { font-family: Montserrat, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.ajap-hero__title { font-family: Montserrat, sans-serif; font-size: 52px; font-weight: 800; line-height: 1.05; }
.ajap-hero__sub { font-family: Lato, sans-serif; font-size: 20px; margin-top: 14px; }
.ajap-hero__link {
    display: inline-block;
    margin-top: 22px;
    padding: 12px 26px;
    border-radius: 8px;
    background: #d01818;
    color: #fff !important;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    text-shadow: none;
    text-decoration: none !important;
}

.ajap-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 120px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.ajap-hero__dot {
    width: 9px; height: 9px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: rgba(255,255,255,.55);
    cursor: pointer;
    transition: width .3s, background .3s;
}
.ajap-hero__dot.is-active { width: 28px; background: #fff; }

.ajap-hero__search-wrap {
    position: relative;
    z-index: 5;
    margin-top: -62px;
}
.ajap-search {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 14px;
    padding: 22px 24px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(22,41,92,.14);
}
.ajap-search__field {
    position: relative;
    display: block;
    margin: 0;
    padding: 10px 40px 8px 16px;
    border: 1px solid #e4e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .2s;
}
.ajap-search__field:hover,
.ajap-search__field:focus-within { border-color: #16295c; }
.ajap-search__field::after {
    content: "";
    position: absolute;
    right: 18px; top: 50%;
    width: 7px; height: 7px;
    border-right: 2px solid #16295c;
    border-bottom: 2px solid #16295c;
    transform: translateY(-20%) rotate(45deg);
    pointer-events: none;
}
.ajap-search__label {
    display: block;
    font-family: Montserrat, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #6b7385;
}
.ajap-search__field select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #1d2433;
    cursor: pointer;
}
/* lista nativa (Firefox respeita o padding das opções) */
.ajap-search__field select option { padding: 8px 12px; }

/* lista personalizada (computador) */
.ajap-search--dd .ajap-search__field select { pointer-events: none; }
.ajap-search__field.is-open { border-color: #16295c; z-index: 30; }
.ajap-search__field::after { transition: transform .2s; }
.ajap-search__field.is-open::after { transform: translateY(-20%) rotate(225deg); }
.ajap-dd {
    position: absolute;
    top: calc(100% + 8px);
    left: -1px;
    min-width: calc(100% + 2px);
    max-height: 320px;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid #e4e8f0;
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(22,41,92,.16);
    z-index: 30;
    animation: ajapDd .15s ease-out;
    scrollbar-width: thin;
}
@keyframes ajapDd { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.ajap-dd__item {
    position: relative;
    padding: 9px 34px 9px 12px;
    border-radius: 6px;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1d2433;
    white-space: nowrap;
    cursor: pointer;
}
.ajap-dd__item.is-hover { background: #f3f5f9; }
.ajap-dd__item.is-selected { color: #d01818; font-weight: 700; }
.ajap-dd__item.is-selected::after {
    content: "";
    position: absolute;
    right: 14px; top: 50%;
    width: 5px; height: 10px;
    border-right: 2px solid #d01818;
    border-bottom: 2px solid #d01818;
    transform: translateY(-60%) rotate(45deg);
}

.ajap-search__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 230px;
    padding: 0 28px;
    border: 0;
    border-radius: 8px;
    background: #d01818;
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(208,24,24,.28);
    transition: background .2s;
}
.ajap-search__btn:hover { background: #b51212; }

.ajap-quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}
.ajap-quick__label { font-family: Lato, sans-serif; font-size: 14px; color: #6b7385; margin-right: 4px; }
.ajap-quick__chip {
    padding: 6px 15px;
    border: 1px solid #e4e8f0;
    border-radius: 30px;
    background: #fff;
    color: #1d2433 !important;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: border-color .2s, color .2s;
}
.ajap-quick__chip:hover { border-color: #d01818; color: #d01818 !important; }

@media (max-width: 1199px) {
    .ajap-search { grid-template-columns: repeat(4, 1fr); }
    .ajap-search__btn { grid-column: 1 / -1; height: 52px; }
    .ajap-hero__dots { bottom: 180px; }
}
@media (max-width: 991px) {
    .ajap-hero__slider { height: 460px; }
    .ajap-hero__title { font-size: 38px; }
}
@media (max-width: 767px) {
    .ajap-hero__slider { height: 300px; }
    .ajap-hero__dots { bottom: 16px; }
    .ajap-hero__search-wrap { margin-top: -20px; }
    .ajap-search { grid-template-columns: 1fr 1fr; padding: 16px; gap: 10px; }
    .ajap-hero__title { font-size: 28px; }
    .ajap-hero__sub { font-size: 16px; }
}
@media (max-width: 480px) {
    .ajap-search { grid-template-columns: 1fr; }
}

/* ############ CTA + Footer (footer.php) ############ */

.ajap-cta {
    background: linear-gradient(90deg, #16295c 0%, #1c3170 55%, #22408f 100%);
    padding: 40px 0;
    color: #fff;
}
.ajap-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.ajap-cta__title { font-family: Montserrat, sans-serif; font-size: 26px; font-weight: 800; color: #fff; margin: 0 0 6px; line-height: 1.2; }
.ajap-cta__sub { font-family: Lato, sans-serif; font-size: 15px; color: rgba(255,255,255,.85); margin: 0; }
.ajap-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ajap-cta__btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 50px; padding: 0 26px; border-radius: 8px;
    font-family: Montserrat, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .02em;
    text-decoration: none !important; transition: transform .15s, filter .15s, box-shadow .15s;
}
.ajap-cta__btn:hover { transform: translateY(-2px); filter: brightness(.95); }
.ajap-cta__btn--white { background: #fff; color: #16295c !important; }
.ajap-cta__btn--green { background: #25d366; color: #fff !important; }
.ajap-cta__btn--red { background: #d01818; color: #fff !important; box-shadow: 0 6px 18px rgba(208,24,24,.35); }

.ajap-footer {
    background: #1a1d29 !important;
    color: #a3a9b8;
    font-family: Lato, sans-serif;
    font-size: 14px;
    padding: 0 !important;
    position: relative;
}
.ajap-footer a { color: #a3a9b8; text-decoration: none; transition: color .15s; }
.ajap-footer a:hover { color: #fff; }

.ajap-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1.15fr .9fr 1.05fr 1fr;
    gap: 40px;
    padding: 58px 0 40px;
}
.ajap-footer__logo img { max-height: 62px; max-width: 100%; filter: brightness(0) invert(1); }
.ajap-footer__about { margin: 26px 0 24px; line-height: 1.65; font-size: 14.5px; color: #a3a9b8; }
.ajap-footer__soc { display: flex; gap: 10px; margin: 0; }
.ajap-footer__soc a {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 8px;
    background: #262a38; color: #fff !important;
    font-family: Montserrat, sans-serif; font-size: 12px; font-weight: 700;
}
.ajap-footer__soc a:hover { background: #d01818; }
.ajap-footer__soc a i { font-size: 16px; line-height: 1; }

.ajap-footer__title {
    font-family: Montserrat, sans-serif; font-size: 16px; font-weight: 700; color: #fff;
    margin: 6px 0 26px; padding-bottom: 12px; position: relative; text-transform: none;
}
.ajap-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: #d01818; }

.ajap-footer__contacts li { display: flex; gap: 12px; margin-bottom: 14px; line-height: 1.3; }
.ajap-footer__contacts i { color: #d01818; font-size: 14px; margin-top: 2px; flex: 0 0 auto; }
.ajap-footer__tel { color: #fff !important; font-weight: 700; font-size: 15px; display: block; }
.ajap-footer__contacts small { display: block; font-size: 11.5px; margin-top: 3px; }

.ajap-footer__links li { margin-bottom: 10px; }

.ajap-footer__horario li {
    display: flex; justify-content: space-between; gap: 10px;
    padding: 0 0 10px; margin-bottom: 10px; border-bottom: 1px dashed #333849; font-size: 13.5px;
}
.ajap-footer__horario strong { color: #fff; font-weight: 700; }
.ajap-footer__map {
    display: flex; align-items: center; gap: 10px;
    margin-top: 14px; padding: 5px 12px 5px 5px; border-radius: 8px;
    border: 1px solid #2f3446; background: #232736;
    color: #fff !important; text-decoration: none !important;
    font-size: 13px; font-weight: 700; line-height: 1.2;
    transition: border-color .2s ease, background-color .2s ease;
}
.ajap-footer__map-thumb {
    flex: 0 0 38px; width: 38px; height: 38px;
    border-radius: 6px; overflow: hidden; display: block;
}
.ajap-footer__map-thumb svg { display: block; }
.ajap-footer__map-txt { flex: 1 1 auto; }
.ajap-footer__map-arrow { flex: 0 0 auto; color: #d01818; transition: transform .2s ease; }
.ajap-footer__map:hover,
.ajap-footer__map:focus-visible { border-color: #d01818; background: #282c3c; }
.ajap-footer__map:hover .ajap-footer__map-arrow { transform: translate(2px, -2px); }
@media (prefers-reduced-motion: reduce) {
    .ajap-footer__map, .ajap-footer__map-arrow { transition: none; }
}

.ajap-footer__bottom { border-top: 1px solid #2b2f3d; padding: 20px 0; }
.ajap-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ajap-footer__copy { font-size: 13.5px; }
.ajap-footer__copy a { color: #d01818 !important; font-weight: 700; }
.ajap-footer__livro {
    border: 1px solid #a3a9b8; border-radius: 6px; padding: 5px 12px;
    color: #fff !important; font-size: 12.5px; font-weight: 700; background: #1a1d29;
}
.ajap-footer__livro:hover { border-color: #fff; }

@media (max-width: 1199px) {
    .ajap-footer__grid { grid-template-columns: repeat(3, 1fr); }
    .ajap-footer__col--brand { grid-column: span 3; }
}
@media (max-width: 991px) {
    .ajap-cta__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
    .ajap-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .ajap-footer__col--brand { grid-column: span 2; }
    .ajap-cta__btns, .ajap-cta__btn { width: 100%; }
    .ajap-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 479px) {
    .ajap-footer__grid { grid-template-columns: 1fr; }
    .ajap-footer__col--brand { grid-column: auto; }
}

/* ############ Testemunhos (seccao_testemunhos.php) ############ */

.ajap-testemunhos {
    --ts-navy: #16295c;
    --ts-red: #d01818;
    --ts-text: #5b6478;
    --ts-border: #e4e8f0;
    padding: 80px 0;
    background: #fff;
}
.ajap-testemunhos__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 36px;
}
.ajap-testemunhos__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ts-red);
    margin-bottom: 10px;
}
.ajap-testemunhos__eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--ts-red);
}
.ajap-testemunhos__title {
    font-family: Montserrat, sans-serif;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--ts-navy);
    text-transform: none;
    margin: 0;
}
.ajap-testemunhos__title .text-primary { color: var(--ts-red) !important; }

.ajap-testemunhos__nav { display: flex; gap: 12px; flex-shrink: 0; }
.ajap-testemunhos__arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--ts-border);
    background: #fff;
    color: var(--ts-navy);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.ajap-testemunhos__arrow--next,
.ajap-testemunhos__arrow:hover:not(:disabled) {
    background: var(--ts-navy);
    border-color: var(--ts-navy);
    color: #fff;
}
.ajap-testemunhos__arrow:disabled { opacity: .45; cursor: default; }
.ajap-testemunhos__arrow--next:disabled { background: #fff; color: var(--ts-navy); border-color: var(--ts-border); }

/* Carrossel */
.ajap-testemunhos__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 50px) / 3);
    column-gap: 25px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 4px 30px;
    margin: -4px -4px 0;
}
.ajap-testemunhos__track::-webkit-scrollbar { display: none; }

.ajap-testemunhos__card {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ts-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(22, 41, 92, .08);
}
.ajap-testemunhos__media {
    position: relative;
    height: 200px;
    background-color: #e9edf5;
    background-size: cover;
    background-position: center;
}
.ajap-testemunhos__quote {
    position: absolute;
    right: 22px;
    bottom: -26px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--ts-red);
    color: #fff;
    font-family: Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 70px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(208, 24, 24, .3);
}
.ajap-testemunhos__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 26px 24px 24px;
}
.ajap-testemunhos__stars {
    color: #f5b301;
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 14px;
}
.ajap-testemunhos__text {
    font-family: Lato, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ts-text);
    margin: 0 0 20px;
    max-height: 80px;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: #c9cfdb transparent;
}
.ajap-testemunhos__text::-webkit-scrollbar { width: 4px; }
.ajap-testemunhos__text::-webkit-scrollbar-thumb { background: #c9cfdb; border-radius: 4px; }
.ajap-testemunhos__foot {
    margin-top: auto;
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--ts-border);
}
.ajap-testemunhos__name {
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--ts-navy);
    line-height: 1.3;
}
.ajap-testemunhos__place {
    font-family: Lato, sans-serif;
    font-size: 13px;
    color: #8a91a3;
}
.ajap-testemunhos__badge {
    flex-shrink: 0;
    font-family: Lato, sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #1f8a4c;
    background: #e8f6ee;
    border-radius: 20px;
    padding: 4px 10px;
    white-space: nowrap;
}

/* Barra de progresso */
.ajap-testemunhos__progress {
    position: relative;
    width: 260px;
    max-width: 60%;
    height: 3px;
    margin: 10px auto 0;
    background: var(--ts-border);
    border-radius: 3px;
    overflow: hidden;
}
.ajap-testemunhos__progress span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--ts-red);
    border-radius: 3px;
    transition: left .15s linear, width .15s linear;
}

@media (max-width: 1199px) {
    .ajap-testemunhos__track { grid-auto-columns: calc((100% - 25px) / 2); }
}
@media (max-width: 767px) {
    .ajap-testemunhos { padding: 60px 0; }
    .ajap-testemunhos__title { font-size: 28px; }
    .ajap-testemunhos__nav { display: none; }
    .ajap-testemunhos__track { grid-auto-columns: 88%; column-gap: 16px; }
    .ajap-testemunhos__foot { flex-wrap: wrap; }
}


/* ############ Equipa (seccao_equipa.php) ############ */

.ajap-equipa {
    --eq-navy: #16295c;
    --eq-red: #d01818;
    --eq-text: #5b6478;
    --eq-border: #e4e8f0;
    --eq-green: #25d366;
    --eq-yellow: #f6b40e;
    padding: 70px 0 80px;
    background: #f3f5f9;
}
.ajap-equipa__head {
    text-align: center;
    margin-bottom: 40px;
}
.ajap-equipa__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--eq-red);
    margin-bottom: 10px;
}
.ajap-equipa__eyebrow::before,
.ajap-equipa__eyebrow::after {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--eq-red);
}
.ajap-equipa__title {
    font-family: Montserrat, sans-serif;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--eq-navy);
    text-transform: none;
    margin: 0;
}
.ajap-equipa__title .text-primary { color: var(--eq-red) !important; }

.ajap-equipa__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.ajap-equipa__card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(22, 41, 92, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}
.ajap-equipa__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(22, 41, 92, .14);
}

/* Fotografia + nome */
.ajap-equipa__media {
    position: relative;
    height: 300px;
    background-color: #e9edf5;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}
.ajap-equipa__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(22, 41, 92, 0) 45%, rgba(22, 41, 92, .85) 100%);
}
.ajap-equipa__identity {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 16px;
    z-index: 1;
}
.ajap-equipa__name {
    font-family: Montserrat, sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 8px;
}
.ajap-equipa__role {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .22);
    font-family: Montserrat, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
}
.ajap-equipa__role--accent {
    background: var(--eq-yellow);
    color: var(--eq-navy);
}

/* Contactos + botões */
.ajap-equipa__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 20px 20px;
}
.ajap-equipa__contacts {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}
.ajap-equipa__contacts li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Lato, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: var(--eq-text);
    min-width: 0;
}
.ajap-equipa__contacts svg {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--eq-text);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ajap-equipa__contacts a {
    color: var(--eq-text);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ajap-equipa__contacts a:hover { color: var(--eq-red); text-decoration: none; }

.ajap-equipa__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
}
.ajap-equipa__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .2s, color .2s, border-color .2s, filter .2s;
}
.ajap-equipa__btn:only-child { grid-column: 1 / -1; }
.ajap-equipa__btn--call {
    background: var(--eq-navy);
    color: #fff !important;
}
.ajap-equipa__btn--call:hover { background: #0e1c42; }
.ajap-equipa__btn--whatsapp {
    background: var(--eq-green);
    color: #fff !important;
}
.ajap-equipa__btn--whatsapp:hover { filter: brightness(.93); }
.ajap-equipa__btn--email {
    background: #fff;
    border-color: var(--eq-border);
    color: var(--eq-navy) !important;
}
.ajap-equipa__btn--email:hover { border-color: var(--eq-navy); }

@media screen and (max-width: 1199px) {
    .ajap-equipa__title { font-size: 30px; }
    .ajap-equipa__media { height: 260px; }
}
@media screen and (max-width: 991px) {
    .ajap-equipa { padding: 60px 0; }
    .ajap-equipa__grid { grid-template-columns: repeat(2, 1fr); }
    .ajap-equipa__media { height: 320px; }
}
@media screen and (max-width: 575px) {
    .ajap-equipa__title { font-size: 26px; }
    .ajap-equipa__eyebrow { letter-spacing: .12em; font-size: 11px; }
    .ajap-equipa__eyebrow::before,
    .ajap-equipa__eyebrow::after { width: 18px; }
    .ajap-equipa__grid { grid-template-columns: 1fr; }
    .ajap-equipa__media { height: 340px; }
}

/* ############ Viaturas em destaque (seccao_veiculos_destaque_slider.php) ############ */

.ajap-destaques {
    --ds-navy: #16295c;
    --ds-red: #d01818;
    --ds-text: #5b6478;
    --ds-ink: #2c3a5e;
    --ds-icon: #7a859c;
    --ds-border: #e4e8f0;
    --ds-line: #cfd5e2;
    --ds-bg: #f1f3f8;
    background: var(--ds-bg);
    padding: 72px 0 64px;
    color: var(--ds-navy);
    font-family: Lato, sans-serif;
}

/* Cabeçalho */
.ajap-destaques__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 28px;
}
.ajap-destaques__heading { display: flex; flex-direction: column; gap: 10px; }
.ajap-destaques__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ds-text);
}
.ajap-destaques__eyebrow::before {
    content: '';
    display: inline-block;
    flex-shrink: 0;
    width: 28px;
    height: 2px;
    background: var(--ds-red);
}
.ajap-destaques__title {
    margin: 0;
    font-family: Montserrat, sans-serif;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.1;
    color: var(--ds-navy);
    text-transform: none;
}
.ajap-destaques__accent,
.ajap-destaques__title b { color: var(--ds-red); }

.ajap-destaques__actions { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.ajap-destaques__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--ds-red);
    text-decoration: none;
}
.ajap-destaques__all:hover { color: #a51212; text-decoration: none; }
.ajap-destaques__all svg { transition: transform .2s ease; }
.ajap-destaques__all:hover svg { transform: translateX(3px); }

.ajap-destaques__nav { display: flex; gap: 8px; }
.ajap-destaques__arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--ds-line);
    background: #fff;
    color: var(--ds-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ajap-destaques__arrow--next,
.ajap-destaques__arrow:hover {
    background: var(--ds-navy);
    border-color: var(--ds-navy);
    color: #fff;
}
.ajap-destaques__arrow--next:hover { background: #1c3170; }
.ajap-destaques__arrow:focus-visible { outline: 2px solid var(--ds-red); outline-offset: 2px; }

/* Slider */
.ajap-destaques__slider { margin: 0 -12px; }
.ajap-destaques__slider .slick-list { padding: 12px 0 20px; }
.ajap-destaques__slider .slick-track { display: flex; }
.ajap-destaques__slider .slick-slide { height: auto; }
.ajap-destaques__slider .slick-slide > div { height: 100%; }
.ajap-destaques__slide { padding: 0 12px; height: 100%; }
/* Antes do slick iniciar */
.ajap-destaques__slider:not(.slick-initialized) { display: flex; overflow: hidden; }
.ajap-destaques__slider:not(.slick-initialized) .ajap-destaques__slide { flex: 0 0 25%; }

/* Cartão */
.ajap-car {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    color: var(--ds-navy);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(22,41,92,.06), 0 8px 24px rgba(22,41,92,.07);
    transition: transform .25s ease, box-shadow .25s ease;
}
.ajap-car:hover {
    color: var(--ds-navy);
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: 0 2px 4px rgba(22,41,92,.06), 0 16px 36px rgba(22,41,92,.13);
}
.ajap-car:focus-visible { outline: 2px solid var(--ds-red); outline-offset: 3px; }

.ajap-car__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(160deg, #e3e8f1 0%, #cdd5e4 100%);
    overflow: hidden;
}
.ajap-car__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.ajap-car:hover .ajap-car__img { transform: scale(1.04); }

.ajap-car__badge,
.ajap-car__year {
    position: absolute;
    top: 14px;
    padding: 6px 10px;
    border-radius: 4px;
    color: #fff;
    font-family: Montserrat, sans-serif;
    line-height: 1.2;
}
.ajap-car__badge {
    left: 14px;
    background: var(--ds-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.ajap-car__year {
    right: 14px;
    background: rgba(22,41,92,.88);
    font-size: 12px;
    font-weight: 600;
}

.ajap-car__body { padding: 20px 22px 0; display: flex; flex-direction: column; gap: 4px; }
.ajap-car__name {
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ajap-car__version {
    font-size: 14px;
    line-height: 1.35;
    color: var(--ds-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ajap-car__specs {
    margin: 18px 22px 0;
    padding: 14px 0;
    border-top: 1px solid var(--ds-border);
    border-bottom: 1px solid var(--ds-border);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    font-size: 14px;
    line-height: 1.3;
    color: var(--ds-ink);
}
.ajap-car__specs li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ajap-car__specs svg { flex-shrink: 0; color: var(--ds-icon); }

.ajap-car__foot {
    margin-top: auto;
    padding: 16px 22px 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}
.ajap-car__prices { display: flex; flex-direction: column; gap: 2px; min-height: 52px; justify-content: flex-end; }
.ajap-car__old { font-size: 13px; color: var(--ds-text); text-decoration: line-through; }
.ajap-car__price {
    font-family: Montserrat, sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.1;
    color: var(--ds-navy);
    white-space: nowrap;
}
.ajap-car__price--promo { color: var(--ds-red); }
.ajap-car__go {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ds-bg);
    color: var(--ds-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, color .2s ease;
}
.ajap-car:hover .ajap-car__go { background: var(--ds-red); color: #fff; }

/* Indicadores */
.ajap-destaques__dots { display: flex; justify-content: center; margin-top: 16px; }
.ajap-destaques__dots .slick-dots {
    position: static;
    display: flex !important;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    width: auto;
}
.ajap-destaques__dots .slick-dots li { margin: 0; width: auto; height: auto; }
.ajap-destaques__dots .slick-dots button {
    display: block;
    width: 12px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: var(--ds-line);
    font-size: 0;
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}
.ajap-destaques__dots .slick-dots button::before { display: none; }
.ajap-destaques__dots .slick-dots .slick-active button { width: 28px; background: var(--ds-navy); }

.ajap-destaques__all-mobile { display: none; }
.ajap-destaques__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    border-radius: 10px;
    background: var(--ds-navy);
    color: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}
.ajap-destaques__btn:hover { background: #1c3170; color: #fff; text-decoration: none; }

@media (max-width: 1199px) {
    .ajap-destaques__title { font-size: 38px; }
    .ajap-destaques__slider:not(.slick-initialized) .ajap-destaques__slide { flex-basis: 33.333%; }
}
@media (max-width: 991px) {
    .ajap-destaques__slider:not(.slick-initialized) .ajap-destaques__slide { flex-basis: 50%; }
}
@media (max-width: 767px) {
    .ajap-destaques { padding: 48px 0 40px; }
    .ajap-destaques__head { margin-bottom: 16px; }
    .ajap-destaques__title { font-size: 30px; }
    .ajap-destaques__eyebrow { font-size: 11px; letter-spacing: .12em; }
    .ajap-destaques__eyebrow::before { width: 20px; }
    .ajap-destaques__actions { display: none; }
    .ajap-destaques__all-mobile { display: block; margin-top: 24px; }
    .ajap-destaques__slider { margin: 0 -15px 0 -7px; }
    .ajap-destaques__slider .slick-list { padding-right: 18%; }
    .ajap-destaques__slide { padding: 0 7px; }
    .ajap-destaques__slider:not(.slick-initialized) .ajap-destaques__slide { flex-basis: 82%; }
    .ajap-car__body { padding: 18px 18px 0; }
    .ajap-car__specs { margin: 16px 18px 0; }
    .ajap-car__foot { padding: 14px 18px 20px; }
    .ajap-car__price { font-size: 24px; }
}


/* ############ Financiamento (seccao_financiamento_*.php) ############ */

.ajap-fin {
    --fin-navy: #16295c;
    --fin-red: #d01818;
    --fin-text: #5b6478;
    --fin-border: #e4e8f0;
    --fin-bg: #f3f5f9;
    --fin-green: #1f9d55;
    padding: 70px 0;
    background: #fff;
    font-family: Lato, sans-serif;
    color: var(--fin-text);
}
.ajap-fin--legal,
.ajap-fin--steps,
.ajap-fin--form { background: var(--fin-bg); }
.ajap-fin--legal { padding: 50px 0; }

.ajap-fin__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--fin-red);
    margin-bottom: 10px;
}
.ajap-fin__eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--fin-red);
}
.ajap-fin__title {
    font-family: Montserrat, sans-serif;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
    color: var(--fin-navy);
    text-transform: none;
    margin: 0 0 18px;
}
.ajap-fin__title .text-primary { color: var(--fin-red) !important; }
.ajap-fin__lead {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 12px;
}
.ajap-fin a { color: var(--fin-red); }

/* Botões */
.ajap-fin__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 26px;
    border: 0;
    border-radius: 8px;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .2s, filter .2s;
}
.ajap-fin__btn--red { background: var(--fin-red); color: #fff !important; }
.ajap-fin__btn--red:hover { filter: brightness(.92); }
.ajap-fin__btn--block { width: 100%; }

/* 1. Informação aos consumidores */
.ajap-fin__legal {
    background: #fff;
    border: 1px solid var(--fin-border);
    border-radius: 16px;
    overflow: hidden;
}
.ajap-fin__legal + .ajap-fin__legal { margin-top: 20px; }
.ajap-fin__legal-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 28px;
    border-bottom: 1px solid var(--fin-border);
}
.ajap-fin__legal-icon {
    flex: 0 0 40px;
    height: 40px;
    border-radius: 10px;
    background: #fdecec;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ajap-fin__legal-icon svg,
.ajap-fin__benefit-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--fin-red);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ajap-fin__legal-title {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--fin-navy);
    text-transform: none;
    margin: 0;
}
.ajap-fin__legal-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0;
}
.ajap-fin__legal-row {
    display: grid;
    grid-template-columns: 44% 1fr;
    gap: 16px;
    padding: 11px 28px;
    border-bottom: 1px solid var(--fin-border);
    font-size: 14px;
    line-height: 1.55;
}
.ajap-fin__legal-row:nth-child(odd) { border-right: 1px solid var(--fin-border); }
.ajap-fin__legal-row dt {
    font-weight: 700;
    color: var(--fin-navy);
}
.ajap-fin__legal-row dd { margin: 0; color: #333; }
.ajap-fin__legal-notes {
    padding: 16px 28px 18px;
    background: #fafbfd;
    font-size: 13px;
    line-height: 1.6;
}
.ajap-fin__legal-notes p { margin: 0 0 8px; }
.ajap-fin__legal-notes p:last-child { margin-bottom: 0; }

/* 2. Intro + vantagens */
.ajap-fin__intro {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 60px;
    align-items: center;
}
.ajap-fin__media {
    position: relative;
    height: 100%;
    min-height: 420px;
}
.ajap-fin__img {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background-color: #e9edf5;
    background-size: cover;
    background-position: center;
}
.ajap-fin__badge {
    position: absolute;
    left: -24px;
    bottom: 32px;
    max-width: 260px;
    background: var(--fin-navy);
    color: #fff;
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: 0 18px 40px rgba(22, 41, 92, .3);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ajap-fin__badge-num {
    font-family: Montserrat, sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}
.ajap-fin__badge-txt { font-size: 13px; opacity: .9; line-height: 1.4; }

.ajap-fin__benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 24px 0;
}
.ajap-fin__benefit {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--fin-border);
    border-radius: 12px;
    background: #fff;
    transition: box-shadow .2s, border-color .2s, transform .2s;
}
.ajap-fin__benefit:hover {
    border-color: #f3c9c9;
    box-shadow: 0 10px 25px rgba(22, 41, 92, .08);
    transform: translateY(-2px);
}
.ajap-fin__benefit-icon {
    flex: 0 0 44px;
    height: 44px;
    border-radius: 10px;
    background: #fdecec;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ajap-fin__ic-txt {
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: var(--fin-red);
}
.ajap-fin__benefit-txt {
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--fin-navy);
}
.ajap-fin__partners {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 18px;
}
.ajap-fin__partner {
    border: 1px solid var(--fin-border);
    border-radius: 8px;
    padding: 7px 14px;
    background: #fff;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--fin-navy);
}
.ajap-fin__note {
    font-size: 14px;
    padding: 12px 16px;
    background: var(--fin-bg);
    border-left: 3px solid var(--fin-red);
    border-radius: 4px;
    margin: 0;
}

/* Como funciona */
.ajap-fin__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: fin-passo;
}
.ajap-fin__step {
    background: #fff;
    border-radius: 14px;
    padding: 26px 24px;
    box-shadow: 0 10px 25px rgba(22, 41, 92, .06);
}
.ajap-fin__step::before {
    counter-increment: fin-passo;
    content: counter(fin-passo);
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--fin-navy);
    color: #fff;
    font: 800 15px/38px Montserrat, sans-serif;
    text-align: center;
    margin-bottom: 16px;
}
.ajap-fin__step h3 {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--fin-navy);
    text-transform: none;
    margin: 0 0 6px;
}
.ajap-fin__step p { margin: 0; font-size: 14px; line-height: 1.6; }

/* 3. Documentos */
.ajap-fin__docs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 30px;
}
.ajap-fin__doc {
    background: #fff;
    border: 1px solid var(--fin-border);
    border-radius: 16px;
    padding: 28px;
}
.ajap-fin__doc-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-family: Montserrat, sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--fin-navy);
    text-transform: none;
    margin: 0 0 14px;
}
.ajap-fin__tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    background: #eef1f7;
    color: var(--fin-navy);
}
.ajap-fin__check {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ajap-fin__check li {
    position: relative;
    padding: 8px 0 8px 32px;
    border-bottom: 1px dashed var(--fin-border);
    font-size: 14px;
    line-height: 1.5;
}
.ajap-fin__check li:last-child { border-bottom: 0; }
.ajap-fin__check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e7f6ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f9d55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ajap-fin__hint {
    margin-top: 14px;
    font-size: 13px;
    background: #f7f8fb;
    border-left: 3px solid var(--fin-red);
    padding: 10px 12px;
    border-radius: 4px;
}
.ajap-fin__send {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
    padding: 22px 28px;
    border-radius: 14px;
    background: var(--fin-navy);
    color: #fff;
}
.ajap-fin__send strong {
    display: block;
    font-family: Montserrat, sans-serif;
    font-size: 17px;
}
.ajap-fin__send span { font-size: 14px; opacity: .85; }

/* 4. Formulário */
.ajap-fin__form-wrap {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 30px;
    align-items: start;
    margin-top: 26px;
}
.ajap-fin__form-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 32px 30px;
    box-shadow: 0 12px 30px rgba(22, 41, 92, .08);
}
.ajap-fin__group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 14px;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--fin-navy);
}
.ajap-fin__group span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--fin-red);
    color: #fff;
    font-size: 11px;
    line-height: 22px;
    text-align: center;
    letter-spacing: 0;
}
.ajap-fin__label {
    display: block;
    margin-bottom: 6px;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--fin-navy);
}
.ajap-fin--form .form-control {
    height: 48px;
    border: 1px solid var(--fin-border);
    border-radius: 8px;
    box-shadow: none;
    font-size: 15px;
    color: #333;
    background-color: #fff;
}
.ajap-fin--form textarea.form-control { height: auto; min-height: 100px; }
.ajap-fin--form .form-control:focus { border-color: var(--fin-navy); }
.ajap-fin--form .form-control.is-invalid { border-color: var(--fin-red); }
.ajap-fin__suffix { position: relative; }
.ajap-fin__suffix .form-control { padding-right: 34px; }
.ajap-fin__suffix i {
    position: absolute;
    right: 14px;
    top: 13px;
    font-style: normal;
    color: #99a;
}
.ajap-fin__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 0;
    font-size: 13px;
    cursor: pointer;
}
.ajap-fin__consent input { margin-top: 3px; }

.ajap-fin__aside {
    background: var(--fin-navy);
    color: #fff;
    border-radius: 16px;
    padding: 30px 28px;
}
.ajap-fin__aside h3 {
    font-family: Montserrat, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-transform: none;
    margin: 0 0 12px;
}
.ajap-fin__aside ul {
    margin: 0 0 20px;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.7;
    opacity: .9;
}
.ajap-fin__aside-contact {
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding-top: 18px;
    font-size: 14px;
}
.ajap-fin__aside-contact a {
    display: block;
    margin: 4px 0;
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none;
}
.ajap-fin__aside-contact small { opacity: .75; }

@media screen and (max-width: 1199px) {
    .ajap-fin__title { font-size: 30px; }
    .ajap-fin__intro { gap: 50px; }
}
@media screen and (max-width: 991px) {
    .ajap-fin { padding: 60px 0; }
    .ajap-fin__intro,
    .ajap-fin__form-wrap { grid-template-columns: 1fr; }
    .ajap-fin__media { min-height: 340px; }
    .ajap-fin__badge { left: 20px; bottom: 20px; }
    .ajap-fin__steps { grid-template-columns: 1fr 1fr; }
    .ajap-fin__legal-list { grid-template-columns: 1fr; }
    .ajap-fin__legal-row:nth-child(odd) { border-right: 0; }
}
@media screen and (max-width: 575px) {
    .ajap-fin__title { font-size: 26px; }
    .ajap-fin__media { min-height: 260px; }
    .ajap-fin__benefits,
    .ajap-fin__steps,
    .ajap-fin__docs { grid-template-columns: 1fr; }
    .ajap-fin__legal-head,
    .ajap-fin__legal-notes { padding-left: 18px; padding-right: 18px; }
    .ajap-fin__legal-row { grid-template-columns: 1fr; gap: 2px; padding: 10px 18px; }
    .ajap-fin__doc,
    .ajap-fin__form-card { padding: 22px 18px; }
    .ajap-fin__send { flex-direction: column; align-items: flex-start; padding: 20px; }
}

/* ==========================================================================
   SOBRE NÓS: Secção 1 (seccao_imagem_texto.php) e Secção 2 (seccao_servicos_quadricula.php)
   ========================================================================== */
.ajap-sobre { padding: 100px 0 90px; background: #fff; color: #5b6478; font-family: Lato, sans-serif; }
.ajap-sobre__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 70px; align-items: center; }
.ajap-sobre__media { position: relative; z-index: 0; }
.ajap-sobre__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; display: block; }
.ajap-sobre__media::before { content: ""; position: absolute; left: -22px; top: -22px; width: 55%; height: 55%; border: 3px solid #d01818; border-radius: 6px; z-index: -1; }
.ajap-sobre__badge { position: absolute; right: -28px; bottom: 40px; background: #d01818; color: #fff; padding: 22px 26px; border-radius: 6px; box-shadow: 0 18px 40px rgba(208, 24, 24, .3); text-align: center; }
.ajap-sobre__badge b { display: block; font-family: Montserrat, sans-serif; font-size: 46px; line-height: 1; font-weight: 800; }
.ajap-sobre__badge span { display: block; margin-top: 6px; font-family: Montserrat, sans-serif; font-size: 12px; line-height: 1.35; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.ajap-sobre__slogan,
.ajap-svc__slogan { font-family: Montserrat, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #d01818; display: flex; align-items: center; gap: 12px; }
.ajap-sobre__slogan::before,
.ajap-svc__slogan::before { content: ""; width: 34px; height: 2px; background: currentColor; flex: 0 0 34px; }
.ajap-sobre__title { font-family: Montserrat, sans-serif; color: #2a3145; font-size: 40px; line-height: 1.15; font-weight: 800; margin: 14px 0 22px; }
.ajap-sobre__content .ajap-sobre__lead { font-size: 19px; line-height: 1.6; color: #2a3145; margin-bottom: 14px; }
.ajap-sobre__content p { line-height: 1.7; margin-bottom: 10px; }
.ajap-sobre__trust { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0 26px; }
.ajap-sobre__trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid #e4e8f0; border-radius: 6px; transition: border-color .25s, box-shadow .25s; }
.ajap-sobre__trust-item:hover { border-color: #d01818; box-shadow: 0 10px 30px rgba(22, 41, 92, .08); }
.ajap-sobre__trust-ic { flex: 0 0 42px; height: 42px; border-radius: 50%; background: rgba(208, 24, 24, .08); color: #d01818; display: flex; align-items: center; justify-content: center; }
.ajap-sobre__trust-item h3 { font-family: Montserrat, sans-serif; color: #2a3145; font-size: 15px; font-weight: 700; margin: 0 0 2px; }
.ajap-sobre__content .ajap-sobre__trust-item p { font-size: 14px; line-height: 1.5; margin: 0; }
.ajap-sobre__content .ajap-sobre__cta-text { font-family: Montserrat, sans-serif; font-weight: 600; color: #16295c; margin-bottom: 18px; }
.ajap-sobre__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.ajap-sobre__btn { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; padding: 15px 28px; border-radius: 4px; display: inline-flex; gap: 10px; align-items: center; transition: background .2s, color .2s; text-decoration: none !important; }
.ajap-sobre__btn--red { background: #d01818; color: #fff !important; }
.ajap-sobre__btn--red:hover { background: #b01212; }
.ajap-sobre__btn--ghost { border: 2px solid #16295c; color: #16295c !important; }
.ajap-sobre__btn--ghost:hover { background: #16295c; color: #fff !important; }

.ajap-svc { position: relative; background: #16295c; color: #c9d2e6; overflow: hidden; font-family: Lato, sans-serif; }
.ajap-svc__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: url(https://www.auto21.pt/ajap/imagens_website/2024121812444891_1000.jpg) center / cover no-repeat; opacity: .16; }
.ajap-svc__inner { position: relative; padding-top: 100px; padding-bottom: 100px; }
.ajap-svc__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 50px; }
.ajap-svc__head p { max-width: 420px; font-size: 16px; line-height: 1.7; margin: 0; }
.ajap-svc__slogan { color: #ff6b6b; }
.ajap-svc__title { font-family: Montserrat, sans-serif; color: #fff; font-size: 40px; line-height: 1.15; font-weight: 800; margin: 14px 0 0; }
.ajap-svc__title span { color: #d01818; }
.ajap-svc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); border-radius: 6px; overflow: hidden; }
.ajap-svc__card { position: relative; display: block; padding: 34px 32px 30px; background: rgba(22, 41, 92, .94); color: inherit !important; text-decoration: none !important; transition: background .3s; }
.ajap-svc__card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #d01818; transition: width .35s; }
.ajap-svc__card:hover,
.ajap-svc__card.is-active { background: #1c3470; }
.ajap-svc__card:hover::after,
.ajap-svc__card.is-active::after { width: 100%; }
.ajap-svc__card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.ajap-svc__icon { width: 58px; height: 58px; border-radius: 6px; background: #fff; display: flex; align-items: center; justify-content: center; }
.ajap-svc__icon img { width: 34px; height: 34px; object-fit: contain; }
.ajap-svc__num { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 40px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .3); transition: -webkit-text-stroke-color .3s; }
.ajap-svc__card:hover .ajap-svc__num,
.ajap-svc__card.is-active .ajap-svc__num { -webkit-text-stroke-color: #ff6b6b; }
.ajap-svc__card h3 { font-family: Montserrat, sans-serif; color: #fff; font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.ajap-svc__card p { font-size: 14px; line-height: 1.6; margin: 0 0 16px; color: #c9d2e6; }
.ajap-svc__more { font-family: Montserrat, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.ajap-svc__card:hover .ajap-svc__more,
.ajap-svc__card.is-active .ajap-svc__more { color: #ff6b6b; }
.ajap-svc__panels { margin-top: 30px; }
.ajap-svc__panel { display: none; grid-template-columns: 5fr 7fr; background: #fff; border-radius: 6px; overflow: hidden; color: #5b6478; box-shadow: 0 25px 60px rgba(0, 0, 0, .25); }
.ajap-svc__panel.is-active { display: grid; animation: ajapSvcIn .35s ease; }
.ajap-svc__panel--noimg { grid-template-columns: 1fr; }
.ajap-svc__panel-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.ajap-svc__panel-body { padding: 44px 48px; }
.ajap-svc__panel-num { font-family: Montserrat, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .18em; color: #d01818; }
.ajap-svc__panel-body h3 { font-family: Montserrat, sans-serif; color: #2a3145; font-size: 26px; font-weight: 800; margin: 6px 0 18px; }
.ajap-svc__panel-text,
.ajap-svc__panel-text p,
.ajap-svc__panel-text span { font-size: 15px !important; line-height: 1.75; font-weight: 400 !important; }
.ajap-svc__panel-text p { margin: 0 0 12px; }
@keyframes ajapSvcIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 991px) {
    .ajap-sobre__grid { grid-template-columns: 1fr; gap: 50px; }
    .ajap-sobre__media { max-width: 520px; margin-left: 22px; }
    .ajap-sobre__badge { right: 12px; }
    .ajap-svc__head { flex-direction: column; align-items: flex-start; gap: 18px; }
    .ajap-svc__grid { grid-template-columns: 1fr 1fr; }
    .ajap-svc__panel { grid-template-columns: 1fr; }
    .ajap-svc__panel-media img { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 575px) {
    .ajap-sobre { padding: 60px 0; }
    .ajap-svc__inner { padding-top: 60px; padding-bottom: 60px; }
    .ajap-sobre__title,
    .ajap-svc__title { font-size: 30px; }
    .ajap-sobre__trust,
    .ajap-svc__grid { grid-template-columns: 1fr; }
    .ajap-sobre__media { margin-left: 0; }
    .ajap-sobre__media::before { display: none; }
    .ajap-svc__card { padding: 24px 22px; }
    .ajap-svc__panel-body { padding: 28px 22px; }
}

/* ---------- SEO / acessibilidade ---------- */
.ajap-sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.ajap-erro404 {
    background: #fff4e5;
    border-bottom: 1px solid #f5d7a8;
    color: #5a3b00;
    padding: 14px 0;
    font-size: 15px;
}
.ajap-erro404 a { text-decoration: underline; }
