/* Padrao FisioSport: relevo inspirado nos botoes da Enciclopedia.
   Usar .btn para novas acoes; carregar esta folha apos os estilos da pagina. */
:root {
  --press-ease: cubic-bezier(.2, .75, .25, 1);
  --press-surface: inset 0 1px 0 rgba(255,255,255,.055),
    0 3px 0 rgba(0,0,0,.42), 0 7px 18px rgba(0,0,0,.18);
  --press-gold: 0 2px 0 rgba(116,82,31,.95),
    0 5px 0 rgba(69,49,22,.72), 0 9px 24px rgba(181,140,69,.19);
}

:where(.btn, button, .faq summary, .service-circle, .whatsapp-float) {
  box-shadow: var(--press-surface);
  transition: transform .15s var(--press-ease), box-shadow .15s var(--press-ease),
    border-color .18s, background-color .18s;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background-image: linear-gradient(135deg, #d8b26a, #b58c45);
  box-shadow: var(--press-gold);
}

.btn-ghost { background-color: var(--surface, #10151c); }

.service-circle {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12),
    0 4px 0 #070a0e, 0 10px 24px rgba(0,0,0,.3);
}

.whatsapp-float {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24),
    0 4px 0 #087c3c, 0 9px 24px rgba(0,0,0,.3);
}

@media (hover: hover) and (pointer: fine) {
  :where(.btn, button, .faq summary, .service-circle):not(:disabled):not([aria-disabled="true"]):hover {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1),
      0 4px 0 rgba(0,0,0,.45), 0 10px 22px rgba(0,0,0,.24);
  }
  .btn.btn-primary:hover {
    box-shadow: 0 3px 0 rgba(116,82,31,.95),
      0 6px 0 rgba(69,49,22,.72), 0 12px 28px rgba(181,140,69,.24);
  }
}

:where(.btn, button, .faq summary, .service-circle, .whatsapp-float):not(:disabled):not([aria-disabled="true"]):active {
  transform: translateY(3px);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.18),
    0 1px 0 rgba(0,0,0,.42), 0 3px 8px rgba(0,0,0,.16);
}

:where(.btn, button, .faq summary, .service-circle, .whatsapp-float):focus-visible {
  outline: 3px solid var(--gold, #d8b26a);
  outline-offset: 5px;
}

:is(button, .btn):is(:disabled, [aria-disabled="true"]) {
  transform: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  :where(.btn, button, .faq summary, .service-circle, .whatsapp-float) { transition: none; }
}

/* Servicos: aro dourado no hover; foco persistente de mouse nao e selecao. */
@media (hover: hover) and (pointer: fine) {
  .service-circle:hover {
    border-color: var(--gold);
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16),
      0 4px 0 #070a0e, 0 0 22px rgba(216,178,106,.25);
  }
}
html[data-input-mode="pointer"] .service-circle:focus-visible:not(:hover) {
  outline: none;
  border-color: rgba(216,178,106,.25);
  transform: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12),
    0 4px 0 #070a0e, 0 10px 24px rgba(0,0,0,.3);
}
html[data-input-mode="pointer"] .service-circle:focus-visible:not(:hover) img { transform: none; }
html[data-input-mode="pointer"] .service-circle:focus-visible:not(:hover) .service-cta {
  opacity: 0;
  transform: translate(-50%,8px);
}
