﻿/* ==========================================================================
   FILTROLAR CAXIAS DO SUL - MASTER STYLESHEET (SOLID, BULLETPROOF & RESPONSIVE)
   ========================================================================== */

:root {
  --color-navy-dark: #071326;
  --color-navy-base: #0B192C;
  --color-navy-light: #1E3E62;
  --color-cyan-primary: #00C2CB;
  --color-cyan-glow: #00E5FF;
  --color-cyan-deep: #0891B2;
  --color-pure-blue: #0284C7;
  --color-ice-bg: #F0F9FF;
  --color-ice-card: #F8FAFC;
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #1EBE5D;
  --color-amber-gold: #F59E0B;
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1E293B;
  background-color: #FAFCFE;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #FAFCFE;
  width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0B192C;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00C2CB, #0284C7);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00E5FF;
}

/* Hide Scrollbar for Horizontal Touch Tabs */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* --------------------------------------------------------------------------
   TEXT JUSTIFICATION & TYPOGRAPHY CONGRUENCE
   -------------------------------------------------------------------------- */
.text-justify {
  text-align: justify !important;
  text-justify: inter-word !important;
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* --------------------------------------------------------------------------
   HERO SECTION & CANVAS BACKGROUND
   -------------------------------------------------------------------------- */
#hero {
  position: relative !important;
  background: radial-gradient(circle at 80% 20%, #152E4D 0%, #0B192C 60%, #060E1A 100%) !important;
  color: #FFFFFF !important;
  overflow: hidden !important;
  margin: 0 !important;
  width: 100%;
}

#water-canvas {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  pointer-events: none !important;
  z-index: 0 !important;
  opacity: 0.65 !important;
}

.water-blob {
  position: absolute !important;
  filter: blur(80px) !important;
  border-radius: 50% !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* Text Gradients */
.text-gradient-cyan {
  background: linear-gradient(135deg, #00C2CB 0%, #38BDF8 50%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-light {
  background: linear-gradient(135deg, #FFFFFF 0%, #E0F2FE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism */
.glass-nav {
  background: rgba(11, 25, 44, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 194, 203, 0.2) !important;
}

.glass-card-dark {
  background: rgba(15, 33, 56, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 194, 203, 0.3);
}

/* Product Cards & Symmetry */
.product-item-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-item-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(0, 194, 203, 0.22), 0 10px 20px -5px rgba(11, 25, 44, 0.08);
  border-color: rgba(0, 194, 203, 0.5);
}

.hover-lift-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(0, 194, 203, 0.25), 0 10px 20px -5px rgba(11, 25, 44, 0.1);
  border-color: rgba(0, 194, 203, 0.5);
}

/* Before / After Interactive Split Slider */
.split-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1.25rem;
  user-select: none;
  box-shadow: 0 20px 45px -15px rgba(11, 25, 44, 0.3);
}

.split-slider-image {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

@media (max-width: 640px) {
  .split-slider-image {
    height: 340px;
  }
}

.split-slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
}

.split-slider-overlay .split-img-inner {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.split-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #00C2CB;
  cursor: ew-resize;
  transform: translateX(-50%);
  z-index: 20;
  box-shadow: 0 0 15px #00C2CB, 0 0 30px rgba(0, 194, 203, 0.6);
}

.split-slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0B192C;
  border: 3px solid #00C2CB;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 194, 203, 0.7);
  pointer-events: none;
}

/* Custom Water Range Sliders */
input[type=range].water-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  background: #E2E8F0;
  border-radius: 6px;
  outline: none;
  transition: all 0.2s ease;
}

input[type=range].water-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00C2CB 0%, #0284C7 100%);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 194, 203, 0.8), 0 2px 6px rgba(0, 0, 0, 0.2);
  border: 3px solid #FFFFFF;
  transition: transform 0.15s ease;
}

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

input[type=range].water-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00C2CB 0%, #0284C7 100%);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 194, 203, 0.8), 0 2px 6px rgba(0, 0, 0, 0.2);
  border: 3px solid #FFFFFF;
}

/* Product Tabs */
.product-tab.active {
  background: linear-gradient(135deg, #0B192C 0%, #152E4D 100%) !important;
  color: #FFFFFF !important;
  border-color: #00C2CB !important;
  box-shadow: 0 6px 16px -3px rgba(0, 194, 203, 0.35) !important;
}

.product-tab.active .tab-icon {
  color: #00C2CB !important;
}

/* Accordion Smooth Collapse */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.accordion-item.active .accordion-content {
  max-height: 400px;
  transition: max-height 0.45s ease-in-out;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* Floating WhatsApp Button */
.whatsapp-float-pulse {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 99;
}

@media (min-width: 640px) {
  .whatsapp-float-pulse {
    bottom: 24px;
    right: 24px;
  }
}

@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.wa-pulse-animation {
  animation: waPulse 2s infinite;
}

/* Mobile Button Word Wrap & Container Safety */
button, a {
  word-break: normal;
  overflow-wrap: break-word;
}
