/* AcolheAPS — base.css: reset, tipografia, elementos fundamentais */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--fundo);
  color: var(--txt);
  line-height: 1.6;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover { color: var(--teal-light); }

h1 { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 700; line-height: 1.2; color: var(--teal); }
h2 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; color: var(--teal); }
h3 { font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--teal); }
h4 { font-size: 0.9rem; font-weight: 600; color: var(--teal); }

p { margin-bottom: 0.75em; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.4em; }
li { margin-bottom: 0.3em; }

strong { font-weight: 600; }
em { font-style: italic; }

small { font-size: 0.8rem; color: var(--txt-m); }

hr {
  border: none;
  border-top: 1px solid var(--borda);
  margin: 1.5rem 0;
}

button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
}

[hidden] { display: none !important; }
