/* =============================================== */
/* === ESTILOS GERAIS === */
/* =============================================== */
html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.brand-color {
  color: #d90f81;
  font-weight: bold;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: #6d4e85;
  color: #000;
  overflow-x: hidden;
  padding-top: 100px;
}
.page-content {
  background-color: #fff;
  position: relative;
  z-index: 1;
}
main {
  padding-top: 0;
}
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}
#loader.fade-out {
  opacity: 0;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 6px solid #d21e7d;
  border-top: 6px solid #2e165d;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.hidden {
  display: none !important;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ================================================= */
/* === HERO SECTION COM VÍDEO E ANIMAÇÕES   === */
/* ================================================= */
.hero {
  position: relative;
  height: calc(100vh - 100px);
  margin-top: -100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}
#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  z-index: 1;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 15, 25, 0.5);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInContent 1s ease-out 0.5s forwards;
  opacity: 0;
}
@keyframes fadeInContent {
  to {
    opacity: 1;
  }
}
.hero-logo {
  height: 65px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  animation: slideDown 1s ease-out 0.7s forwards;
  opacity: 0;
  transform: translateY(-20px);
}
.gradient-bar {
  height: 12px;
  width: 350px;
  background: linear-gradient(to right, #ec1f7d, #8a2be2);
  border-radius: 50px;
  margin-bottom: 25px;
  animation: scaleUp 1s cubic-bezier(0.25, 1, 0.5, 1) 0.9s forwards;
  transform: scaleX(0);
}
.hero-title {
  font-family: "Urbanist", sans-serif;
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  margin: 0;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  animation: slideUp 1s ease-out 1.1s forwards;
  opacity: 0;
  transform: translateY(20px);
}
.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 1rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
  animation: slideUp 1s ease-out 1.3s forwards;
  opacity: 0;
  transform: translateY(20px);
}
.hero-subtitle span {
  color: #d21e7d;
}
@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scaleUp {
  to {
    transform: scaleX(1);
  }
}

/* ================================================================= */
/* === ESTILOS CORRIGIDOS E REFINADOS PARA A SEÇÃO DE GESTÃO === */
/* ================================================================= */
.gestao-section {
  padding: 5rem 2rem;
  background: linear-gradient(to bottom, #fff, #fde9f2);
  display: flex;
  flex-direction: column;
  gap: 5rem;
  align-items: center;
  overflow-x: hidden;
}
.gestao-bloco {
  display: flex;
  align-items: center;
  max-width: 1300px;
  width: 100%;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}
.gestao-esquerda {
  flex-direction: row;
}
.gestao-direita {
  flex-direction: row-reverse;
}
.gestao-imagem,
.gestao-conteudo {
  transition: opacity 0.4s ease-in-out;
}
.gestao-imagem {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.gestao-imagem img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: 10px;
}
.gestao-conteudo {
  flex: 2;
  padding: 2rem;
  max-width: 600px;
}
.gestao-detalhe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
  background-color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.gestao-detalhe img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2rem;
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
}
.btn-fechar {
  position: absolute;
  top: 25px;
  right: 25px;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 24px;
  font-weight: bold;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-fechar:hover {
  background-color: #d21e7d;
  transform: scale(1.1) rotate(90deg);
}
.gestao-bloco.conteudo-revelado .gestao-imagem,
.gestao-bloco.conteudo-revelado .gestao-conteudo {
  opacity: 0;
}
.gestao-bloco.conteudo-revelado .gestao-detalhe {
  opacity: 1;
  pointer-events: all;
}
.gestao-bloco.conteudo-revelado .gestao-detalhe img {
  transform: scale(1);
  opacity: 1;
  transition-delay: 0.2s;
}
.gestao-conteudo h3 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #2e165d;
  line-height: 1.2;
}
.gestao-conteudo h3 span {
  display: block;
  font-size: 3rem;
  color: #000;
}
.pink-title {
  color: #d21e7d !important;
}
.gestao-conteudo p {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #333;
}

.workflow-img-section {
    width: 100%;
    background: linear-gradient(to bottom, #fde9f2, #af70a0);
    padding: 0;
    margin-top: -1px;
    overflow: hidden;
}

.workflow-img {
    width: 70%;
    height: auto;
    display: block;
    margin: 0 auto; /* Adicione esta linha para centralizar */
}
/* =============================================== */
/* === OUTRAS SEÇÕES === */
/* =============================================== */
.empresas-parceiras {
  background: linear-gradient(to bottom, #af70a0, #6d4e85);
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.titulo-parceiras {
  font-weight: 600;
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 50px;
}
.titulo-parceiras .destaque {
  color: #ffffff;
  font-weight: 700;
}
.slider-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.slider-track {
  display: flex;
  width: calc(250px * 8);
  animation: scroll 25s linear infinite;
  gap: 60px;
  align-items: center;
}
.slider-track img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.slider-track img:hover {
  transform: scale(1.1);
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.faq-section {
  background: #6d4e85;
  padding: 80px 20px;
  color: white;
  text-align: center;
  overflow: hidden;
}
.faq-title {
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: white;
  line-height: 1.2;
}
.faq-title span {
  color: white;
}
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: #1f1f2f;
  margin-bottom: 20px;
  border-radius: 40px 0 0 40px;
  overflow: hidden;
  transition: all 0.3s ease;
  padding: 0;
  text-align: left;
}
.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
}
.faq-question-text {
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
  color: white;
  flex: 1;
  padding-right: 15px;
}
.faq-toggle {
  background: #ff2f79;
  border: none;
  color: white;
  font-size: 1.3rem;
  font-weight: bold;
  width: 32px;
  height: 32px;
  border-radius: 5px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.3s ease;
  flex-shrink: 0;
}
.faq-toggle:hover {
  background: #e0276a;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  padding: 0 30px;
}
.faq-answer p {
  color: white;
  padding-bottom: 20px;
  margin: 0;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.6;
  background: #ff2f79;
  padding: 20px;
  border-radius: 0 0 0 20px;
}
.faq-item.open .faq-answer {
  max-height: 500px;
}
.faq-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-toggle .faq-icon {
  transform: rotate(45deg);
}
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-in-out;
}
.btn:hover,
.btn:focus {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 25px rgba(46, 22, 93, 0.4);
  filter: brightness(1.1);
  outline: none;
}
.btn-gestao {
  margin-top: 1rem;
  width: 250px;
  border-radius: 50px 50px 50px 0px;
}
.btn-gestao-op {
  background: linear-gradient(to right, #2e165d, #523a8f);
}
.btn-gestao-est {
  background: linear-gradient(to right, #d21e7d, #b12984);
}
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.whatsapp-float-button {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  animation: pulse-whatsapp 2.5s infinite;
  transition: all 0.3s ease;
}
.whatsapp-float-button i {
  font-size: 35px;
  color: white;
}
.whatsapp-float-button:hover {
  transform: scale(1.1);
  animation-play-state: paused;
  background-color: #128c7e;
}
@keyframes pulse-whatsapp {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* === HEADER E FOOTER (CÓDIGO COMPLETO) === */
.main-header {
  position: fixed;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 1050;
  background-color: rgba(17, 17, 17, 0.8);
  border-radius: 20px;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.header-inner-content {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  height: 40px;
  width: auto;
  transition: height 0.3s ease;
}
.desktop-nav {
  display: none;
}
.desktop-nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  color: #fff;
  font-size: 1rem;
}
.nav-link {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease, opacity 0.3s ease;
  padding: 0.25rem 0;
}
.nav-link:hover {
  color: #d90f81;
}
.nav-item-dropdown {
  position: relative;
  padding: 0.25rem 0;
}
.nav-item-dropdown .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-item-dropdown .dropdown-arrow {
  font-size: 0.7em;
  transition: transform 0.3s ease;
}
.nav-item-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  min-width: 280px;
  padding: 15px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
}
.dropdown-menu.show-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 15px;
  text-decoration: none;
  color: #fff;
  background-color: #2a2a2a;
  border-radius: 8px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.dropdown-item:hover {
  background-color: #3d3d3d;
  transform: translateY(-3px);
}
.dropdown-item img {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}
.dropdown-item h4 {
  font-family: "Urbanist", sans-serif;
  font-weight: 900;
  font-size: 1rem;
  color: #d90f81;
  margin-bottom: 3px;
  line-height: 1.2;
}
.dropdown-item p {
  font-size: 0.75rem;
  color: #ccc;
  line-height: 1.2;
}
.dropdown-external-icon {
  margin-left: auto;
  font-size: 0.8em;
  color: #d90f81;
  opacity: 0.7;
}
.mobile-menu-toggle {
  display: block;
  color: #fff;
  background: 0 0;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mobile-menu-icon {
  width: 1.5rem;
  height: 1.5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-nav-menu {
  max-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  background-color: rgba(17, 17, 17, 0.95);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  margin-top: 0.5rem;
  padding: 0;
  width: calc(100% - 2rem);
  margin-left: 1rem;
  margin-right: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.mobile-nav-menu.open {
  max-height: 80vh;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1.5rem;
  font-size: 1.125rem;
  color: #fff;
}
.mobile-nav-link {
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
  color: #fff;
  transition: color 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-nav-link:last-child {
  border-bottom: none;
}
.mobile-nav-link:hover {
  color: #d90f81;
}
.mobile-nav-item-dropdown .mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-right: 10px;
}
.mobile-nav-item-dropdown .dropdown-arrow {
  transition: transform 0.3s ease;
}
.mobile-nav-item-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}
.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-top: 5px;
  padding: 0;
}
.mobile-dropdown-menu.open-mobile {
  max-height: 400px;
  padding: 10px 0;
}
.mobile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  text-decoration: none;
  color: #fff;
  transition: background-color 0.2s ease;
  flex-wrap: wrap;
}
.mobile-dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.mobile-dropdown-item img {
  height: 30px;
  width: auto;
  flex-shrink: 0;
}
.mobile-dropdown-item span {
  font-size: 0.95rem;
  font-weight: 500;
}
.main-footer {
  position: relative;
  background-color: #111;
  padding: 1.5rem 1rem;
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
  overflow: hidden;
  color: #fff;
  z-index: 2;
}
.footer-container {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  align-items: center;
}
.footer-logo-wrapper {
  display: flex;
  justify-content: center;
}
.footer-logo {
  height: 50px;
  width: auto;
}
.footer-contact-info,
.footer-social-media {
  text-align: center;
}
.footer-heading {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.footer-text {
  color: #fff;
  font-size: 1rem;
}
.footer-text p {
  margin-bottom: 0.5rem;
}
.footer-link-contact {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}
.footer-link-contact:hover {
  color: #d90f81;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.social-link {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.social-link:hover {
  transform: scale(1.1);
}
.social-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-divider {
  border-top: 1px solid #4b5563;
  padding-top: 1.5rem;
}
.footer-copyright {
  text-align: center;
}
.footer-copyright p {
  color: #fff;
  font-size: 0.875rem;
}

/* ================== */
/* === MEDIA QUERIES === */
/* ================== */
@media (min-width: 992px) {
  .desktop-nav {
    display: block;
  }
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-nav-menu {
    display: none;
  }
}
@media (min-width: 768px) {
  .main-footer {
    padding: 2rem;
    border-top-left-radius: 150px;
    border-top-right-radius: 150px;
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .footer-logo-wrapper {
    justify-content: flex-start;
  }
  .footer-social-media {
    text-align: right;
  }
  .social-icons {
    justify-content: flex-end;
  }
  .footer-heading {
    font-size: 1.5rem;
  }
}
@media (max-width: 991px) {
  .hero-title {
    font-size: 6rem;
  }
  .gestao-conteudo h3 {
    font-size: 2rem;
  }
  .gestao-conteudo h3 span {
    font-size: 2.4rem;
  }
  .gestao-conteudo p {
    font-size: 1.1rem;
  }
}
@media (max-width: 768px) {
  .hero {
    height: 90vh;
  }
  .hero-title {
    font-size: 4.5rem;
  }
  .hero-subtitle {
    font-size: 1.5rem;
  }
  .gestao-bloco {
    flex-direction: column !important;
    text-align: center;
    gap: 0;
    padding: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }
  .gestao-direita,
  .gestao-esquerda {
    flex-direction: column !important;
  }
  .gestao-conteudo {
    padding: 2rem 1.5rem;
    max-width: 100%;
  }
  .gestao-direita .gestao-conteudo {
    order: 2;
  }
  .gestao-direita .gestao-imagem {
    order: 1;
  }
  .gestao-imagem {
    padding: 2rem 1.5rem 1rem 1.5rem;
  }
  .gestao-detalhe img {
    padding: 1rem;
  }
}
@media (max-width: 480px) {
  body {
    padding-top: 80px;
  }
  .hero-title {
    font-size: 3.5rem;
  }
  .hero-subtitle {
    font-size: 1.3rem;
  }
  .gestao-conteudo h3 {
    font-size: 1.8rem;
  }
  .gestao-conteudo h3 span {
    font-size: 2rem;
  }
  .gestao-conteudo p {
    font-size: 1rem;
  }
  .btn-gestao {
    width: 100%;
    max-width: 280px;
  }
}
