/* ================================================
   BASE — Estilos globais e utilitários
   ================================================ */

/* Layout */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-section) 0;
  position: relative;
}

/* === TIPOGRAFIA === */

.display {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-heading);
}

.h1 {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: 1.15;
}

.h2 {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.2;
}

.h3 {
  font-family: var(--font-body);
  font-size: var(--text-h3);
  font-weight: 700;
  line-height: 1.3;
}

.body-text {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-text);
}

.caption {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  color: var(--color-text-muted);
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  letter-spacing: 0.02em;
}

/* === BOTÕES === */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 1rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out);
  touch-action: manipulation;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn--primary {
  background-color: var(--vinho);
  color: var(--off-white);
}

.btn--primary:hover {
  background-color: var(--vinho-claro);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(107, 45, 62, 0.25);
}

.btn--inverse {
  background-color: var(--off-white);
  color: var(--vinho);
}

.btn--inverse:hover {
  background-color: var(--off-white);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(244, 237, 230, 0.3);
}

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

.btn--outline:hover {
  background-color: var(--vinho);
  color: var(--off-white);
}

/* WhatsApp icon no botão */
.btn .icon-whatsapp {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* === SEPARADORES === */

.separator {
  width: 60px;
  height: 2px;
  background-color: var(--cobre);
  border: none;
  margin: var(--space-md) 0;
}

.separator--center {
  margin-left: auto;
  margin-right: auto;
}

/* === ASPAS DECORATIVAS === */

.quote-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 0.8;
  color: var(--vinho);
  opacity: 0.15;
  user-select: none;
}

/* === LABEL DE SEÇÃO === */

.section-label {
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  color: var(--cobre);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-sm);
}

/* === ANIMAÇÃO — estados iniciais === */
/* JS adiciona .js-ready ao html quando carrega */

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
}

.js-ready [data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(30px);
}

/* Word reveal */
.js-ready .word-reveal .word {
  opacity: 0;
  transform: translateY(100%);
  display: inline-block;
}

/* Sem JS: tudo visível */
html:not(.js-ready) [data-reveal],
html:not(.js-ready) [data-reveal-stagger] > *,
html:not(.js-ready) .word-reveal .word {
  opacity: 1;
  transform: none;
}

/* === UTILIDADES === */

.text-center { text-align: center; }
.text-vinho { color: var(--vinho); }
.text-off-white { color: var(--off-white); }
.text-cobre { color: var(--cobre); }
.text-azul { color: var(--azul); }

.bg-off-white { background-color: var(--off-white); }
.bg-vinho { background-color: var(--vinho); }
.bg-areia { background-color: var(--areia); }
.bg-cinza { background-color: var(--cinza); }
.bg-azul { background-color: var(--azul); }

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