@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

body {
  font-family: "Poppins", sans-serif;
  background-color: #fffef0;
  color: #1d333b;
}

.hero-gradient {
  background: linear-gradient(135deg, #271166 0%, #bc45b4 100%);
}

.btn-primary {
  background-color: #bc45b4;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #9e3897;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #271166;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #1a0a4d;
  transform: translateY(-2px);
}

.cozy-card {
  transition: all 0.3s ease;
  border-radius: 16px;
  overflow: hidden;
}

.cozy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.testimonial-card {
  background-color: #fffef0;
  border: 2px solid #bc45b4;
  border-radius: 16px;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #bc45b4;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes scroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  75% {
    transform: translateY(20px);
    opacity: 0;
  }
  80% {
    transform: translateY(0);
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.animate-scroll {
  animation: scroll 2s ease-in-out infinite;
}

@keyframes floating-reverse {
  0% {
    transform: translateY(0) rotate(6deg);
  }
  50% {
    transform: translateY(-8px) rotate(6deg);
  }
  100% {
    transform: translateY(0) rotate(6deg);
  }
}

.floating-reverse {
  animation: floating-reverse 3s ease-in-out infinite;
}

.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}

@media (max-width: 768px) {
  /* Colocar slides em coluna e definir espaço entre eles */
  #testimonials .swiper-wrapper {
    flex-direction: column !important;
    gap: 1.5rem; /* mesmo que gap-6 (24px) do tailwind */
  }
  /* Garantir que cada slide ocupe 100% da largura */
  #testimonials .swiper-slide {
    width: 100% !important;
  }
  /* Ocultar slides a partir do 4º */
  #testimonials .swiper-slide:nth-child(n + 4) {
    display: none;
  }
}

@keyframes green-pulse {
  0% {
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2),
      0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  50% {
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.3),
      0 0 0 8px rgba(34, 197, 94, 0.1);
  }
  100% {
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2),
      0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.btn-green-pulse {
  animation: green-pulse 2s ease-in-out infinite;
  position: relative;
}

.btn-green-pulse:hover {
  animation-play-state: paused;
}

/* Transições suaves */
input,
select,
textarea {
  transition: all 0.3s ease !important;
}

input:focus,
select:focus,
textarea:focus {
  transform: translateY(-2px) !important;
}

/* Efeito de pulsar para botão do WhatsApp e botões de preço */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-pulse {
  animation: pulse 2s infinite;
}

/* Animação para fade-in */
.animate-fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes blob {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.animate-blob {
  animation: blob 7s infinite alternate;
}

.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}
/* CSS atualizado para manter ícones visíveis */
.input-with-icon::placeholder {
  text-indent: 15px;
}

.input-with-icon {
  padding-left: 25px !important;
  text-indent: 15px;
}

/* Mantenha o ícone visível quando o campo está em foco */
.input-with-icon:focus + div i,
.input-with-icon:focus-within + div i,
select.input-with-icon:focus + div i {
  opacity: 1;
  color: #6d28d9; /* Cor quando em foco, pode ser ajustada para cozyPurple */
}

/* Estilos específicos para o select */
select.input-with-icon {
  text-indent: 25px;
  padding-left: 25px !important;
}

/* Para a primeira option que é o placeholder */
select.input-with-icon option:first-child {
  color: #9ca3af;
}
/* CSS para o menu mobile */

/* CSS para o menu mobile - VERSÃO CORRIGIDA */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    transform: translateY(-10px);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    max-height: 500px;
}

#mobile-menu.hidden {
    display: none !important;
}

/* Animação suave para o ícone do menu */
#menu-icon {
    transition: all 0.2s ease-in-out;
}

/* Efeito hover no botão do menu */
#mobile-menu-button:hover #menu-icon {
    transform: scale(1.1);
}