/* ================================================================
   Aeronave WC Produto — FRONTEND CSS v3
   Estilo profissional de ficha técnica de aviação
================================================================ */

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

.aero-specs-wrapper {
    font-family: 'Barlow', sans-serif;
    color: #1a2639;
    margin: 0;
}

/* ── Abas ── */
.aero-tab-nav {
    display: flex;
    border-bottom: 2px solid #1a2639;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0;
    padding: 0;
    margin: 0;
}
.aero-tab-nav::-webkit-scrollbar { display: none; }

.aero-tab-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: #8a96a8;
    white-space: nowrap;
    transition: color .2s, border-color .2s;
}
.aero-tab-btn:hover { color: #1a2639; }
.aero-tab-btn.ativo {
    color: #1a2639;
    border-bottom-color: #c8a84b;
}
.aero-tab-icone { font-size: 15px; }

/* ── Painéis ── */
.aero-paineis { padding: 26px 0 8px; }

.aero-painel { display: none; }
.aero-painel.ativo {
    display: block;
    animation: aero-fade .22s ease;
}
@keyframes aero-fade {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Título de seção ── */
.aero-fe-secao {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #c8a84b;
    margin: 26px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #ebe7db;
}
.aero-fe-secao:first-child { margin-top: 0; }

/* ── Linhas de dados ── */
.aero-fe-linha {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 6px 20px;
    padding: 8px 0;
    border-bottom: 1px solid #f2eee6;
    align-items: baseline;
}
.aero-fe-linha:last-child { border-bottom: none; }

.aero-fe-label {
    font-size: 13px;
    font-weight: 600;
    color: #5a6878;
}
.aero-fe-valor {
    font-size: 14px;
    font-weight: 500;
    color: #1a2639;
}
.aero-em {
    font-size: 12px;
    color: #8a96a8;
    font-weight: 400;
}

/* ── Grid de Aviônicos ── */
.aero-grid-avionicos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
    margin-top: 4px;
}
.aero-card-avionico {
    background: #f7f5f0;
    border: 1px solid #e6e1d6;
    border-left: 3px solid #c8a84b;
    border-radius: 4px;
    padding: 12px 14px;
}
.aero-card-nome {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #5a6878;
    margin-bottom: 4px;
}
.aero-card-desc {
    font-size: 14px;
    font-weight: 600;
    color: #1a2639;
}

/* ── Tabela de Manutenção ── */
.aero-tabela-manut {
    border: 1px solid #e0dbd2;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 26px;
}
.aero-tabela-cabecalho,
.aero-tabela-linha {
    display: grid;
    grid-template-columns: 1fr 160px 160px;
}
.aero-tabela-cabecalho {
    background: #1a2639;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}
.aero-tabela-cabecalho span,
.aero-tabela-linha span {
    padding: 10px 16px;
}
.aero-tabela-linha {
    border-bottom: 1px solid #ede8df;
    font-size: 13px;
    transition: background .12s;
}
.aero-tabela-linha:last-child { border-bottom: none; }
.aero-tabela-linha:nth-child(even) { background: #faf7f2; }
.aero-tabela-linha:hover { background: #f2edd8; }
.aero-manut-tipo { font-weight: 600; color: #1a2639; }
.aero-proxima    { color: #a07820; font-weight: 600; }

/* ── Vazio ── */
.aero-vazio {
    color: #9aa5b1;
    font-style: italic;
    padding: 20px 0;
    text-align: center;
}

/* ── Responsivo ── */
@media (max-width: 640px) {
    .aero-tab-label { display: none; }
    .aero-tab-icone { font-size: 20px; }
    .aero-tab-btn   { padding: 10px 14px; }

    .aero-fe-linha  { grid-template-columns: 1fr; gap: 2px; }
    .aero-fe-label  { font-size: 11px; color: #8a96a8; }

    .aero-tabela-cabecalho,
    .aero-tabela-linha { grid-template-columns: 1fr; }
    .aero-tabela-cabecalho span:not(:first-child) { display: none; }

    .aero-grid-avionicos { grid-template-columns: 1fr 1fr; }
}
