/* ========================================
   MySchool - CSS 
   ======================================== */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-soft: rgba(37, 99, 235, 0.1);

  --secondary: #7c3aed;
  --secondary-light: #8b5cf6;
  --secondary-soft: rgba(124, 58, 237, 0.1);

  --accent: #6d28d9;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --dark: #0f172a;
  --dark-light: #1e293b;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;

  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;

  /* Sombras otimizadas */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Bordas arredondadas */
  --radius-sm: 0.5rem;
  --radius: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Transições */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Tipografia */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Tamanhos de fonte fluidos */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.6rem + 1.25vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
  --text-5xl: clamp(3rem, 2.5rem + 2.5vw, 4.5rem);
}

/* Reset e Base Otimizados */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
  position: relative;
  padding-top: 72px;
  font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   FUNDO ABSTRATO OTIMIZADO
   ======================================== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0f4ff 0%, #f8f6ff 50%, #f0f4ff 100%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle, rgba(99, 102, 241, 0.2) 1px, transparent 1px),
    radial-gradient(circle, rgba(139, 92, 246, 0.15) 1px, transparent 1px);
  background-size: 24px 24px, 36px 36px;
  background-position: 0 0, 12px 12px;
  pointer-events: none;
  z-index: 1;
}

.container, section, header, footer, .navbar, .card, .modal {
  position: relative;
  z-index: 10;
}

/* ========================================
   PRELOADER OTIMIZADO
   ======================================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-container {
  text-align: center;
  padding: 1rem;
}

.preloader-logo {
  width: clamp(70px, 15vw, 100px);
  height: clamp(70px, 15vw, 100px);
  margin: 0 auto 1rem;
  background: var(--primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

.preloader-logo img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.preloader-text {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1rem;
}

.preloader-progress {
  width: min(180px, 50vw);
  height: 4px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  margin: 0 auto;
  overflow: hidden;
}

.preloader-progress-bar {
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
  animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
  0% { width: 0%; transform: translateX(-100%); }
  50% { width: 100%; transform: translateX(0); }
  100% { width: 100%; transform: translateX(100%); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ========================================
   NAVEGAÇÃO FIXA OTIMIZADA
   ======================================== */
.navbar {
  padding: 0.75rem 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  z-index: 1030;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0;
}

.navbar-brand img {
  height: clamp(32px, 8vw, 40px);
  transition: transform 0.3s ease;
  width: auto;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px var(--primary-soft);
}

.navbar-collapse {
  transition: all 0.35s ease;
}

/* Language Selector Otimizado */
.language-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.lang-btn:hover {
  background: var(--gray-200);
  border-color: var(--gray-300);
}

.lang-btn img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

.lang-btn i {
  font-size: 0.625rem;
  transition: transform 0.3s ease;
}

.lang-btn.active i {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
}

.lang-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.lang-option:hover {
  background: var(--gray-100);
}

/* Nav Links Otimizados */
.nav-link {
  font-weight: 500;
  color: var(--gray-600) !important;
  padding: 0.5rem 0.75rem !important;
  transition: all 0.3s ease;
  position: relative;
  font-size: var(--text-sm);
  border-radius: var(--radius);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
  background: var(--primary-soft);
}

/* Portal Link */
.nav-portal {
  color: var(--secondary) !important;
  font-weight: 600 !important;
}

.nav-portal:hover {
  color: var(--accent) !important;
  background: var(--secondary-soft) !important;
}

/* CTA Nav Button */
.btn-cta-nav {
  background: var(--whatsapp) !important;
  border: none !important;
  padding: 0.625rem 1rem !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  font-size: var(--text-sm) !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: all 0.3s ease !important;
  color: white !important;
  white-space: nowrap;
}

.btn-cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
  background: var(--whatsapp-dark) !important;
}

/* ========================================
   SKIP LINK (Acessibilidade)
   ======================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 10000;
  transition: top 0.3s ease;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid white;
  outline-offset: 2px;
}

/* ========================================
   HERO SECTION OTIMIZADO
   ======================================== */
.hero-section {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-soft);
  border: 1px solid rgba(37, 99, 235, 0.15);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.badge-icon {
  color: var(--warning);
  font-size: 0.75rem;
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 0.875rem;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: var(--primary);
  background: linear-gradient(180deg, transparent 60%, rgba(37, 99, 235, 0.15) 60%);
}

.hero-subtitle {
  font-size: var(--text-base);
  color: var(--gray-600);
  margin-bottom: 1rem;
  max-width: 480px;
  line-height: 1.65;
}

.hero-subtitle strong {
  color: var(--primary);
  font-weight: 700;
}

/* Social Proof Hero - Compacto */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.avatars {
  display: flex;
  flex-shrink: 0;
}

.avatars img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -8px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.avatars img:first-child {
  margin-left: 0;
}

.avatar-more {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  border: 2px solid var(--white);
  margin-left: -8px;
}

.social-proof-text {
  font-size: var(--text-xs);
  color: var(--gray-600);
}

.social-proof-text strong {
  color: var(--dark);
  display: block;
  font-size: var(--text-sm);
}

/* CTA Group - Botões mais compactos */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

/* Hero Main Button - Compacto */
.btn-hero-main {
  background: var(--whatsapp) !important;
  border: none !important;
  padding: 0.625rem 1.25rem !important;
  font-size: var(--text-sm) !important;
  font-weight: 600 !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: all 0.25s ease !important;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.125rem;
  color: white !important;
  text-align: left;
  line-height: 1.3;
}

.btn-hero-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  background: var(--whatsapp-dark) !important;
}

.btn-hero-main .btn-text {
  display: block;
}

.btn-sub {
  font-size: 0.625rem;
  font-weight: 500;
  opacity: 0.85;
}

/* Hero Secondary Button - Compacto */
.btn-hero-secondary {
  border: 1.5px solid var(--gray-300) !important;
  color: var(--gray-700) !important;
  padding: 0.625rem 1.25rem !important;
  font-weight: 500 !important;
  border-radius: var(--radius-full) !important;
  transition: all 0.25s ease !important;
  background: transparent !important;
  font-size: var(--text-sm) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-hero-secondary:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  background: var(--primary-soft) !important;
}

.btn-hero-secondary i {
  font-size: 0.875rem;
}

/* Trust Badges - Compacto */
.hero-trust-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-xs);
  color: var(--gray-500);
}

.trust-item i {
  color: var(--success);
  font-size: 0.75rem;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating Cards - Escondidos em mobile */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 6s ease-in-out infinite;
}

.floating-icon {
  width: clamp(32px, 5vw, 40px);
  height: clamp(32px, 5vw, 40px);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.card-1 {
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.card-1 .floating-icon {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.card-2 {
  top: 40%;
  right: -5%;
  animation-delay: -2s;
}

.card-2 .floating-icon {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

.card-3 {
  bottom: 15%;
  left: 5%;
  animation-delay: -4s;
}

.card-3 .floating-icon {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
}

.floating-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.floating-value {
  display: block;
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}


/* ========================================
   LOGOS CAROUSEL RESPONSIVO
   ======================================== */
.logos-section {
  padding: clamp(2rem, 5vw, 3rem) 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}

.logos-title {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  font-weight: 500;
  padding: 0 1rem;
}

.logos-carousel {
  overflow: hidden;
  position: relative;
}

.logos-carousel::before,
.logos-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  width: clamp(60px, 10vw, 100px);
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logos-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--gray-50), transparent);
}

.logos-carousel::after {
  right: 0;
  background: linear-gradient(-90deg, var(--gray-50), transparent);
}

.logos-track {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  animation: scroll-logos 25s linear infinite;
  width: max-content;
}

.logos-track:hover {
  animation-play-state: paused;
}

.logos-track img {
  height: clamp(36px, 8vw, 50px);
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.logos-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   SECTIONS COMUNS OTIMIZADAS
   ======================================== */
section {
  padding: clamp(3rem, 8vw, 6rem) 0;
  position: relative;
}

.section-header {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  text-align: center;
  padding: 0 1rem;
}

.section-badge {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.section-badge-light {
  background: rgba(255, 255, 255, 0.9);
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: min(600px, 90vw);
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   PROBLEMS SECTION RESPONSIVA
   ======================================== */
.problems-section {
  background: var(--white);
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2rem);
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.problem-card:hover::before {
  transform: scaleX(1);
}

.problem-icon-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.problem-icon {
  width: clamp(48px, 10vw, 56px);
  height: clamp(48px, 10vw, 56px);
  background: var(--primary-soft);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  color: var(--primary);
  flex-shrink: 0;
}

.problem-number {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
}

.problem-card h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.problem-card p {
  color: var(--gray-600);
  font-size: var(--text-sm);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.problem-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
}

.problem-stat i {
  font-size: 0.75rem;
}

.problem-card-cta {
  background: var(--gray-50);
  border: 2px dashed var(--gray-300);
  text-align: center;
}

.problem-card-cta .problem-icon-highlight {
  background: var(--primary);
  color: white;
  margin: 0 auto;
}

.problem-card-cta h4 {
  margin-top: 1rem;
}

/* ========================================
   SOLUTIONS SECTION RESPONSIVA
   ======================================== */
.solutions-section {
  background: var(--gray-50);
}

.solution-block {
  margin-bottom: clamp(3rem, 8vw, 6rem);
}

.solution-block:last-child {
  margin-bottom: 0;
}

.solution-visual {
  position: relative;
  margin-bottom: 1.5rem;
}

.solution-image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.solution-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.solution-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 0.625rem 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--dark);
  font-size: var(--text-sm);
  top: clamp(10px, 2vw, 20px);
  right: clamp(10px, 2vw, 20px);
}

.solution-badge i {
  color: var(--primary);
}

.solution-badge.floating {
  animation: float 4s ease-in-out infinite;
}

.solution-content {
  padding: clamp(1rem, 3vw, 2rem) 0;
}

.solution-number {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 0.75rem;
  display: block;
}

.solution-content h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.solution-lead {
  font-size: var(--text-base);
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.solution-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.solution-features li {
  display: flex;
  gap: 0.875rem;
  margin-bottom: 1rem;
}

.feature-icon {
  width: 24px;
  height: 24px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  font-size: 0.6875rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text strong {
  display: block;
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: var(--text-sm);
}

.feature-text span {
  color: var(--gray-500);
  font-size: var(--text-xs);
}

/* Outline Button */
.btn-outline-primary {
  border: 2px solid var(--primary) !important;
  color: var(--primary) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  background: transparent !important;
  font-size: var(--text-sm) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-outline-primary:hover {
  background: var(--primary) !important;
  color: white !important;
  transform: translateY(-2px);
}

/* ========================================
   STATS SECTION RESPONSIVA
   ======================================== */
.stats-section {
  background: var(--dark);
  padding: clamp(3rem, 8vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.stat-card {
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2rem);
  position: relative;
  z-index: 1;
}

.stat-icon {
  width: clamp(48px, 10vw, 64px);
  height: clamp(48px, 10vw, 64px);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--primary-light);
  margin: 0 auto 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  color: white;
  line-height: 1;
}

.stat-suffix {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 700;
  color: var(--primary-light);
}

.stat-card p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
  font-size: var(--text-sm);
}

/* ========================================
   TESTIMONIALS SECTION - CAROUSEL
   ======================================== */
.testimonials-section {
  background: var(--white);
}

/* Carousel Wrapper */
.testimonials-carousel-wrapper {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.testimonials-carousel-wrapper .carousel-indicators {
  bottom: -3rem;
}

.testimonials-carousel-wrapper .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--gray-300);
  border: none;
  margin: 0 5px;
}

.testimonials-carousel-wrapper .carousel-indicators button.active {
  background-color: var(--primary);
}

.testimonials-carousel-wrapper .carousel-control-prev,
.testimonials-carousel-wrapper .carousel-control-next {
  width: 45px;
  height: 45px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.testimonials-carousel-wrapper .carousel-control-prev {
  left: -22px;
}

.testimonials-carousel-wrapper .carousel-control-next {
  right: -22px;
}

.testimonials-carousel-wrapper .carousel-control-prev-icon,
.testimonials-carousel-wrapper .carousel-control-next-icon {
  width: 1rem;
  height: 1rem;
  filter: invert(30%) sepia(80%) saturate(2000%) hue-rotate(210deg);
}

/* Testimonial Card Carousel */
.testimonial-card-carousel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: clamp(2rem, 5vw, 3rem);
  position: relative;
  text-align: center;
  margin: 0 1rem;
}

.testimonial-card-carousel .testimonial-quote {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 1.5rem;
}

.testimonial-card-carousel .testimonial-text {
  font-size: var(--text-lg);
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-card-carousel .testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.testimonial-card-carousel .testimonial-author img {
  width: clamp(60px, 10vw, 80px);
  height: clamp(60px, 10vw, 80px);
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
}

.testimonial-card-carousel .author-info h5 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.testimonial-card-carousel .author-info p {
  font-size: var(--text-sm);
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.testimonial-card-carousel .rating {
  color: var(--warning);
  font-size: var(--text-sm);
}

.testimonial-card-carousel .testimonial-result {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--success);
  font-size: var(--text-sm);
  font-weight: 600;
}

/* Clients Showcase */
.clients-showcase {
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--gray-50);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--gray-200);
}

.showcase-title {
  font-size: var(--text-sm);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.clients-logos {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
}

.client-logo-item img {
  height: clamp(40px, 8vw, 56px);
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ========================================
   BENEFITS SECTION RESPONSIVA
   ======================================== */
.benefits-section {
  background: var(--gray-50);
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2rem);
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.benefit-icon {
  width: clamp(48px, 10vw, 56px);
  height: clamp(48px, 10vw, 56px);
  background: var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  color: white;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.05);
}

.benefit-card h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.benefit-card p {
  color: var(--gray-600);
  font-size: var(--text-sm);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  flex-grow: 1;
}

.benefit-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
  font-size: var(--text-sm);
  margin-top: auto;
}

.benefit-link:hover {
  gap: 0.75rem;
}

.benefit-card-highlight {
  border: 2px solid var(--primary);
  background: var(--primary-soft);
}

/* ========================================
   PRICING SECTION RESPONSIVA
   ======================================== */
.pricing-section {
  background: var(--white);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  flex-wrap: wrap;
  padding: 0 1rem;
}

.toggle-label {
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: color 0.3s ease;
  font-size: var(--text-sm);
  user-select: none;
}

.toggle-label.active {
  color: var(--dark);
}

.toggle-switch {
  width: 56px;
  height: 30px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.toggle-switch.active {
  background: var(--primary);
}

.toggle-slider {
  width: 26px;
  height: 26px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.toggle-switch.active .toggle-slider {
  transform: translateX(26px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.pricing-grid.hidden {
  display: none;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: clamp(1.5rem, 4vw, 2rem);
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2xl);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.02);
  z-index: 1;
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.pricing-header h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.pricing-badge {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
}

.pricing-price {
  text-align: center;
  margin-bottom: 0.75rem;
}

.currency {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--gray-500);
  vertical-align: top;
}

.amount {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.period {
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.pricing-total {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.pricing-installation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  color: var(--gray-500);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
  flex-wrap: wrap;
  text-align: center;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
  font-size: var(--text-sm);
  color: var(--gray-700);
}

.pricing-features li i {
  color: var(--success);
  font-size: 0.875rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Pricing CTA Button */
.pricing-cta-btn {
  font-size: var(--text-xs) !important;
  padding: 0.75rem 1rem !important;
}

/* Primary Button */
.btn-primary {
  background: var(--primary) !important;
  border: none !important;
  padding: 0.875rem 1.5rem !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  color: white !important;
  font-size: var(--text-sm) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.btn-primary:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.pricing-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--gray-50);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--gray-200);
  flex-wrap: wrap;
  text-align: center;
}

.guarantee-icon {
  width: clamp(48px, 10vw, 56px);
  height: clamp(48px, 10vw, 56px);
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  color: var(--success);
  flex-shrink: 0;
}

.guarantee-content h4 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.guarantee-content p {
  color: var(--gray-600);
  margin: 0;
  font-size: var(--text-sm);
}

/* ========================================
   FAQ SECTION RESPONSIVA
   ======================================== */
.faq-section {
  background: var(--gray-50);
}

.faq-header-sticky {
  position: sticky;
  top: 100px;
  padding: 0 1rem;
}

.accordion-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  padding: clamp(1rem, 3vw, 1.25rem) clamp(1rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--dark);
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--text-sm);
  line-height: 1.4;
  text-align: left;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-soft);
  color: var(--primary);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary);
}

.faq-icon {
  width: clamp(32px, 6vw, 36px);
  height: clamp(32px, 6vw, 36px);
  background: var(--primary-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: var(--text-xs);
}

.accordion-body {
  padding: 0 clamp(1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 1.5rem) clamp(3rem, 8vw, 4rem);
  color: var(--gray-600);
  line-height: 1.7;
  font-size: var(--text-sm);
}

/* ========================================
   FINAL CTA SECTION - MELHORADO
   ======================================== */
.final-cta-section {
  background: var(--dark);
  padding: clamp(3rem, 8vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  position: relative;
}

.cta-content {
  margin-bottom: 2rem;
}

.cta-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* CTA Benefits Row */
.cta-benefits-row {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.cta-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: var(--text-sm);
}

.benefit-icon-cta {
  width: 28px;
  height: 28px;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  font-size: 0.875rem;
}

/* CTA Button Wrapper */
.cta-button-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

/* CTA Main Button - MENOR */
.btn-cta-main {
  background: var(--whatsapp) !important;
  border: none !important;
  padding: 0.875rem 2rem !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  font-size: var(--text-base) !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease !important;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: white !important;
  text-decoration: none;
}

.btn-cta-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  background: var(--whatsapp-dark) !important;
}

.btn-cta-main i {
  font-size: 1.25rem;
}

.cta-response-time {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}

.cta-security {
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-xs);
  margin: 0;
}

.cta-security a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
}

/* ========================================
   FOOTER RESPONSIVO OTIMIZADO
   ======================================== */
.footer {
  background: var(--dark-light);
  color: rgba(255, 255, 255, 0.65);
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(1.5rem, 4vw, 2rem);
}

.footer h5 {
  color: white;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: var(--text-base);
}

.footer p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
  font-size: var(--text-sm);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: var(--text-sm);
  display: inline-block;
  padding: 0.25rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  font-size: var(--text-base);
  min-width: 44px;
  min-height: 44px;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* Newsletter Form - MELHORADO */
.newsletter-input-wrapper {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 0.25rem;
  overflow: hidden;
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  padding: 0.75rem 1rem;
  font-size: var(--text-sm);
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.newsletter-btn {
  background: var(--primary);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.newsletter-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.newsletter-btn i {
  font-size: 0.875rem;
}

.footer-bottom {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: clamp(1.5rem, 4vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  font-size: var(--text-xs);
}

.footer-legal {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: var(--text-xs);
  transition: color 0.3s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-legal a:hover {
  color: white;
}

/* ========================================
   WHATSAPP FLOAT OTIMIZADO
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: clamp(16px, 4vw, 30px);
  right: clamp(16px, 4vw, 30px);
  width: clamp(52px, 12vw, 60px);
  height: clamp(52px, 12vw, 60px);
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: clamp(1.5rem, 4vw, 1.75rem);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
  min-width: 48px;
  min-height: 48px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
  color: white;
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark);
  color: white;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  font-size: var(--text-xs);
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--dark);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* ========================================
   DEMO MODAL - MELHORADO
   ======================================== */
.demo-modal .modal-content {
  border: none;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.demo-modal .modal-header {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 1.5rem;
}

.demo-modal .modal-title {
  font-weight: 700;
  color: var(--dark);
}

.demo-modal .modal-body {
  padding: 0;
}

.demo-video-container {
  background: var(--dark);
}

.demo-info-section {
  padding: 2rem;
  text-align: center;
}

.demo-info-section h4 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.demo-info-section p {
  color: var(--gray-600);
  font-size: var(--text-sm);
  margin-bottom: 1.5rem;
}

.demo-features-list {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.demo-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--gray-700);
}

.demo-feature-item i {
  color: var(--success);
}

.btn-cta-modal {
  background: var(--whatsapp) !important;
  border: none !important;
  padding: 0.875rem 1.5rem !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  color: white !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease !important;
  text-decoration: none;
}

.btn-cta-modal:hover {
  background: var(--whatsapp-dark) !important;
  transform: translateY(-2px);
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 1rem;
    border-radius: var(--radius-xl);
    margin-top: 0.75rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
  }

  .nav-link {
    padding: 0.75rem 1rem !important;
  }

  .language-nav-item {
    margin-top: 0.5rem;
    padding: 0 0.5rem;
  }

  .lang-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--gray-100);
    margin-top: 0.5rem;
    display: none;
  }

  .lang-dropdown.active {
    display: block;
  }

  .faq-header-sticky {
    position: static;
    text-align: center;
    margin-bottom: 2rem;
  }

  .floating-card {
    display: none;
  }

  .testimonials-carousel-wrapper .carousel-control-prev {
    left: 0;
  }
  
  .testimonials-carousel-wrapper .carousel-control-next {
    right: 0;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .cta-benefits-row {
    flex-direction: column;
    gap: 1rem;
  }

  .testimonial-card-carousel {
    margin: 0 0.5rem;
    padding: 1.5rem;
  }

  .whatsapp-tooltip {
    display: none;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 575.98px) {
  .hero-cta-group {
    flex-direction: column;
  }

  .btn-hero-main,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .cta-wrapper {
    padding: 1.5rem;
  }

  .demo-features-list {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ========================================
   ANIMAÇÕES
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .logos-track {
    animation: none;
  }
}

/* ========================================
   UTILITÁRIOS
   ======================================== */
.text-center {
  text-align: center;
}

.w-100 {
  width: 100%;
}

.hidden {
  display: none !important;
}
