/* Base Styles */
:root {
  --primary: #602b8d;
  --primary-light: rgba(96, 43, 141, 0.1);
  --secondary: #221668;
  --secondary-light: rgba(34, 22, 104, 0.1);
  --accent: #ffa608;
  --accent-light: rgba(255, 166, 8, 0.1);
  --blue: #2495d3;
  --blue-light: rgba(36, 149, 211, 0.1);
  --purple: #9963f0;
  --purple-light: rgba(153, 99, 240, 0.1);
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #030712;

  --background: var(--white);
  --foreground: var(--gray-900);
  --border: var(--gray-200);

  --radius: 0.5rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --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);
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  :root {
    --background: var(--gray-950);
    --foreground: var(--gray-100);
    --border: var(--gray-800);
  }

  .logo-light {
    display: none;
  }

  .logo-dark {
    display: block;
  }
}

@media (prefers-color-scheme: light) {
  .logo-light {
    display: block;
  }

  .logo-dark {
    display: none;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--foreground);
  background-color: var(--background);
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

/* Animation classes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.3s ease-out forwards;
}

.animate-scale-in {
  opacity: 0;
  animation: scaleIn 0.3s ease-out forwards;
}

.animate-slide-up {
  opacity: 0;
  animation: slideUp 0.8s ease-out forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.3s ease-out forwards;
}

/* Animação para fade-in de imagens */
@keyframes imgFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.img-fade-in {
  opacity: 0;
  animation: imgFadeIn 1.2s ease-out forwards;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 0;
}

.bg-white {
  background-color: var(--white);
}

.bg-light {
  background-color: var(--gray-50);
}

.bg-purple-light {
  background-color: #f5f0ff;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

/* Typography */
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: none;
}

.btn svg {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #4f2374;
}

.btn-accent {
  background-color: var(--accent);
  color: var(--black);
}

.btn-accent:hover {
  background-color: #e89500;
}

.btn-outline {
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--gray-100);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-icon {
  padding: 0.5rem;
  border-radius: 50%;
}

.btn-full {
  width: 100%;
}

/* Loading Spinner */
.loading-spinner {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background);
  z-index: 9999;
}

.spinner-content {
  text-align: center;
}

.spinner-logo {
  position: relative;
  width: 6rem;
  height: 6rem;
  margin: 0 auto 1rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

.navbar-container {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-logo img {
  width: 180px;
  height: auto;
}

.navbar-nav {
  display: none;
}

.navbar-cta {
  display: none;
}

.mobile-menu-toggle {
  display: flex;
}

@media (min-width: 768px) {
  .navbar-nav {
    display: flex;
    gap: 1.5rem;
  }

  .navbar-cta {
    display: flex;
  }

  .mobile-menu-toggle {
    display: none;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--primary);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease-out;
  display: none;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu-content {
  position: relative;
  width: 90%;
  max-width: 24rem;
  max-height: 80vh;
  margin: auto;
  background-color: var(--background);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  overflow: auto;
  animation: scaleIn 0.3s ease-out;
}

.mobile-menu-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  background-color: var(--background);
  z-index: 10;
}

.mobile-menu-body {
  padding: 1.5rem;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu-link {
  font-size: 1.125rem;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

.mobile-menu-link:hover {
  color: var(--primary);
}

.mobile-menu-cta {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.mobile-menu-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.mobile-menu-social a {
  color: var(--gray-600);
  transition: color 0.3s;
}

.mobile-menu-social a:hover {
  color: var(--primary);
}

.mobile-menu-logo {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.mobile-menu-logo img {
  width: 120px;
  height: auto;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 5rem 0;
  color: var(--white);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding: 8rem 0;
  }
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(34, 22, 104, 0.9), rgba(96, 43, 141, 0.8));
}

.hero-container {
  position: relative;
  z-index: 10;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-dashboard {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Description Section */
.description-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .description-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.description-content {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .description-content {
    margin: 0;
    text-align: left;
  }
}

.description-img {
  margin: 0 auto;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: scale(1.05);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

.feature-description {
  text-align: center;
  color: var(--gray-700);
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pricing-image {
  order: 2;
}

.pricing-content {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pricing-image {
    order: 1;
  }

  .pricing-content {
    order: 2;
  }
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-check {
  color: var(--blue);
}

.pricing-description {
  font-size: 1.125rem;
  color: var(--gray-700);
}

/* Tabs */
.tabs {
  width: 100%;
}

.tabs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .tabs-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tab-trigger {
  padding: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}

@media (min-width: 768px) {
  .tab-trigger {
    font-size: 1rem;
  }
}

.tab-trigger.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .tab-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tab-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tab-card {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.tab-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--purple-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.tab-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--purple);
}

.tab-icon-blue {
  background-color: var(--blue-light);
}

.tab-icon-blue svg {
  color: var(--blue);
}

.tab-icon-orange {
  background-color: var(--accent-light);
}

.tab-icon-orange svg {
  color: var(--accent);
}

.tab-icon-purple {
  background-color: var(--primary-light);
}

.tab-icon-purple svg {
  color: var(--primary);
}

.tab-title {
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.5rem;
}

.tab-description {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Testimonials */
.testimonial-container {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.testimonial-card {
  width: 100%;
  max-width: 22rem;
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
}

.testimonial-content {
  margin-bottom: 1rem;
}

.testimonial-quote {
  color: var(--primary);
  opacity: 0.2;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 0.875rem;
  color: var(--gray-700);
}

.testimonial-author {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.author-name {
  font-weight: 700;
  font-size: 1.125rem;
}

.author-title {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.clients-container {
  text-align: center;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 4rem;
}

.client-logo {
  width: 12rem;
  height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* FAQ Section */
.faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background-color: var(--white);
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.accordion-trigger:hover {
  background-color: var(--gray-50);
}

.accordion-icon {
  transition: transform 0.3s;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

/* Estilo para o conteúdo do dropdown */
.accordion-content {
  padding: 0 1.5rem 1rem;
  display: none;
  color: var(--gray-900); /* Define o texto como preto */
  background-color: var(--white); /* Garante que o fundo seja branco */
}

.accordion-content.active {
  display: block;
}

.accordion-content {
  padding: 0 1.5rem 1rem;
  display: none;
}

.accordion-content.active {
  display: block;
}

.accordion-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Contact Form */
.contact-container {
  max-width: 48rem;
  margin: 0 auto;
}

.contact-form-container {
  background-color: var(--gray-50);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.contact-form {
  width: 100%;
  min-height: 790px;
  border: none;
}

/* Footer */
.footer {
  background-color: #0c0414;
  color: var(--white);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  width: 180px;
  height: auto;
}

.footer-description {
  color: var(--gray-400);
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: var(--gray-400);
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--white);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-icon {
  color: var(--purple);
}

.footer-contact-link {
  color: var(--gray-400);
  transition: color 0.3s;
}

.footer-contact-link:hover {
  color: var(--white);
}

.footer-contact-text {
  color: var(--gray-400);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  color: var(--gray-400);
  transition: color 0.3s;
}

.footer-social-link:hover {
  color: var(--white);
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transition: background-color 0.3s;
}

.whatsapp-button:hover {
  background-color: #20bd5a;
}

.whatsapp-button svg {
  width: 2rem;
  height: 2rem;
  color: var(--white);
}


.tab-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
}
