/* Base local: fontes auto-hospedadas e o mínimo para a página ficar legível antes do Tailwind (browser) compilar.
   Tudo em @layer base para nunca vencer os utilitários do Tailwind nem os componentes do Basecoat. */
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-latin.v1.woff2") format("woff2");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.v1.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@layer base {
  :root { color-scheme: light; }
  html { background: #FFF3E2; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    background: #FFF3E2;
    color: #17243B;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    overflow-wrap: break-word;
  }
  h1, h2, h3 { font-family: "Nunito", ui-rounded, system-ui, sans-serif; font-weight: 800; text-wrap: balance; }
  img { max-width: 100%; height: auto; }
  a { color: #356348; text-underline-offset: .2em; }
  :focus-visible { outline: 2px solid #356348; outline-offset: 2px; }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  }
}
