/* FX Rental - Clean Industrial Design System & Exclusive Animations */

:root {
  /* Brand Core */
  --color-brand-orange: #F26522;
  --color-brand-orange-hover: #E04800;
  
  /* Industrial Palette Accents */
  --color-amber-copper: #F59E0B;
  --color-copper-deep: #D97706;
  --color-electric-blue: #38BDF8;
  --color-emerald-status: #10B981;
  --color-purple-industrial: #8B5CF6;

  /* Dark Metal Foundation */
  --color-brand-dark: #09090B;
  --color-brand-card: #141418;
  --color-brand-border: #27272A;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #09090B;
  color: #F4F4F5;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #09090B;
}
::-webkit-scrollbar-thumb {
  background: #27272A;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F26522;
}

/* ---------------------------------------------------- */
/* SECTION BACKGROUNDS (SUBTLE RICH CONTRAST)           */
/* ---------------------------------------------------- */

.bg-section-hero {
  background-color: #09090B;
  background-image: radial-gradient(circle at 80% 20%, rgba(242, 101, 34, 0.1) 0%, transparent 55%),
                    radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.05) 0%, transparent 60%);
}

.bg-section-works {
  background-color: #121216;
}

.bg-section-solution {
  background-color: #0B0B0E;
  background-image: radial-gradient(circle at 20% 50%, rgba(242, 101, 34, 0.06) 0%, transparent 60%);
}

.bg-section-fleet {
  background-color: #121216;
  background-image: radial-gradient(circle at 70% 30%, rgba(56, 189, 248, 0.04) 0%, transparent 65%);
}

.bg-section-differentials {
  background-color: #09090B;
}

.bg-section-reviews {
  background-color: #121216;
}

.bg-section-how {
  background-color: #0B0B0E;
}

.bg-section-target {
  background-color: #121216;
}

.bg-section-maintenance {
  background-color: #09090B;
  background-image: radial-gradient(circle at 75% 30%, rgba(242, 101, 34, 0.08) 0%, transparent 60%);
}

.bg-section-faq {
  background-color: #121216;
}

/* ---------------------------------------------------- */
/* UI COMPONENTS & CARDS                                */
/* ---------------------------------------------------- */

.glass-nav {
  background: rgba(12, 12, 14, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #27272A;
  position: relative;
}

/* Top Electric Flow Line on Nav */
.glass-nav::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  width: 30%;
  background: linear-gradient(90deg, transparent 0%, #F26522 50%, transparent 100%);
  animation: electricSweep 4s linear infinite;
}

@keyframes electricSweep {
  0% { left: -30%; }
  100% { left: 100%; }
}

.glass-card {
  background: #16161A;
  border: 1px solid #27272A;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(242, 101, 34, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -10px rgba(242, 101, 34, 0.15);
}

/* Fleet Cards */
.fleet-card {
  background: #16161A;
  border: 1px solid #27272A;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fleet-card:hover {
  border-color: #F26522;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -8px rgba(242, 101, 34, 0.25);
}

.fleet-card-featured {
  background: linear-gradient(180deg, #1D1B22 0%, #16161A 100%);
  border: 1px solid rgba(242, 101, 34, 0.6);
  box-shadow: 0 8px 24px -6px rgba(242, 101, 34, 0.2);
  position: relative;
  overflow: visible;
}

/* Timeline Stepper Line (Como Funciona) */
.timeline-line {
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, #F26522 0%, rgba(242, 101, 34, 0.4) 100%);
  z-index: 0;
}

/* Mobile Vertical Timeline Connecting Line */
.timeline-line-mobile {
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #F26522 0%, rgba(242, 101, 34, 0.5) 50%, #F26522 100%);
  box-shadow: 0 0 10px rgba(242, 101, 34, 0.5);
  z-index: 0;
}

/* Crisp Solid Button with Shimmer Sweep */
.btn-primary {
  background-color: #F26522;
  color: #ffffff;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  transition: all 0.15s ease-in-out;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(25deg);
  animation: btnShimmer 3.5s infinite;
}

@keyframes btnShimmer {
  0% { left: -60%; }
  25% { left: 130%; }
  100% { left: 130%; }
}

.btn-primary:hover {
  background-color: #E04800;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(242, 101, 34, 0.35);
}

/* Floating WhatsApp FAB Button & Emergency Beacon */
.whatsapp-float-btn {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 99;
  background-color: #25D366;
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Emergency Beacon Pulse Rings */
.whatsapp-float-btn::before,
.whatsapp-float-btn::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: beaconPulse 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

.whatsapp-float-btn::after {
  animation-delay: 0.8s;
}

@keyframes beaconPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.whatsapp-float-btn:hover {
  background-color: #20ba5a;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

/* ---------------------------------------------------- */
/* EXCLUSIVE INDUSTRIAL TELEMETRY ANIMATIONS            */
/* ---------------------------------------------------- */

/* LED Alternator Frequency Pulse (60Hz Indicator) */
.led-pulse-60hz {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: alternatorPulse 1s ease-in-out infinite alternate;
}

@keyframes alternatorPulse {
  0% {
    opacity: 0.4;
    transform: scale(0.85);
    box-shadow: 0 0 4px #10B981;
  }
  100% {
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 0 12px #10B981;
  }
}

/* Dynamic Power Gauge Oscillating Bar */
.power-gauge-bar {
  height: 4px;
  background: linear-gradient(90deg, #F26522 0%, #FF9100 70%, #10B981 100%);
  border-radius: 2px;
  animation: gaugeOscillate 2.8s ease-in-out infinite alternate;
}

@keyframes gaugeOscillate {
  0% { width: 92%; }
  50% { width: 98.8%; }
  100% { width: 94.5%; }
}

/* Interactive Generator Running Status Ring */
.generator-status-card {
  background: rgba(14, 14, 18, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(242, 101, 34, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.generator-status-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #F26522, #FF9100, #10B981);
}

/* Custom Swiper Styles */
.swiper-pagination-bullet {
  background: #52525B !important;
  opacity: 0.7 !important;
}
.swiper-pagination-bullet-active {
  background: #F26522 !important;
  opacity: 1 !important;
  width: 24px !important;
  border-radius: 4px !important;
}
.swiper-button-next, .swiper-button-prev {
  color: #F26522 !important;
  background: #16161A;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  border: 1px solid #3F3F46;
}
.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 18px !important;
  font-weight: bold;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
  background: #F26522;
  color: #ffffff !important;
  border-color: #F26522;
}

/* FAQ Accordion Transitions */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease;
  opacity: 0;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
  transition: max-height 0.4s cubic-bezier(0.5, 0, 0.1, 1), opacity 0.4s ease;
}
.faq-icon {
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #F26522;
}

/* Mobile Touch Snap Carousel Utilities */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media (max-width: 767px) {
  .mobile-snap-slider {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    padding-bottom: 0.75rem !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    margin-left: -1rem !important;
    margin-right: -1rem !important;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-snap-slider > * {
    scroll-snap-align: center !important;
    flex-shrink: 0 !important;
    width: 82vw !important;
    max-width: 320px !important;
  }
}

/* Minimalist Section Transition Hook */
.section-scroll-hook {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: #A1A1AA;
  transition: color 0.2s ease;
  padding: 0.5rem 1rem;
  cursor: pointer;
  text-decoration: none;
}
.section-scroll-hook:hover {
  color: #ffffff;
}
.section-scroll-hook .hook-arrow {
  color: #F26522;
  transition: transform 0.25s ease;
}
.section-scroll-hook:hover .hook-arrow {
  transform: translateY(4px);
}

/* ---------------------------------------------------- */
/* GALLERY CAROUSEL - CENTER HIGHLIGHTED & EDGE FADE    */
/* ---------------------------------------------------- */

/* Fade nas bordas: vai de transparente na ponta até sólido ~22% */
/* Isso cobre exatamente a metade das fotos laterais             */
.gallery-carousel-wrapper {
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,0.3) 8%,
    #000 22%,
    #000 78%,
    rgba(0,0,0,0.3) 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,0.3) 8%,
    #000 22%,
    #000 78%,
    rgba(0,0,0,0.3) 92%,
    transparent 100%
  );
}

.gallery-swiper {
  padding-top: 0.5rem !important;
  padding-bottom: 3rem !important;
  overflow: visible !important;
}

/* Slides laterais (não-ativo): menores, escurecidos */
.gallery-swiper .swiper-slide {
  opacity: 0.5 !important;
  transform: scale(0.92) !important;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.gallery-swiper .swiper-slide .gallery-img-box {
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: all 0.5s ease;
}

.gallery-swiper .swiper-slide .gallery-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slide ativo / centro: tamanho real, opacidade total, borda laranja */
.gallery-swiper .swiper-slide-active,
.gallery-swiper .swiper-slide-duplicate-active {
  opacity: 1 !important;
  transform: scale(1) !important;
  z-index: 10 !important;
}

.gallery-swiper .swiper-slide-active .gallery-img-box,
.gallery-swiper .swiper-slide-duplicate-active .gallery-img-box {
  border-color: #F26522 !important;
  box-shadow: 0 8px 30px -4px rgba(242, 101, 34, 0.4),
              0 0 0 1px rgba(242, 101, 34, 0.15) !important;
}
