/* ======================================================
   Juninho Veículos — Design System (CSS Vanilla)
   Dark premium theme for car dealership
   ====================================================== */

/* ── Google Fonts ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── CSS Custom Properties (Design Tokens) ────────── */
:root {
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Colors — Dark theme */
  --background: #0a0a0a;
  --foreground: #f5f5f5;
  --card: #141414;
  --card-foreground: #f5f5f5;
  --surface: #141414;
  --surface-hover: #1c1c1c;
  --muted: #1a1a1a;
  --muted-foreground: #8a8a8a;
  --border: #222222;

  /* Brand — Red accent */
  --brand: #e51e2c;
  --brand-hover: #c9171f;
  --brand-foreground: #ffffff;

  /* Badge colors */
  --badge-highlight-bg: rgba(229, 30, 44, 0.2);
  --badge-highlight-text: #e51e2c;
  --badge-highlight-border: rgba(229, 30, 44, 0.3);
  --badge-new-bg: rgba(16, 185, 129, 0.2);
  --badge-new-text: #34d399;
  --badge-new-border: rgba(16, 185, 129, 0.3);
  --badge-offer-bg: rgba(245, 158, 11, 0.2);
  --badge-offer-text: #fbbf24;
  --badge-offer-border: rgba(245, 158, 11, 0.3);

  /* WhatsApp */
  --whatsapp: #25D366;
  --whatsapp-hover: #20BD5A;
  --whatsapp-dark: #15803d;
  --whatsapp-dark-hover: #166534;

  /* Spacing */
  --radius: 0.75rem;
  --radius-sm: 0.45rem;
  --radius-lg: 1rem;
  --radius-xl: 1.05rem;
  --radius-2xl: 1.35rem;
  --radius-full: 9999px;
}

/* ── Reset & Base ─────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

select {
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

/* ── Custom Scrollbar ─────────────────────────────── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #444;
}

/* ── Layout Utilities ─────────────────────────────── */
.container {
  width: 100%;
  max-width: 80rem; /* 1280px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ── Scroll Reveal Animations ─────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInFromTop {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ══════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  animation: slideInFromTop 0.6s ease forwards;
}

.navbar--scrolled {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(34, 34, 34, 0.5);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.navbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  padding-top: 0.7rem;
  padding-bottom: 0.65rem;
}

@media (min-width: 640px) {
  .navbar__inner {
    height: 6.05rem;
    padding-top: 0.9rem;
    padding-bottom: 0.7rem;
  }
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 2.5rem;
  width: auto;
  max-width: 12rem;
  object-fit: contain;
}

@media (min-width: 640px) {
  .logo img {
    height: 3.30rem;
    max-width: 20rem;
  }
}

.footer__brand .logo img {
  height: 4.5rem;
  max-width: min(22rem, 100%);
  margin-top: 0;
}

/* Desktop Nav */
.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    gap: 0.5rem;
  }
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s, background-color 0.2s;
}

.nav-links a:hover {
  color: var(--foreground);
  background-color: rgba(255, 255, 255, 0.05);
}

/* Desktop Right Buttons */
.nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .nav-actions {
    display: flex;
  }
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  padding: 0.5rem;
  border-radius: var(--radius);
  color: var(--foreground);
  transition: background-color 0.2s;
}

.mobile-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 4.5rem;
  left: 0;
  right: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: rgb(10 10 10 / 74%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  animation: slideDown 0.2s ease forwards;
}

@media (min-width: 640px) {
  .mobile-menu {
    top: 6.05rem;
  }
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu.open {
  display: block;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
}

@media (min-width: 640px) {
  .mobile-menu__nav {
    padding: 1rem 1.5rem;
  }
}

.mobile-menu__nav a {
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: background-color 0.2s, color 0.2s;
}

.mobile-menu__nav a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--foreground);
}

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ══════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius);
  padding: 0 1.25rem;
  height: 2.25rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn--brand {
  background-color: var(--brand);
  color: var(--brand-foreground);
}

.btn--brand:hover {
  background-color: var(--brand-hover);
}

.btn--whatsapp {
  background-color: var(--whatsapp-dark);
  color: white;
}

.btn--whatsapp:hover {
  background-color: var(--whatsapp-dark-hover);
}

.btn--whatsapp-large {
  background-color: var(--whatsapp-dark);
  color: white;
  height: 3rem;
  padding: 0 2rem;
  font-size: 1rem;
  gap: 0.625rem;
  box-shadow: 0 10px 25px -5px rgba(21, 128, 61, 0.25);
}

.btn--whatsapp-large:hover {
  background-color: var(--whatsapp-dark-hover);
  box-shadow: 0 20px 40px -10px rgba(21, 128, 61, 0.3);
}

@media (min-width: 640px) {
  .btn--whatsapp-large {
    height: 3.5rem;
    padding: 0 2.5rem;
    font-size: 1.125rem;
  }
}

.btn--ghost {
  background: transparent;
  color: var(--brand);
  padding: 0 0.75rem;
  height: 2rem;
  font-size: 0.875rem;
  gap: 0.25rem;
}

.btn--ghost:hover {
  background-color: rgba(229, 30, 44, 0.1);
}

.btn--outline {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--foreground);
}

.btn--outline:hover {
  border-color: rgba(229, 30, 44, 0.4);
  background: var(--surface-hover);
}

.btn--full {
  width: 100%;
  height: 2.5rem;
}

/* ══════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 38vh;
  padding-top: 4.5rem;
  padding-bottom: 5.5rem;
}

@media (min-width: 640px) {
  .hero {
    min-height: 42vh;
    padding-top: 6.05rem;
    padding-bottom: 6.5rem;
  }
}

@media (min-width: 768px) {
  .hero {
    min-height: 45vh;
  }
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.25) 40%,
    rgba(10, 10, 10, 0.45) 70%,
    rgba(10, 10, 10, 0.85) 88%,
    var(--background) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hero__content {
    padding: 4rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .hero__content {
    padding: 5rem 1.5rem;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(229, 30, 44, 0.2);
  background: rgba(229, 30, 44, 0.1);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brand);
}

@media (min-width: 640px) {
  .hero__badge {
    font-size: 0.875rem;
  }
}

.hero__badge svg {
  width: 0.875rem;
  height: 0.875rem;
}

.hero__title {
  margin-top: 1.5rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 3.75rem;
  }
}

.hero__title span {
  color: var(--brand);
}

.hero__subtitle {
  margin-top: 1.25rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .hero__subtitle {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: 1.125rem;
  }
}

/* ══════════════════════════════════════════════════════
   SEARCH BAR
   ══════════════════════════════════════════════════════ */
.search-bar {
  position: relative;
  z-index: 20;
  max-width: 72rem;
  margin: -4.25rem auto 0;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .search-bar {
    margin-top: -5rem;
    padding: 0 1.5rem;
  }
}

.search-bar__card {
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

@media (min-width: 640px) {
  .search-bar__card {
    padding: 1.5rem;
  }
}

.search-bar__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

@media (min-width: 640px) {
  .search-bar__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
    gap: 1rem;
  }
}

@media (min-width: 1100px) {
  .search-bar__grid {
    grid-template-columns: 1.1fr 1.1fr 1.1fr 1.15fr 1.15fr auto;
  }
}

.search-bar__input {
  width: 100%;
  min-width: 0;
  height: 2.5rem;
  padding: 0 0.875rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

@media (min-width: 640px) {
  .search-bar__input {
    height: 2.75rem;
  }
}

.search-bar__input::placeholder {
  color: var(--muted-foreground);
}

.search-bar__input:hover {
  border-color: #3a3a3a;
}

.search-bar__input:focus {
  border-color: rgba(229, 30, 44, 0.5);
  background: var(--surface-hover);
  box-shadow: 0 0 0 3px rgba(229, 30, 44, 0.15);
}

.search-bar__label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.search-bar__select {
  width: 100%;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--foreground);
  font-size: 0.875rem;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

@media (min-width: 640px) {
  .search-bar__select {
    height: 2.75rem;
  }
}

.search-bar__select:focus {
  border-color: rgba(229, 30, 44, 0.5);
  box-shadow: 0 0 0 2px rgba(229, 30, 44, 0.15);
}

.search-bar__select option {
  background: var(--card);
  color: var(--foreground);
}

/* ── Select customizado ───────────────────────────── */
/* O <select> nativo continua no DOM enviando o valor do formulário;
   o JS o esconde e monta esta versão estilizada por cima. */
.select {
  position: relative;
}

.select .search-bar__select {
  display: none;
}

.select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  height: 2.5rem;
  padding: 0 0.875rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

@media (min-width: 640px) {
  .select__trigger {
    height: 2.75rem;
  }
}

.select__trigger:hover {
  border-color: #3a3a3a;
  background: var(--surface-hover);
}

.select__trigger:focus-visible {
  outline: none;
  border-color: rgba(229, 30, 44, 0.5);
  box-shadow: 0 0 0 3px rgba(229, 30, 44, 0.15);
}

.select.is-open .select__trigger {
  border-color: rgba(229, 30, 44, 0.5);
  background: var(--surface-hover);
  box-shadow: 0 0 0 3px rgba(229, 30, 44, 0.15);
}

.select__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select__value--placeholder {
  color: var(--muted-foreground);
}

.select__chevron {
  flex-shrink: 0;
  color: var(--muted-foreground);
  transition: transform 0.25s ease, color 0.2s;
}

.select.is-open .select__chevron {
  transform: rotate(180deg);
  color: var(--brand);
}

.select__panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  z-index: 60;
  display: none;
  max-height: 15rem;
  overflow-y: auto;
  padding: 0.375rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: rgba(20, 20, 20, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

.select.is-open .select__panel {
  display: block;
  animation: slideDown 0.18s ease;
}

.select__panel::-webkit-scrollbar {
  width: 6px;
}

.select__panel::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 3px;
}

.select__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  width: 100%;
  padding: 0.5rem 0.625rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.875rem;
  text-align: left;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.select__option:hover,
.select__option:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--foreground);
}

.select__option.is-selected {
  background: rgba(229, 30, 44, 0.12);
  color: var(--brand);
  font-weight: 600;
}

.select__option svg {
  flex-shrink: 0;
  opacity: 0;
}

.select__option.is-selected svg {
  opacity: 1;
}

.search-bar__btn {
  height: 2.5rem;
  width: 100%;
}

@media (min-width: 640px) {
  .search-bar__btn {
    width: 100%;
    height: 2.75rem;
    padding-inline: 1.25rem;
    white-space: nowrap;
  }
}

@media (min-width: 1100px) {
  .search-bar__btn {
    width: auto;
    min-width: 11.5rem;
  }
}

/* Variação usada fora do hero, em fluxo normal */
.search-bar--inline {
  max-width: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

/* ══════════════════════════════════════════════════════
   SECTION HEADERS
   ══════════════════════════════════════════════════════ */
.section {
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .section {
    padding: 5rem 0;
  }
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

.section--alt {
  border-top: 1px solid var(--border);
  background: #0c0c0c;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-header__tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
}

.section-header__title {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .section-header__title {
    font-size: 1.875rem;
  }
}

.section-header__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand);
  transition: color 0.2s;
}

.section-header__link:hover {
  color: var(--brand-hover);
}

.section-header__link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.section-header__link:hover svg {
  transform: translateX(4px);
}

/* ══════════════════════════════════════════════════════
   VEHICLE CARDS
   ══════════════════════════════════════════════════════ */
.vehicles-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.vehicles-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .vehicles-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .vehicles-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vehicles-grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .vehicles-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .vehicles-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.vehicle-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.vehicle-card:hover {
  border-color: rgba(229, 30, 44, 0.4);
  box-shadow: 0 10px 25px -5px rgba(229, 30, 44, 0.05);
}

/* Image wrapper */
.vehicle-card__image-wrap {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
}

.vehicle-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-card__image {
  transform: scale(1.05);
}

.vehicle-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent, transparent);
  pointer-events: none;
}

/* Badge */
.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.badge--highlight {
  background: rgba(229, 30, 44, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(229, 30, 44, 0.4);
}

.badge--new {
  background: rgba(16, 185, 129, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.badge--offer {
  background: rgba(245, 158, 11, 0.95);
  color: #0a0a0a;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

/* Card Content */
.vehicle-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
  padding: 1.25rem;
}

.vehicle-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.3;
}

.vehicle-card__name a {
  transition: color 0.2s;
}

.vehicle-card__name a:hover {
  color: var(--brand);
}

.vehicle-card__version {
  margin-top: 0.125rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Specs row */
.vehicle-card__specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.vehicle-card__spec {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.vehicle-card__spec svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

.vehicle-card__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* Price row */
.vehicle-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.vehicle-card__price-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.vehicle-card__price-old {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
  line-height: 1.2;
}

.vehicle-card__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand);
}

.vehicle-card__cta svg {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.2s;
}

.vehicle-card:hover .vehicle-card__cta svg {
  transform: translateX(2px);
}

/* ══════════════════════════════════════════════════════
   STATS / BENEFITS
   ══════════════════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .stats-grid {
    padding: 2rem;
  }
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat__value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--brand);
}

@media (min-width: 640px) {
  .stat__value {
    font-size: 2.25rem;
  }
}

.stat__label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .stat__label {
    font-size: 0.875rem;
  }
}

/* Benefits Cards */
.benefits-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  transition: border-color 0.3s, background-color 0.3s;
}

.benefit-card:hover {
  border-color: rgba(229, 30, 44, 0.3);
  background: var(--surface-hover);
}

.benefit-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-xl);
  background: rgba(229, 30, 44, 0.1);
  color: var(--brand);
  transition: background-color 0.3s;
}

.benefit-card:hover .benefit-card__icon {
  background: rgba(229, 30, 44, 0.2);
}

.benefit-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.benefit-card__title {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.benefit-card__desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* ══════════════════════════════════════════════════════
   WHATSAPP CTA
   ══════════════════════════════════════════════════════ */
.cta {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.cta__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(229, 30, 44, 0.05), var(--background), rgba(229, 30, 44, 0.1));
}

.cta__orb-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: rgba(229, 30, 44, 0.05);
  filter: blur(120px);
}

.cta__orb-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: rgba(229, 30, 44, 0.08);
  filter: blur(100px);
}

.cta__content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .cta__content {
    padding: 5rem 1.5rem;
  }
}

@media (min-width: 768px) {
  .cta__content {
    padding: 6rem 1.5rem;
  }
}

.cta__tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
}

.cta__title {
  margin-top: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .cta__title {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .cta__title {
    font-size: 2.25rem;
  }
}

.cta__desc {
  margin-top: 1rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .cta__desc {
    font-size: 1rem;
  }
}

.cta__btn-wrap {
  margin-top: 2rem;
}

.cta__note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: rgba(138, 138, 138, 0.6);
}

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  background: #0c0c0c;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  padding: 4rem 0;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.55fr 0.85fr 1fr 1.15fr;
    gap: 2.5rem 3.25rem;
  }
}

.footer__brand {
  grid-column: span 1;
}

@media (max-width: 639px) {
  .footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__brand-desc {
    margin-left: auto;
    margin-right: auto;
    max-width: 22rem;
  }

  .footer__grid > :not(.footer__brand) {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 640px) {
  .footer__brand {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .footer__brand {
    grid-column: span 1;
    padding-right: 1.5rem;
  }
}

.footer__brand-desc {
  margin-top: 1rem;
  max-width: 16.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.footer__credit {
  margin: 0;
}

.footer__credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color 0.2s;
}

.footer__credit a:hover {
  color: var(--foreground);
}

.footer__heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1rem;
}

.footer__list a,
.footer__list span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.footer__list a:hover {
  color: var(--foreground);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer__contact-item--address {
  align-items: center;
  text-decoration: none;
}

.footer__contact-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Bottom bar */
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
  }
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer__bottom-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.25rem;
}

.footer__bottom-links a {
  transition: color 0.2s;
}

.footer__bottom-links a:hover {
  color: var(--foreground);
}

/* ══════════════════════════════════════════════════════
   VEHICLE DETAIL PAGE
   ══════════════════════════════════════════════════════ */
.vehicle-detail {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 3rem;
}

@media (min-width: 640px) {
  .vehicle-detail {
    padding: 7.5rem 0 4rem;
  }
}

.vehicle-detail > .container {
  position: relative;
  z-index: 1;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.breadcrumb a {
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb__sep {
  color: var(--border);
}

.breadcrumb__current {
  color: var(--foreground);
}

/* Cabeçalho */
.vehicle-detail__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 768px) {
  .vehicle-detail__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.vehicle-detail__title {
  margin-top: 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .vehicle-detail__title {
    font-size: 2.25rem;
  }
}

.vehicle-detail__version {
  margin-top: 0.375rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.vehicle-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.meta-chip svg {
  color: var(--brand);
  flex-shrink: 0;
}

/* Layout de duas colunas */
.vehicle-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .vehicle-detail__grid {
    grid-template-columns: minmax(0, 1fr) 21rem;
    gap: 2rem;
    align-items: start;
  }
}

.vehicle-detail__main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.vehicle-detail__sticky {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .vehicle-detail__sticky {
    position: sticky;
    top: 6.5rem;
  }
}

/* ── Galeria ──────────────────────────────────────── */
.gallery__stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fadeIn 0.35s ease;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.gallery__stage:hover:not(:has(.gallery__arrow:hover)) .gallery__img {
  transform: scale(1.03);
}

.gallery__zoom {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.gallery__stage:hover:not(:has(.gallery__arrow:hover)) .gallery__zoom {
  opacity: 1;
}

.gallery__zoom-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 10, 10, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--foreground);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--foreground);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.gallery__arrow:hover:not(:disabled) {
  background: rgba(229, 30, 44, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
}

.gallery__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.gallery__arrow--prev {
  left: 0.75rem;
}

.gallery__arrow--next {
  right: 0.75rem;
}

.gallery__counter {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 3;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--foreground);
}

.gallery__thumbs {
  position: relative;
  margin-top: 0.75rem;
}

.gallery__thumbs-viewport {
  overflow: hidden;
  min-width: 0;
}

.gallery__thumbs-track {
  display: flex;
  width: 100%;
  gap: 0.625rem;
  transition: transform 0.35s ease;
}

.gallery__thumbs-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  transform: translateY(-50%);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--foreground);
  transition: background-color 0.2s, border-color 0.2s, opacity 0.2s;
}

.gallery__thumbs-arrow--prev {
  left: 0.35rem;
}

.gallery__thumbs-arrow--next {
  right: 0.35rem;
}

.gallery__thumbs-arrow:hover:not(:disabled) {
  background: rgba(229, 30, 44, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
}

.gallery__thumbs-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.gallery__thumb {
  flex: 0 0 calc((100% - 1.875rem) / 4);
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  padding: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s;
}

.gallery__thumb:hover {
  opacity: 0.85;
}

.gallery__thumb.is-active {
  opacity: 1;
  border-color: var(--brand);
}

.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Lightbox da galeria ──────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox__frame {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(92vw, 72rem);
  height: min(88vh, 52rem);
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.7);
  color: var(--foreground);
  transition: background-color 0.2s, border-color 0.2s;
}

.lightbox__close:hover {
  background: rgba(229, 30, 44, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
}

.lightbox .gallery__arrow--prev {
  left: 0.5rem;
}

.lightbox .gallery__arrow--next {
  right: 0.5rem;
}

.lightbox__counter {
  right: auto;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
}

@media (max-width: 639px) {
  .lightbox {
    padding: 0.75rem;
  }

  .lightbox__frame {
    width: 100%;
    height: 80vh;
  }
}

/* ── Painéis de conteúdo ──────────────────────────── */
.panel {
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
}

.panel__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

.panel__text {
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

.panel__text a {
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-page .panel__title {
  margin-top: 2rem;
}

.legal-page__part-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--foreground);
}

.legal-page__part + .legal-page__part {
  margin-top: 2.75rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.legal-page__list {
  margin-top: 0.75rem;
  padding-left: 1.25rem;
  list-style: disc;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.legal-page__list li + li {
  margin-top: 0.25rem;
}

.legal-page__closing {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-weight: 600;
  color: var(--foreground);
}

/* Ficha técnica */
.specs-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (min-width: 768px) {
  .specs-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.spec-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.3s;
}

.spec-box:hover {
  border-color: rgba(229, 30, 44, 0.3);
}

.spec-box__icon {
  display: flex;
  color: var(--brand);
  margin-bottom: 0.25rem;
}

.spec-box__label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.spec-box__value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
}

.spec-box__value--link {
  text-decoration: none;
  transition: color 0.2s;
}

.spec-box__value--link:hover {
  color: var(--brand);
}

/* Itens e opcionais */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem 1.5rem;
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.feature-item svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--brand);
}

/* ── Box de negociação ────────────────────────────── */
.buy-card__label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.buy-card__price-old {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.buy-card__price {
  margin-top: 0.25rem;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--brand);
}

.buy-card__hint {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.buy-card__hint strong {
  color: var(--foreground);
}

.buy-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.25rem;
}

.buy-card__trust {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.buy-card__trust li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.buy-card__trust svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--badge-new-text);
}

/* ── Simulador de financiamento ───────────────────── */
.sim__field {
  margin-top: 1.25rem;
}

.sim__field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.625rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.sim__field-head output {
  font-weight: 600;
  color: var(--foreground);
}

.sim__label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.sim__range {
  width: 100%;
  height: 0.375rem;
  border-radius: var(--radius-full);
  background: var(--border);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
}

.sim__range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid var(--card);
  box-shadow: 0 2px 8px rgba(229, 30, 44, 0.4);
  cursor: pointer;
}

.sim__range::-moz-range-thumb {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid var(--card);
  cursor: pointer;
}

.sim__output {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(229, 30, 44, 0.2);
  background: rgba(229, 30, 44, 0.08);
  text-align: center;
}

.sim__output-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.sim__output-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand);
}

.sim__output-total {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.sim__note {
  margin-top: 0.875rem;
  font-size: 0.6875rem;
  line-height: 1.6;
  color: rgba(138, 138, 138, 0.7);
}

/* ── Informações da loja ──────────────────────────── */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.info-list__link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.info-list__link:hover {
  color: var(--foreground);
}

.info-list svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--brand);
}

.info-list__link svg {
  margin-top: 0;
}

/* ── Veículo não encontrado ───────────────────────── */
.not-found {
  max-width: 32rem;
  margin: 0 auto;
  padding: 3rem 0 4rem;
  text-align: center;
}

.not-found__text {
  margin: 1rem 0 2rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* ══════════════════════════════════════════════════════
   SEARCH RESULTS PAGE
   ══════════════════════════════════════════════════════ */
.search-page {
  position: relative;
  overflow: hidden;
  padding: 6.25rem 0 4rem;
}

@media (min-width: 640px) {
  .search-page {
    padding: 8.25rem 0 5rem;
  }
}

.search-page > .container {
  position: relative;
  z-index: 1;
}

/* Glow + linhas diagonais no canto superior esquerdo */
.page-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: min(42rem, 70vw);
  height: min(28rem, 55vh);
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 85% 75% at 0% 15%, rgba(229, 30, 44, 0.32), transparent 68%),
    radial-gradient(ellipse 50% 45% at 10% 0%, rgba(229, 30, 44, 0.18), transparent 70%);
}

.page-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background: repeating-linear-gradient(
    -38deg,
    transparent 0,
    transparent 18px,
    rgba(229, 30, 44, 0.6) 18px,
    rgba(229, 30, 44, 0.6) 19px
  );
  -webkit-mask-image: linear-gradient(to bottom right, #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 72%);
  mask-image: linear-gradient(to bottom right, #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 72%);
}

.search-page__head {
  margin-top: 1.25rem;
}

/* Resumo + filtros ativos */
.search-summary {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 639px) {
  #resultados {
    scroll-margin-top: 4.75rem;
  }
}

@media (min-width: 768px) {
  .search-summary {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.search-summary__count {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.search-summary__count strong {
  color: var(--foreground);
  font-weight: 600;
}

.search-summary__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(229, 30, 44, 0.3);
  background: rgba(229, 30, 44, 0.1);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--foreground);
  transition: background-color 0.2s, border-color 0.2s;
}

.filter-chip:hover {
  background: rgba(229, 30, 44, 0.2);
  border-color: rgba(229, 30, 44, 0.5);
}

.filter-chip svg {
  flex-shrink: 0;
  color: var(--brand);
}

.filter-chip--clear {
  border-color: var(--border);
  background: var(--surface);
  color: var(--muted-foreground);
}

.filter-chip--clear:hover {
  background: var(--surface-hover);
  border-color: var(--border);
  color: var(--foreground);
}

/* Estado vazio */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 32rem;
  margin: 0 auto;
  padding: 4rem 0;
  text-align: center;
}

.empty-state--section {
  padding: 3rem 0 0;
}

.empty-state__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-full);
  background: rgba(229, 30, 44, 0.1);
  color: var(--brand);
}

.empty-state__title {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.empty-state__text {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.empty-state__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .empty-state__actions {
    flex-direction: row;
  }
}

/* Paginação */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.pagination__link:hover {
  border-color: rgba(229, 30, 44, 0.4);
  background: var(--surface-hover);
  color: var(--foreground);
}

.pagination__link.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--brand-foreground);
}

.pagination__link.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════
   SVG ICON UTILITY
   ══════════════════════════════════════════════════════ */
.icon {
  display: inline-block;
  flex-shrink: 0;
}

.icon--sm {
  width: 0.875rem;
  height: 0.875rem;
}

.icon--md {
  width: 1rem;
  height: 1rem;
}

.icon--lg {
  width: 1.25rem;
  height: 1.25rem;
}

.icon--whatsapp-nav {
  width: 1rem;
  height: 1rem;
}

.icon--whatsapp-cta {
  width: 1.25rem;
  height: 1.25rem;
}
