/* ==========================================================================
   ETÉRA HOME — ESTILOS GLOBAIS
   ========================================================================== */

/* ---- Reset básico ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-family-01);
  font-weight: var(--font-weight-light);
  font-size: var(--font-size-base);
  line-height: var(--line-height-default);
  color: var(--brand-color-primary);
  background-color: var(--light);
}

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

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

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

ul,
ol {
  list-style: none;
}

/* ---- Foco visível (a11y) ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: var(--border-width-md) solid var(--brand-color-secondary);
  outline-offset: 2px;
}

/* ---- Redução de movimento (a11y) ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   TIPOGRAFIA
   ========================================================================== */

h1,
.h1 {
  font-family: var(--font-family-01);
  font-weight: var(--font-weight-light);
  font-size: var(--h1-font-size);
  line-height: var(--line-height-md);
  letter-spacing: var(--letter-spacing-md);
}

h2,
.h2 {
  font-family: var(--font-family-01);
  font-weight: var(--font-weight-light);
  font-size: var(--h2-font-size);
  line-height: var(--line-height-md);
  letter-spacing: var(--letter-spacing-md);
}

h3,
.h3 {
  font-family: var(--font-family-01);
  font-weight: var(--font-weight-light);
  font-size: var(--h3-font-size);
  line-height: var(--line-height-md);
  letter-spacing: var(--letter-spacing-md);
}

p,
.p {
  font-family: var(--font-family-01);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-base);
  line-height: var(--line-height-default);
  letter-spacing: var(--letter-spacing-sm);
}

.p-sm {
  font-family: var(--font-family-01);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-default);
  letter-spacing: var(--letter-spacing-sm);
}

.p-xs {
  font-family: var(--font-family-01);
  font-weight: var(--font-weight-light);
  font-size: var(--font-size-xs);
  line-height: var(--line-height-md);
  letter-spacing: var(--letter-spacing-default);
}

.label {
  font-family: var(--font-family-02);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-base);
  line-height: var(--line-height-default);
  letter-spacing: var(--letter-spacing-default);
}

.label-sm {
  font-family: var(--font-family-02);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-default);
  letter-spacing: var(--letter-spacing-md);
}

/* ==========================================================================
   LAYOUT — CONTAINER
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}
