/* Squadra Brasil — base */

@font-face {
  font-family: "Agency FB";
  src: url("../fonts/agency-fb/agency-fb-light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Agency FB";
  src: url("../fonts/agency-fb/agency-fb-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Agency FB";
  src: url("../fonts/agency-fb/agency-fb-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --cyan: #00baee;
  --blue: #1323b0;
  --pink: #e262a0;
  --paper: #f8f8ff;
  --ink: #202020;
  --white: #ffffff;
  --header-height: clamp(72px, 5.263vw, 101px);
  --nav-width: min(1320px, calc(100% - 48px));
  --font-body: "Montserrat", Arial, sans-serif;
  --font-display: "Agency FB", "Arial Narrow", sans-serif;
  --media-hover-scale: 1.018;
  --media-hover-duration: 620ms;
  --media-hover-ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  overflow-y: visible;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  color: var(--blue);
  background: var(--white);
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }
}
