body {
  font-family: "Inter", sans-serif;
  background-color: #ffffff;
  color: #374151;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes subtleFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.symbol-float {
  animation: subtleFloat 4s ease-in-out infinite;
}

.scroll-animate {
  opacity: 0;
  animation-duration: 0.8s;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation-fill-mode: forwards;
}

.scroll-animate.visible {
  animation-name: fadeInUp;
}

.hero-animate {
  opacity: 0;
  animation: fadeInDown 1s ease-out forwards;
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px 0 rgb(0 0 0 / 0.07);
}

.form-input {
  background-color: #ffffff;
  /* Fundo branco para contraste */
  border: 1px solid #e5e7eb;
  color: #111827;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  width: 100%;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-input:focus {
  outline: none;
  border-color: #ec4899;
  /* Cor rosa no foco */
  box-shadow: 0 0 0 2px rgb(236 72 153 / 0.2);
}

.btn-primary {
  background-color: #111827;
  color: #ffffff;
  font-weight: 500;
  padding: 0.85rem 1.75rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: #374151;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.1);
}

#servicos {
  background-color: #f8e6ea;
}

.nav-link {
  position: relative;
  padding-bottom: 4px;
}

.nav-link.active {
  color: #ec4899;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ec4899;
}

/* Estilos para o Modal de Sucesso */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  transition: opacity 0.3s ease;
}

.slider-item {
  display: none;
  transition: opacity 0.5s ease-in-out;
  animation: fadeIn 0.5s;
}

.slider-item.active {
  display: block;
}

.slider-btn {
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.slider-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.prose {
  font-size: 1rem;
  line-height: 1.75;
}

.prose p {
  margin-bottom: 1.25em;
}

@keyframes fadeIn {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

/* Animações de entrada */
.detail-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.detail-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.next-project-bg {
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Estilos para o Lightbox (Tela Cheia) */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 0.5rem;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 9999px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  transform: scale(1.1);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
  padding: 0.5rem;
}

.lightbox-prev {
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  padding: 0.75rem;
}

.lightbox-next {
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  padding: 0.75rem;
}
