:root {
  --primary: #805BF1;
  --secondary: #1C1F26;
  --text: #FFFFFF;
  --darkBg: #1C1F26;
  --cardBg: #2A2D36;
}

body {
  font-family: 'Fira Sans', sans-serif;
  color: var(--text);
  background-color: var(--darkBg);
  margin: 0;
  padding: 0;
}

/* Navbar */
.navbar {
  background-color: transparent;
  padding: 1.5rem 20px;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: var(--secondary);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  height: 40px;
}

.nav-link {
  color: var(--text) !important;
  font-weight: 500;
  margin: 0 1rem;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 0.8;
}

/* Navbar Dropdown */
.dropdown-menu {
  display: block;
  background: var(--cardBg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 250px;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  color: var(--text) !important;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dropdown-item:hover {
  background: #f8f2f2cf;
  color: var(--primary) !important;
  transform: translateX(5px);
}

.dropdown-item i {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* Mobile Menu Toggle */
.navbar-toggler {
  width: 30px;
  height: 24px;
  position: relative;
  background: transparent;
  border: none;
  padding: 0;
  z-index: 1060;
  cursor: pointer;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.hamburger-lines {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 18px;
  width: 100%;
}

.hamburger-line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  transition: all 0.3s ease;
}

.navbar-toggler.active .hamburger-lines {
  height: 20px;
}

.navbar-toggler.active .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.navbar-toggler.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.navbar-toggler.active .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu */
@media (max-width: 991px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--cardBg);
    padding: 2rem;
    transition: all 0.3s ease;
    z-index: 1050;
    overflow-y: auto;
  }

  .navbar-collapse.show {
    right: 0;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  }

  .navbar-nav {
    margin-top: 2rem;
  }

  .nav-item {
    margin: 1rem 0;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .dropdown-menu {
    position: static !important;
    background: transparent;
    border: none;
    padding-left: 1rem;
    transform: none !important;
    margin-top: 0.5rem;
    display: none;
  }

  .dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .dropdown-item {
    padding: 0.5rem 1rem;
  }

  .language-selector {
    margin: 1rem 0;
  }

  .btn-primary {
    width: 100%;
    margin-top: 1rem;
  }

  .navbar-brand {
    position: relative;
    z-index: 1060;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1030;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: url('https://www.totvs.com/wp-content/uploads/2024/09/banner-home-institucional.jpg') center/cover;
  display: flex;
  align-items: center;
  position: relative;
  padding: 100px 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(28, 31, 38, 0.95), rgba(28, 31, 38, 0.8));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

.shake {
  animation: shake 0.6s ease-in-out;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.7rem;
  margin-top: 1.3rem;
  line-height: 1.1;
  letter-spacing: -1px;
  background: linear-gradient(90deg, #edb590, #d2aaa8 4.17%, #c099b8 9.9%, #af88c7 17.19%, #a67fcf 27.6%, #9d77d7 31.25%, #946edf 36.46%, #8b66e7 42.19%, #825def 56.77%, #7955f7 75%, #704cff 95.83%);
  -webkit-background-clip: text; /* Aplica o gradiente ao texto */
  -webkit-text-fill-color: transparent; /* Faz o preenchimento do texto transparente */
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* BotÃµes */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn i {
  width: 18px;
  height: 18px;
}

.btn-primary {
  /* background-color: var(--primary); */
  border: none;
  color: #ffffff;
  box-shadow: 0 2px 8px rgb(131 14 121 / 20%);
  /* background: linear-gradient(135deg, #6514f7, #6dc9f7); */
  /* background: linear-gradient(135deg, #7b5db1, #dcfffa, #248fc5); */
  /* background-image: linear-gradient(267deg, #6d4aff 59.5%, #f66aa1 93%, #f18f50); */
  /* background-image: linear-gradient(90deg, #27ddb1 -32.8%, #6d4aff); */
  background-image: linear-gradient(90deg, #edb590, #d2aaa8 4.17%, #c099b8 9.9%, #af88c7 17.19%, #a67fcf 27.6%, #9d77d7 31.25%, #946edf 36.46%, #8b66e7 42.19%, #825def 56.77%, #7955f7 75%, #704cff 95.83%);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgb(26 3 37 / 30%);
  background-color: var(--primary);
  color: var(--darkBg);
  text-decoration: none;
}

.btn-outline {
  border: 2px solid #916be2;
  color: #916be2;
  background: transparent;
  /* background: linear-gradient(90deg, #edb590, #d2aaa8 4.17%, #c099b8 9.9%, #af88c7 17.19%, #a67fcf 27.6%, #9d77d7 31.25%, #946edf 36.46%, #8b66e7 42.19%, #825def 56.77%, #7955f7 75%, #704cff 95.83%); */
  background-clip: border-box; /* Faz com que o gradiente se aplique Ã  borda */
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--darkBg);
  text-decoration: none;
  transform: translateY(-2px);
}

.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-item {
  background: rgba(42, 45, 54, 0.8);
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item i {
  color: var(--primary);
  width: 24px;
  height: 24px;
}

.feature-item p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

/* Clients Section */
.clients {
  padding: 5rem 0;
  background: var(--darkBg);
  overflow: hidden;
}

.clients h2 {
  /* color: var(--primary); */
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  background: linear-gradient(90deg, #edb590, #d2aaa8 4.17%, #c099b8 9.9%, #af88c7 17.19%, #a67fcf 27.6%, #9d77d7 31.25%, #946edf 36.46%, #8b66e7 42.19%, #825def 56.77%, #7955f7 75%, #704cff 95.83%);
  -webkit-background-clip: text; /* Aplica o gradiente ao texto */
  -webkit-text-fill-color: transparent; /* Faz o preenchimento do texto transparente */
}

.clients-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.clients-track {
  display: flex;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.clients-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.client-logo {
  background: var(--cardBg);
  padding: 2rem;
  border-radius: 12px;
  min-width: 200px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 242, 185, 0.15);
}

/* Stats Section */
.why-choose {
  padding: 5rem 0;
  background: var(--secondary);
}

.why-choose h2 {
  /* color: var(--primary); */
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  background: linear-gradient(90deg, #edb590, #d2aaa8 4.17%, #c099b8 9.9%, #af88c7 17.19%, #a67fcf 27.6%, #9d77d7 31.25%, #946edf 36.46%, #8b66e7 42.19%, #825def 56.77%, #7955f7 75%, #704cff 95.83%);
  -webkit-background-clip: text; /* Aplica o gradiente ao texto */
  -webkit-text-fill-color: transparent; /* Faz o preenchimento do texto transparente */
}

.stat-card {
  background: var(--cardBg);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
}

.stat-card i {
  color: var(--primary);
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
}

.stat-card h3 {
  /* color: var(--primary); */
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #edb590, #d2aaa8 4.17%, #c099b8 9.9%, #af88c7 17.19%, #a67fcf 27.6%, #9d77d7 31.25%, #946edf 36.46%, #8b66e7 42.19%, #825def 56.77%, #7955f7 75%, #704cff 95.83%);
  -webkit-background-clip: text; /* Aplica o gradiente ao texto */
  -webkit-text-fill-color: transparent; /* Faz o preenchimento do texto transparente */
}

.stat-card p {
  margin: 0;
  opacity: 0.9;
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background: var(--darkBg);
}

.testimonials h2 {
  /* color: var(--primary); */
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  background: linear-gradient(90deg, #edb590, #d2aaa8 4.17%, #c099b8 9.9%, #af88c7 17.19%, #a67fcf 27.6%, #9d77d7 31.25%, #946edf 36.46%, #8b66e7 42.19%, #825def 56.77%, #7955f7 75%, #704cff 95.83%);
  -webkit-background-clip: text; /* Aplica o gradiente ao texto */
  -webkit-text-fill-color: transparent; /* Faz o preenchimento do texto transparente */
}

.testimonial-card {
  background: var(--cardBg);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.video-placeholder {
  background: #000;
  padding-top: 56.25%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 1.5rem;
}

.testimonial-info {
  padding: 1.5rem;
}

.testimonial-info h4 {
  /* color: var(--primary); */
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #edb590, #d2aaa8 4.17%, #c099b8 9.9%, #af88c7 17.19%, #a67fcf 27.6%, #9d77d7 31.25%, #946edf 36.46%, #8b66e7 42.19%, #825def 56.77%, #7955f7 75%, #704cff 95.83%);
  -webkit-background-clip: text; /* Aplica o gradiente ao texto */
  -webkit-text-fill-color: transparent; /* Faz o preenchimento do texto transparente */
}

.testimonial-info .position,
.testimonial-info .company {
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.testimonial-info .quote {
  margin-top: 1rem;
  font-style: italic;
  opacity: 0.9;
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background: var(--darkBg);
}

.faq h2 {
  /* color: var(--primary); */
  margin-bottom: 3rem;
  font-size: 2.5rem;
  background: linear-gradient(90deg, #edb590, #d2aaa8 4.17%, #c099b8 9.9%, #af88c7 17.19%, #a67fcf 27.6%, #9d77d7 31.25%, #946edf 36.46%, #8b66e7 42.19%, #825def 56.77%, #7955f7 75%, #704cff 95.83%);
  -webkit-background-clip: text; /* Aplica o gradiente ao texto */
  -webkit-text-fill-color: transparent; /* Faz o preenchimento do texto transparente */
}

.faq-item {
  background: var(--cardBg);
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateX(10px);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question i {
  color: var(--primary);
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(45deg);
}

.faq-image img {
  border-radius: 12px;
  width: 100%;
  height: auto;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: var(--darkBg);
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-header h2 {
  /* color: var(--primary); */
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #edb590, #d2aaa8 4.17%, #c099b8 9.9%, #af88c7 17.19%, #a67fcf 27.6%, #9d77d7 31.25%, #946edf 36.46%, #8b66e7 42.19%, #825def 56.77%, #7955f7 75%, #704cff 95.83%);
  -webkit-background-clip: text; /* Aplica o gradiente ao texto */
  -webkit-text-fill-color: transparent; /* Faz o preenchimento do texto transparente */
}

.contact-header p {
  color: var(--text);
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.contact-card {
  background: var(--cardBg);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-card:hover {
  transform: translateY(-10px);
}

.contact-card h4 {
  /* color: var(--primary); */
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(90deg, #edb590, #d2aaa8 4.17%, #c099b8 9.9%, #af88c7 17.19%, #a67fcf 27.6%, #9d77d7 31.25%, #946edf 36.46%, #8b66e7 42.19%, #825def 56.77%, #7955f7 75%, #704cff 95.83%);
  -webkit-background-clip: text; /* Aplica o gradiente ao texto */
  -webkit-text-fill-color: transparent; /* Faz o preenchimento do texto transparente */
}

.contact-card h4 i {
  stroke: var(--primary);
  width: 24px;
  height: 24px;
}

.contact-card p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-card p i {
  stroke: white;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Footer */
footer {
  background: var(--secondary);
  padding: 4rem 0 2rem;
}

.footer-logo {
  height: 40px;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  color: var(--text);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.social-link:hover {
  opacity: 1;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links h5 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--text);
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.3s ease;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.privacy-link {
  color: var(--text);
  opacity: 0.8;
  text-decoration: none;
}

/* Language Selector */
.language-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.language-selector:hover {
  opacity: 1;
}

.language-selector .nav-link {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  color: var(--text);
}

.language-divider {
  color: var(--text);
  opacity: 0.5;
}

/* Floating Contact Button */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(145deg, var(--cardBg), var(--secondary));
  border-radius: 60px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-contact:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 242, 185, 0.15);
  border-color: rgba(0, 242, 185, 0.3);
}

/* Indicador de Online */
.online-indicator {
  position: absolute;
  bottom: 8px;
  left: 30px;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  /* padding: 2px; */
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px #252830 solid;
}
.online-dot {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #00ff00, #00cc00);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
  }
}

/* Avatar da pessoa */
.contact-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

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

.contact-text p {
  margin: 0;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.2;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .stat-card {
    margin-bottom: 1rem;
  }


  /* Estiliza o ícone de fechar */
/* Fechar botão */
.close-icon {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.close-icon i {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.close-icon:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.close-icon:hover i {
  color: rgba(255, 255, 255, 0.9);
}
/* Ajusta o layout do botão */
.floating-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
}
  .contact-avatar {
    width: 35px;
    height: 35px;
  }

  .contact-text p {
    font-size: 0.8rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

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

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .feature-item {
    padding: 1rem;
  }

  .floating-contact {
    width: calc(100% - 40px);
    justify-content: center;
  }
}