/* Verificação de acessibilidade */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-color-blue);
  color: white;
  padding: 8px;
  z-index: 9999;
  transition: top 0.3s;
}

.skip-to-content:focus {
  top: 0;
}

/* Melhorias de contraste */
.text-high-contrast {
  color: white !important;
}

.bg-high-contrast {
  background-color: rgba(0, 0, 0, 0.8) !important;
}

/* Foco visível para navegação por teclado */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid var(--accent-color-blue);
  outline-offset: 2px;
}

/* Tamanho de texto ajustável */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Melhorias para leitores de tela */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Melhorias de contraste para texto sobre imagens */
.service-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7) 60%, transparent);
  padding: 2rem 1.5rem;
}

/* Melhorias para formulários acessíveis */
.form-control:focus {
  border-color: var(--accent-color-blue);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.25);
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Melhorias para botões acessíveis */
.btn {
  font-weight: 600;
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Melhorias para links acessíveis */
a {
  text-decoration: none;
  transition: color 0.3s, text-decoration 0.3s;
}

a:hover {
  text-decoration: underline;
}

/* Melhorias para tabelas acessíveis */
table {
  border-collapse: collapse;
  width: 100%;
}

th {
  text-align: left;
  background-color: var(--secondary-color);
}

th, td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

/* Melhorias para contraste de cores em cards */
.feature-card.blue {
  border-left: 4px solid var(--card-blue-border);
  box-shadow: 0 0 0 1px var(--card-blue-border);
}

.feature-card.purple {
  border-left: 4px solid var(--card-purple-border);
  box-shadow: 0 0 0 1px var(--card-purple-border);
}

.feature-card.orange {
  border-left: 4px solid var(--card-orange-border);
  box-shadow: 0 0 0 1px var(--card-orange-border);
}

.feature-card.green {
  border-left: 4px solid var(--card-green-border);
  box-shadow: 0 0 0 1px var(--card-green-border);
}
