/* NSA Energia Solar - Design System Suave, Acinzentado & Corporativo */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --nsa-blue: #004B87;
  --nsa-blue-dark: #003366;
  --nsa-blue-light: #EBF4FC;
  --nsa-amber: #F59E0B;
  --nsa-gray-bg: #F1F5F9;
  --nsa-card-bg: #FFFFFF;
  --nsa-border: #E2E8F0;
  --nsa-text-primary: #1E293B;
  --nsa-text-muted: #64748B;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #F1F5F9;
  color: #1E293B;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-weight: 400;
  line-height: 1.6;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
  font-weight: 600;
}

/* Scrollbar Suave */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #E2E8F0;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 6px;
  border: 2px solid #E2E8F0;
}
::-webkit-scrollbar-thumb:hover {
  background: #004B87;
}

/* Light Glass Header */
.light-glass-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E2E8F0;
}

/* Cards com tom acinzentado e sombra suave */
.light-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 12px -2px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
}

.light-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(0, 75, 135, 0.08);
}

.light-panel {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}

/* Ambient Highlights Suaves */
.ambient-sun-light {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0) 70%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
}

.ambient-blue-light {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 75, 135, 0.06) 0%, rgba(0, 75, 135, 0) 70%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
}

/* Animações e Transições do Carousel do Hero */
.hero-slide-content {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-slide-enter {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-exit {
  opacity: 0;
  transform: translateY(6px);
}

.hero-indicator {
  transition: all 0.3s ease;
  height: 8px;
  border-radius: 9999px;
}

.hero-indicator.active {
  width: 32px;
  background-color: #004B87;
}

.hero-indicator.inactive {
  width: 10px;
  background-color: #CBD5E1;
}

.hero-indicator.inactive:hover {
  background-color: #94A3B8;
}

/* Range Slider */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: #E2E8F0;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #004B87;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 75, 135, 0.4);
  border: 3px solid #FFFFFF;
  transition: transform 0.15s ease, background 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #003366;
}

/* WhatsApp Pulse */
@keyframes pulseGreenLight {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
}

.pulse-whatsapp {
  animation: pulseGreenLight 2.2s infinite;
}

/* Toast */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 14px 20px;
  border-radius: 12px;
  background: #FFFFFF;
  color: #1E293B;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  animation: slideInRight 0.3s ease forwards;
  min-width: 280px;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
