/* ==========================================================================
   NIT SOLUTIONS LTDA - Estilos Customizados, Tipografia Premium & Efeitos
   ========================================================================== */

/* Importação de fontes premium: Outfit (Títulos modernos estilo Big Tech) + Plus Jakarta Sans (Corpo refinado) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-navy: #070d1e;
  --primary-blue: #0b1938;
  --accent-cyan: #00d2ff;
  --accent-cyan-glow: rgba(0, 210, 255, 0.6);
  --accent-blue: #0066ff;
  --accent-emerald: #10b981;
  --whatsapp-green: #25D366;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--primary-navy);
  color: #e2e8f0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Tipografia de Títulos: Outfit moderno, imponente e tecnológico */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.025em;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

h1 {
  letter-spacing: -0.035em;
}

h2 {
  letter-spacing: -0.03em;
}

/* --------------------------------------------------
   EFEITO ESPECIAL: ANIMAÇÃO DA FIBRA ÓPTICA NO LOGO
   -------------------------------------------------- */
.logo-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.logo-container img {
  display: block;
  max-height: 100%;
  width: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

/* Área exata das pontas da fibra óptica (coordenadas calibradas: X ~ 86-98%, Y ~ 15-28%) */
.fiber-light-overlay {
  position: absolute;
  right: 0.8%;
  top: 17%;
  width: 14%;
  height: 18%;
  z-index: 3;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Feixes de luz pulsantes nas pontas das fibras */
.fiber-dot {
  position: absolute;
  border-radius: 50%;
  background: #ffffff;
  pointer-events: none;
}

.fiber-dot-1 {
  width: 4px;
  height: 4px;
  top: 15%;
  right: 5%;
  background: #00ffff;
  box-shadow: 0 0 8px #00ffff, 0 0 16px #00d2ff;
  animation: fiberSparkle 1.8s infinite ease-in-out;
}

.fiber-dot-2 {
  width: 5px;
  height: 5px;
  top: 45%;
  right: 2%;
  background: #ffffff;
  box-shadow: 0 0 10px #ffffff, 0 0 20px #00d2ff, 0 0 30px #0099ff;
  animation: fiberSparkle 1.4s infinite ease-in-out 0.3s;
}

.fiber-dot-3 {
  width: 4px;
  height: 4px;
  top: 75%;
  right: 8%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8, 0 0 16px #0284c7;
  animation: fiberSparkle 2.1s infinite ease-in-out 0.7s;
}

.fiber-dot-4 {
  width: 3px;
  height: 3px;
  top: 30%;
  right: 20%;
  background: #a5f3fc;
  box-shadow: 0 0 6px #a5f3fc;
  animation: fiberSparkle 1.6s infinite ease-in-out 1s;
}

.fiber-dot-5 {
  width: 4px;
  height: 4px;
  top: 60%;
  right: 22%;
  background: #00f0ff;
  box-shadow: 0 0 9px #00f0ff;
  animation: fiberSparkle 1.9s infinite ease-in-out 0.5s;
}

/* Feixe de dados fluindo pela linha superior do T */
.fiber-cable-glow {
  position: absolute;
  top: 16%;
  right: 1%;
  width: 25%;
  height: 18%;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.45) 0%, rgba(0, 150, 255, 0.2) 50%, rgba(0, 0, 0, 0) 80%);
  border-radius: 50%;
  z-index: 1;
  filter: blur(4px);
  animation: fiberAura 2.5s infinite alternate ease-in-out;
  pointer-events: none;
}

@keyframes fiberSparkle {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.6);
    opacity: 1;
  }
}

@keyframes fiberAura {
  0% {
    opacity: 0.4;
    transform: scale(0.9);
  }
  100% {
    opacity: 0.95;
    transform: scale(1.15);
  }
}

/* --------------------------------------------------
   GRADIENTES E FUNDOS HIGH-TECH
   -------------------------------------------------- */
.tech-bg-grid {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-glow-1 {
  position: absolute;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, rgba(11, 25, 56, 0.05) 50%, transparent 70%);
  top: -100px;
  right: -100px;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
  bottom: 0px;
  left: -150px;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

/* Efeito Glassmorphism Corporativo */
.glass-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 210, 255, 0.4);
  box-shadow: 0 20px 40px -15px rgba(0, 210, 255, 0.15);
}

/* --------------------------------------------------
   SEÇÃO DE CLIENTES EM DESTAQUE (ALTA VISIBILIDADE)
   -------------------------------------------------- */
.clients-spotlight-section {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(14, 34, 77, 0.7) 0%, rgba(7, 13, 30, 0.98) 70%);
  border-top: 1px solid rgba(0, 210, 255, 0.25);
  border-bottom: 1px solid rgba(0, 210, 255, 0.25);
  box-shadow: inset 0 20px 40px -20px rgba(0, 210, 255, 0.15);
}

.client-showcase-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.client-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.client-showcase-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 210, 255, 0.5);
  box-shadow: 0 20px 35px -10px rgba(0, 210, 255, 0.2);
  background: rgba(20, 32, 58, 0.95);
}

.client-showcase-card:hover::before {
  opacity: 1;
}

/* Moldura do Logo com Fundo Adaptativo */
.client-logo-box {
  background: #ffffff;
  border-radius: 0.85rem;
  padding: 1rem 1.25rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.client-logo-box img {
  max-height: 48px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.client-showcase-card:hover .client-logo-box img {
  transform: scale(1.05);
}

/* Estilo para logos que já possuem fundo escuro (como Artigus e GMM) */
.client-logo-box.dark-logo-box {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Cartões de Parceiros Oficiais */
.partner-badge {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.partner-badge:hover {
  border-color: rgba(0, 210, 255, 0.5);
  background: rgba(22, 33, 62, 0.9);
  transform: translateY(-2px);
}

/* --------------------------------------------------
   BOTÃO FLUTUANTE WHATSAPP
   -------------------------------------------------- */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.whatsapp-float-circle {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: all 0.3s ease;
  position: relative;
}

.whatsapp-float-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: pulseRing 2s infinite;
  z-index: -1;
}

@keyframes pulseRing {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.whatsapp-float-tooltip {
  background: #0f172a;
  color: #f8fafc;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(37, 211, 102, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #070d1e;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 5px;
  border: 2px solid #070d1e;
}
::-webkit-scrollbar-thumb:hover {
  background: #0284c7;
}
