/* ==========================================================================
   CICCLOO - Awwwards-Inspired Editorial Stylesheet
   ========================================================================== */

:root {
  --primary: #F37020;
  --primary-hover: #e05e10;
  --navy: #050D1A;
  --almost-black: #08080C;
  --graphite: #14141A;
  --off-white: #F8F9FA;
  --light-blue: #93B5E1;
  --gray-text: #8E95A5;
  --card-bg: #101015;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--almost-black);
  color: var(--off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Poppins', sans-serif;
}

/* Background Radial & Noise Texture */
.bg-radial-gradient {
  background: radial-gradient(circle at 50% 20%, rgba(243, 112, 32, 0.08) 0%, transparent 60%);
}

.noise-overlay {
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Glassmorphism Refinado */
.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.glass-dark {
  background: rgba(8, 8, 12, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Navbar Scrolled State */
#navbar.scrolled {
  background: rgba(8, 8, 12, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--almost-black);
}

::-webkit-scrollbar-thumb {
  background: #202028;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Animações de Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Card hover animation */
.model-card {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.model-card:hover {
  transform: translateY(-6px);
}

.model-card:hover .model-image {
  transform: scale(1.05);
}

.model-image {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Floating WhatsApp Pulse */
@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-pulse {
  animation: pulse-green 2.5s infinite;
}

/* Animated Floating Blurred Lights for Hero Section (Balanced Blue + Ciccloo Orange) */
@keyframes float-blue-glow-1 {
  0% {
    transform: translate(0px, 0px) scale(1);
    opacity: 0.4;
  }
  25% {
    transform: translate(130px, 70px) scale(1.2);
    opacity: 0.65;
  }
  50% {
    transform: translate(60px, 150px) scale(0.95);
    opacity: 0.35;
  }
  75% {
    transform: translate(-90px, 90px) scale(1.15);
    opacity: 0.6;
  }
  100% {
    transform: translate(0px, 0px) scale(1);
    opacity: 0.4;
  }
}

@keyframes float-orange-glow {
  0% {
    transform: translate(0px, 0px) scale(1);
    opacity: 0.45;
  }
  33% {
    transform: translate(-140px, -60px) scale(1.25);
    opacity: 0.7;
  }
  66% {
    transform: translate(80px, -100px) scale(0.9);
    opacity: 0.4;
  }
  100% {
    transform: translate(0px, 0px) scale(1);
    opacity: 0.45;
  }
}

@keyframes float-blue-glow-3 {
  0% {
    transform: translate(0px, 0px) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(60px, -70px) scale(1.2);
    opacity: 0.55;
  }
  100% {
    transform: translate(0px, 0px) scale(1);
    opacity: 0.3;
  }
}

.hero-blue-light {
  position: absolute;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.5) 0%, rgba(59, 130, 246, 0.3) 40%, rgba(14, 165, 233, 0.12) 65%, transparent 75%);
  filter: blur(95px);
  pointer-events: none;
  animation: float-blue-glow-1 15s ease-in-out infinite;
  will-change: transform, opacity;
}

.hero-orange-light {
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 112, 32, 0.55) 0%, rgba(224, 94, 16, 0.3) 45%, rgba(243, 112, 32, 0.1) 65%, transparent 75%);
  filter: blur(95px);
  pointer-events: none;
  animation: float-orange-glow 16s ease-in-out infinite;
  will-change: transform, opacity;
}

.hero-blue-light-secondary {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.4) 0%, rgba(37, 99, 235, 0.22) 45%, transparent 70%);
  filter: blur(105px);
  pointer-events: none;
  animation: float-blue-glow-3 18s ease-in-out infinite;
  will-change: transform, opacity;
}

/* Floating Hero Vehicle Animation */
@keyframes float-hero {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(0.4deg);
  }
}

.animate-float-hero {
  animation: float-hero 5.5s ease-in-out infinite;
  will-change: transform;
}

/* Vehicle Ambient Glowing Halo */
@keyframes pulse-ambient-light {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.25;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.45;
  }
}

.animate-ambient-light {
  animation: pulse-ambient-light 5s ease-in-out infinite;
  will-change: transform, opacity;
}

/* Shimmer Sweep Animation for CTA Buttons */
@keyframes shimmer-sweep {
  0% {
    transform: translateX(-100%) skewX(-20deg);
  }
  40%, 100% {
    transform: translateX(220%) skewX(-20deg);
  }
}

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

.btn-shimmer-sweep::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%) skewX(-20deg);
  animation: shimmer-sweep 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

/* Radar Ping Status Indicator */
@keyframes radar-ping {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  75%, 100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

.animate-radar-ping {
  animation: radar-ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Hover Glow & Lift Utilities */
.hover-lift {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Modal Animations */
@keyframes modal-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modal-scale-up {
  from {
    opacity: 0;
    transform: scale(0.93) translateY(15px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-backdrop-animate {
  animation: modal-fade-in 0.25s ease-out forwards;
}

.modal-content-animate {
  animation: modal-scale-up 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
