
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--gray-900);
  background-color: var(--gray-50);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

.section {
  padding: var(--spacing-4xl) 0;
  position: relative;
  overflow: hidden;
}

.section-alt {
  background-color: var(--gray-50);
}

.section-title {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-lg);
  color: var(--dark-light);
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  transform: none;
  width: 100%;
  height: 2px;
  border-radius: 30px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.section-description {
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
  color: var(--gray-600);
  font-size: var(--font-size-lg);
}

.intro {
  text-align: center;
  padding: 1.5rem 0;
}

.responsive-message {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--gray-600);
  max-width: 800px;
  margin: 0 auto;
  font-style: italic; /* Toque sofisticado */
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
  .responsive-message {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: var(--secondary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
  z-index: var(--z-normal);
  border: none;
  animation: bounce 1.5s infinite alternate;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.copyright span {
  animation: glow 2s infinite;
}

/* Animações */
@keyframes bounce {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes glow {

  0%,
  100% {
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }

  50% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  }
}

.copyright span:nth-child(1) {
  animation-delay: 0s;
}

.copyright span:nth-child(2) {
  animation-delay: 0.1s;
}

.copyright span:nth-child(3) {
  animation-delay: 0.2s;
}

.copyright span:nth-child(4) {
  animation-delay: 0.3s;
}

.copyright span:nth-child(5) {
  animation-delay: 0.4s;
}

.copyright span:nth-child(6) {
  animation-delay: 0.5s;
}

.copyright span:nth-child(7) {
  animation-delay: 0.6s;
}

.copyright span:nth-child(8) {
  animation-delay: 0.7s;
}

.copyright span:nth-child(9) {
  animation-delay: 0.8s;
}

.copyright span:nth-child(10) {
  animation-delay: 0.9s;
}

.copyright span:nth-child(11) {
  animation-delay: 1s;
}

.copyright span:nth-child(12) {
  animation-delay: 1.1s;
}

.copyright span:nth-child(13) {
  animation-delay: 1.2s;
}

.copyright span:nth-child(14) {
  animation-delay: 1.3s;
}

.copyright span:nth-child(15) {
  animation-delay: 1.4s;
}

@media (max-width: 992px) {
  .section {
    padding: var(--spacing-3xl) 0;
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--spacing-2xl) 0;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: var(--font-size-2xl);
  }

  .section-description {
    font-size: var(--font-size-base);
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 10px;
    right: 10px;
  }
}