/* ==========================================================================
   Reset e fundação
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-light);
  line-height: var(--lh-display);
  letter-spacing: -.005em;
  color: var(--c-blue);
}

p { margin: 0; }

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

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

ul { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--c-white);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--c-blue);
  border-radius: 2px;
}

/* As fontes vêm do kit Adobe Fonts (fej3ktq), enfileirado em functions.php.
   O kit entrega parabolica e the-seasons nos pesos 400 e 700; a stack de
   fallback fica declarada em tokens.css. */

/* --- Layout --------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

/* --- Tipografia ----------------------------------------------------------- */

.display  { font-size: var(--fs-display); }
.h2       { font-size: var(--fs-h2); }
.h3       { font-size: var(--fs-h3); }

.lead {
  /* max-width: 50ch; */
  max-width: 795px;
  font-family: var(--font-sans);
  font-size: var(--fs-lead);
  font-weight: var(--fw-regular);
  line-height: var(--lh-lead);
  color: var(--c-ink);
}

/* Rótulo curto acima dos títulos: "our portfolio", "our brands". */
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-ink);
}

.text-blue { color: var(--c-blue); }

/* --- Botão ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 39.34px;
  padding: 0 var(--space-6);
  border-radius: var(--radius-pill);
  background: var(--c-blue);
  color: var(--c-white);
  font-size: var(--fs-button);
  font-weight: var(--fw-bold);
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { background: #0033a3; transform: translateY(-1px); }

/* --- Acessibilidade ------------------------------------------------------- */

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

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 999;
  padding: var(--space-3) var(--space-4);
  background: var(--c-blue);
  color: var(--c-white);
}
.skip-link:focus { top: var(--space-4); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
