/* =========================================================
   Duumio — Componentes compartilhados
   Botões adaptados do Uiverse Galaxy (MIT). Créditos em CREDITOS.md.
   ========================================================= */
/* =========================================================
   COMPONENTES DE BOTÃO — adaptados do Uiverse Galaxy (MIT)
   Créditos em CREDITOS.md. Cores e sombras trocadas pelo padrão Duumio.
   ========================================================= */
/* CTA com chip de ícone que expande (base: adamgiebl/new-bird-34) */
.btn-cta { position: relative; display: inline-flex; align-items: center; height: 52px; padding: 0 64px 0 22px; border-radius: 12px; background: var(--pink); color: var(--dark); font-weight: 700; font-size: 14.5px; overflow: hidden; white-space: nowrap; transition: background .2s; }
.btn-cta .chip { position: absolute; right: 5px; top: 5px; bottom: 5px; width: 42px; border-radius: 9px; background: var(--dark); color: #fff; display: grid; place-items: center; font-size: 18px; transition: width .3s cubic-bezier(.2,.8,.2,1); }
.btn-cta .chip i { transition: transform .3s; }
.btn-cta:hover .chip, .btn-cta:focus-visible .chip { width: calc(100% - 10px); }
.btn-cta:hover .chip i { transform: translateX(3px); }
.btn-cta:active .chip { transform: scale(.97); }
.btn-cta.on-light { background: var(--ink); color: #fff; }
.btn-cta.on-light .chip { background: var(--pink); color: var(--dark); }
/* Botão com círculo que atravessa (base: xantha01/fresh-earwig-7) */
.btn-swipe { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 22px 0 66px; border-radius: 999px; border: 1px solid var(--line-d2); color: #fff; font-weight: 700; font-size: 14.5px; white-space: nowrap; transition: padding .35s ease, border-color .2s; }
.btn-swipe .dot { position: absolute; left: 5px; top: 5px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--dark); display: grid; place-items: center; font-size: 17px; transition: left .35s ease; }
.btn-swipe:hover, .btn-swipe:focus-visible { padding: 0 66px 0 22px; border-color: #fff; }
.btn-swipe:hover .dot, .btn-swipe:focus-visible .dot { left: calc(100% - 45px); }
/* Link com sublinhado que corre + seta que estica (base: alexmaracinaru/empty-moose-12) */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; position: relative; padding: 4px 0; }
.link-arrow > span { position: relative; }
.link-arrow > span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s ease-out; }
.link-arrow:hover > span::after, .link-arrow:focus-visible > span::after { transform: scaleX(1); transform-origin: left; }
.link-arrow i { transition: transform .25s; }
.link-arrow:hover i { transform: translateX(4px); }
/* Voltar ao topo (base: vinodjangid07/afraid-falcon-17) */
.btn-top { position: fixed; right: 16px; bottom: 80px; z-index: 89; width: 46px; height: 46px; border-radius: 999px; background: var(--dark-3); border: 1px solid var(--line-d2); color: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; opacity: 0; pointer-events: none; transition: width .3s, opacity .3s, background .2s; }
.btn-top.show { opacity: 1; pointer-events: auto; }
.btn-top i { font-size: 18px; transition: transform .3s; }
.btn-top span { position: absolute; font-size: 0; font-weight: 700; white-space: nowrap; transition: font-size .2s; }
.btn-top:hover { width: 150px; background: var(--pink); color: var(--dark); }
.btn-top:hover i { transform: translateY(-220%); }
.btn-top:hover span { font-size: 13px; }

/* Seletor de idioma minimalista: botão único + painel translúcido */
.lang { position: relative; z-index: 120; flex-shrink: 0; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px 0 11px; border-radius: 999px; color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .04em;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); transition: background .2s, border-color .2s; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .28); }
.lang-btn i { font-size: 16px; }
.lang-seta { font-size: 11px !important; opacity: .7; transition: transform .25s var(--ease); }
.lang-btn[aria-expanded="true"] .lang-seta { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 188px; padding: 6px; border-radius: 18px; display: grid; gap: 2px;
  background: rgba(28, 28, 38, .68); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .1); transform-origin: top right; }
.lang-menu:not([hidden]) { animation: lang-abre .22s var(--ease); }
.lang-menu button { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 0 12px; border-radius: 12px; color: #fff; font-size: 14px; font-weight: 600; text-align: left; }
.lang-menu button:hover, .lang-menu button:focus-visible { background: rgba(255, 255, 255, .1); }
.lang-menu button i { opacity: 0; color: #fff; }
.lang-menu button[aria-selected="true"] { font-weight: 800; }
.lang-menu button[aria-selected="true"] i { opacity: 1; }
@keyframes lang-abre { from { opacity: 0; transform: scale(.94) translateY(-4px); } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .lang-menu { background: rgba(28, 28, 38, .96); } }
[hidden] { display: none !important; }
