/* ================================================================
   Aeronave Vitrine — CSS
   Shortcode [aeronaves_vitrine]
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700&family=Barlow+Condensed:wght@600;700;800&display=swap');

/* ── Seção ── */
.av-section {
    font-family: 'Barlow', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 20px 72px;
    color: #1a2335;
}

/* ── Cabeçalho ── */
.av-cabecalho {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.av-titulo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #1a2335;
    margin: 0 0 4px;
    letter-spacing: -.4px;
    line-height: 1.1;
}

.av-subtitulo {
    font-size: 15px;
    font-weight: 300;
    color: #6a7a8c;
    margin: 0;
}

.av-ver-todas {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #c8a84b;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: gap .15s;
}
.av-ver-todas:hover { gap: 10px; color: #a8883b; text-decoration: none; }

/* ── Menu de categorias ── */
.av-cat-nav {
    display: flex;
    gap: 12px;
    padding: 0 0 28px;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid #ebe7df;
    margin-bottom: 32px;
    flex-wrap: nowrap;
    align-items: flex-start;
}
.av-cat-nav::-webkit-scrollbar { display: none; }

.av-cat-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    min-width: 78px;
    text-align: center;
    flex-shrink: 0;
}

.av-cat-circulo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2.5px solid #e0dbd4;
    background: #f5f3ee center/cover no-repeat;
    color: #9aa5b1;
    overflow: hidden;
    transition: border-color .18s, transform .18s, box-shadow .18s;
    flex-shrink: 0;
}

.av-cat-circulo--todas {
    background: #f0ede6;
}

.av-cat-btn:hover .av-cat-circulo,
.av-cat-btn.ativo .av-cat-circulo {
    border-color: #c8a84b;
    transform: scale(1.07);
    box-shadow: 0 4px 16px rgba(200,168,75,.28);
}

.av-cat-nome {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #6a7a8c;
    line-height: 1.2;
    max-width: 78px;
    transition: color .15s;
}

.av-cat-btn:hover .av-cat-nome,
.av-cat-btn.ativo .av-cat-nome {
    color: #c8a84b;
}

.av-cat-count {
    font-size: 10px;
    color: #9aa5b1;
    font-weight: 500;
    margin-top: -4px;
    font-family: 'Barlow', sans-serif;
}

/* ── Grid ── */
.av-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    transition: opacity .22s ease, transform .22s ease;
}

@media (max-width: 900px) {
    .av-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .av-grid { grid-template-columns: 1fr; }
    .av-cat-circulo { width: 58px; height: 58px; }
}

/* ── Card ── */
.av-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(26,35,53,.07);
    transition: transform .22s ease, box-shadow .22s ease;
    display: flex;
    flex-direction: column;
}
.av-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(26,35,53,.13);
}

/* Imagem paisagem 16:9 */
.av-card-img-link { display: block; overflow: hidden; flex-shrink: 0; }

.av-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform .35s ease;
}
.av-card:hover .av-card-img { transform: scale(1.04); }

.av-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(10,16,28,.12) 100%);
    pointer-events: none;
}

/* Corpo */
.av-card-corpo {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.av-card-cat {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #c8a84b;
    margin-bottom: 5px;
}

.av-card-nome {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #1a2335;
    line-height: 1.2;
    margin: 0 0 6px;
}
.av-card-nome a { color: inherit; text-decoration: none; }
.av-card-nome a:hover { color: #c8a84b; }

.av-card-preco {
    font-size: 14px;
    font-weight: 600;
    color: #3a4a5c;
    margin-bottom: 14px;
    flex: 1;
}
.av-card-preco .woocommerce-Price-amount {
    font-size: inherit; font-weight: inherit; color: inherit;
}

/* Botão */
.av-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: #1a2335;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    align-self: flex-start;
    transition: background .18s, gap .15s;
}
.av-card-btn:hover {
    background: #c8a84b;
    color: #fff;
    text-decoration: none;
    gap: 10px;
}

/* ── Vazio ── */
.av-vazio {
    grid-column: 1 / -1;
    text-align: center;
    color: #9aa5b1;
    font-style: italic;
    padding: 40px 0;
}

/* ── Rodapé ── */
.av-rodape {
    text-align: center;
    margin-top: 40px;
}

.av-btn-frota {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 32px;
    background: transparent;
    border: 1.5px solid #1a2335;
    color: #1a2335;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: background .18s, color .18s;
}
.av-btn-frota:hover {
    background: #1a2335;
    color: #fff;
    text-decoration: none;
}
