@font-face {
  font-family: Geist;
  src: url("/fonts/geist-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --preto: #000000;
  --noite: #001e55;
  --noite-2: #00285e;
  --noite-3: #00387f;
  --azul: #0074fb;
  --azul-hover: #2b8cff;
  --ciano: #9dfdfc;
  --gelo: #f4f7fb;
  --gelo-suave: #e0f0f0;
  --secundario: #a9bbe0;
  --secundario-baixo: #7f97c4;
  --superficie: #071428;
  --superficie-2: #0a1730;
  --linha: rgba(255, 255, 255, 0.08);
  --ok: #3ddc97;
  --erro: #ff5d6c;
  --fonte: Geist, "Avenir Next", "Segoe UI", sans-serif;
  --topo: 4.5rem;
  --medida: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  background: var(--superficie);
  color: var(--gelo);
  font-family: var(--fonte);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

a,
button,
summary {
  touch-action: manipulation;
}

button,
.botao,
.marca,
.menu a,
.menu-botao,
.rodape a,
summary {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 760;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 650;
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  font-weight: 620;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gelo);
  color: var(--preto);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip:focus {
  top: 0.5rem;
}

:focus-visible {
  outline: 2px solid var(--azul);
  outline-offset: 2px;
}

.noite :focus-visible,
.noite-alt :focus-visible {
  outline-color: var(--ciano);
}

::selection {
  background: var(--noite);
  color: var(--gelo);
}

.medida {
  width: min(var(--medida), calc(100% - 2rem));
  margin-inline: auto;
}

.medida-curta {
  width: min(40rem, calc(100% - 2rem));
}

.olho,
.cartao-olho {
  margin: 0 0 0.8rem;
  color: var(--secundario);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 560;
}

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  background: var(--azul);
  color: #fff;
  text-decoration: none;
  border: 0;
  font: 620 1rem/1 var(--fonte);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 120ms ease-out, background-color 120ms ease-out;
}

.botao:active {
  transform: scale(0.97);
}

.botao:disabled,
.botao:disabled:active {
  opacity: 0.55;
  cursor: progress;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .botao:hover {
    background: var(--azul-hover);
  }

  .botao-secundario:hover {
    background: rgba(255, 255, 255, 0.06);
  }
}

.botao-secundario {
  background: transparent;
  color: var(--gelo);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
