/* Drª Vitória Nykiel — Landing Page Premium */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* Acessibilidade: link para pular navegação */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #6b4f24;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 0.5rem 0;
}

.skip-link:focus {
  left: 0;
}

/* Foco visível para navegação por teclado */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #8a6831;
  outline-offset: 3px;
}

/* Ícone de dente (herda a cor dourada da marca) */
.tooth-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  background-color: #8a6831;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2c-2.2 0-3.5 1-4.8 1-1.6 0-3.2-1.3-4.2 0-1 1.3-.4 3.6 0 5.3.4 1.8.6 3.4 1 5.6.4 2.1.8 5.1 2.3 5.1 1.3 0 1.4-2.2 1.7-3.8.3-1.5.6-2.7 1.9-2.7s1.6 1.2 1.9 2.7c.3 1.6.4 3.8 1.7 3.8 1.5 0 1.9-3 2.3-5.1.4-2.2.6-3.8 1-5.6.4-1.7 1-4-0-5.3-1-1.3-2.6 0-4.2 0C15.5 3 14.2 2 12 2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2c-2.2 0-3.5 1-4.8 1-1.6 0-3.2-1.3-4.2 0-1 1.3-.4 3.6 0 5.3.4 1.8.6 3.4 1 5.6.4 2.1.8 5.1 2.3 5.1 1.3 0 1.4-2.2 1.7-3.8.3-1.5.6-2.7 1.9-2.7s1.6 1.2 1.9 2.7c.3 1.6.4 3.8 1.7 3.8 1.5 0 1.9-3 2.3-5.1.4-2.2.6-3.8 1-5.6.4-1.7 1-4-0-5.3-1-1.3-2.6 0-4.2 0C15.5 3 14.2 2 12 2z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* Revelação suave ao rolar a página */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
