/* Estilos personalizados para Metta Assessoria - Inspirado em Shadcn UI */

:root {
  --background: #060d14;
  --foreground: #f8fafc;
  --metta-blue: #1e88e5;
  --metta-cyan: #00b8d4;
  --metta-teal: #00bfa5;
  --metta-orange: #f97316;
  /* Nova cor de destaque */
  --metta-green: #00c853;
  --card: #0a1622;
  --card-foreground: #f1f5f9;
  --border: #1e3a5f;
  --input: #0c1d2a;
  --ring: var(--metta-blue);
  --radius: 0.5rem;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background elegante e minimalista */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 10% 20%, rgba(30, 136, 229, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(0, 191, 165, 0.05) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

/* Grid de fundo sutil */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(30, 41, 59, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 41, 59, 0.05) 1px, transparent 1px);
  z-index: -1;
  pointer-events: none;
}

/* Navbar mais limpa e moderna */
header {
  background: linear-gradient(90deg,
      rgba(23, 110, 186, 0.405) 0%,
      rgba(38, 140, 230, 0.286) 25%,
      rgba(4, 9, 17, 0.75) 70%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 136, 229, 0.15);
  transition: background-color 0.3s ease;
  height: 60px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  position: relative;
}

/* Logo com melhor contraste */
header .logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Remover efeito de iluminação diretamente atrás do logo */
header .logo-container::before {
  display: none;
}

header img {
  height: 85px;
  position: relative;
  z-index: 2;
  /* Usando apenas filtros para criar um contorno que siga a forma do logo */
  filter: brightness(3) drop-shadow(0 0 1px white) drop-shadow(0 0 1px white);
  -webkit-filter: brightness(3) drop-shadow(0 0 1px white) drop-shadow(0 0 1px white);
  /* Remover outline e outros elementos que criam o quadrado */
  border: none;
  outline: none;
  padding: 0;
  background: none;
}

/* Header Mobile */
@media (max-width: 768px) {
  header {
    height: 60px;
    justify-content: center;
    background: radial-gradient(circle at center,
        rgba(30, 136, 229, 0.25) 0%,
        rgba(10, 20, 40, 0.75) 60%);
  }

  header img {
    height: 75px;
  }

  /* Remover ajuste do clarão para mobile */
  header .logo-container::before {
    display: none;
  }
}

/* Melhorias na navegação */
nav ul {
  background-color: transparent;
  border-radius: 24px;
  padding: 4px 16px;
}

nav ul li a {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #20d9ff;
}

nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background-color: #20d9ff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

nav ul li a:hover::after {
  transform: scaleX(1);
}

/* Botão CTA na navbar */
.btn-primary {
  background: #1a85e9;
  box-shadow: 0 2px 12px rgba(26, 133, 233, 0.3);
}

.logo-container img {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Hero section com contraste melhorado */
.hero-section {
  background: linear-gradient(150deg, #091728 0%, #060d14 75%);
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 6rem !important;
  /* Mais espaço para transição */
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 2rem;
    padding-bottom: 4rem !important;
  }
}

@media (min-width: 1280px) {
  .hero-section {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
  }
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at top right, rgba(30, 136, 229, 0.12), transparent 70%),
    radial-gradient(circle at bottom left, rgba(0, 191, 165, 0.1), transparent 60%);
  pointer-events: none;
}

.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

/* Melhorar legibilidade dos textos */
.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  background-clip: text;
  letter-spacing: -0.025em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

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

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Gradient de texto com melhor contraste */
.text-gradient {
  background: linear-gradient(90deg, #00b8d4, #00bfa5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
  text-shadow: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
  max-width: 800px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }
}

/* Destaques de cores com maior contraste */
.text-highlight-blue {
  color: #39c2ff;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.text-highlight-teal {
  color: #26c6da;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.text-highlight-orange {
  color: #ff9f43;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Formulário com maior destaque */
.hero-form-container {
  background-color: rgba(10, 22, 34, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(30, 136, 229, 0.25);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
  border-radius: 0.75rem;
  padding: 1rem;
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

@media (min-width: 640px) {
  .hero-form-container {
    padding: 1.25rem;
    max-width: 450px;
  }
}

@media (min-width: 1024px) {
  .hero-form-container {
    padding: 1.5rem;
    max-width: 500px;
  }
}

.hero-form-title {
  color: #f8fafc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  font-weight: 700;
}

.form-step {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--metta-blue);
  color: white;
  border-radius: 50%;
  font-weight: 600;
  margin-right: 0.5rem;
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .step-number {
    width: 1.75rem;
    height: 1.75rem;
    margin-right: 0.75rem;
    font-size: 0.875rem;
  }
}

.form-step .step-text {
  color: #f8fafc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  font-weight: 600;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .step-text {
    font-size: 1rem;
  }
}

/* Partículas sutis para o background do hero */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.15);
  pointer-events: none;
  opacity: 0;
  animation: float 15s infinite ease-in-out;
  will-change: transform, opacity;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  25% {
    opacity: 0.8;
  }

  75% {
    opacity: 0.5;
  }

  50% {
    transform: translateY(-30px) translateX(20px);
    opacity: 1;
  }
}

/* Elementos de UI modernos inspirados em Shadcn */
.shadow-glow {
  box-shadow: 0 0 35px rgba(14, 165, 233, 0.15);
}

.card {
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease;
  will-change: transform, box-shadow;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.3);
}

/* Utilidades para gradientes */
.gradient-blue {
  background: linear-gradient(90deg, var(--metta-blue), var(--metta-cyan));
  position: relative;
  overflow: hidden;
}

.gradient-blue::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(0deg,
      transparent,
      rgba(255, 255, 255, 0.08),
      transparent);
  transform: rotate(30deg);
  animation: shine 6s linear infinite;
  pointer-events: none;
}

@keyframes shine {
  from {
    transform: translateX(-100%) rotate(30deg);
  }

  to {
    transform: translateX(100%) rotate(30deg);
  }
}

.gradient-blue-hover:hover {
  background: linear-gradient(90deg, var(--metta-cyan), var(--metta-blue));
}

/* Botão Call-to-Action mais destacado */
.cta-button {
  background: linear-gradient(90deg, #1a85e9, #0270bd);
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.5), 0 0 20px rgba(30, 136, 229, 0.3);
  position: relative;
  overflow: hidden;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 136, 229, 0.6), 0 0 25px rgba(30, 136, 229, 0.4);
  background: linear-gradient(90deg, #2196f3, #0288d1);
}

.cta-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(0deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transform: rotate(30deg);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.cta-button:hover::after {
  opacity: 1;
  animation: shine 1.5s linear;
}

/* Elementos de formulário */
.input {
  background-color: rgba(12, 29, 42, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(30, 58, 95, 0.8);
  border-radius: var(--radius);
  color: #f8fafc;
  padding: 0.5rem 0.75rem;
  width: 100%;
  transition: border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.2s ease;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .input {
    padding: 0.75rem 1rem;
  }
}

.input::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.input-group label {
  color: #94a3b8;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Botão de sucesso (verde) com maior contraste */
.btn-success {
  background-color: #1e88e5;
  color: white;
  border: 1px solid rgba(30, 136, 229, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  padding: 0.75rem 1.5rem;
}

.btn-success:hover {
  background-color: #1976d2;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(30, 136, 229, 0.4);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow;
}

.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(0deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent);
  transform: rotate(30deg);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::after {
  opacity: 1;
  animation: shine 1.5s linear;
}

.btn-primary {
  background: var(--metta-blue);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
}

.btn-primary:hover {
  background: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--metta-blue);
  border: 1px solid var(--metta-blue);
  padding: 0.75rem 1.5rem;
}

.btn-outline:hover {
  background: rgba(14, 165, 233, 0.1);
  transform: translateY(-1px);
}

/* Badges e tags */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background-color: rgba(14, 165, 233, 0.15);
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.2);
}

.badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent);
  animation: badge-shine 3s infinite;
}

@keyframes badge-shine {
  0% {
    left: -100%;
  }

  20%,
  100% {
    left: 100%;
  }
}

.badge-blue {
  background-color: rgba(14, 165, 233, 0.15);
  color: #29d1ff;
  border: 1px solid rgba(14, 165, 233, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.badge-teal {
  background-color: rgba(45, 212, 191, 0.15);
  color: #20e9ca;
  border: 1px solid rgba(45, 212, 191, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Imagens e avatares */
.avatar {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(14, 165, 233, 0.3);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.avatar:hover {
  transform: scale(1.05);
  border-color: rgba(14, 165, 233, 0.6);
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
}

/* Seções */
.section {
  position: relative;
  overflow: hidden;
}

.section-glow::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--metta-blue), transparent);
  top: 0;
  left: 0;
  opacity: 0.6;
}

/* Animações de scroll melhoradas */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.animate-on-scroll.animate-fade-up {
  transform: translateY(30px);
}

.animate-on-scroll.animate-fade-down {
  transform: translateY(-30px);
}

.animate-on-scroll.animate-fade-left {
  transform: translateX(30px);
}

.animate-on-scroll.animate-fade-right {
  transform: translateX(-30px);
}

.animate-on-scroll.animate-zoom {
  transform: scale(0.95);
}

.animate-on-scroll.animate-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Diferentes tempos de animação para criar efeito cascata */
.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

.delay-500 {
  transition-delay: 500ms;
}

/* Animação de pulsação para elementos de destaque */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(14, 165, 233, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0);
  }
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Animação para textos de destaque */
@keyframes shimmer {
  0% {
    background-position: -100% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.animate-shimmer {
  background: linear-gradient(90deg,
      rgba(45, 212, 191, 0.2),
      rgba(14, 165, 233, 0.5),
      rgba(45, 212, 191, 0.2));
  background-size: 200% 200%;
  /* Aumentada a altura do background para 200% */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s infinite;
  display: inline-block;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 184, 212, 0.3);
}

/* Efeito de paralaxe para elementos conforme rola a página */
.parallax {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Efeito de texto flutuante */
@keyframes float-text {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.float-text {
  animation: float-text 3s ease-in-out infinite;
}

/* Efeito para destacar elementos em foco */
.highlight-on-view {
  transition: filter 0.5s ease, transform 0.5s ease;
  will-change: filter, transform;
}

.highlight-on-view.highlight-active {
  filter: brightness(1.1);
  transform: scale(1.02);
}

/* Hover effects mais sofisticados para cards */
.hover-lift {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px -10px rgba(34, 211, 238, 0.2);
}

/* Efeito de "scale" em seções */
.scale-on-scroll {
  transform: scale(0.98);
  opacity: 0.8;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.scale-on-scroll.scale-active {
  transform: scale(1);
  opacity: 1;
}

/* Cards de serviço aprimorados */
.service-card {
  border: 1px solid rgba(34, 211, 238, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.service-card:hover {
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 10px 25px -5px rgba(34, 211, 238, 0.15);
  transform: translateY(-10px);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon {
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(34, 211, 238, 0.3);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
}

/* Carrossel de depoimentos - CORREÇÃO DE OVERFLOW */
.testimonial-carousel {
  position: relative;
  overflow-x: hidden;
  /* Adicionado para corrigir rolagem horizontal */
  overflow-y: visible !important;
  /* Manter visible para o y se necessário para sombras ou elementos expandidos */
  padding: 2rem 0;
  /* Adicionar padding para acomodar expansão */
}

.testimonial-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  position: relative;
  z-index: 1;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 1rem;
  position: relative;
}

/* Adicionar container wrapper para o card de depoimento */
.testimonial-slide .card {
  position: relative;
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-slide .card:hover {
  z-index: 10 !important;
  /* Garantir que fique acima de outros elementos */
  transform: translateY(-10px) scale(1.02);
}

/* Container pai da seção de depoimentos */
#depoimentos {
  position: relative;
  overflow: visible !important;
  /* Mantido para o carrossel */
  z-index: 1;
  /* padding-bottom: 8rem; // Removido para nova abordagem de transição */
}

/* Garantir que os controles não interfiram */
.carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  position: relative;
  z-index: 5;
}

.carousel-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: rgba(100, 116, 139, 0.5);
  margin: 0 0.25rem;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.carousel-dot.active {
  background-color: var(--metta-cyan);
  transform: scale(1.2);
}

/* Setas do carrossel - ajustes de posicionamento */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(15, 23, 42, 0.85);
  /* Voltando para o fundo escuro semi-transparente */
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(34, 211, 238, 0.25);
  /* Voltando para a borda azulada */
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
  opacity: 1;
}

.carousel-arrow:hover {
  background-color: rgba(15, 23, 42, 1);
  /* Voltando para o fundo escuro opaco no hover */
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
  z-index: 21;
  /* Garantir que fique acima ao hover */
}

.carousel-arrow.prev {
  left: 1rem;
  /* Ajustado de -1rem para dentro do container */
}

.carousel-arrow.next {
  right: 1rem;
  /* Ajustado de -1rem para dentro do container */
}

/* Wrapper adicional para conter o overflow dos slides */
.testimonial-carousel {
  margin: 0 1rem;
  /* Reduzir margem lateral para dar mais espaço ao conteúdo */
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .testimonial-carousel {
    margin: 0 0.5rem;
    /* Reduzir ainda mais a margem em mobile */
  }

  .carousel-arrow {
    width: 2rem;
    height: 2rem;
  }

  .carousel-arrow.prev {
    left: 0.5rem;
    /* Ajuste para mobile */
  }

  .carousel-arrow.next {
    right: 0.5rem;
    /* Ajuste para mobile */
  }
}

/* Badge com maior contraste */
.badge-glow {
  background: rgba(30, 136, 229, 0.15);
  border: 1px solid rgba(30, 136, 229, 0.4);
  color: #29b6f6;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.badge-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg);
  animation: badge-pulse 4s ease-in-out infinite;
}

@keyframes badge-pulse {
  0% {
    transform: rotate(30deg) translateX(-100%);
  }

  100% {
    transform: rotate(30deg) translateX(100%);
  }
}

/* Status do formulário */
.form-status {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-green 2s infinite;
}

.form-status::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  background-color: #10b981;
  border-radius: 50%;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Estatísticas com efeito glassmorphism */
.glassmorphism {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(34, 211, 238, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.glassmorphism:hover {
  border-color: rgba(34, 211, 238, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(34, 211, 238, 0.15);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(10, 22, 34, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(30, 136, 229, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.stat-item .text-metta-teal {
  color: #2ae9c8 !important;
  text-shadow: 0 0 10px rgba(0, 191, 165, 0.3);
}

/* Input groups com labels */
.input-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 0.75rem;
}

.input-group:last-of-type {
  margin-bottom: 0;
}

.input-group label {
  font-size: 0.75rem;
  color: var(--metta-cyan);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

/* Animação de pulso para CTA */
.pulse-animation {
  animation: button-pulse 2s infinite;
}

@keyframes button-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(45, 212, 191, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0);
  }
}

.input:focus {
  outline: none;
  border-color: #1e88e5;
  box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.2);
  transform: translateY(-1px);
}

/* Estilos para a seção de Gestão de Performance */
.performance-section {
  background-color: var(--background);
  position: relative;
  z-index: 1;
}

.bg-gradient-radial {
  background: radial-gradient(circle at center, rgba(30, 136, 229, 0.07) 0%, transparent 70%);
}

.performance-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 280px;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid rgba(30, 136, 229, 0.2);
}

.performance-card:hover {
  border-color: rgba(30, 136, 229, 0.5);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -20px rgba(0, 184, 212, 0.3);
}

/* Estilos para o gráfico e ondas */
.performance-chart {
  position: relative;
  background: linear-gradient(180deg, rgba(10, 22, 34, 0) 0%, rgba(10, 22, 34, 0.8) 100%);
  border-radius: 8px;
  overflow: hidden;
}

.chart-wave {
  width: 100%;
  height: 100px;
  background: linear-gradient(90deg, transparent, rgba(30, 136, 229, 0.2), transparent);
  background-size: 200% 100%;
  position: relative;
  transform: translateY(30px);
}

.chart-wave::before,
.chart-wave::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: repeat-x;
}

.chart-wave::before {
  bottom: 0;
  height: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%231e88e5' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 1200px 100%;
  animation: waveAnimation 15s linear infinite;
}

.chart-wave::after {
  bottom: 0;
  height: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%2300b8d4' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 1200px 100%;
  animation: waveAnimation 10s linear reverse infinite;
}

@keyframes waveAnimation {
  0% {
    background-position-x: 0;
  }

  100% {
    background-position-x: 1200px;
  }
}

.chart-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--metta-cyan);
  box-shadow: 0 0 0 4px rgba(0, 184, 212, 0.2), 0 0 20px rgba(0, 184, 212, 0.4);
  z-index: 10;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chart-dot:hover {
  transform: scale(1.3) !important;
  box-shadow: 0 0 0 4px rgba(0, 184, 212, 0.3), 0 0 30px rgba(0, 184, 212, 0.6);
}

.chart-dot-1 {
  top: 30%;
  left: 20%;
}

.chart-dot-2 {
  top: 15%;
  left: 50%;
}

.chart-dot-3 {
  top: 20%;
  left: 75%;
}

.chart-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(10, 22, 34, 0.95);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin-bottom: 8px;
  border: 1px solid rgba(0, 184, 212, 0.3);
}

.chart-dot:hover .chart-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

/* Mensagens de chat */
.chat-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(10, 22, 34, 0) 0%, rgba(10, 22, 34, 0.5) 100%);
}

.chat-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 90%;
  animation-fill-mode: both;
}

.chat-message.incoming {
  align-self: flex-start;
  opacity: 0;
  transform: translateX(-20px);
}

.animate-message-in {
  animation: messageIn 0.5s ease forwards;
}

@keyframes messageIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.message-bubble {
  background-color: rgba(30, 136, 229, 0.15);
  padding: 8px 12px;
  border-radius: 12px;
  border-top-left-radius: 2px;
  color: #f8fafc;
  font-size: 14px;
  max-width: 100%;
  word-break: break-word;
  border: 1px solid rgba(30, 136, 229, 0.2);
}

.performance-stats,
.conversion-stats {
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  animation: statsFloat 3s ease-in-out infinite;
}

@keyframes statsFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* Animação para os containers */
@keyframes containerFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.performance-chart,
.chat-container {
  position: relative;
  animation: containerFloat 8s ease-in-out infinite;
  will-change: transform;
}

/* ====== Laboratório de Resultados Section ====== */
.analytics-lab-section {
  background-color: var(--background);
  position: relative;
  z-index: 1;
}

.bg-dots-pattern {
  background-image: radial-gradient(rgba(30, 136, 229, 0.15) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.3;
}

.analytics-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 280px;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid rgba(30, 136, 229, 0.2);
}

.analytics-card:hover {
  border-color: rgba(30, 136, 229, 0.5);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -20px rgba(0, 184, 212, 0.3);
}

/* Métricas e painel de análise */
.metrics-display {
  position: relative;
  background: linear-gradient(180deg, rgba(10, 22, 34, 0) 0%, rgba(10, 22, 34, 0.6) 100%);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px;
  z-index: 5;
  position: relative;
}

.metric-item {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(30, 136, 229, 0.2);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 184, 212, 0.2);
  border-color: rgba(0, 184, 212, 0.4);
}

.metric-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric-detail {
  display: flex;
  flex-direction: column;
}

/* DNA Helix - Efeito de laboratório */
.dna-helix {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  overflow: hidden;
  opacity: 0.2;
  z-index: 1;
}

.dna-strand {
  position: absolute;
  width: 100%;
  height: 200%;
  background-image: repeating-linear-gradient(0deg,
      transparent,
      rgba(30, 136, 229, 0.3) 10px,
      transparent 20px);
  animation: dnaMove 15s linear infinite;
}

.dna-strand::before,
.dna-strand::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

.dna-strand::before {
  background-image: repeating-linear-gradient(90deg,
      transparent,
      rgba(0, 184, 212, 0.3) 10px,
      transparent 20px);
}

.dna-strand::after {
  background-image: repeating-linear-gradient(-45deg,
      transparent,
      rgba(0, 191, 165, 0.2) 5px,
      transparent 10px);
}

@keyframes dnaMove {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* Blueprint estratégico */
.strategy-blueprint {
  position: relative;
  background: linear-gradient(180deg, rgba(10, 22, 34, 0) 0%, rgba(10, 22, 34, 0.6) 100%);
  border-radius: 8px;
  overflow: hidden;
  padding: 10px;
}

.blueprint-grid {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.blueprint-connection-lines {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at center, rgba(30, 136, 229, 0.1) 0, transparent 1px),
    linear-gradient(to right, rgba(30, 136, 229, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 136, 229, 0.05) 1px, transparent 1px);
  background-size: 20px 20px, 20px 20px, 20px 20px;
  opacity: 0.5;
}

.blueprint-node {
  position: absolute;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(0, 184, 212, 0.3);
  border-radius: 8px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #f8fafc;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.blueprint-node:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0, 184, 212, 0.3);
  border-color: rgba(0, 184, 212, 0.6);
}

.blueprint-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--metta-cyan);
  flex-shrink: 0;
}

/* Posicionamento ajustado dos nós para evitar sobreposição */
.blueprint-node-1 {
  top: 15%;
  left: 10%;
}

.blueprint-node-2 {
  top: 30%;
  left: 40%;
  transform: translateX(-50%);
}

.blueprint-node-3 {
  top: 30%;
  right: 10%;
}

.blueprint-node-4 {
  top: 45%;
  left: 15%;
}

.blueprint-node-5 {
  top: 45%;
  right: 15%;
}

/* Ajuste para especialidades na parte inferior */
.specialties-pills {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  z-index: 3;
}

.specialty-pill {
  background: rgba(30, 136, 229, 0.15);
  border: 1px solid rgba(30, 136, 229, 0.3);
  border-radius: 100px;
  padding: 3px 8px;
  font-size: 10px;
  color: var(--metta-cyan);
  white-space: nowrap;
  margin-bottom: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Insight tag */
.insight-tag {
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Vantagens cards */
.advantage-card {
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 136, 229, 0.5);
}

/* Animação de pulso lenta */
.animate-pulse-slow {
  animation: pulseSlow 3s ease-in-out infinite;
}

@keyframes pulseSlow {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(0.97);
  }
}

/* Melhoria de contraste para textos coloridos em títulos */
.text-metta-cyan {
  color: #20d9ff !important;
  text-shadow: 0 0 10px rgba(0, 184, 212, 0.3);
}

.text-metta-teal {
  color: #2ae9c8 !important;
  text-shadow: 0 0 10px rgba(0, 191, 165, 0.3);
}

/* Regras específicas para elementos que devem manter cor cyan */
#cases .text-metta-cyan,
.text-metta-cyan.animate-shimmer,
.service-card h3.text-metta-cyan,
.service-icon .text-metta-cyan,
span.text-metta-cyan {
  color: #20d9ff !important;
  text-shadow: 0 0 10px rgba(0, 184, 212, 0.3) !important;
}

/* Garantir que os elementos destacados mantenham a cor correta */
span.font-bold.text-metta-cyan {
  color: #20d9ff !important;
  text-shadow: 0 0 8px rgba(0, 184, 212, 0.4) !important;
}

/* Ajuste para textos destacados em "Sobre nós" */
.text-highlight-blue {
  color: #39c2ff;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Ajustes para textos nos cards de serviços */
.service-card h3 {
  color: #2ae9c8;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Contraste melhorado para textos em cards */
.card p {
  color: #e0e7ff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Melhorando visibilidade da logo - abordagem alternativa */
header .logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

header img {
  height: 38px;
  /* Filtros que transformam o logo azul em branco/claro para máximo contraste */
  filter: brightness(3) contrast(1.5) invert(0.9) hue-rotate(180deg) drop-shadow(0 0 4px rgba(255, 255, 255, 0.4));
  -webkit-filter: brightness(3) contrast(1.5) invert(0.9) hue-rotate(180deg) drop-shadow(0 0 4px rgba(255, 255, 255, 0.4));
  position: relative;
  z-index: 2;
  /* Removendo a borda anterior e o border-radius */
  border: none;
  border-radius: 0;
  /* Adicionando uma sombra (outline) que segue o contorno do logo */
  -webkit-filter: brightness(3) contrast(1.5) invert(0.9) hue-rotate(180deg) drop-shadow(0 0 1px white);
  filter: brightness(3) contrast(1.5) invert(0.9) hue-rotate(180deg) drop-shadow(0 0 1px white);
}

/* Melhorar contraste nos depoimentos */
.testimonial-slide h3 {
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ====== TRANSFORMAÇÃO VISUAL EXPRESSIVA - CASES DE SUCESSO ====== */

/* Cases de Sucesso - Design completamente renovado */
#cases {
  background: linear-gradient(135deg,
      #0a0e1a 0%,
      #1a1f3a 25%,
      #0f1828 50%,
      #1e2a4a 75%,
      #0a0e1a 100%) !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 6rem 1rem !important;
}

/* Efeito de fundo com partículas animadas e grid futurista */
#cases::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 229, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(45, 255, 200, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(30, 136, 229, 0.08) 0%, transparent 60%);
  z-index: 0;
  animation: backgroundPulse 8s ease-in-out infinite;
}

#cases::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(45deg, rgba(0, 229, 255, 0.03) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0, 229, 255, 0.03) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(45, 255, 200, 0.02) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(45, 255, 200, 0.02) 75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  z-index: 1;
  opacity: 0.4;
  animation: gridMove 20s linear infinite;
}

@keyframes backgroundPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(60px, 60px);
  }
}

/* Container dos cards com layout mais dinâmico */
#cases .flex-col.md\\:flex-row {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
  gap: 3rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  perspective: 1000px !important;
}

/* Cards com design futurista e efeitos 3D */
#cases .card {
  background: linear-gradient(145deg,
      rgba(10, 25, 45, 0.95) 0%,
      rgba(15, 30, 55, 0.98) 50%,
      rgba(8, 20, 40, 0.95) 100%) !important;
  border: 2px solid transparent !important;
  background-clip: padding-box !important;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(0, 229, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 229, 255, 0.2) !important;
  border-radius: 20px !important;
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(20px) !important;
  transform: rotateY(5deg) rotateX(2deg) !important;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1) !important;
}

/* Efeito de borda animada nos cards */
#cases .card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg,
      #00e5ff 0%,
      #2dffc8 25%,
      #00e5ff 50%,
      #1e88e5 75%,
      #00e5ff 100%);
  border-radius: 20px;
  z-index: -1;
  background-size: 400% 400%;
  animation: borderGlow 4s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#cases .card:hover::before {
  opacity: 1;
}

@keyframes borderGlow {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

#cases .card:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-15px) scale(1.02) !important;
  box-shadow:
    0 35px 70px -15px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(0, 229, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 229, 255, 0.4) !important;
}

/* Seção do avatar com design holográfico */
#cases .gradient-blue {
  background: linear-gradient(135deg,
      #00e5ff 0%,
      #2dffc8 25%,
      #1e88e5 50%,
      #00bcd4 75%,
      #00e5ff 100%) !important;
  background-size: 300% 300% !important;
  animation: holographicShift 6s ease-in-out infinite !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 16px 16px 0 0 !important;
  height: 160px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@keyframes holographicShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Avatar com efeito neon e pulsação */
#cases .avatar {
  border: 4px solid rgba(255, 255, 255, 1) !important;
  box-shadow:
    0 0 0 3px rgba(0, 229, 255, 0.6),
    0 0 0 6px rgba(0, 229, 255, 0.3),
    0 0 30px rgba(0, 229, 255, 0.5),
    inset 0 0 20px rgba(0, 229, 255, 0.1) !important;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
  animation: avatarPulse 3s ease-in-out infinite !important;
  width: 90px !important;
  height: 90px !important;
  position: relative !important;
  z-index: 10 !important;
}

@keyframes avatarPulse {

  0%,
  100% {
    box-shadow:
      0 0 0 3px rgba(0, 229, 255, 0.6),
      0 0 0 6px rgba(0, 229, 255, 0.3),
      0 0 30px rgba(0, 229, 255, 0.5);
  }

  50% {
    box-shadow:
      0 0 0 5px rgba(0, 229, 255, 0.8),
      0 0 0 10px rgba(0, 229, 255, 0.4),
      0 0 50px rgba(0, 229, 255, 0.7);
  }
}

#cases .avatar:hover {
  transform: scale(1.1) rotate(5deg) !important;
  box-shadow:
    0 0 0 5px rgba(45, 255, 200, 0.8),
    0 0 0 10px rgba(45, 255, 200, 0.4),
    0 0 60px rgba(45, 255, 200, 0.8) !important;
}

/* Conteúdo dos cards com tipografia futurista */
#cases .card .p-6 {
  padding: 2rem !important;
  position: relative !important;
  z-index: 2 !important;
  background: linear-gradient(180deg,
      rgba(10, 25, 45, 0.1) 0%,
      rgba(15, 30, 55, 0.3) 100%) !important;
  border-radius: 0 0 16px 16px !important;
}

/* Títulos com efeito neon */
#cases .card h3 {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1.25rem !important;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.5),
    0 0 20px rgba(0, 229, 255, 0.3),
    0 2px 4px rgba(0, 0, 0, 0.5) !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 0.75rem !important;
  position: relative !important;
  z-index: 2 !important;
  animation: textGlow 4s ease-in-out infinite !important;
}

@keyframes textGlow {

  0%,
  100% {
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.5),
      0 0 20px rgba(0, 229, 255, 0.3),
      0 2px 4px rgba(0, 0, 0, 0.5);
  }

  50% {
    text-shadow:
      0 0 15px rgba(255, 255, 255, 0.7),
      0 0 30px rgba(0, 229, 255, 0.5),
      0 2px 4px rgba(0, 0, 0, 0.5);
  }
}

/* Especialidades com efeito holográfico */
#cases .card span.text-metta-cyan {
  background: linear-gradient(90deg, #00e5ff, #2dffc8, #00e5ff) !important;
  background-size: 200% 100% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  animation: holographicText 3s linear infinite !important;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4)) !important;
  position: relative !important;
  z-index: 2 !important;
  margin-bottom: 1rem !important;
  display: block !important;
}

@keyframes holographicText {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Texto descritivo com maior legibilidade */
#cases .card p {
  color: #e8f4fd !important;
  font-size: 0.925rem !important;
  line-height: 1.7 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
  position: relative !important;
  z-index: 2 !important;
  font-weight: 400 !important;
  letter-spacing: 0.015em !important;
}

/* Estatísticas com efeito ciberpunk */
#cases .card span.font-bold.text-metta-cyan {
  background: linear-gradient(45deg, #00e5ff, #2dffc8, #00e5ff, #1e88e5) !important;
  background-size: 300% 300% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 900 !important;
  font-size: 0.95rem !important;
  animation: statisticGlow 2s ease-in-out infinite !important;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.6)) !important;
  position: relative !important;
  z-index: 2 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

@keyframes statisticGlow {

  0%,
  100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.6));
  }

  50% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 15px rgba(45, 255, 200, 0.8));
  }
}

/* Título da seção com efeito épico */
#cases h2 {
  background: linear-gradient(135deg,
      #ffffff 0%,
      #00e5ff 25%,
      #ffffff 50%,
      #2dffc8 75%,
      #ffffff 100%) !important;
  background-size: 300% 300% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-size: 3rem !important;
  font-weight: 900 !important;
  text-align: center !important;
  animation: titleEpic 6s ease-in-out infinite !important;
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.3)) !important;
  position: relative !important;
  z-index: 10 !important;
  letter-spacing: 0.02em !important;
  margin-bottom: 3rem !important;
}

@keyframes titleEpic {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Badge da seção com design futurista */
#cases .badge-teal {
  background: linear-gradient(135deg,
      rgba(0, 229, 255, 0.2) 0%,
      rgba(45, 255, 200, 0.15) 50%,
      rgba(0, 229, 255, 0.2) 100%) !important;
  border: 2px solid rgba(0, 229, 255, 0.6) !important;
  color: #00e5ff !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  padding: 0.5rem 1.5rem !important;
  border-radius: 50px !important;
  backdrop-filter: blur(15px) !important;
  box-shadow:
    0 0 20px rgba(0, 229, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
  position: relative !important;
  z-index: 10 !important;
  animation: badgeFloat 4s ease-in-out infinite !important;
  margin-bottom: 2rem !important;
}

@keyframes badgeFloat {

  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-5px) scale(1.05);
  }
}

/* Efeitos de partículas nos cards */
#cases .card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2300e5ff' fill-opacity='0.05'%3E%3Ccircle cx='3' cy='3' r='1'/%3E%3Ccircle cx='13' cy='13' r='1'/%3E%3Ccircle cx='17' cy='7' r='1'/%3E%3Ccircle cx='7' cy='17' r='1'/%3E%3C/g%3E%3C/svg%3E") !important;
  z-index: 1 !important;
  animation: particleFloat 15s linear infinite !important;
  opacity: 0.6 !important;
}

@keyframes particleFloat {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-20px, -20px);
  }
}

/* Responsividade melhorada */
@media (max-width: 768px) {
  #cases .flex-col.md\\:flex-row {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  #cases h2 {
    font-size: 2rem !important;
  }

  #cases .card {
    transform: none !important;
  }
}

/* Títulos com efeito neon suavizado */
#cases .card h3 {
  color: #e2e8f0 !important;
  font-weight: 800 !important;
  font-size: 1.25rem !important;
  text-shadow:
    0 0 8px rgba(226, 232, 240, 0.3),
    0 0 15px rgba(0, 229, 255, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.5) !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 0.75rem !important;
  position: relative !important;
  z-index: 2 !important;
  animation: textGlowSoft 4s ease-in-out infinite !important;
}

@keyframes textGlowSoft {

  0%,
  100% {
    text-shadow:
      0 0 8px rgba(226, 232, 240, 0.3),
      0 0 15px rgba(0, 229, 255, 0.2),
      0 2px 4px rgba(0, 0, 0, 0.5);
  }

  50% {
    text-shadow:
      0 0 12px rgba(226, 232, 240, 0.4),
      0 0 20px rgba(0, 229, 255, 0.3),
      0 2px 4px rgba(0, 0, 0, 0.5);
  }
}

/* Avatar com efeito neon suavizado */
#cases .avatar {
  border: 4px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow:
    0 0 0 3px rgba(0, 229, 255, 0.5),
    0 0 0 6px rgba(0, 229, 255, 0.2),
    0 0 25px rgba(0, 229, 255, 0.4),
    inset 0 0 15px rgba(0, 229, 255, 0.08) !important;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
  animation: avatarPulseSoft 3s ease-in-out infinite !important;
  width: 90px !important;
  height: 90px !important;
  position: relative !important;
  z-index: 10 !important;
}

@keyframes avatarPulseSoft {

  0%,
  100% {
    box-shadow:
      0 0 0 3px rgba(0, 229, 255, 0.5),
      0 0 0 6px rgba(0, 229, 255, 0.2),
      0 0 25px rgba(0, 229, 255, 0.4);
  }

  50% {
    box-shadow:
      0 0 0 4px rgba(0, 229, 255, 0.6),
      0 0 0 8px rgba(0, 229, 255, 0.3),
      0 0 35px rgba(0, 229, 255, 0.5);
  }
}

#cases .avatar:hover {
  transform: scale(1.1) rotate(5deg) !important;
  box-shadow:
    0 0 0 4px rgba(45, 255, 200, 0.6),
    0 0 0 8px rgba(45, 255, 200, 0.3),
    0 0 45px rgba(45, 255, 200, 0.6) !important;
}

/* Título da seção com cores mais suaves */
#cases h2 {
  background: linear-gradient(135deg,
      #e2e8f0 0%,
      #00e5ff 25%,
      #cbd5e1 50%,
      #2dffc8 75%,
      #e2e8f0 100%) !important;
  background-size: 300% 300% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-size: 3rem !important;
  font-weight: 900 !important;
  text-align: center !important;
  animation: titleEpicSoft 6s ease-in-out infinite !important;
  filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.2)) !important;
  position: relative !important;
  z-index: 10 !important;
  letter-spacing: 0.02em !important;
  margin-bottom: 3rem !important;
}

@keyframes titleEpicSoft {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Cards com sombras menos intensas */
#cases .card {
  background: linear-gradient(145deg,
      rgba(10, 25, 45, 0.95) 0%,
      rgba(15, 30, 55, 0.98) 50%,
      rgba(8, 20, 40, 0.95) 100%) !important;
  border: 2px solid transparent !important;
  background-clip: padding-box !important;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(0, 229, 255, 0.08),
    inset 0 1px 0 rgba(226, 232, 240, 0.06),
    inset 0 -1px 0 rgba(0, 229, 255, 0.15) !important;
  border-radius: 20px !important;
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(20px) !important;
  transform: rotateY(5deg) rotateX(2deg) !important;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1) !important;
}

#cases .card:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-15px) scale(1.02) !important;
  box-shadow:
    0 35px 70px -15px rgba(0, 0, 0, 0.7),
    0 0 45px rgba(0, 229, 255, 0.2),
    inset 0 1px 0 rgba(226, 232, 240, 0.12),
    inset 0 -1px 0 rgba(0, 229, 255, 0.25) !important;
}

/* Badge com cores mais equilibradas */
#cases .badge-teal {
  background: linear-gradient(135deg,
      rgba(0, 229, 255, 0.15) 0%,
      rgba(45, 255, 200, 0.12) 50%,
      rgba(0, 229, 255, 0.15) 100%) !important;
  border: 2px solid rgba(0, 229, 255, 0.4) !important;
  color: #00e5ff !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  padding: 0.5rem 1.5rem !important;
  border-radius: 50px !important;
  backdrop-filter: blur(15px) !important;
  box-shadow:
    0 0 15px rgba(0, 229, 255, 0.2),
    inset 0 1px 0 rgba(226, 232, 240, 0.1) !important;
  position: relative !important;
  z-index: 10 !important;
  animation: badgeFloatSoft 4s ease-in-out infinite !important;
  margin-bottom: 2rem !important;
}

@keyframes badgeFloatSoft {

  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-3px) scale(1.02);
  }
}

/* Títulos com efeito muito sutil */
#cases .card h3 {
  color: #cbd5e1 !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  text-shadow:
    0 0 3px rgba(203, 213, 225, 0.15),
    0 0 6px rgba(0, 229, 255, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.4) !important;
  letter-spacing: 0.03em !important;
  margin-bottom: 0.75rem !important;
  position: relative !important;
  z-index: 2 !important;
  animation: textGlowMinimal 6s ease-in-out infinite !important;
}

@keyframes textGlowMinimal {

  0%,
  100% {
    text-shadow:
      0 0 3px rgba(203, 213, 225, 0.15),
      0 0 6px rgba(0, 229, 255, 0.08),
      0 1px 2px rgba(0, 0, 0, 0.4);
  }

  50% {
    text-shadow:
      0 0 4px rgba(203, 213, 225, 0.2),
      0 0 8px rgba(0, 229, 255, 0.12),
      0 1px 2px rgba(0, 0, 0, 0.4);
  }
}

/* Avatar com efeito muito sutil */
#cases .avatar {
  border: 3px solid rgba(203, 213, 225, 0.6) !important;
  box-shadow:
    0 0 0 2px rgba(0, 229, 255, 0.25),
    0 0 0 4px rgba(0, 229, 255, 0.1),
    0 0 12px rgba(0, 229, 255, 0.2),
    inset 0 0 8px rgba(0, 229, 255, 0.04) !important;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
  animation: avatarPulseMinimal 4s ease-in-out infinite !important;
  width: 90px !important;
  height: 90px !important;
  position: relative !important;
  z-index: 10 !important;
}

@keyframes avatarPulseMinimal {

  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(0, 229, 255, 0.25),
      0 0 0 4px rgba(0, 229, 255, 0.1),
      0 0 12px rgba(0, 229, 255, 0.2);
  }

  50% {
    box-shadow:
      0 0 0 2px rgba(0, 229, 255, 0.3),
      0 0 0 5px rgba(0, 229, 255, 0.15),
      0 0 16px rgba(0, 229, 255, 0.25);
  }
}

#cases .avatar:hover {
  transform: scale(1.05) rotate(2deg) !important;
  box-shadow:
    0 0 0 2px rgba(45, 255, 200, 0.35),
    0 0 0 5px rgba(45, 255, 200, 0.15),
    0 0 20px rgba(45, 255, 200, 0.3) !important;
}

/* Título da seção com cores muito neutras */
#cases h2 {
  background: linear-gradient(135deg,
      #cbd5e1 0%,
      #94a3b8 25%,
      #e2e8f0 50%,
      #94a3b8 75%,
      #cbd5e1 100%) !important;
  background-size: 300% 300% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-size: 3rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  animation: titleNeutral 8s ease-in-out infinite !important;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.1)) !important;
  position: relative !important;
  z-index: 10 !important;
  letter-spacing: 0.02em !important;
  margin-bottom: 3rem !important;
}

@keyframes titleNeutral {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Cards com visual muito sutil */
#cases .card {
  background: linear-gradient(145deg,
      rgba(10, 25, 45, 0.9) 0%,
      rgba(15, 30, 55, 0.92) 50%,
      rgba(8, 20, 40, 0.9) 100%) !important;
  border: 1px solid rgba(148, 163, 184, 0.15) !important;
  background-clip: padding-box !important;
  box-shadow:
    0 20px 40px -12px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(0, 229, 255, 0.04),
    inset 0 1px 0 rgba(203, 213, 225, 0.03),
    inset 0 -1px 0 rgba(0, 229, 255, 0.08) !important;
  border-radius: 16px !important;
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(15px) !important;
  transform: rotateY(2deg) rotateX(1deg) !important;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1) !important;
}

#cases .card:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-8px) scale(1.01) !important;
  box-shadow:
    0 25px 50px -15px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(0, 229, 255, 0.08),
    inset 0 1px 0 rgba(203, 213, 225, 0.06),
    inset 0 -1px 0 rgba(0, 229, 255, 0.12) !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
}

/* Badge com design muito sutil */
#cases .badge-teal {
  background: linear-gradient(135deg,
      rgba(148, 163, 184, 0.12) 0%,
      rgba(203, 213, 225, 0.08) 50%,
      rgba(148, 163, 184, 0.12) 100%) !important;
  border: 1px solid rgba(148, 163, 184, 0.25) !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  padding: 0.4rem 1.2rem !important;
  border-radius: 50px !important;
  backdrop-filter: blur(10px) !important;
  box-shadow:
    0 0 8px rgba(148, 163, 184, 0.1),
    inset 0 1px 0 rgba(203, 213, 225, 0.05) !important;
  position: relative !important;
  z-index: 10 !important;
  animation: badgeFloatMinimal 6s ease-in-out infinite !important;
  margin-bottom: 2rem !important;
}

@keyframes badgeFloatMinimal {

  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-2px) scale(1.01);
  }
}

/* Especialidades com efeito muito sutil */
#cases .card span.text-metta-cyan {
  background: linear-gradient(90deg, #94a3b8, #cbd5e1, #94a3b8) !important;
  background-size: 200% 100% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  animation: holographicTextSubtle 4s linear infinite !important;
  filter: drop-shadow(0 0 3px rgba(148, 163, 184, 0.2)) !important;
  position: relative !important;
  z-index: 2 !important;
  margin-bottom: 1rem !important;
  display: block !important;
}

@keyframes holographicTextSubtle {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Estatísticas com efeito muito sutil */
#cases .card span.font-bold.text-metta-cyan {
  background: linear-gradient(45deg, #94a3b8, #cbd5e1, #94a3b8) !important;
  background-size: 200% 200% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  animation: statisticGlowSubtle 3s ease-in-out infinite !important;
  filter: drop-shadow(0 0 4px rgba(148, 163, 184, 0.3)) !important;
  position: relative !important;
  z-index: 2 !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
}

@keyframes statisticGlowSubtle {

  0%,
  100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 4px rgba(148, 163, 184, 0.3));
  }

  50% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 6px rgba(148, 163, 184, 0.4));
  }
}

/* Background da seção muito sutil */
#cases {
  background: linear-gradient(135deg,
      #0a0e1a 0%,
      #0f1419 25%,
      #0c1116 50%,
      #10171d 75%,
      #0a0e1a 100%) !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 5rem 1rem !important;
}

/* Efeito de fundo muito sutil */
#cases::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(148, 163, 184, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(203, 213, 225, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(148, 163, 184, 0.02) 0%, transparent 60%);
  z-index: 0;
  animation: backgroundPulseSubtle 12s ease-in-out infinite;
}

@keyframes backgroundPulseSubtle {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

/* Remover grid pattern muito visível */
#cases::after {
  display: none;
}

/* Gradiente dos avatares mais sutil */
#cases .gradient-blue {
  background: linear-gradient(135deg,
      #475569 0%,
      #64748b 25%,
      #475569 50%,
      #64748b 75%,
      #475569 100%) !important;
  background-size: 200% 200% !important;
  animation: holographicShiftSubtle 8s ease-in-out infinite !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 16px 16px 0 0 !important;
  height: 160px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@keyframes holographicShiftSubtle {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Efeito de borda muito sutil nos cards */
#cases .card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg,
      rgba(148, 163, 184, 0.2) 0%,
      rgba(203, 213, 225, 0.1) 50%,
      rgba(148, 163, 184, 0.2) 100%);
  border-radius: 16px;
  z-index: -1;
  background-size: 300% 300%;
  animation: borderGlowSubtle 6s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#cases .card:hover::before {
  opacity: 1;
}

@keyframes borderGlowSubtle {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Títulos com efeito equilibrado */
#cases .card h3 {
  color: #e2e8f0 !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  text-shadow:
    0 0 4px rgba(226, 232, 240, 0.2),
    0 0 8px rgba(56, 189, 248, 0.15),
    0 1px 2px rgba(0, 0, 0, 0.4) !important;
  letter-spacing: 0.03em !important;
  margin-bottom: 0.75rem !important;
  position: relative !important;
  z-index: 2 !important;
  animation: textGlowBalanced 6s ease-in-out infinite !important;
}

@keyframes textGlowBalanced {

  0%,
  100% {
    text-shadow:
      0 0 4px rgba(226, 232, 240, 0.2),
      0 0 8px rgba(56, 189, 248, 0.15),
      0 1px 2px rgba(0, 0, 0, 0.4);
  }

  50% {
    text-shadow:
      0 0 6px rgba(226, 232, 240, 0.3),
      0 0 12px rgba(56, 189, 248, 0.2),
      0 1px 2px rgba(0, 0, 0, 0.4);
  }
}

/* Avatar com efeito suave mas vivo */
#cases .avatar {
  border: 3px solid rgba(226, 232, 240, 0.7) !important;
  box-shadow:
    0 0 0 2px rgba(56, 189, 248, 0.3),
    0 0 0 4px rgba(56, 189, 248, 0.15),
    0 0 15px rgba(56, 189, 248, 0.25),
    inset 0 0 10px rgba(56, 189, 248, 0.06) !important;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
  animation: avatarPulseBalanced 4s ease-in-out infinite !important;
  width: 90px !important;
  height: 90px !important;
  position: relative !important;
  z-index: 10 !important;
}

@keyframes avatarPulseBalanced {

  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(56, 189, 248, 0.3),
      0 0 0 4px rgba(56, 189, 248, 0.15),
      0 0 15px rgba(56, 189, 248, 0.25);
  }

  50% {
    box-shadow:
      0 0 0 3px rgba(56, 189, 248, 0.4),
      0 0 0 6px rgba(56, 189, 248, 0.2),
      0 0 20px rgba(56, 189, 248, 0.35);
  }
}

#cases .avatar:hover {
  transform: scale(1.06) rotate(3deg) !important;
  box-shadow:
    0 0 0 3px rgba(34, 211, 238, 0.5),
    0 0 0 6px rgba(34, 211, 238, 0.25),
    0 0 25px rgba(34, 211, 238, 0.4) !important;
}

/* Título da seção com cores vivas mas elegantes */
#cases h2 {
  background: linear-gradient(135deg,
      #e2e8f0 0%,
      #7dd3fc 25%,
      #f1f5f9 50%,
      #38bdf8 75%,
      #e2e8f0 100%) !important;
  background-size: 300% 300% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-size: 3rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  animation: titleBalanced 8s ease-in-out infinite !important;
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.15)) !important;
  position: relative !important;
  z-index: 10 !important;
  letter-spacing: 0.02em !important;
  margin-bottom: 3rem !important;
}

@keyframes titleBalanced {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Cards com visual equilibrado */
#cases .card {
  background: linear-gradient(145deg,
      rgba(10, 25, 45, 0.92) 0%,
      rgba(15, 30, 55, 0.94) 50%,
      rgba(8, 20, 40, 0.92) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  background-clip: padding-box !important;
  box-shadow:
    0 20px 40px -12px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(56, 189, 248, 0.08),
    inset 0 1px 0 rgba(226, 232, 240, 0.05),
    inset 0 -1px 0 rgba(56, 189, 248, 0.12) !important;
  border-radius: 16px !important;
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(16px) !important;
  transform: rotateY(2deg) rotateX(1deg) !important;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1) !important;
}

#cases .card:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-10px) scale(1.015) !important;
  box-shadow:
    0 25px 50px -15px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(56, 189, 248, 0.12),
    inset 0 1px 0 rgba(226, 232, 240, 0.08),
    inset 0 -1px 0 rgba(56, 189, 248, 0.18) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
}

/* Badge com design equilibrado */
#cases .badge-teal {
  background: linear-gradient(135deg,
      rgba(56, 189, 248, 0.15) 0%,
      rgba(125, 211, 252, 0.12) 50%,
      rgba(56, 189, 248, 0.15) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #7dd3fc !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  padding: 0.4rem 1.2rem !important;
  border-radius: 50px !important;
  backdrop-filter: blur(10px) !important;
  box-shadow:
    0 0 12px rgba(56, 189, 248, 0.15),
    inset 0 1px 0 rgba(226, 232, 240, 0.08) !important;
  position: relative !important;
  z-index: 10 !important;
  animation: badgeFloatBalanced 6s ease-in-out infinite !important;
  margin-bottom: 2rem !important;
}

@keyframes badgeFloatBalanced {

  0%,
  100% {
    transform: translateY(0px) scale(1);
  }

  50% {
    transform: translateY(-3px) scale(1.02);
  }
}

/* Especialidades com efeito elegante */
#cases .card span.text-metta-cyan {
  background: linear-gradient(90deg, #7dd3fc, #e2e8f0, #38bdf8) !important;
  background-size: 200% 100% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  animation: holographicTextBalanced 4s linear infinite !important;
  filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.25)) !important;
  position: relative !important;
  z-index: 2 !important;
  margin-bottom: 1rem !important;
  display: block !important;
}

@keyframes holographicTextBalanced {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Estatísticas com destaque equilibrado */
#cases .card span.font-bold.text-metta-cyan {
  background: linear-gradient(45deg, #38bdf8, #e2e8f0, #7dd3fc) !important;
  background-size: 200% 200% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  animation: statisticGlowBalanced 3s ease-in-out infinite !important;
  filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.35)) !important;
  position: relative !important;
  z-index: 2 !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
}

@keyframes statisticGlowBalanced {

  0%,
  100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.35));
  }

  50% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 7px rgba(56, 189, 248, 0.45));
  }
}

/* Background da seção com toque sutil de cor */
#cases::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(125, 211, 252, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.03) 0%, transparent 60%);
  z-index: 0;
  animation: backgroundPulseBalanced 12s ease-in-out infinite;
}

@keyframes backgroundPulseBalanced {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.85;
  }
}

/* Design minimalista para os avatares */
#cases .gradient-blue {
  background: transparent !important;
  position: relative !important;
  overflow: visible !important;
  border-radius: 0 !important;
  height: auto !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  box-shadow: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 24px 24px 0 24px !important;
}

/* Efeito de padrão sutil no banner */
#cases .gradient-blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, rgba(0, 184, 212, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 40% 60%, rgba(30, 136, 229, 0.1) 1px, transparent 1px);
  background-size: 30px 30px, 40px 40px, 25px 25px;
  background-position: 0 0, 15px 15px, 7px 7px;
  opacity: 0.6;
  animation: patternFloat 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes patternFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.6;
  }

  50% {
    transform: translateY(-10px) rotate(1deg);
    opacity: 0.8;
  }
}

/* Avatar minimalista */
#cases .gradient-blue .avatar {
  position: relative !important;
  z-index: 2 !important;
  width: 90px !important;
  height: 90px !important;
  border: none !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  object-fit: cover !important;
  margin-right: 16px !important;
}

#cases .gradient-blue:hover .avatar {
  transform: scale(1.05) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Efeito de brilho ao redor do avatar */
#cases .gradient-blue .avatar::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  background: linear-gradient(45deg,
      rgba(30, 136, 229, 0.3),
      rgba(0, 184, 212, 0.3),
      rgba(30, 136, 229, 0.3));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: avatarGlow 3s ease-in-out infinite;
}

#cases .gradient-blue:hover .avatar::before {
  opacity: 1;
}

@keyframes avatarGlow {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.6;
  }
}

/* Card minimalista */
#cases .card {
  border-radius: 12px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(10px) !important;
}

#cases .card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
  border-color: rgba(30, 136, 229, 0.3) !important;
}

/* Estilo para selects com ícone de seta */
.input-group select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.input-group select:focus {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300b8d4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* ========================================
   ANIMAÇÃO DE PULSAÇÃO DO FORMULÁRIO
   ======================================== */

/* Animação de pulsação para o formulário */
.form-pulse-animation {
  animation: formPulse 2s ease-in-out;
}

@keyframes formPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
  }

  10% {
    transform: scale(1.02);
    box-shadow:
      0 20px 40px -10px rgba(0, 0, 0, 0.4),
      0 0 0 0 rgba(30, 136, 229, 0.4);
  }

  20% {
    transform: scale(1.05);
    box-shadow:
      0 25px 50px -10px rgba(0, 0, 0, 0.5),
      0 0 0 10px rgba(30, 136, 229, 0.3);
  }

  30% {
    transform: scale(1.03);
    box-shadow:
      0 30px 60px -10px rgba(0, 0, 0, 0.6),
      0 0 0 20px rgba(30, 136, 229, 0.2);
  }

  40% {
    transform: scale(1.01);
    box-shadow:
      0 25px 50px -10px rgba(0, 0, 0, 0.5),
      0 0 0 30px rgba(30, 136, 229, 0.1);
  }

  50% {
    transform: scale(1.02);
    box-shadow:
      0 20px 40px -10px rgba(0, 0, 0, 0.4),
      0 0 0 40px rgba(30, 136, 229, 0.05);
  }

  60% {
    transform: scale(1.01);
    box-shadow:
      0 20px 40px -10px rgba(0, 0, 0, 0.4),
      0 0 0 50px rgba(30, 136, 229, 0.02);
  }

  70% {
    transform: scale(1.005);
    box-shadow:
      0 20px 40px -10px rgba(0, 0, 0, 0.4),
      0 0 0 60px rgba(30, 136, 229, 0.01);
  }

  80% {
    transform: scale(1.002);
    box-shadow:
      0 20px 40px -10px rgba(0, 0, 0, 0.4),
      0 0 0 70px rgba(30, 136, 229, 0.005);
  }

  90% {
    transform: scale(1.001);
    box-shadow:
      0 20px 40px -10px rgba(0, 0, 0, 0.4),
      0 0 0 80px rgba(30, 136, 229, 0.002);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
  }
}

/* Efeito de brilho adicional durante a animação */
.form-pulse-animation::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(45deg,
      rgba(30, 136, 229, 0.1),
      rgba(0, 184, 212, 0.1),
      rgba(30, 136, 229, 0.1));
  border-radius: 0.75rem;
  z-index: -1;
  animation: formGlow 2s ease-in-out;
}

@keyframes formGlow {

  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  #cases .gradient-blue {
    padding: 20px 20px 0 20px !important;
  }

  #cases .gradient-blue .avatar {
    width: 50px !important;
    height: 50px !important;
    margin-right: 12px !important;
  }

  #cases .gradient-blue h3 {
    font-size: 1rem !important;
  }

  #cases .gradient-blue span {
    font-size: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  #cases .gradient-blue {
    padding: 16px 16px 0 16px !important;
  }

  #cases .gradient-blue .avatar {
    width: 80px !important;
    height: 80px !important;
    margin-right: 10px !important;
  }
}

/* Animação do gradiente moderno */
@keyframes modernGradientFlow {
  0% {
    background-position: 0% 50%;
  }

  25% {
    background-position: 100% 50%;
  }

  50% {
    background-position: 100% 100%;
  }

  75% {
    background-position: 0% 100%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes holographicShiftBalanced {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* Efeito de borda equilibrado nos cards */
#cases .card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg,
      rgba(56, 189, 248, 0.25) 0%,
      rgba(125, 211, 252, 0.15) 50%,
      rgba(56, 189, 248, 0.25) 100%);
  border-radius: 16px;
  z-index: -1;
  background-size: 300% 300%;
  animation: borderGlowBalanced 6s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#cases .card:hover::before {
  opacity: 1;
}

@keyframes borderGlowBalanced {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* ====== UNIFICAÇÃO DAS SEÇÕES CASES + CTA ====== */

/* Seção Cases de Sucesso - parte superior unificada */
#cases {
  background: linear-gradient(135deg,
      #0a0e1a 0%,
      #0f1419 25%,
      #0c1116 50%,
      #10171d 75%,
      #0a0e1a 100%) !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 5rem 1rem 3rem 1rem !important;
  /* Reduzido padding inferior */
}

/* Seção CTA - parte inferior unificada */
.flex.flex-col.items-center.justify-center.px-4.sm\\:px-6.py-16 {
  background: linear-gradient(135deg,
      #0a0e1a 0%,
      #0f1419 25%,
      #0c1116 50%,
      #10171d 75%,
      #0a0e1a 100%) !important;
  padding: 0 1rem 5rem 1rem !important;
  /* Removido padding superior */
  margin-top: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Background unificado para ambas as seções */
.flex.flex-col.items-center.justify-center.px-4.sm\\:px-6.py-16::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(125, 211, 252, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.03) 0%, transparent 60%);
  z-index: 0;
  animation: backgroundPulseBalanced 12s ease-in-out infinite;
  pointer-events: none;
}

/* Card CTA com design harmonizado */
.flex.flex-col.items-center.justify-center.px-4.sm\\:px-6.py-16 .w-full.max-w-4xl {
  background: linear-gradient(145deg,
      rgba(10, 25, 45, 0.92) 0%,
      rgba(15, 30, 55, 0.94) 50%,
      rgba(8, 20, 40, 0.92) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  backdrop-filter: blur(16px) !important;
  box-shadow:
    0 20px 40px -12px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(56, 189, 248, 0.08),
    inset 0 1px 0 rgba(226, 232, 240, 0.05),
    inset 0 -1px 0 rgba(56, 189, 248, 0.12) !important;
  border-radius: 16px !important;
  position: relative !important;
  z-index: 2 !important;
  transition: all 0.3s ease !important;
}

/* Efeito hover no card CTA */
.flex.flex-col.items-center.justify-center.px-4.sm\\:px-6.py-16 .w-full.max-w-4xl:hover {
  transform: translateY(-5px) !important;
  box-shadow:
    0 25px 50px -15px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(56, 189, 248, 0.12),
    inset 0 1px 0 rgba(226, 232, 240, 0.08),
    inset 0 -1px 0 rgba(56, 189, 248, 0.18) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
}

/* Título do CTA harmonizado */
.flex.flex-col.items-center.justify-center.px-4.sm\\:px-6.py-16 h2 {
  color: #e2e8f0 !important;
  text-shadow:
    0 0 4px rgba(226, 232, 240, 0.2),
    0 0 8px rgba(56, 189, 248, 0.15),
    0 1px 2px rgba(0, 0, 0, 0.4) !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Texto destacado no CTA harmonizado */
.flex.flex-col.items-center.justify-center.px-4.sm\\:px-6.py-16 span.text-metta-cyan {
  background: linear-gradient(90deg, #7dd3fc, #e2e8f0, #38bdf8) !important;
  background-size: 200% 100% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: holographicTextBalanced 4s linear infinite !important;
  filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.25)) !important;
}

/* Parágrafo do CTA */
.flex.flex-col.items-center.justify-center.px-4.sm\\:px-6.py-16 p {
  color: #cbd5e1 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Linha divisória sutil entre as partes */
#cases::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(56, 189, 248, 0.15),
      transparent);
  z-index: 1;
}

/* Garantir continuidade visual */
.section.flex.flex-col.items-center.justify-center.px-4.sm\\:px-6.py-16 {
  margin-top: 0 !important;
  border-top: none !important;
}

/* Ajustar espaçamento entre elementos na seção unificada */
#cases .flex-col.md\\:flex-row {
  margin-bottom: 4rem !important;
}

/* Responsividade para a seção unificada */
@media (max-width: 768px) {
  #cases {
    padding: 3rem 1rem 2rem 1rem !important;
  }

  .flex.flex-col.items-center.justify-center.px-4.sm\\:px-6.py-16 {
    padding: 0 1rem 3rem 1rem !important;
  }

  #cases .flex-col.md\\:flex-row {
    margin-bottom: 3rem !important;
  }
}

/* ====== UNIFICAÇÃO COMPLETA DAS SEÇÕES CASES + CTA ====== */

/* Wrapper unificado para ambas as seções */
#cases-cta-section {
  background: linear-gradient(180deg,
      #0a0e1a 0%,
      #0f1419 15%,
      #0c1116 30%,
      #0f1419 50%,
      #0c1116 70%,
      #0f1419 85%,
      #0a0e1a 100%) !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 0 !important;
}

/* Background animado único para toda a seção unificada */
#cases-cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(125, 211, 252, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(56, 189, 248, 0.04) 0%, transparent 70%);
  z-index: 0;
  animation: unifiedPulse 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes unifiedPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

/* Grid pattern único para todo o wrapper */
#cases-cta-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
  opacity: 0.3;
  animation: gridSlide 30s linear infinite;
  pointer-events: none;
}

@keyframes gridSlide {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(50px, 50px);
  }
}

/* Remover backgrounds individuais das seções internas */
#cases-cta-section #cases {
  background: none !important;
  padding: 5rem 1rem 2rem 1rem !important;
  position: relative !important;
  z-index: 2 !important;
}

#cases-cta-section #cases::before,
#cases-cta-section #cases::after {
  display: none !important;
}

/* Seção CTA sem background próprio */
#cases-cta-section .flex.flex-col.items-center.justify-center.px-4.sm\\:px-6.py-16 {
  background: none !important;
  padding: 1rem 1rem 5rem 1rem !important;
  margin-top: 0 !important;
  position: relative !important;
  z-index: 2 !important;
}

#cases-cta-section .flex.flex-col.items-center.justify-center.px-4.sm\\:px-6.py-16::before {
  display: none !important;
}

/* Elemento de conexão visual entre as duas partes */
#cases-cta-section #cases::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 60px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  z-index: 3;
  pointer-events: none;
}

/* Cards de cases com efeito flutuante unificado */
#cases-cta-section .card {
  background: linear-gradient(145deg,
      rgba(10, 25, 45, 0.85) 0%,
      rgba(15, 30, 55, 0.9) 50%,
      rgba(8, 20, 40, 0.85) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  backdrop-filter: blur(20px) !important;
  position: relative !important;
  z-index: 10 !important;
}

/* CTA card com mesmo estilo visual */
#cases-cta-section .w-full.max-w-4xl {
  background: linear-gradient(145deg,
      rgba(10, 25, 45, 0.85) 0%,
      rgba(15, 30, 55, 0.9) 50%,
      rgba(8, 20, 40, 0.85) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  backdrop-filter: blur(20px) !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Partículas flutuantes por toda a seção unificada */
.unified-section {
  position: relative;
}

.unified-section::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(56, 189, 248, 0.15) 0, transparent 2px),
    radial-gradient(circle at 80% 80%, rgba(125, 211, 252, 0.15) 0, transparent 2px),
    radial-gradient(circle at 40% 40%, rgba(56, 189, 248, 0.15) 0, transparent 2px),
    radial-gradient(circle at 90% 10%, rgba(125, 211, 252, 0.15) 0, transparent 2px),
    radial-gradient(circle at 10% 90%, rgba(56, 189, 248, 0.15) 0, transparent 2px);
  background-size: 600px 600px, 800px 800px, 700px 700px, 900px 900px, 500px 500px;
  background-position: 0% 0%, 10% 10%, 20% 50%, 30% 30%, 40% 80%;
  animation: floatingParticles 40s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes floatingParticles {
  0% {
    background-position: 0% 0%, 10% 10%, 20% 50%, 30% 30%, 40% 80%;
  }

  100% {
    background-position: 100% 100%, 90% 90%, 80% 50%, 70% 70%, 60% 20%;
  }
}

/* Linha de conexão fluida entre seções */
#cases-cta-section #cases {
  border-bottom: none !important;
}

/* Fluxo contínuo de elementos */
#cases-cta-section .flex-col.md\\:flex-row {
  margin-bottom: 3rem !important;
}

/* Responsividade para a seção unificada */
@media (max-width: 768px) {
  #cases-cta-section #cases {
    padding: 3rem 1rem 1.5rem 1rem !important;
  }

  #cases-cta-section .flex.flex-col.items-center.justify-center.px-4.sm\\:px-6.py-16 {
    padding: 0.5rem 1rem 3rem 1rem !important;
  }
}

/* Texto "aceleradores de clínicas" com cor mais clara */
#cases-cta-section .w-full.max-w-4xl span.text-metta-cyan.animate-shimmer {
  background: linear-gradient(90deg, #bfdbfe, #f0f9ff, #dbeafe) !important;
  background-size: 200% 100% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: holographicTextLight 4s linear infinite !important;
  filter: drop-shadow(0 0 6px rgba(147, 197, 253, 0.4)) !important;
  font-weight: 700 !important;
}

@keyframes holographicTextLight {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* ====== TRANSIÇÃO SUAVE ENTRE HERO E CASES (CORRIGIDA) ====== */

/* Criar um wrapper para elementos de transição */
.hero-section {
  position: relative !important;
  padding-bottom: 8rem !important;
}

/* Gradiente de fade suave no final do Hero */
.hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg,
      transparent 0%,
      rgba(10, 14, 26, 0.4) 50%,
      rgba(10, 14, 26, 0.8) 100%);
  z-index: 5;
  pointer-events: none;
}

/* Elementos decorativos removidos */

/* Animações removidas */

/* Ajuste da seção Cases para suave entrada */
#cases-cta-section {
  position: relative !important;
  margin-top: -100px !important;
  padding-top: 100px !important;
  background: linear-gradient(180deg,
      transparent 0%,
      #060d14 5%,
      #0a0e1a 15%,
      #0f1419 30%,
      #0c1116 50%,
      #0f1419 70%,
      #0a0e1a 85%,
      #060d14 100%) !important;
}

/* Remover conflitos anteriores */
#cases-cta-section::before {
  display: none !important;
}

/* Linha decorativa no topo dos Cases */
#cases::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(56, 189, 248, 0.2) 20%,
      rgba(56, 189, 248, 0.3) 50%,
      rgba(56, 189, 248, 0.2) 80%,
      transparent 100%);
  animation: lineGlow 4s ease-in-out infinite;
  z-index: 10;
}

/* Dots decorativos na transição */
.unified-section::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: rgba(56, 189, 248, 0.5);
  border-radius: 50%;
  box-shadow:
    -20px 0 0 0 rgba(56, 189, 248, 0.3),
    20px 0 0 0 rgba(56, 189, 248, 0.3);
  animation: dotsPulse 3s ease-in-out infinite;
  z-index: 10;
}

@keyframes dotsPulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.8;
  }
}

/* Wave SVG pattern para transição suave */
.hero-container {
  position: relative;
}

/* Responsividade melhorada */
@media (max-width: 768px) {
  .hero-section {
    padding-bottom: 6rem !important;
  }

  #cases-cta-section {
    margin-top: -60px !important;
    padding-top: 60px !important;
  }

  /* Elementos decorativos removidos */
}

.sobre-nos-section {
  background: linear-gradient(120deg, #0a1622 0%, #101a28 100%);
  position: relative;
  overflow: hidden;
  z-index: 1;
  /* Manter z-index para sobreposição correta */
  /* margin-top: -60px; /* Sobrepor ligeiramente a seção anterior */
  /* padding-top: 60px; /* Compensar o margin-top */
}

.sobre-nos-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(30, 136, 229, 0.10) 0%, transparent 60%),
    radial-gradient(circle at 10% 90%, rgba(0, 191, 165, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
  animation: sobreNosPulse 8s ease-in-out infinite;
}

@keyframes sobreNosPulse {

  0%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }
}

.sobre-nos-section .card,
.sobre-nos-section .faq-item {
  background: rgba(10, 22, 34, 0.85);
  border: 1px solid rgba(30, 136, 229, 0.10);
  box-shadow: 0 4px 24px -8px rgba(30, 136, 229, 0.10);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.sobre-nos-section .faq-item:hover {
  border-color: var(--metta-blue);
  box-shadow: 0 8px 32px -8px rgba(30, 136, 229, 0.18);
}

.sobre-nos-section .faq-question {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.sobre-nos-section .faq-answer {
  background: transparent;
  border-top: 1px solid rgba(30, 136, 229, 0.08);
}

.sobre-nos-section img {
  object-fit: contain !important;
  /* Garantir que contain seja aplicado */
  max-height: 450px;
  width: 100%;
  /* Fazer a imagem ocupar a largura do container */
  height: auto;
  /* Manter proporção */
  display: block;
  /* Evitar espaços extras abaixo da imagem */
  margin-left: auto;
  /* Centralizar se necessário */
  margin-right: auto;
  /* Centralizar se necessário */
}

.rotate-180 {
  transform: rotate(180deg);
}

/* Nova abordagem para transição suave */
#depoimentos+.sobre-nos-section {
  margin-top: -1px;
  /* Pequena sobreposição para evitar linhas finas entre seções */
}

.sobre-nos-section {
  /* ... estilos existentes ... */
  padding-top: 6rem;
  /* Aumentar padding para criar espaço para a subida */
  clip-path: polygon(0 5%, 100% 0, 100% 100%, 0% 100%);
  /* Corte diagonal inicial */
  animation: revealSection 1s ease-out forwards;
  opacity: 0;
}

@keyframes revealSection {
  from {
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0% 100%);
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    transform: translateY(0);
    opacity: 1;
  }
}

/* Para acionar a animação quando a seção estiver visível */
.sobre-nos-section.animate-visible {
  animation-name: revealSection;
}

/* Ajustes responsivos para a imagem da seção Sobre Nós */
@media (max-width: 767px) {

  /* md breakpoint do Tailwind */
  .sobre-nos-section .sobre-nos-image-mobile {
    max-height: 280px;
    /* Altura máxima para a imagem no mobile */
    width: 100%;
    object-fit: contain;
    /* Garantir que a imagem caiba sem cortar */
    margin-top: 1rem;
    /* Espaço acima da imagem mobile */
    margin-bottom: 1.5rem;
    /* Espaço abaixo da imagem mobile */
  }

  .sobre-nos-section .flex-1.order-2 {
    /* Se refere ao h2 */
    /* margin-top: 1.5rem; // Removido, pois a imagem agora está no fluxo do flex-col */
  }

  .sobre-nos-section .order-4 {
    /* Se refere ao parágrafo após a imagem mobile */
    margin-top: 0;
    /* Remover margem superior extra se houver */
  }
}

/* Estilos para a imagem de desktop (se necessário, para sobrescrever algo) */
.sobre-nos-section .sobre-nos-image-desktop {
  object-fit: contain !important;
  max-height: 450px;
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* CSS para o Carrossel de Cases de Sucesso */
.cases-carousel {
  position: relative;
  overflow: hidden;
  /* Prevenir overflow horizontal, mas SEM máscara aqui */
  margin: 0 1rem;
  /* Reduzir margem lateral para dar mais espaço ao conteúdo */
}

/* Novo wrapper para aplicar a máscara apenas aos slides */
.cases-slides-wrapper {
  position: relative;
  /* Necessário para o contexto de overflow e máscara */
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
  mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

@media (max-width: 767px) {
  .cases-slides-wrapper {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.cases-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.case-slide {
  flex-shrink: 0;
  /* padding já está no HTML via px-3 */
  box-sizing: border-box;
  /* Garante que padding não aumente a largura total */
}

/* Ajuste para os cards dentro dos slides terem altura consistente */
.case-slide .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cases-carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  position: relative;
  z-index: 5;
}

.cases-carousel-dot {
  width: 0.65rem;
  /* Um pouco menor que os dots dos depoimentos */
  height: 0.65rem;
  border-radius: 50%;
  background-color: rgba(100, 116, 139, 0.4);
  margin: 0 0.2rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.cases-carousel-dot.active {
  background-color: var(--metta-cyan);
  transform: scale(1.15);
}

.cases-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(15, 23, 42, 0.85);
  /* Identico a .carousel-arrow */
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(34, 211, 238, 0.25);
  /* Identico a .carousel-arrow */
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
  opacity: 1;
  color: white;
  /* Para o SVG stroke='currentColor' */
}

.cases-carousel-arrow:hover {
  background-color: rgba(15, 23, 42, 1);
  /* Identico a .carousel-arrow:hover */
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
  /* Identico a .carousel-arrow:hover */
  /* z-index: 21; é opcional aqui, já que .carousel-arrow também tem */
}

/* Remover a regra .cases-carousel-arrow svg se ainda existir */

.cases-carousel-arrow.prev {
  left: 1rem;
  /* Ajustado de -1rem para dentro do container */
}

.cases-carousel-arrow.next {
  right: 1rem;
  /* Ajustado de -1rem para dentro do container */
}

/* Wrapper adicional para conter o overflow dos slides */
.cases-carousel {
  margin: 0 1rem;
  /* Reduzir margem lateral para dar mais espaço ao conteúdo */
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .cases-carousel {
    margin: 0 0.5rem;
    /* Reduzir ainda mais a margem em mobile */
  }

  .cases-carousel-arrow {
    width: 2rem;
    height: 2rem;
  }

  .cases-carousel-arrow.prev {
    left: 0.5rem;
    /* Ajuste para mobile */
  }

  .cases-carousel-arrow.next {
    right: 0.5rem;
    /* Ajuste para mobile */
  }
}

/* ========================================
   BOTÃO VOLTAR AO TOPO
   ======================================== */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--metta-blue), var(--metta-cyan));
  border: 1px solid rgba(30, 136, 229, 0.3);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(30, 136, 229, 0.2);
  backdrop-filter: blur(10px);
}

.back-to-top:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 30px rgba(30, 136, 229, 0.4);
  background: linear-gradient(135deg, var(--metta-cyan), var(--metta-teal));
}

.back-to-top:active {
  transform: translateY(0) scale(0.95);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .back-to-top svg {
    width: 16px;
    height: 16px;
  }
}

/* Animação de pulso sutil */
@keyframes backToTopPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(30, 136, 229, 0.2);
  }

  50% {
    box-shadow: 0 4px 20px rgba(30, 136, 229, 0.4);
  }
}

.back-to-top.pulse {
  animation: backToTopPulse 2s infinite;
}

.footer-border-custom {
  border-color: #3f3f3f;
}

/* Estilos para validação de formulário */
.input.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.input.success {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.field-error {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: block;
}