/* ═══════════════════════════════════════════════════════════
   BASE & UTILITIES
   Reset, estilos fundamentais, tags e containers
   ═══════════════════════════════════════════════════════════ */

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

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-md);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-content);
  background-color: var(--color-surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Show default cursor on mobile */
@media (hover: none) {
  body { cursor: auto; }
  .cursor { display: none; }
}

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

ul, ol {
  list-style: none;
}

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

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

select, input, textarea {
  font: inherit;
}

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

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Section Header Utility */
.section-header {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

/* Section Title Utility */
.section-title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-content);
}
