/* ================================================================
   RTLINK - SISTEMA DE INTELIGÊNCIA EM FROTAS
   Arquivo de estilos principal (sem seção de Serviços)
================================================================ */

/* ================================================================
   VARIÁVEIS CSS - Cores, fontes, sombras e transições globais
================================================================ */
:root {
  --primary-color: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --secondary-color: #0ea5e9;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #eff6ff;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --whatsapp-color: #25d366;
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --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);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================================
   RESET - Normalização de estilos padrão
================================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================================================================
   CONTAINER - Largura máxima centralizada
================================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ================================================================
   NAVBAR - Menu de navegação fixo
================================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); background: rgba(255, 255, 255, 0.95); }
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center; height: 80px;
}
.logo { height: 45px; width: auto; transition: var(--transition); }
.logo:hover { transform: scale(1.05); }
.nav-menu { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

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

.nav-link:hover::after {
  width: 100%;
}

/* ATIVO (scrollspy) */
.nav-link.active {
  color: var(--primary-color);
}

.nav-link.active::after {
  width: 100%;
}

.btn-login {
  padding: 10px 24px; background: var(--primary-color); color: white;
  text-decoration: none; border-radius: 8px; font-weight: 600; font-size: 0.95rem;
  transition: var(--transition); box-shadow: 0 1px 3px rgba(30, 64, 175, 0.3);
}
.btn-login:hover {
  background: var(--primary-dark); transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
}
.mobile-menu-toggle {
  display: none; flex-direction: column; background: none;
  border: none; cursor: pointer; padding: 5px;
}
.mobile-menu-toggle span {
  width: 25px; height: 3px; background: var(--text-primary);
  margin: 3px 0; transition: var(--transition); border-radius: 2px;
}

/* ================================================================
   HERO - Seção principal de abertura
================================================================ */
.hero {
  margin-top: 80px; padding: 120px 0 100px; position: relative;
  overflow: hidden; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
}
.hero-background { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; }
.hero-gradient {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 25%, #0ea5e9 50%, #06b6d4 75%, #3b82f6 100%);
  background-size: 400% 400%; animation: gradientFlow 15s ease infinite;
}
@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-pattern {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  opacity: 0.6; animation: patternShift 20s ease-in-out infinite;
}
@keyframes patternShift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 30px) scale(1.1); }
}
.hero-orbs { position: absolute; width: 100%; height: 100%; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.3; animation: orbFloat 20s ease-in-out infinite; }
.orb-1 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(59, 130, 246, 0.6), transparent); top: -10%; left: -5%; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(14, 165, 233, 0.5), transparent); bottom: -15%; right: -10%; animation-delay: 7s; }
.orb-3 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(6, 182, 212, 0.4), transparent); top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: 14s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.9); }
}
.hero-content {
  max-width: 1400px; width: 100%; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px;
  align-items: center; position: relative; z-index: 10;
}
.hero-text { animation: slideInLeft 1s cubic-bezier(0.16, 1, 0.3, 1) backwards; }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: translateX(0); } }
.hero-title { font-size: 2.5rem; font-weight: 800; color: white; line-height: 1.2; margin-bottom: 24px; letter-spacing: -0.02em; }
.title-line { display: block; }
.title-word { display: inline-block; opacity: 0; animation: wordFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.title-word:nth-child(1) { animation-delay: 0.5s; }
.title-word.highlight {
  background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; position: relative; animation-delay: 0.7s;
}
@keyframes wordFadeIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-description { font-size: 1.25rem; color: rgba(255, 255, 255, 0.95); margin-bottom: 36px; line-height: 1.8; animation: fadeInUp 0.8s ease-out 0.9s both; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; animation: fadeInUp 0.8s ease-out 1.1s both; }

/* ================================================================
   BOTÕES - Estilos de botões reutilizáveis
================================================================ */
.btn {
  padding: 18px 40px; border-radius: 14px; text-decoration: none;
  font-weight: 700; font-size: 1.05rem; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex; align-items: center; position: relative; overflow: hidden; cursor: pointer;
}
.btn-content { display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; }
.btn-icon { font-size: 1.3rem; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.btn-primary {
  background: white; color: var(--primary-color);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.1);
}
.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 8px 20px rgba(0, 0, 0, 0.15);
}
.btn-primary:hover .btn-icon { transform: translateX(5px); }
.btn-shimmer {
  position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover .btn-shimmer { left: 100%; }
.btn-secondary {
  position: relative;
  background: linear-gradient(
    135deg,
    #3b82f6,
    #0ea5e9,
    #6366f1
  );
  color: #ffffff;
  border-radius: 16px;
  padding: 18px 42px;
  font-weight: 800;
  letter-spacing: 0.4px;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 20px 50px rgba(59, 130, 246, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* ANIMAÇÃO DE MOVIMENTO DO GRADIENTE */
.btn-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: translateX(-120%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* TEXTO */
.btn-secondary .btn-content {
  position: relative;
  z-index: 2;
}

/* HOVER */
.btn-secondary:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow:
    0 35px 90px rgba(99, 102, 241, 0.6),
    0 0 40px rgba(14, 165, 233, 0.55);
}

.btn-secondary:hover::before {
  transform: translateX(120%);
}

/* ACTIVE */
.btn-secondary:active {
  transform: translateY(-2px) scale(1.01);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25); border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-4px) scale(1.02); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.btn-large { padding: 20px 48px; font-size: 1.15rem; }

/* ================================================================
   HERO VISUAL - Cards flutuantes e elementos decorativos
================================================================ */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100px);
}

@keyframes slideInRight { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: translateX(0); } }
.visual-container { position: relative; width: 100%; height: 600px; display: flex; align-items: center; justify-content: center; }
.image-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%; animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}
.floating-card {
  position: absolute; padding: 20px 28px; background: rgba(255, 255, 255, 0.95);
  border-radius: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer; animation: cardFloat 6s ease-in-out infinite; z-index: 10;
}
.card-1 { top: 10%; left: -5%; animation-delay: 0s; }
.card-2 { top: 50%; right: -8%; animation-delay: 2s; }
.card-3 { bottom: 12%; left: 5%; animation-delay: 4s; }

@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(1deg); }
  75% { transform: translateY(-10px) rotate(-1deg); }
}
.floating-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(59, 130, 246, 0.3);
  background: white;
}
.card-glow {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 18px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(14, 165, 233, 0.3));
  opacity: 0; transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1); z-index: -1; filter: blur(20px);
}
.floating-card:hover .card-glow { opacity: 1; }
.card-content { display: flex; align-items: center; gap: 14px; position: relative; z-index: 2; }
.card-icon {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #3b82f6, #0ea5e9); border-radius: 12px; color: white;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.floating-card:hover .card-icon { transform: rotate(15deg) scale(1.1); }
.card-text { font-weight: 700; font-size: 1rem; color: var(--text-primary); white-space: nowrap; }
.card-sparkle {
  position: absolute; top: -2px; right: -2px; width: 20px; height: 20px;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, transparent 70%);
  border-radius: 50%; opacity: 0; animation: sparkleEffect 3s ease-in-out infinite;
}
@keyframes sparkleEffect {
  0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; transform: scale(1) rotate(180deg); }
}
.hero-particles { position: absolute; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute; width: 8px; height: 8px; background: rgba(255, 255, 255, 0.6);
  border-radius: 50%; animation: particleFloat 15s linear infinite;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}
.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 30%; animation-delay: 2s; animation-duration: 15s; }
.particle:nth-child(3) { left: 50%; animation-delay: 4s; animation-duration: 18s; }
.particle:nth-child(4) { left: 70%; animation-delay: 6s; animation-duration: 14s; }
.particle:nth-child(5) { left: 85%; animation-delay: 8s; animation-duration: 16s; }
.particle:nth-child(6) { left: 95%; animation-delay: 10s; animation-duration: 13s; }
@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 1; } 90% { opacity: 1; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}
.hero-circles { position: absolute; width: 100%; height: 100%; pointer-events: none; }
.circle { position: absolute; border: 2px solid rgba(255, 255, 255, 0.15); border-radius: 50%; animation: circleExpand 8s ease-in-out infinite; }
.circle-1 { width: 200px; height: 200px; top: 20%; left: 20%; animation-delay: 0s; }
.circle-2 { width: 300px; height: 300px; top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: 2s; }
.circle-3 { width: 180px; height: 180px; bottom: 20%; right: 20%; animation-delay: 4s; }
@keyframes circleExpand { 0%, 100% { transform: scale(1); opacity: 0.3; } 50% { transform: scale(1.3); opacity: 0.1; } }
.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.5s backwards; z-index: 20; cursor: pointer;
}
.scroll-icon { width: 30px; height: 50px; border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 20px; display: flex; justify-content: center; padding-top: 8px; }
.scroll-wheel { width: 4px; height: 10px; background: rgba(255, 255, 255, 0.8); border-radius: 4px; animation: scrollWheel 2s ease-in-out infinite; }
@keyframes scrollWheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(20px); opacity: 0; } }
.scroll-text { font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); font-weight: 500; letter-spacing: 0.5px; }

/* ================================================================
   SECTION HEADER - Cabeçalho padrão das seções
================================================================ */
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-block; padding: 8px 24px; background: var(--primary-color); color: white;
  border-radius: 50px; font-size: 0.85rem; font-weight: 700; margin-bottom: 20px;
  text-transform: uppercase; letter-spacing: 1.2px; box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}
.section-title { font-size: 2.75rem; font-weight: 800; color: var(--text-primary); margin-bottom: 20px; line-height: 1.3; letter-spacing: -0.02em; }
.section-description { font-size: 1.15rem; color: var(--text-secondary); max-width: 800px; margin: 0 auto; line-height: 1.8; }

/* ================================================================
   DIFERENCIAIS - Seção de diferenciais com fundo escuro
================================================================ */
.differentials { padding: 140px 0; position: relative; overflow: hidden; background: #0f172a; }
.differentials-bg { position: absolute; inset: 0; z-index: 0; }
.differentials-gradient {
  position: absolute; inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
}
.differentials-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
}
.differentials .container { position: relative; z-index: 1; }
.differentials .section-header { margin-bottom: 80px; }
.differentials .section-label { background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%); box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4); }
.differentials .section-title { color: white; font-size: 3rem; letter-spacing: -0.03em; }
.differentials .section-description { color: rgba(255, 255, 255, 0.7); font-size: 1.2rem; }
.differentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.three-cols {
  margin-top: 10px;
}

.differential-card {
  position: relative; padding: 36px; background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 24px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); overflow: hidden; backdrop-filter: blur(10px);
}
.differential-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.5s ease;
}
.differential-card:hover {
  transform: translateY(-8px); border-color: rgba(59, 130, 246, 0.3); background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(59, 130, 246, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.differential-card:hover::before { opacity: 1; }
.card-shine {
  position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 0.8s ease; pointer-events: none;
}
.differential-card:hover .card-shine { left: 100%; }
.differential-card.featured {
  grid-column: auto;
  padding: 44px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(14, 165, 233, 0.05) 100%);
  border-color: rgba(59, 130, 246, 0.2);
}

.differential-card.featured:hover {
  border-color: rgba(59, 130, 246, 0.5);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(14, 165, 233, 0.08) 100%);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5), 0 0 40px rgba(59, 130, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.card-border {
  position: absolute; inset: -1px; border-radius: 25px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(14, 165, 233, 0.5), rgba(99, 102, 241, 0.5));
  z-index: -1; opacity: 0; transition: opacity 0.5s ease; filter: blur(1px);
}
.differential-card.featured:hover .card-border { opacity: 1; }
.differential-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.differential-icon {
  width: 72px; height: 72px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%); border-radius: 20px; color: white;
  position: relative; box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.differential-card:hover .differential-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.icon-glow {
  position: absolute; inset: -10px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
  border-radius: 50%; opacity: 0; transition: opacity 0.5s ease; filter: blur(10px);
}
.differential-card:hover .icon-glow { opacity: 1; }
.differential-badge {
  padding: 8px 16px; background: rgba(59, 130, 246, 0.2); color: #60a5fa;
  font-size: 0.8rem; font-weight: 700; border-radius: 50px;
  text-transform: uppercase; letter-spacing: 1px; border: 1px solid rgba(59, 130, 246, 0.3);
}
.differential-icon-small {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  background: rgba(59, 130, 246, 0.1); border-radius: 16px; color: #60a5fa; margin-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); border: 1px solid rgba(59, 130, 246, 0.2);
}
.differential-card:hover .differential-icon-small {
  background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%); color: white;
  transform: scale(1.1); box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}
.differential-card h3 { font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 14px; letter-spacing: -0.02em; line-height: 1.3; }
.differential-card.featured h3 { font-size: 1.7rem; }
.differential-card p { font-size: 1.05rem; color: rgba(255, 255, 255, 0.6); line-height: 1.7; margin-bottom: 0; }
.differential-card.featured p { margin-bottom: 24px; }
.differential-benefits { list-style: none; padding: 0; margin: 0; }
.differential-benefits li {
  display: flex; align-items: flex-start; gap: 14px; padding: 14px 0;
  font-size: 1rem; color: rgba(255, 255, 255, 0.8); line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); transition: all 0.3s ease;
}
.differential-benefits li:last-child { border-bottom: none; padding-bottom: 0; }
.differential-benefits li:hover { color: white; padding-left: 8px; }
.benefit-icon {
  flex-shrink: 0; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  background: rgba(16, 185, 129, 0.2); border-radius: 50%; color: #34d399;
}
.differential-benefits li strong { color: #60a5fa; }

.card-decoration { position: absolute; bottom: -50px; right: -50px; pointer-events: none; }
.decoration-circle { position: absolute; border-radius: 50%; border: 1px solid rgba(59, 130, 246, 0.1); }
.decoration-circle:nth-child(1) { width: 150px; height: 150px; bottom: 0; right: 0; }
.decoration-circle:nth-child(2) { width: 100px; height: 100px; bottom: 25px; right: 25px; }

/* ================================================================
   WHATSAPP SECTION - Seção de destaque do canal WhatsApp
================================================================ */
.whatsapp-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #0b3a77 0%, #0a2f66 45%, #0b3a77 100%);
  color: white; position: relative; overflow: hidden;
}
.whatsapp-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.06) 0%, transparent 55%);
  opacity: 0.9; pointer-events: none;
}
.whatsapp-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: flex-start; /* 🔥 deixa o conteúdo mais para cima */
}

.whatsapp-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.whatsapp-text--up {
  transform: translateY(-8px);
}

.whatsapp-text--up h2 {
  font-size: 2.6rem;
  line-height: 1.15;
  font-weight: 800;
  margin-top: 20px;     /* 👈 desce o título */
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}


.whatsapp-text--up p {
  font-size: 1.15rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.92);
  max-width: 720px;

  text-align: justify;
  text-justify: inter-word;
}


@media (max-width: 768px) {
  .whatsapp-text--up {
    transform: translateY(0);
  }
}



/* ================================================================
   SOBRE NÓS - Seção sobre a empresa
================================================================ */
.about { padding: 120px 0; background: var(--bg-secondary); }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.8; }
.about-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.feature-item {
  text-align: center; padding: 32px 20px; background: white; border-radius: 16px;
  box-shadow: var(--shadow-md); transition: var(--transition); border: 2px solid transparent;
}
.feature-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--primary-light); }
.feature-icon { color: var(--primary-color); margin-bottom: 16px; display: flex; justify-content: center; }
.feature-item h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.feature-item p { font-size: 0.9rem; color: var(--text-secondary); }
.about-image { display: flex; justify-content: center; align-items: center; position: relative; }
.image-decoration {
  position: absolute; width: 120%; height: 120%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
  border-radius: 24px; opacity: 0.1; z-index: 0; animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.about-image img { width: 100%; max-width: 550px; height: auto; border-radius: 20px; box-shadow: var(--shadow-2xl); position: relative; z-index: 1; }

/* ================================================================
   PROBLEMAS - Seção de problemas que o RTLink resolve
================================================================ */
.problems { padding: 120px 0; background: white; }
.problems-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; margin-top: 60px; }
.problem-card {
  padding: 40px 32px; background: var(--bg-secondary); border-radius: 20px;
  transition: var(--transition); border: 2px solid transparent; text-align: center;
  position: relative; overflow: hidden;
}
.problem-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  transform: scaleX(0); transition: var(--transition);
}
.problem-card:hover::before { transform: scaleX(1); }
.problem-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); border-color: var(--primary-light); background: white; }
.problem-icon {
  width: 90px; height: 90px; margin: 0 auto 24px; background: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); color: var(--primary-color); transition: var(--transition);
}
.problem-card:hover .problem-icon { transform: scale(1.1); box-shadow: var(--shadow-lg); }
.problem-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; }
.problem-card p { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; }

/* ================================================================
   COMPARAÇÃO - Seção antes/depois com card que vira
================================================================ */
.solution-comparison { padding: 120px 0; background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%); }
.comparison-header { text-align: center; margin-bottom: 60px; }
.comparison-card { perspective: 1500px; width: 100%; max-width: 850px; margin: 0 auto; }
.card-flip {
  position: relative; width: 100%; height: 750px;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); transform-style: preserve-3d;
}
.comparison-card:hover .card-flip { transform: rotateY(180deg); }
.card-front, .card-back {
  position: absolute; width: 100%; height: 100%; backface-visibility: hidden;
  background: white; border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05); overflow: hidden;
}
.card-front { z-index: 2; padding: 70px 60px; display: flex; flex-direction: column; }
.card-back { transform: rotateY(180deg); display: flex; flex-direction: column; padding: 50px; background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%); }
.card-front h3, .card-back h3 { font-size: 2.5rem; color: var(--text-primary); margin-bottom: 16px; font-weight: 800; text-align: center; }
.comparison-subtitle { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 50px; text-align: center; font-weight: 500; }
.comparison-items { position: relative; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; flex: 1; align-items: center; }
.comparison-tag {
  position: relative; display: inline-block; padding: 14px 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: var(--text-primary); border-radius: 12px; font-size: 0.95rem; font-weight: 600;
  border: 2px solid #e2e8f0; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.comparison-tag:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); border-color: var(--primary-light);
}
#linesCanvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.product-image { flex: 1; width: 100%; border-radius: 20px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 20px; }
.product-image img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1)); }
.comparison-hint { text-align: center; margin-top: 30px; opacity: 0.7; animation: hintPulse 2s ease-in-out infinite; }
.comparison-hint p { font-size: 0.95rem; color: var(--text-secondary); font-weight: 500; }
@keyframes hintPulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }

/* ================================================================
   DEPOIMENTOS - Cards de feedback dos clientes
================================================================ */
.testimonials { padding: 120px 0; background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%); }
.testimonials-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.testimonial-card {
  background: white;
  padding: 40px 36px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 2px solid transparent;

  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0); transition: var(--transition);
}
.testimonial-card:hover::before { transform: scaleX(1); }
.testimonial-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); border-color: var(--primary-light); }
.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;

  flex-grow: 1;
}

.testimonial-user {
  margin-top: auto;        
  display: flex;
  justify-content: center;  
}

.testimonial-avatar img {
  height: 100%;
  max-width: 140px;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-avatar:hover img {
  transform: scale(1.5);
}

.whatsapp-tooltip {
  position: absolute;
  right: 90px;
  bottom: 12px;

  background: #ffffff;
  color: #0f172a;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);

  display: flex;
  align-items: center;
  gap: 14px;

  font-size: 0.95rem;
  line-height: 1.4;
  white-space: nowrap;

  animation: tooltipFloat 0.6s ease;
}

.whatsapp-tooltip strong {
  color: #16a34a;
  font-weight: 800;
}

.tooltip-close {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  color: #64748b;
}

.tooltip-close:hover {
  color: #0f172a;
}

/* setinha do balão */
.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: 18px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid #ffffff;
}

@keyframes tooltipFloat {
  from {
    opacity: 0;
    transform: translateX(10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.whatsapp-float svg {
  width: 40px;
  height: 40px;
  display: block;
}


.testimonial-avatar {
  width: auto;
  height: 40px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  display: flex;
  align-items: center;
}

.testimonial-avatar img {
  height: 100%;
  width: auto;
  max-height: 40px;
  object-fit: contain;
}

.testimonial-user strong { display: block; color: var(--text-primary); font-size: 1.05rem; }
.testimonial-user span { font-size: 0.9rem; color: var(--text-light); }

/* ================================================================
   CLIENTES - Carrossel automático de logos
================================================================ */
.clients {
  padding: 120px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
  position: relative; overflow: hidden;
}
.clients::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.03) 0%, transparent 50%);
  pointer-events: none;
}
.clients .container { position: relative; z-index: 1; }
.clients-carousel {
  margin-top: 60px; position: relative; overflow: hidden; border-radius: 24px;
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 30px -5px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.03);
  padding: 40px 0;
}
.clients-gradient { position: absolute; top: 0; bottom: 0; width: 120px; z-index: 10; pointer-events: none; }
.clients-gradient-left { left: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%); }
.clients-gradient-right { right: 0; background: linear-gradient(270deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%); }
.clients-viewport { overflow: hidden; width: 100%; }
.clients-track {
  display: flex; gap: 40px; padding: 20px 40px;
  animation: clientsScroll 30s linear infinite; width: max-content;
}
.clients-track:hover { animation-play-state: paused; }
@keyframes clientsScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.client-item {
  flex: 0 0 auto; width: 180px; height: 100px; border-radius: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px solid transparent; display: flex; align-items: center; justify-content: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); position: relative; overflow: hidden;
}
.client-item::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
  opacity: 0; transition: opacity 0.4s ease;
}
.client-item::after {
  content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}
.client-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(59, 130, 246, 0.2);
  border-color: var(--primary-light); background: white;
}
.client-item:hover::before { opacity: 1; }
.client-item:hover::after { left: 100%; }
.client-item img {
  width: 70%; height: 70%; object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); position: relative; z-index: 1;
}
.client-item:hover img { filter: grayscale(0%) opacity(1); transform: scale(1.1); }

/* ================================================================
   CTA - Seção de Call to Action
================================================================ */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #0ea5e9 100%);
  text-align: center; color: white; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0.5;
}
.cta-content { position: relative; z-index: 1; }
.cta-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100px; height: 100px; background: rgba(255, 255, 255, 0.2); border-radius: 50%;
  margin-bottom: 32px; backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3); animation: iconPulse 2s ease-in-out infinite;
}
@keyframes iconPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.cta-icon svg { color: white; }
.cta-content h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 20px; line-height: 1.3; letter-spacing: -0.02em; }
.cta-text { font-size: 1.25rem; margin-bottom: 48px; opacity: 0.95; max-width: 700px; margin-left: auto; margin-right: auto; }

/* ============================
   FAQ (Accordion) - estilo print
============================ */

.faq{
  padding: 90px 0;
  background: var(--bg-primary);
}

.faq-title{
  text-align: center;
  font-size: clamp(1.9rem, 2.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.faq-accordion{
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item{
  border: 1px solid #111;
  background: #fff;
}

.faq-question{
  width: 100%;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 20px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  font-weight: 800;
  font-size: 1.05rem;
  color: #111;
  text-align: left;
}

.faq-question:focus-visible{
  outline: 3px solid rgba(59,130,246,0.35);
  outline-offset: 3px;
}

.faq-icon{
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  position: relative;
  display: inline-block;
  transition: transform .25s ease;
}

.faq-icon::before,
.faq-icon::after{
  content:"";
  position:absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: #111;
  transform: translate(-50%,-50%);
  border-radius: 2px;
}

.faq-icon::after{
  transform: translate(-50%,-50%) rotate(90deg);
  transition: opacity .2s ease;
}

.faq-item.is-open .faq-icon{
  transform: rotate(180deg);
}

.faq-item.is-open .faq-icon::after{
  opacity: 0; /* vira “-” quando aberto */
}

.faq-answer{
  height: 0;
  overflow: hidden;
  transition: height .32s cubic-bezier(.2,.9,.2,1);
  border-top: 1px solid #111;
}

.faq-answer-inner{
  padding: 16px 18px 20px;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* CTA abaixo do FAQ */
.faq-cta{
  margin-top: 70px;
  text-align: center;
}

.faq-cta-title{
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.faq-cta-subtitle{
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.faq-cta-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 26px;
  border-radius: 10px;

  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;

  color: #fff;
  background: var(--primary-color);

  box-shadow: none;
  border: none;

  transition: transform .18s ease, background-color .18s ease;
}

.faq-cta-btn:hover{
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--primary-color) 85%, #000 15%);
}

.faq-cta-btn:active{
  transform: translateY(0);
}


/* Mobile */
@media (max-width: 768px){
  .faq{ padding: 70px 0; }
  .faq-question{ font-size: 1rem; padding: 18px 16px; }
  .faq-answer-inner{ padding: 14px 16px 18px; }
}


/* ================================================================
   CONTATO - Seção de contato
================================================================ */
.contact { padding: 120px 0; background: var(--bg-secondary); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; margin-top: 60px; }
.contact-card {
  padding: 48px 36px; background: white; border-radius: 20px; text-align: center;
  transition: var(--transition); box-shadow: var(--shadow-lg); border: 2px solid transparent;
}
.contact-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-2xl); border-color: var(--primary-light); }
.contact-icon {
  width: 90px; height: 90px; margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: var(--transition);
}
.contact-card:hover .contact-icon { transform: scale(1.1) rotate(5deg); }
.contact-icon img { width: 45px; height: 45px; filter: brightness(0) invert(1); }
.contact-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; }
.contact-link {
  font-size: 1.2rem; color: var(--primary-color); text-decoration: none;
  font-weight: 700; transition: var(--transition); display: block; margin-bottom: 12px;
}
.contact-link:hover { color: var(--primary-dark); transform: scale(1.05); }
.contact-hint { font-size: 0.95rem; color: var(--text-light); }

/* ================================================================
   FOOTER - Rodapé
================================================================ */
.footer { background: var(--text-primary); color: white; padding: 80px 0 30px; }
.footer-content { display: grid; grid-template-columns: 2fr 3fr; gap: 80px; margin-bottom: 50px; }
.footer-logo { height: 45px; width: auto; margin-bottom: 24px; }
.footer-text { color: var(--text-light); font-size: 1rem; line-height: 1.7; max-width: 450px; margin-bottom: 12px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.footer-column h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; color: white; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 14px; }
.footer-column ul li a { color: var(--text-light); text-decoration: none; font-size: 1rem; transition: var(--transition); }
.footer-column ul li a:hover { color: var(--primary-light); padding-left: 5px; }
.footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; }
.footer-bottom p { color: var(--text-light); font-size: 0.95rem; }

/* ================================================================
   BOTÕES FLUTUANTES - Scroll to top e WhatsApp
================================================================ */
.scroll-to-top {
  position: fixed; bottom: 100px; right: 30px; width: 56px; height: 56px;
  background: var(--primary-color); color: white; border: none; border-radius: 50%;
  font-size: 1.6rem; cursor: pointer; opacity: 0; visibility: hidden;
  transition: var(--transition); box-shadow: var(--shadow-lg); z-index: 998;
}
.scroll-to-top.visible { opacity: 1; visibility: visible; }
.scroll-to-top:hover { background: var(--primary-dark); transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.whatsapp-float {
  position: fixed; bottom: 20px; right: 20px; width: 50px; height: 50px;
  background: var(--whatsapp-color); color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); z-index: 999;
  transition: var(--transition); text-decoration: none; animation: whatsappPulse 2s ease-in-out infinite;
}
@keyframes whatsappPulse { 0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); } 50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8); } }
.whatsapp-float:hover { background: #128c7e; transform: translateY(-5px) scale(1.05); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7); }
.whatsapp-float svg { width: 36px; height: 36px; }
.whatsapp-float::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%; border: 3px solid var(--whatsapp-color);
  animation: whatsappRipple 2s ease-out infinite; opacity: 0;
}
@keyframes whatsappRipple { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.5); opacity: 0; } }

/* ================================================================
   BOTÕES FLUTUANTES - WhatsApp com seta que aparece após Hero
================================================================ */

.whatsapp-float-wrapper {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* SETA - Oculta por padrão, aparece após sair do #inicio */
.whatsapp-arrow {
  position: absolute;
  bottom: 100px; /* sobe a seta */
  right: 30px;  /* desloca levemente para o lado */
  
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #25d366;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
}


.whatsapp-arrow svg {
  width: 28px;
  height: 28px;
  fill: #25d366;
  transition: fill 0.3s ease;
}

/* Estado visível - ativado pelo JS */
.whatsapp-arrow.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: arrowBounce 2s ease-in-out infinite;
}

.whatsapp-arrow:hover {
  background: #25d366;
  border-color: #25d366;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-arrow:hover svg {
  fill: #ffffff;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* BOTÃO WHATSAPP */
.whatsapp-float {
  width: 70px;
  height: 70px;
  background: var(--whatsapp-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  text-decoration: none;
  animation: whatsappPulse 2s ease-in-out infinite;
  position: relative;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8); }
}

.whatsapp-float:hover {
  background: #128c7e;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
}

.whatsapp-float svg { 
  width: 40px; 
  height: 40px; 
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  border: 3px solid var(--whatsapp-color);
  animation: whatsappRipple 2s ease-out infinite;
  opacity: 0;
}

@keyframes whatsappRipple {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .whatsapp-float-wrapper { 
    bottom: 20px; 
    right: 20px; 
    gap: 12px; 
  }
  
  .whatsapp-arrow {
    width: 45px;
    height: 45px;
  }
  
  .whatsapp-arrow svg {
    width: 24px;
    height: 24px;
  }
  
  .whatsapp-float { 
    width: 60px; 
    height: 60px; 
  }
  
  .whatsapp-float svg { 
    width: 34px; 
    height: 34px; 
  }
}
/* ================================
   SETA DO WHATSAPP - VISIBILIDADE
================================ */
.whatsapp-arrow {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;

  transition: opacity .3s ease, transform .3s ease;
}

.whatsapp-arrow.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* ================================================================
   RESPONSIVO - Adaptações para diferentes tamanhos de tela
================================================================ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 60px; padding: 0 20px; }
  .hero-title { font-size: 2.2rem; }
  .hero-visual { order: -1; height: 400px; }
  .visual-container { height: 400px; }
  .about-content { grid-template-columns: 1fr; gap: 48px; }
  .about-features { grid-template-columns: 1fr; }
  .differentials-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
  .differential-card.featured { grid-column: span 1; }
  .differentials .section-title { font-size: 2.5rem; }
  .differentials-stats { flex-wrap: wrap; gap: 40px; padding: 40px; }
  .stat-divider { display: none; }
  .whatsapp-container { grid-template-columns: 1fr; gap: 40px; }

  .whatsapp-image img { max-width: 380px; }
  .clients-track { gap: 30px; animation-duration: 25s; }
  .client-item { width: 160px; height: 90px; }
  .clients-gradient { width: 80px; }
  .footer-content { grid-template-columns: 1fr; gap: 48px; }
  .footer-links { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .mobile-menu-toggle { display: flex; z-index: 1001; }
  .mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
  .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }
  .nav-menu {
    position: fixed; top: 80px; left: 0; right: 0; bottom: 0;
    background: white; flex-direction: column; padding: 40px 20px;
    box-shadow: var(--shadow-xl); transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); overflow-y: auto;
  }
  .nav-menu.active { transform: translateX(0); }
  .hero { padding: 80px 0 60px; min-height: auto; }
  .hero-title { font-size: 2rem; }
  .hero-description { font-size: 1.1rem; }
  .floating-card { display: none; }
  .hero-orbs .orb { display: none; }
  .scroll-indicator { display: none; }
  .section-title { font-size: 2rem; }
  .about, .problems, .solution-comparison, .differentials, .cta-section, .contact, .clients, .testimonials { padding: 80px 0; }
  .problems-grid { grid-template-columns: 1fr; }
  .differentials .section-header { margin-bottom: 50px; }
  .differentials .section-title { font-size: 2rem; }
  .differential-card { padding: 28px; }
  .differential-card.featured { padding: 32px; }
  .differential-card h3 { font-size: 1.3rem; }
  .differential-card.featured h3 { font-size: 1.4rem; }
  .differential-icon { width: 60px; height: 60px; border-radius: 16px; }
  .card-arrow { bottom: 28px; right: 28px; width: 40px; height: 40px; }
  .differentials-stats { flex-direction: column; gap: 32px; padding: 32px; }
  .stat-number { font-size: 2.8rem; }
  .whatsapp-section { padding: 80px 0; }
  .clients-carousel { padding: 30px 0; border-radius: 20px; }
  .clients-track { gap: 24px; padding: 15px 20px; animation-duration: 20s; }
  .client-item { width: 140px; height: 80px; border-radius: 12px; }
  .clients-gradient { width: 50px; }
  .card-flip { height: 650px; }
  .card-front, .card-back { padding: 40px 30px; }
  .card-front h3, .card-back h3 { font-size: 2rem; }
  .comparison-subtitle { font-size: 1.1rem; }
  .comparison-tag { font-size: 0.85rem; padding: 12px 20px; }
  .cta-content h2 { font-size: 2rem; }
  .btn { width: 100%; justify-content: center; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 56px; height: 56px; }
  .whatsapp-float svg { width: 32px; height: 32px; }
  .scroll-to-top { bottom: 80px; right: 20px; width: 50px; height: 50px; }
}

@media (max-width: 480px) {
  .nav-container { padding: 0 15px; }
  .hero-title { font-size: 1.8rem; }
  .section-title { font-size: 1.7rem; }
  .cta-content h2 { font-size: 1.7rem; }
  .card-flip { height: 600px; }
  .differential-header { flex-direction: column; gap: 16px; }
  .differential-badge { align-self: flex-start; }
  .differential-card p { font-size: 1rem; }
  .differential-benefits li { font-size: 0.95rem; }
  .clients-track { gap: 20px; animation-duration: 18s; }
  .client-item { width: 120px; height: 70px; }
  .clients-gradient { width: 30px; }
}

