/* Topo padrão DecoderX (claro): faixa azul com o logo + barra de menu + abertura.
   Mesmo padrão da Calculadora de Financiamento. Menu recolhível no celular (topo-dx1.js). */
.dx-topo { background: #0d1f33; }
.dx-topo-logo .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.dx-marca { text-decoration: none; color: #fff; font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.dx-marca:hover { color: #fff; }
.dx-marca b { color: #e8a020; font-weight: 700; }
.dx-marca small { display: block; font-size: .72rem; font-weight: 500; color: #9db4c9; }

.dx-menu-bt { display: none; appearance: none; align-items: center; gap: 9px; background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 10px; padding: 8px 14px; font: inherit; font-weight: 650; font-size: .95rem; cursor: pointer; }
.dx-menu-bt:hover { background: rgba(255, 255, 255, .18); }
.dx-menu-bt:focus-visible { outline: 3px solid #e8a020; outline-offset: 2px; }
.dx-menu-ico, .dx-menu-ico::before, .dx-menu-ico::after { display: block; width: 20px; height: 2.5px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.dx-menu-ico { position: relative; }
.dx-menu-ico::before, .dx-menu-ico::after { content: ""; position: absolute; left: 0; }
.dx-menu-ico::before { top: -6.5px; }
.dx-menu-ico::after { top: 6.5px; }
.dx-menu-bt[aria-expanded="true"] .dx-menu-ico { background: transparent; }
.dx-menu-bt[aria-expanded="true"] .dx-menu-ico::before { top: 0; transform: rotate(45deg); }
.dx-menu-bt[aria-expanded="true"] .dx-menu-ico::after { top: 0; transform: rotate(-45deg); }

.dx-barra-menu { background: #fff; border-bottom: 1px solid #dbe5ef; box-shadow: 0 2px 8px rgba(26, 58, 92, .06); }
.dx-nav { display: flex; flex-wrap: wrap; gap: 2px; padding: 8px 0; }
.dx-nav a { text-decoration: none; color: #4a5b6c; font-weight: 650; font-size: .9rem; padding: 8px 11px; border-radius: 8px; }
.dx-nav a:hover { background: #eaf3fc; color: #1a3a5c; }
.dx-nav a[aria-current="page"] { background: #e8a020; color: #0d1f33; font-weight: 750; box-shadow: 0 2px 6px rgba(232, 160, 32, .45); }
.dx-nav a:focus-visible { outline: 3px solid rgba(37, 99, 168, .45); outline-offset: 2px; }

.dx-hero { background: linear-gradient(180deg, #eaf3fc 0%, #f0f4f8 100%); padding: 30px 0 14px; text-align: center; }
.dx-hero h1 { margin: 0 0 10px; font-size: 2.1rem; line-height: 1.2; color: #1a3a5c; font-weight: 750; }
.dx-hero p { margin: 0 auto; max-width: 780px; color: #4a5b6c; font-size: 1.05rem; }

@media (max-width: 767.98px) {
    .dx-menu-bt { display: inline-flex; }
    .dx-barra-menu { display: none; border-top: 1px solid #dbe5ef; }
    .dx-barra-menu.dx-aberto { display: block; }
    .dx-nav { flex-direction: column; flex-wrap: nowrap; gap: 2px; padding: 8px 0 12px; }
    .dx-nav a { padding: 13px 14px; font-size: 1rem; }
    .dx-hero { padding-top: 22px; }
    .dx-hero h1 { font-size: 1.7rem; }
    .dx-hero p { font-size: .98rem; }
}
