html {
  min-width: 320px;
}

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-primary);
  background: var(--surface-app);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  text-underline-offset: 3px;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: .6;
}

[hidden] {
  display: none !important;
}

::selection {
  color: var(--text-primary);
  background: var(--brand-100);
}

/* =========================================================
   Fundações finais compartilhadas
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

small {
  font-size: var(--font-size-sm);
  line-height: 1.35;
}


/* ---------------------------------------------------------
   Hierarquia textual compartilhada
   --------------------------------------------------------- */

.eyebrow {
  color: var(--brand-600);

  font-size: 11.5px;
  font-weight: 900;

  letter-spacing: .15em;

  text-transform: uppercase;
}

.eyebrow.light {
  color: #9ad2cd;
}


/* ---------------------------------------------------------
   Utilidades pequenas
   --------------------------------------------------------- */

.good {
  color: var(--success-700) !important;
}

.muted {
  color: var(--text-secondary) !important;
}

.block {
  display: block;
}

.right {
  text-align: right !important;
}
