/* Design moderno e elegante */

/* Importação de fontes premium */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap");

/* Variáveis de design avançadas */
:root {
  --primary: #8b5cf6;
  --primary-dark: #7c3aed;
  --primary-light: #ddd6fe;
  --secondary: #4f46e5;
  --accent: #f472b6;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #94a3b8;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Redefinição e estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Outfit", sans-serif;
  overflow-x: hidden;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: #475569;
}

/* Animações avançadas */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(139, 92, 246, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
    transform: scale(1);
  }
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shine {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Navbar sofisticada */
.navbar-custom {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s var(--ease);
}

.navbar-scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.95);
}

.brand-logo {
  position: relative;
  display: inline-block;
}

.brand-logo::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
  top: 0;
  right: -8px;
}

.nav-link {
  position: relative;
}

.nav-line {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width 0.3s var(--ease);
}

.nav-link:hover .nav-line {
  width: 100%;
}

/* Hero section premium */
.hero-gradient {
  background: linear-gradient(-45deg, #ddd6fe, #c4b5fd, #a78bfa);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  position: relative;
}

.hero-gradient::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.floating-image {
  animation: float 6s ease-in-out infinite;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  color: #64748b;
  max-width: 500px;
}

/* Botões de luxo */
.btn-primary {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
  border: none;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  color: white;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.5);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 100%
  );
  transform: skewX(-25deg);
  animation: shine 2s infinite;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  padding: 12px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  color: var(--primary);
  transition: all 0.3s var(--ease);
}

.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.1);
  transform: translateY(-3px);
}

/* Cards premium */
.feature-card {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s var(--ease);
  border: 1px solid #f1f5f9;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.feature-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0)
  );
  z-index: -1;
}

.feature-icon i {
  font-size: 1.75rem;
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1e293b;
}

/* Seção CTA luxuosa */
.cta-section {
  position: relative;
  background: linear-gradient(-45deg, #6d28d9, #8b5cf6, #4f46e5);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  padding: 5rem 0;
  color: white;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  top: -150px;
  right: -100px;
}

.cta-section::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  bottom: -100px;
  left: -50px;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* FAQ estilizado */
.faq-item {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.3s var(--ease);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 1.25rem;
  background: white;
  font-weight: 500;
  cursor: pointer;
  font-size: 1.1rem;
  color: #334155;
  border-bottom: 1px solid transparent;
}

.faq-question.active {
  color: var(--primary);
  background-color: #f8f7ff;
  border-color: #e9e7fc;
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.faq-answer.show {
  padding: 1.25rem;
  max-height: 500px;
}

.faq-icon {
  transition: transform 0.4s var(--ease);
}

.faq-question.active .faq-icon {
  transform: rotate(180deg);
}

/* Efeitos de animação de scroll */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s var(--ease);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* Estilizações para o footer */
.footer-gradient {
  background: linear-gradient(to right, #1e293b, #0f172a);
  color: white;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-link {
  display: block;
  color: #94a3b8;
  transition: all 0.3s var(--ease);
}

.footer-link:hover {
  color: white;
  transform: translateX(5px);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s var(--ease);
  color: white;
}

.social-icon:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

/* Responsividade melhorada */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .main-image-container {
    width: 100%;
    text-align: center;
  }

  .options-container .option-container {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .btn-prev,
  .btn-next {
    width: 40px;
    height: 40px;
  }

  .question-counter {
    font-size: 14px;
  }
}

/* Estilos para depoimentos */
.testimonial-card {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s var(--ease);
  border: 1px solid #f1f5f9;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(139, 92, 246, 0.1);
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
  border: 2px solid var(--primary-light);
}

.testimonial-info h5 {
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.testimonial-stars {
  color: #fbbf24;
  letter-spacing: 1px;
}

.main-image-container {
  border: 2px solid var(--gray);
  border-radius: 8px;
  padding: 10px;
}

.options-container .option-container {
  border: 4px solid var(--gray);
  border-radius: 8px;
  padding: 5px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.option-container:hover {
  cursor: pointer; /* Change cursor to pointer on hover */
}

.options-container .option-container.selected {
  border-color: var(--primary-dark);
  border-width: 3px;
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.7);
  transform: scale(1.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  background-color: #e9f7ef; /* Ensure background color remains */
}
