/* =============================================================================
   ACESSIBILIDADE — WCAG 2.2 AA
   promkt-a11y.css
   ============================================================================= */

/* Skip link (WCAG 2.4.1 — Bypass Blocks) */
.promkt-skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  text-decoration: none;
}

.promkt-skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: auto;
  height: auto;
  padding: .75rem 1.5rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
  background: #000000;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  border-radius: 0 0 4px 0;
  outline: 3px solid #ffbf47;
  outline-offset: 0;
}

/* Âncora invisível alvo do skip link */
#promkt-main-content {
  display: block;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Foco visível global — garante anel de foco em todos os interativos (WCAG 2.4.11) */
.promkt-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.promkt-whatsapp-direct-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 6px;
  background: #128c7e;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.promkt-whatsapp-direct-link:hover,
.promkt-whatsapp-direct-link:focus {
  background: #075e54;
  color: #ffffff;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

/* Remove outline apenas quando foco é via mouse, mantém para teclado */
:focus:not(:focus-visible) {
  outline: none;
}
