/* Reset + tipografia global */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--f-family);
  font-size: var(--f-size-base);
  font-weight: var(--f-weight-regular);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Skip to content — acessibilidade */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--s-16);
  z-index: 10000;
  padding: var(--s-8) var(--s-16);
  background: var(--c-accent);
  color: var(--c-white);
  text-decoration: none;
}

.skip-link:focus {
  top: var(--s-8);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Container utilitário */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--s-16);
}

/* Seções padrão */
.section {
  padding: var(--s-64) 0;
}

.section__title {
  font-size: var(--f-size-lg);
  font-weight: var(--f-weight-bold);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--s-32);
}

.section__subtitle {
  text-align: center;
  color: var(--c-text-light);
  margin-top: calc(-1 * var(--s-24));
  margin-bottom: var(--s-32);
}

.section__cta {
  display: block;
  text-align: center;
  margin-top: var(--s-32);
  font-size: var(--f-size-sm);
  font-weight: var(--f-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-text);
  display: inline-block;
  padding-bottom: var(--s-4);
}

.section__cta:hover {
  color: var(--c-accent-hover);
  border-color: var(--c-accent-hover);
}

/* Visually hidden — acessibilidade */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
