/* ==========================================================================
   Base: tokens de design, reset e tipografia
   ========================================================================== */

:root {
  /* Cores */
  --color-black: #000;
  --color-white: #fff;
  --color-header: #5c686c; /* cabeçalho e rodapé */
  --color-slate: #72858c; /* seção Quem Somos */
  --color-blue: #1a7fc7; /* textos de destaque e barra dos títulos */
  --color-accent: #d0e5de; /* item ativo do menu */
  --color-text-dark: #232b2e;

  /* Tipografia */
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout */
  --side: 24px; /* margem lateral mínima */
  --header-height: 54px;
  --content: 1090px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
  border: 0;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

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

h1,
h2,
h3,
h4 {
  line-height: 1.2;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  z-index: 300;
  padding: 8px 14px;
  background: var(--color-white);
  color: var(--color-black);
  font-size: 14px;
  transition: top 170ms ease-in-out;
}

.skip-link:focus {
  top: 8px;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
