/* Barra superior, igual na pesquisa e nas ofertas. Só usa cores e fontes da marca. */
.topo { --nav-claro: #F7F3EC; --nav-borda: #E3DACB; --nav-marinho: #002854; --nav-dourado: #AF9469; --nav-erro: #B3261E;
  position: relative; z-index: 45; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; min-height: 68px; padding: 0 32px;
  background: var(--marinho); color: #fff; border-bottom: 3px solid var(--nav-dourado); }
.topo .marca { display: inline-flex; align-items: center; gap: 10px; justify-self: start; color: #fff; text-decoration: none; white-space: nowrap; }
.topo nav { display: flex; align-items: center; gap: 24px; font-size: .95rem; }
.topo nav > a, .topo nav summary { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 9999px; color: #fff; text-decoration: none; white-space: nowrap; cursor: pointer; list-style: none; }
.topo summary::-webkit-details-marker { display: none; }
.topo nav > a:hover, .topo nav summary:hover, .topo details[open] > summary.grupo { background: rgba(255,255,255,.08); }
.topo nav > a.ativo, .topo nav summary.ativo { background: rgba(255,255,255,.14); color: #fff; border: 0; }
.topo .seta { width: 8px; height: 8px; margin-top: -4px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .15s; }
.topo details[open] > summary .seta { margin-top: 4px; transform: rotate(225deg); }
.topo details { position: relative; }
.topo .lista { position: absolute; top: calc(100% + 10px); left: 0; min-width: 210px; padding: 8px; background: var(--nav-claro); color: var(--nav-marinho); border: 1px solid var(--nav-borda); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,40,84,.22); font-size: .93rem; }
.topo .lista a, .topo .lista button { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 6px; background: none; color: var(--nav-marinho); font: inherit; font-weight: 400; text-align: left; text-decoration: none; white-space: nowrap; cursor: pointer; filter: none; opacity: 1; }
.topo .lista a:hover, .topo .lista button:hover { background: #EDE4D5; color: var(--nav-marinho); }
.topo .lista a.ativo { background: #EDE4D5; color: var(--nav-marinho); font-weight: 600; border: 0; }
.topo .lista .sair, .topo .lista .sair:hover { color: var(--nav-erro); } .topo .lista .sair:hover { background: #F8E4DF; }
.topo .lista hr { margin: 6px 4px; border: 0; border-top: 1px solid var(--nav-borda); }
.topo .lista p { margin: 0; padding: 6px 12px 8px; color: #6B5428; font-size: .82rem; max-width: 260px; overflow-wrap: anywhere; }
.topo .lista form { margin: 0; }
.topo .lado { display: flex; align-items: center; gap: 8px; justify-self: end; min-width: 0; }
.topo .perfil > summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 5px; border-radius: 9999px; background: var(--nav-claro); color: var(--nav-marinho); cursor: pointer; list-style: none; max-width: 260px; }
.topo .perfil > summary:hover { background: #fff; }
.topo .perfil .iniciais { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--nav-dourado); color: var(--nav-marinho); font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.topo .perfil .quem { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topo .perfil .lista { left: auto; right: 0; }
.topo :focus-visible { outline: 2px solid #E0D0B4; outline-offset: 2px; } .topo .lista :focus-visible { outline-color: var(--nav-dourado); outline-offset: -2px; } .topo .perfil > summary:focus-visible { outline: 3px solid var(--nav-dourado); }
.topo .hamburguer { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 9999px; background: none; cursor: pointer; place-items: center; }
.topo .hamburguer i, .topo .hamburguer i::before, .topo .hamburguer i::after { display: block; width: 22px; height: 2px; background: #fff; content: ""; position: relative; transition: transform .15s; }
.topo .hamburguer i::before { position: absolute; top: -7px; } .topo .hamburguer i::after { position: absolute; top: 7px; }
.topo.aberto .hamburguer i { background: transparent; } .topo.aberto .hamburguer i::before { transform: translateY(7px) rotate(45deg); } .topo.aberto .hamburguer i::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 960px) {
  .topo { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 65px auto; gap: 0 12px; padding: 0 16px; }
  .topo .lado { grid-column: 2; grid-row: 1; } .topo .marca { grid-column: 1; grid-row: 1; min-width: 0; }
  .topo .hamburguer { display: grid; }
  .topo nav { display: none; grid-column: 1 / -1; flex-direction: column; align-items: stretch; gap: 4px; padding: 8px 0 16px; border-top: 1px solid rgba(255,255,255,.16); font-size: 1rem; }
  .topo.aberto nav { display: flex; }
  .topo nav > a, .topo nav summary { min-height: 46px; width: 100%; justify-content: space-between; }
  .topo nav .lista { position: static; margin: 4px 0 8px; box-shadow: none; }
}
@media (max-width: 960px) and (scripting: none) { .topo nav { display: flex; } .topo .hamburguer { display: none; } }
@media (max-width: 560px) { .topo .perfil .quem, .topo .perfil > summary .seta { display: none; } .topo .perfil > summary { padding: 0 5px; } .topo .marca .nome { line-height: 1.1; } .topo .marca .nome small { display: block; margin: 2px 0 0; font-size: .56rem; letter-spacing: .18em; } }
@media (prefers-reduced-motion: reduce) { .topo * { transition: none !important; } }
@media print { .topo { display: none; } }
