/* ===========================
   SECTION BASE STYLES
   =========================== */
section { padding: 6rem 2rem; }

.container { max-width: 1200px; margin: 0 auto; }

.s-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #B8950A;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}
.s-tag::before {
  content: '';
  display: inline-block;
  width: 18px; height: 2px;
  background: var(--accent2);
}

.s-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text);
}

.s-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 540px;
  line-height: 1.85;
}

/* Scroll reveal */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv.vis { opacity: 1; transform: none; }

/* ===========================
   BOTÃO VOLTAR AO TOPO
   =========================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--accent);
  color: #111111;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 15px var(--accent-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px); 
  transition: all 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
}

@keyframes floatUpDown {
  0%, 100% { 
    transform: translateY(0); 
  }
  50% { 
    transform: translateY(-4px);
  }
}

.back-to-top svg {
  animation: floatUpDown 1.5s ease-in-out infinite;
}