/* Botões */
/* ===== botões ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;padding:14px 26px;font-size:.92rem;font-weight:500;letter-spacing:.02em;text-decoration:none;transition:transform .25s var(--ease),background .25s,color .25s;cursor:pointer;font-family:inherit;border:1px solid var(--ink)}
.btn-solid{background:var(--ink);color:var(--paper-2)}
.btn-ghost{background:transparent;color:var(--ink)}
/* hover só com mouse: no toque o hover "gruda" depois do toque e o botão parece ativo */
@media (hover: hover) and (pointer: fine){
  .btn:hover{transform:translateY(-2px)}
  .btn-solid:hover{background:var(--ink-hover)}
  .btn-ghost:hover{background:var(--ink);color:var(--paper-2)}
}
.btn svg{width:18px;height:18px}

/* botão de fechar (✕) compartilhado: menu e lightbox. Antes a lightbox usava o botão padrão do navegador */
.btn-fechar{display:inline-grid;place-items:center;width:48px;height:48px;padding:0;border-radius:50%;border:1px solid currentColor;background:transparent;color:var(--ink);cursor:pointer;font-family:inherit;transition:background .2s,color .2s}
.btn-fechar svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
@media (hover: hover) and (pointer: fine){ .btn-fechar:hover{background:var(--ink);color:var(--paper-2)} }

/* retorno ao toque: o botão "afunda" de leve enquanto o dedo está nele (só em telas de toque; no computador fica como antes) */
@media (hover: none), (pointer: coarse){
  .btn,.btn-fechar{-webkit-tap-highlight-color:transparent}
  .btn:active,.btn-fechar:active{transform:scale(.96);transition-duration:.08s}
}
