/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300..900;1,300..900&display=swap');

body {
  font-family: 'Montserrat', ui-sans-serif, system-ui, sans-serif;
  color: #0f172a; /* slate-900 */
  background-color: #ffffff;
}

/* Base fade-in animations to replace Framer Motion */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-visible {
  opacity: 1;
  transform: translateY(0) scale(1) translateX(0);
}

/* Hide scrollbar for the car slider */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* ProgressBar animation for comparatives */
.progress-bar {
  width: 0;
  transition: width 1s ease-out;
}

/* Transitions for FAQ */
.faq-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease;
}
.faq-content.open {
  max-height: 500px;
  opacity: 1;
  padding-top: 1rem;
  padding-bottom: 1.5rem;
}

/* Custom Range Slider Styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

/* Chrome, Safari, Opera, Edge */
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 10px;
  background: #cbd5e1; /* slate-300 para melhor visibilidade */
  border-radius: 12px;
  border: none;
  transition: background 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 26px;
  width: 26px;
  border-radius: 50%;
  background: #FF6B00; /* jota-orange */
  cursor: pointer;
  margin-top: -8px; /* centraliza o thumb na track */
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
  border: 4px solid #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.6);
}

/* Firefox */
input[type="range"]::-moz-range-track {
  width: 100%;
  height: 10px;
  background: #cbd5e1;
  border-radius: 12px;
  border: none;
}

input[type="range"]::-moz-range-thumb {
  height: 26px;
  width: 26px;
  border-radius: 50%;
  background: #FF6B00;
  cursor: pointer;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

