/* global.css - Base typography and generic layouts */
body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-neutral-dark);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* Evita quebras laterais no mobile por elementos grandes */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-secondary); /* A cor vinho da autoridade */
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utilitários Especiais */
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-white { color: var(--color-white); }

.bg-light { background-color: var(--color-neutral-light); }
.bg-dark { background-color: var(--color-neutral-dark); color: var(--color-white); }
.bg-brand { background: var(--gradient-brand); color: var(--color-white); }

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

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark p,
.bg-brand h1, .bg-brand h2, .bg-brand h3, .bg-brand p {
  color: var(--color-white);
}

.section-padding {
  padding: 5rem 0;
}

@media (min-width: 992px) {
  .section-padding {
    padding: 8rem 0;
  }
}

.section-padding-top-sm {
  padding-top: 1.75rem !important;
}

@media (min-width: 992px) {
  .section-padding-top-sm {
    padding-top: 2.8rem !important;
  }
}

.section-padding-top-xs {
  padding-top: 1.25rem !important;
}

@media (min-width: 992px) {
  .section-padding-top-xs {
    padding-top: 2rem !important;
  }
}

/* Focus outline utility - Accessibility */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
