/* ==========================================================================
   SMARTEK FIBRA - DESIGN SYSTEM PREMIUM & CLEAN
   Design Ultra-Moderno, Elegante, Rápido e Focado em Conversão
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
  
  /* Paleta de Cores Premium */
  --color-brand-blue: #0066ff;
  --color-brand-blue-dark: #0052cc;
  --color-brand-cyan: #00e5ff;
  --color-brand-navy: #0b0f19;
  --color-brand-slate: #0f172a;
  --color-brand-emerald: #10b981;
  --color-brand-emerald-dark: #059669;
}

/* Reset & Configurações Globais */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: #f8fafc;
  background-image: 
    radial-gradient(at 0% 0%, rgba(0, 102, 255, 0.04) 0px, transparent 45%),
    radial-gradient(at 100% 0%, rgba(0, 229, 255, 0.05) 0px, transparent 45%),
    radial-gradient(at 50% 100%, rgba(241, 245, 249, 0.8) 0px, transparent 60%);
  color: #0f172a;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Custom Selection */
::selection {
  background-color: #2563eb;
  color: #ffffff;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

/* Scrollbar Customizada Clean */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
  border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Header & Navegação */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 25px -4px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;
}

/* Links Ativos e Efeitos de Menu */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link-active {
  color: #2563eb !important;
  font-weight: 700 !important;
}

.nav-link-active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, #2563eb, #00e5ff);
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

/* Cards & Glassmorphism */
.glass-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
}

.glass-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.75rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: #93c5fd;
  box-shadow: 0 20px 35px -10px rgba(37, 99, 235, 0.12);
}

/* Card Featured em Alta Evidência */
.glow-card-featured {
  position: relative;
  background: #ffffff !important;
  border: 2px solid #2563eb !important;
  border-radius: 1.75rem !important;
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25) !important;
}

.glow-card-featured::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #2563eb, #00e5ff, #10b981);
  border-radius: 1.85rem;
  z-index: -1;
  opacity: 0.85;
  filter: blur(10px);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.glow-card-featured:hover::before {
  opacity: 1;
  filter: blur(14px);
}

/* Carrossel Hero Full-Width */
.hero-carousel-container {
  position: relative !important;
  overflow: hidden !important;
  background-color: #080c16 !important;
  width: 100% !important;
  display: block !important;
}

.hero-carousel-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  height: 100% !important;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
}

.hero-carousel-slide {
  min-width: 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  flex: 0 0 100% !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  position: relative !important;
  min-height: 540px;
  height: clamp(540px, 72vh, 690px);
  overflow: hidden !important;
  background-color: #080c16;
}

@media (max-width: 640px) {
  .hero-carousel-slide {
    min-height: 520px;
    height: 520px;
  }
}

.hero-carousel-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center right !important;
  display: block !important;
}

.carousel-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    90deg,
    rgba(8, 12, 22, 0.96) 0%,
    rgba(8, 12, 22, 0.88) 38%,
    rgba(8, 12, 22, 0.5) 70%,
    rgba(8, 12, 22, 0.2) 100%
  ) !important;
}

@media (max-width: 768px) {
  .carousel-overlay {
    background: linear-gradient(
      180deg,
      rgba(8, 12, 22, 0.4) 0%,
      rgba(8, 12, 22, 0.9) 45%,
      rgba(8, 12, 22, 0.98) 100%
    ) !important;
  }
}

.carousel-arrow-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 17px !important;
  cursor: pointer !important;
  z-index: 30 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.carousel-arrow-btn:hover {
  background: #ffffff !important;
  color: #2563eb !important;
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45) !important;
}

.carousel-arrow-btn.prev {
  left: 24px !important;
}

.carousel-arrow-btn.next {
  right: 24px !important;
}

@media (max-width: 640px) {
  .carousel-arrow-btn {
    display: none !important;
  }
}

.carousel-dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.35) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  border: none !important;
}

.carousel-dot.active {
  width: 34px !important;
  background: #00e5ff !important;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.9) !important;
}

/* Números de Velocidade com Gradiente Moderno */
.speed-number {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 3.4vw, 3rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.035em;
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges & Pills */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

/* Shimmer Animation para Botões de Conversão */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%
  );
  transform: rotate(30deg);
  animation: shimmer 4s infinite linear;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  box-shadow: 0 10px 30px -5px rgba(37, 211, 102, 0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 15px 35px -5px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  background: rgba(37, 211, 102, 0.4);
  z-index: -1;
  animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.25);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

/* Logotipo */
.brand-logo-img {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.06));
  image-rendering: -webkit-optimize-contrast;
  display: block;
}

/* Simulador Inteligente */
.quiz-option-btn {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.quiz-option-btn:hover {
  transform: translateY(-2px);
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.quiz-option-btn.selected {
  background-color: #eff6ff !important;
  border-color: #2563eb !important;
  color: #1d4ed8 !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25), 0 4px 14px rgba(37, 99, 235, 0.12) !important;
}

/* Visualizador de PDF */
.pdf-viewer-container {
  min-height: 560px;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
