/* 
ERIKA FURTADO - MELHORIAS DE SEO E PERFORMANCE
Estilos e configurações para otimização de SEO e performance
*/

/* Lazy loading para imagens */
.lazy-image {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy-image.loaded {
  opacity: 1;
}

/* Estilos para placeholder de imagens */
.image-placeholder {
  background-color: var(--color-beige-light);
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  100% {
    left: 100%;
  }
}

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

/* Melhorias de contraste para acessibilidade */
.high-contrast-text {
  text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.5);
}

/* Estilos para favicon e branding */
.favicon-link {
  display: inline-block;
  margin-right: 0.5rem;
}

/* Estilos para melhorar tempo de carregamento */
.preload-image {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  z-index: -1;
}
