/* Estilos complementares ao Tailwind (CDN). */

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Âncora (#produto) não fica escondida atrás do topo */
[id] {
  scroll-margin-top: 1rem;
}

/* Entrada ao rolar a página (home), como no site original:
   fade (surge aos poucos) e float (desliza 60px), 1200ms.
   Só esconde os itens quando o JS adicionou a classe "js" no <html>. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transition:
      opacity 1200ms cubic-bezier(0.445, 0.05, 0.55, 0.95),
      transform 1200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
    will-change: opacity, transform;
  }

  .js [data-reveal="up"] {
    transform: translate3d(0, 60px, 0);
  }

  .js [data-reveal="left"] {
    transform: translate3d(-60px, 0, 0);
  }

  .js [data-reveal="right"] {
    transform: translate3d(60px, 0, 0);
  }

  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}

/* Texto longo (política de privacidade e termos) */
.article > * + * {
  margin-top: 1rem;
}

.article h2 {
  margin-top: 2.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.625rem;
  line-height: 1.4;
}

.article ul {
  list-style: disc;
  padding-left: 1.75rem;
}

.article ul ul {
  list-style: circle;
  margin-top: 0.25rem;
}

.article li + li {
  margin-top: 0.4rem;
}

.article a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article a:hover {
  color: #6e6e6e;
}
