/* =============================================================
   VagaCidade — reset
   Declara a ORDEM das cascade layers de todo o projeto.
   Este arquivo DEVE ser o primeiro <link> de qualquer página.
   ============================================================= */

@layer reset, tokens, base, layout, components, pages, utilities, overrides;

@layer reset {

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
  }

  body,
  h1, h2, h3, h4, h5, h6,
  p, figure, blockquote, dl, dd, ul, ol {
    margin: 0;
  }

  ul[class],
  ol[class] {
    padding: 0;
    list-style: none;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
    text-wrap: balance;
  }

  img,
  picture,
  svg,
  video,
  canvas {
    display: block;
    max-width: 100%;
  }

  img,
  video {
    height: auto;
  }

  svg {
    fill: none;
  }

  input,
  button,
  textarea,
  select {
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
  }

  button {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
  }

  textarea {
    resize: vertical;
  }

  a {
    color: inherit;
    text-decoration-thickness: max(0.06em, 1px);
    text-underline-offset: 0.18em;
  }

  table {
    border-collapse: collapse;
  }

  [hidden] {
    display: none !important;
  }

  /* R9 — movimento reduzido é requisito, não extra. */
  @media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
}
