/* ==========================================================================
   WATTS SOLAR - SOLUÇÕES TÉCNICAS • Estilos Globais & Componentes Visuais
   Montes Claros - MG • Energia Fotovoltaica & Eletromobilidade
   ========================================================================== */

@charset "UTF-8";

/* Reset & Base */
html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #F1F5F9;
  background-color: #050F1E;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-display {
  font-family: 'Outfit', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #050F1E;
}
::-webkit-scrollbar-thumb {
  background: #1A365D;
  border-radius: 4px;
  border: 2px solid #050F1E;
}
::-webkit-scrollbar-thumb:hover {
  background: #0052FF;
}

/* Selection */
::selection {
  background: #FFB800;
  color: #050F1E;
}

/* ==========================================================================
   GLASSMORPHISM & CARDS
   ========================================================================== */

.glass-header {
  background: rgba(5, 15, 30, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 82, 255, 0.18);
}

.glass-card {
  background: rgba(10, 25, 47, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 82, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(255, 184, 0, 0.45);
  box-shadow: 0 15px 35px -5px rgba(0, 82, 255, 0.2), 0 0 25px rgba(255, 184, 0, 0.12);
  transform: translateY(-3px);
}

.glass-card-solar {
  background: linear-gradient(135deg, rgba(14, 42, 71, 0.85) 0%, rgba(10, 25, 47, 0.95) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 184, 0, 0.25);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */

/* Botão Solar Principal com Brilho Dinâmico */
.btn-solar {
  background: linear-gradient(135deg, #FFD000 0%, #FFB800 45%, #FF9900 85%, #E67E00 100%);
  color: #050F1E;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  box-shadow: 0 6px 25px rgba(255, 184, 0, 0.4);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-solar::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
  transform: rotate(30deg);
  animation: shine-loop 3.8s infinite;
}

@keyframes shine-loop {
  0% { left: -60%; }
  25% { left: 140%; }
  100% { left: 140%; }
}

.btn-solar:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 184, 0, 0.6), 0 0 20px rgba(0, 82, 255, 0.35);
  color: #000;
}

/* Botão Solar Azul Elétrico */
.btn-electric {
  background: linear-gradient(135deg, #1D72FE 0%, #0052FF 50%, #003ECC 100%);
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 82, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-electric:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 82, 255, 0.55);
  background: linear-gradient(135deg, #3385FF 0%, #0052FF 50%, #0036B3 100%);
}

/* Botão WhatsApp */
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
  background: linear-gradient(135deg, #2EE070 0%, #159E8E 100%);
}

/* ==========================================================================
   BADGES, GLOWS & LIGHTNING
   ========================================================================== */

.glow-solar {
  box-shadow: 0 0 30px rgba(255, 184, 0, 0.25);
}

.glow-blue {
  box-shadow: 0 0 30px rgba(0, 82, 255, 0.25);
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-solar {
  background: rgba(255, 184, 0, 0.12);
  color: #FFB800;
  border: 1px solid rgba(255, 184, 0, 0.3);
}

.badge-blue {
  background: rgba(0, 82, 255, 0.12);
  color: #60A5FA;
  border: 1px solid rgba(0, 82, 255, 0.3);
}

.badge-green {
  background: rgba(16, 185, 129, 0.12);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Lightning Pulse Animation */
@keyframes lightning-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); filter: drop-shadow(0 0 8px #FFB800); }
}

.lightning-anim {
  animation: lightning-pulse 2s infinite ease-in-out;
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  background-size: cover;
  background-position: center;
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 15, 30, 0.75) 0%, rgba(5, 15, 30, 0.88) 50%, rgba(5, 15, 30, 0.98) 100%),
              radial-gradient(circle at 50% 20%, rgba(0, 82, 255, 0.25) 0%, transparent 60%);
}

/* ==========================================================================
   SIMULATOR SLIDER & INPUTS
   ========================================================================== */

input[type="range"].solar-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, #0052FF 0%, #FFB800 100%);
  outline: none;
  cursor: pointer;
}

input[type="range"].solar-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFB800;
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 15px rgba(255, 184, 0, 0.8);
  cursor: pointer;
  transition: transform 0.15s ease;
}

input[type="range"].solar-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

input[type="range"].solar-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFB800;
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 15px rgba(255, 184, 0, 0.8);
  cursor: pointer;
}

/* Radio buttons & Pills */
.pill-select {
  cursor: pointer;
  transition: all 0.2s ease;
}

.pill-select.active {
  background: #FFB800 !important;
  color: #050F1E !important;
  font-weight: 800;
  border-color: #FFD000 !important;
  box-shadow: 0 0 15px rgba(255, 184, 0, 0.4);
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */

.whatsapp-float-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

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

.whatsapp-float-tooltip {
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(37, 211, 102, 0.4);
  padding: 8px 14px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  animation: float-tooltip-fade 4s infinite;
}

@keyframes float-tooltip-fade {
  0%, 100% { opacity: 0.95; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

/* Notification Pulse Ring */
.pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulse-ring-anim 2s infinite;
}

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

/* ==========================================================================
   ACCORDION & GALLERY
   ========================================================================== */

.faq-item summary::-webkit-details-marker {
  display: none;
}

.gallery-tab.active {
  background: #FFB800;
  color: #050F1E;
  font-weight: 800;
  border-color: #FFB800;
}
