/* ==========================================================================
   global.css — Estilos base, tipografia e utilitários
   ========================================================================== */
html {
  scroll-behavior: smooth;
  /* compensa o cabeçalho fixo ao navegar pelas âncoras */
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

/* Container central — mesma largura do site Wix (980px) */
.container {
  position: relative;
  width: var(--site-width);
  margin: 0 auto;
}

/* Seções: as decorações podem sair do container, mas não da tela */
.section {
  position: relative;
  overflow: hidden;
  overflow: clip;
}

/* Títulos padrão */
.title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-lilac);
  line-height: 1.14;
}

.title--section {
  font-size: 30px;
  letter-spacing: 0.01em;
}

.text-center {
  text-align: center;
}

/* Acessibilidade */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--color-white);
  color: #116dff;
  font-size: 14px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.skip-link:focus {
  top: 12px;
}

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

:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 3px;
}

/* Elementos puramente decorativos (balões, nuvens, hexágonos) */
.decor {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.decor img {
  width: 100%;
  height: 100%;
}
