/* ============================================
   RESET & ESTILOS BASE — Chá de Casa Nova
   ============================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-warm-white);
  color: var(--color-dark-2);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customizada */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-warm-white);
}

::-webkit-scrollbar-thumb {
  background: var(--color-cream-muted);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-dark);
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-dark-1);
  line-height: 1.25;
}

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

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

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-lg);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.section {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
}

@media (max-width: 768px) {
  .section {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  outline: none;
}

.btn--primary {
  background: var(--color-gold-dark);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-gold-deeper);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(159, 111, 79, 0.25);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn--outline-gold {
  background: transparent;
  border: 1.5px solid var(--color-gold-dark);
  color: var(--color-gold-dark);
}

.btn--outline-gold:hover {
  background: var(--color-gold-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* Títulos das Seções */
.section-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-xs);
  text-align: center;
}

.section-title {
  font-size: var(--fs-3xl);
  font-weight: 500;
  text-align: center;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: rgba(40, 35, 35, 0.65);
  text-align: center;
  max-width: var(--container-sm);
  margin: 0 auto var(--space-3xl);
  font-family: var(--font-display);
  font-style: italic;
}

@media (max-width: 768px) {
  .section-title {
    font-size: var(--fs-2xl);
  }
  .section-subtitle {
    margin-bottom: var(--space-xl);
  }
}

/* Animações de Scroll (Reveal) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left {
  transform: translateX(-40px);
}

.reveal--right {
  transform: translateX(40px);
}

.reveal--left.active, .reveal--right.active {
  transform: translateX(0);
}
