/* Menu "Entrar" das páginas de vendas e de afiliados (14/11/2026): o botão abre "Quem é você?" e cada opção leva ao
   login certo. É um <details>: abre e fecha até sem JavaScript. A cor de destaque vem de --ent-acento e o fundo das opções de --ent-claro (cada página define as suas). */
.ent { position: relative; }
.ent > summary { list-style: none; }
.ent > summary::-webkit-details-marker { display: none; }
.ent-bt {
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 12px;
  padding: 0.6rem 0.7rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}
.ent-bt:hover { background: rgb(0 0 0 / 0.05); }
.ent-bt:focus-visible { outline: 3px solid var(--ent-acento, #111); outline-offset: 2px; }
.ent-bt .ent-seta { display: inline-block; font-size: 0.7em; transition: transform 0.25s ease; }
.ent[open] .ent-bt .ent-seta { transform: rotate(180deg); }
.ent-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 350px;
  background: #fff;
  color: #1d1d1f;
  border-radius: 20px;
  box-shadow: 0 22px 50px rgb(0 0 0 / 0.18), 0 2px 6px rgb(0 0 0 / 0.08);
  padding: 0.55rem;
  z-index: 90;
  text-align: left;
  font-family: inherit;
  letter-spacing: normal;
  text-transform: none;
  animation: ent-abre 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ent-tit { margin: 0; padding: 0.45rem 0.6rem 0.5rem; font-size: 0.78rem; font-weight: 800; color: #6b6b72; }
.ent-op {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.6rem;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.ent-op:hover,
.ent-op:focus-visible { background: var(--ent-claro, #f4f1ee); outline: none; }
.ent-op i {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 1.25rem;
  background: var(--ent-claro, #f4f1ee);
}
.ent-op b { display: block; font-size: 0.95rem; line-height: 1.25; }
.ent-op small { display: block; margin-top: 0.15rem; font-size: 0.8rem; line-height: 1.35; color: #6b6b72; }
.ent-op.ultima { background: var(--ent-claro, #f4f1ee); }
.ent-op.ultima b::after {
  content: "da última vez";
  margin-left: 0.4rem;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  vertical-align: 0.1em;
  background: var(--ent-acento, #111);
  color: #fff;
}
.ent-ajuda {
  display: block;
  margin-top: 0.3rem;
  padding: 0.75rem 0.6rem 0.55rem;
  border-top: 1px solid #eee;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ent-acento, #111);
  text-decoration: none;
}
.ent-ajuda:hover,
.ent-ajuda:focus-visible { text-decoration: underline; outline: none; }
@keyframes ent-abre {
  from { opacity: 0; transform: translateY(-6px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .ent-bt { padding: 0.55rem 0.5rem; font-size: 0.92rem; }
  .ent-menu { position: fixed; left: 12px; right: 12px; top: 76px; width: auto; max-height: calc(100svh - 96px); overflow-y: auto; }
}
/* no celular estreito, o botão do topo cabe numa linha ao lado do Entrar */
@media (max-width: 420px) {
  .topo .acoes .btn { white-space: nowrap; padding: 0.75rem 0.85rem; font-size: 0.84rem; min-height: 0; }
  .topo .acoes { gap: 0.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ent-menu { animation: none; }
  .ent-bt .ent-seta { transition: none; }
}
