/* Reset Dinâmico */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  font-weight: 800;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

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

/* Layout Estrutural */
.s-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.s-section {
  padding: var(--section-padding);
}

.bg-accent { background-color: var(--color-accent); }
.bg-white { background-color: var(--color-white); }

/* Tipografia Utilitária */
.text-primary { color: var(--color-primary); }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-ebold { font-weight: 800; }

/* Animações de Entrada */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.loader-logo {
  width: 80px;
  animation: pulse 1.5s infinite ease-in-out;
}

.loader-bar {
  width: 200px;
  height: 4px;
  background: var(--color-accent);
  margin-top: 20px;
  border-radius: var(--border-radius-pill);
  overflow: hidden;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}
