/**
 * ========================== CSS VARIABLES ==========================
 */
:root {
  /* Bootstrap Overrides */
  --bs-nav-link-font-size: 16px;
  --bs-primary: #FF531F;
  --bs-primary-rgb: 255, 83, 31;
  --bs-accordion-bg: #F00;

  /* Brand Colors */
  --primary-color: #FF531F;
  --primary-hover: #C73B11;
  --secondary-color: #9E3313;

  /* Neutral Colors */
  --dark-blue: #050B20;
  --dark-blue-alt: #0D3A5D;
  --white: #fff;
  --black: #000;
  --gray-light: #F6F6F6;
  --gray-medium: #F9F9F9;
  --gray-text: #726F6F;
  --gray-muted: #8a94a6;
  --gray-border: #E0E0E0;
  --gray-underline: #D9D9D9;

  /* Effects */
  --card-shadow: 0 8px 24px rgba(13,20,32,.12);
  --radius: 14px;

  /* Fonts */
  --font-primary: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-secondary: 'Oxanium', sans-serif;
}

/**
 * ========================== BASE STYLES ==========================
 */
body {
  font-family: var(--font-primary);
  color: var(--gray-text);
  background: var(--white);
}

/**
 * ========================== UTILITY CLASSES ==========================
 */

.bg-outgrid-light {
  background: var(--gray-light);
}

.fw-extrabold {
  font-weight: 800;
}

.youtube-embed {
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
}

.youtube-embed iframe {
  border-radius: .25em;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/**
 * ========================== HEADER ==========================
 */
header {
  background: var(--dark-blue);
  color: var(--white);
  height: 100px;
}

header .logo {
  height: 35px;
}

header .container {
  padding-top: 32px;
}

/* Desktop Menu */
header .nav .nav-link {
  color: var(--white) !important;
  padding: 12px 24px !important;
  border-radius: 55px;
  transition: all 0.3s ease;
  margin-right: 4px;
}

header .nav .nav-link:hover,
header .nav .nav-link.active {
  background: var(--secondary-color);
  color: var(--white) !important;
}

/* Mobile Menu */
header .offcanvas .nav-link {
  color: var(--dark-blue) !important;
}

header .btn i {
  color: var(--white) !important;
}

header .btn-close {
  color: var(--white) !important;
}

header a[data-bs-toggle="modal"] {
  color: var(--white) !important;
}

#headerTop {
  background: var(--dark-blue);
  color: var(--white);
  height: 32px;
  font-size: 12px;
  padding: 7px 0;
}

/**
 * ========================== SEARCH MODAL ==========================
 */

#searchModal input {
  background: transparent;
  border-radius: 0;
  border-width: 0 0 2px;
  color: white;
  box-shadow: none;
}

#searchModal input::placeholder {
  color: white;
}

#searchModal .search-icon {
  position: absolute;
  right: 0; /* Position the icon inside the field */
  top: 50%;
  transform: translateY(-50%);
}

/**
 * ========================== FOOTER ==========================
 */

footer {
  background: var(--dark-blue-alt);
  color: var(--white);
  font-size: 16px;
}

footer a {
  color: var(--white);
  text-decoration: none;
}

footer .logo img {
  height: 55px;
}

footer h6 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  text-decoration: underline 1px var(--primary-color);
  text-underline-offset: 4px;
}

.developed-by-outgrid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.developed-by-outgrid__logo {
  height: 16px;
  width: auto;
}

/**
 * ========================== SECTIONS ==========================
 */

.section-pad {
  padding: 64px 0;
}

.section-title {
  padding: 16px 0;
}

.section-title small {
  color: var(--gray-muted);
  display: block;
  text-decoration: underline 1px var(--gray-underline);
  text-underline-offset: 4px;
  margin: 0 auto .25rem;
}

.section-title h3 {
  font-weight: 700;
  font-family: var(--font-secondary);
}

/**
 * ============================================================
 * HOME PAGE
 * ============================================================
 */

/**
 * ========================== BANNER ==========================
 */

#banner {
  background: var(--dark-blue);
  padding: 20px 0;
}

#banner .splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 335px;
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 912px) {
  #banner .splide__slide img {
    max-width: unset;
  }
}

.internal-banner {
  background: #0D3A5D;
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}

/**
 * ============================================================
 * SHOWROOM PAGE
 * ============================================================
 */

#showroom {
  padding-top: 32px;
}

/**
 * ========================== BUTTONS ==========================
 */
.btn-meta {
  background: var(--primary-color);
  border: none;
  color: var(--white);
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-meta:hover {
  background: var(--primary-hover);
  color: var(--white);
}

.btn-outline-meta {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-outline-meta:hover {
  background: var(--primary-color);
  color: var(--white);
}

.btn-whatsapp {
  background: #2AB640;
  border: none;
  color: var(--white);
  transition: all 0.3s ease;
}

.btn-whatsapp-outline {
  background: transparent;
  border: 1px solid #2AB640;
  color: #2AB640;
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-whatsapp-outline:hover {
  background: #2AB640;
  color: var(--white);
}

.card-cta {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 0 0 12px 12px;
  padding: .55rem 1rem;
  transition: all 0.3s ease;
  font-weight: 600;
}

.card-cta:hover {
  background: var(--primary-hover);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  border: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-white:hover {
  background: var(--gray-light);
  color: var(--primary-color);
}

/**
 * ========================== BLOG CARDS ==========================
 */
.blog-card {
  border-radius: 12px;
  border: 1px solid var(--gray-border);
  overflow: hidden;
  padding: 10px;
}

.blog-card h6 {
  font-size: 24px;
  font-weight: 600;
  color: var(--black);
}

.blog-card img {
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 6px;
}

.blog-card .meta {
  font-size: 14px;
  color: var(--gray-muted);
}

/**
 * ========================== VEHICLE PAGE ==========================
 */
#vehiclePage {
  background: #F4F4F4;
  padding-top: 32px;
}

#vehiclePage .splide__slide img {
  border-radius: 14px;
}

/* Vehicle Card on Vehicle Page */
#vehiclePage .card {
  border-radius: 32px;
}

#vehiclePage .card-body {
  padding: 30px 40px;
}

#vehiclePage .card-footer {
  padding: 25px 40px;
  background: none;
  border-top: 1px solid #E0E0E0;
}

#vehiclePage .vehicle-model {
  margin-bottom: 30px;
}

#vehiclePage .vehicle-brand img {
  width: 100px;
  height: auto;
  object-fit: contain;
}

#vehiclePage .vehicle-model h1 {
  font-size: 40px;
  font-weight: semibold;
}

#vehiclePage .vehicle-model h2 {
  font-size: 20px;
  font-weight: 200;
}

#vehiclePage .vehicle-info .vehicle-detail-item {
  margin-bottom: 22px;
}

#vehiclePage .vehicle-info .detail-label {
  font-size: 12px;
  font-weight: light;
  color: #696977
}

#vehiclePage .vehicle-info .detail-value {
  font-size: 16px;
  font-weight: 600;
  color: #424242;
}

#vehiclePage .vehicle-description {
  border-top: 1px solid #E0E0E0;
}

#vehiclePage h5 {
  font-size: 32px;
  font-weight: semibold;
  text-decoration: underline 1px #FF531F;
  text-underline-offset: 4px;
  margin-bottom: 30px;
}

#vehicleCarousel {
  margin-bottom: -50px;
}

.vehicle-price {
  font-size: 36px;
}

.vehicle-price-mobile {
  font-size: 32px;
}

/**
 * ========================== SPLIDE CAROUSEL ==========================
 */
.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.splide__arrow:hover {
  background: var(--primary-color);
  color: var(--white);
}

.splide__arrows_custom {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 26px;
}

.splide__arrow_custom {
  background: transparent;
  height: 40px;
  width: 55px;
  position: relative;
  transform: none;
  background-color: inherit !important;
}

.splide__arrow_custom.splide__arrow--prev {
  left: auto;
}

.splide__arrow_custom.splide__arrow--next {
  right: auto;
}

/** Arrow hover effects */
.splide__arrow_custom:hover img {
  opacity: 0;
}

.splide__arrow_custom::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.splide__arrow_custom:hover::after {
  opacity: 1;
}

.splide__arrow_custom.splide__arrow--prev::after {
  background-image: url('/img/arrows/arrow-left-hover.svg');
}

.splide__arrow_custom.splide__arrow--next::after {
  background-image: url('/img/arrows/arrow-right-hover.svg');
}

/**
 * ========================== AZUL ARROWS ==========================
 */
/* Theme-specific arrow overrides (azul theme); outgrid uses default splide arrows */

/**
 * ========================== MARCAS (showroom page) ==========================
 */
 .marca-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #efefef;
  border-radius: 12px;
}

.marca-name {
  position: absolute;
  bottom: 15px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
}

.offcanvas {
  overflow: hidden;
}

.marcas-ver-todas {
  color: var(--black);
}

.marca-list {
  transition: transform 0.3s ease-in-out;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  background: white;
}

.marca-list .card-body {
  height: calc(100% - 70px);
}

.marca-list ul {
  margin-bottom: 0;
}

.marca-list li a {
  color: #333;
  text-decoration: none;
  padding: 0.8rem 0;
  display: block;
  border-bottom: 1px solid #eee;
}

.marca-list li a.active {
  color: #FF531F;
  background-color: #f8f9fa;
  padding-left: 0.5rem;
  transition: all 0.2s ease;
}

.marca-list li a:hover {
  color: #FF531F;
  background-color: #f8f9fa;
  padding-left: 0.5rem;
  transition: all 0.2s ease;
}

/**
 * ========================== FILTERS ==========================
 */
.filters-sidebar {
  overflow: hidden;
}

.meta-scroll {
  flex: 1;
  padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
  overflow-y: auto;
}

.marca-filter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #efefef;
  aspect-ratio: 1;
  font-size: 12px;
  text-decoration: none;
}

.marca-filter-container.active {
  border: 1px solid;
}

.marca-filter-container:hover {
  box-shadow: 0 4px 8px 0 rgba(106, 105, 119, .16);
  cursor: pointer;
}

.marca-filter-container img {
  padding: 0px 12px;
}

.marca-filter-container p {
  color: var(--black);
  margin: 0;
}

.marca-filter-container:hover {
  box-shadow: 0 4px 8px 0 rgba(106, 105, 119, .16);
  cursor: pointer;
}

/**
 * ========================== VEHICLE CARDS ==========================
 */
.car-card {
  border: 0;
  border-radius: 12px;
  overflow: hidden;
}

.car-card .card-body {
  background: var(--gray-medium);
}

.car-card .thumb {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
  border-radius: 12px 12px 0 0;
}

.car-card .car-model h6 {
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0px;
}

.car-card .car-model .title {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-text);
}

.car-card .car-info {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-text);
}

.car-card .car-info i {
  color: var(--black);
  margin-right: 4px;
}

.car-card .price {
  font-size: 22px;
  font-weight: 600;
  color: var(--black);
}

/**
 * ========================== PAGINATION ==========================
 */
.pagination {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  flex-wrap: wrap;
}

.pagination .page-item {
  margin: 0;
}

.pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  color: var(--dark-blue-alt);
  background: var(--white);
  border: 2px solid var(--gray-border);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pagination .page-link:hover:not(.disabled) {
  background: var(--dark-blue-alt);
  color: var(--white);
  border-color: var(--dark-blue-alt);
}

.pagination .page-item.active .page-link {
  background: var(--dark-blue-alt);
  color: var(--white);
  border-color: var(--dark-blue-alt);
  box-shadow: 0 2px 6px rgba(13, 58, 93, 0.2);
}

.pagination .page-item.disabled .page-link,
.pagination .page-link.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  background: var(--gray-light);
  color: var(--gray-text);
  border-color: var(--gray-border);
}

.pagination .page-link:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 58, 93, 0.1);
}

.pagination .page-item.disabled .page-link:hover {
  background: var(--gray-light);
  color: var(--gray-text);
  border-color: var(--gray-border);
  transform: none;
  box-shadow: none;
}

/* Ellipsis styling */
.pagination .page-item.disabled .page-link span {
  color: var(--gray-text);
  font-weight: 600;
}

/* Ícones de navegação */
.pagination .page-link .bi {
  font-size: 14px;
}

.pagination .page-link.prev-link,
.pagination .page-link.next-link {
  font-weight: 600;
  gap: 4px;
  padding: 0 10px;
}

/* Responsivo */
@media (max-width: 575.98px) {
  .pagination {
    gap: 3px;
  }
  
  .pagination .page-link {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 13px;
  }
  
  .pagination .page-link.prev-link,
  .pagination .page-link.next-link {
    padding: 0 8px;
  }
  
  .pagination .page-link.prev-link span:not(.bi),
  .pagination .page-link.next-link span:not(.bi) {
    display: none;
  }
  
  .pagination .page-link .bi {
    font-size: 13px;
  }
}

/**
 * ========================== RESPONSIVE DESIGN ==========================
 */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {}

/* Mobile specific styles */
@media (max-width: 575.98px) {  
  .section-pad {
    padding: 40px 0;
  }
  
  #vehiclePage .vehicle-model h1 {
    font-size: 40px;
  }
}

/**
 * ========================== NOUI SLIDER ==========================
 */

.meta-slider.noUi-horizontal {
  height: 10px;
  margin: 0 8px;
}

.meta-slider .noUi-connect {
  background: var(--primary-color);
}

.meta-slider.noUi-horizontal .noUi-handle {
  height: 18px;
  width: 18px;
  top: -5px;
  right: -9px; /* half the width */
  border-radius: 9px;
}

.meta-slider.noUi-horizontal .noUi-handle:before, 
.meta-slider.noUi-horizontal .noUi-handle:after {
  content: none;
}

/* Mobile specific styles */
@media (max-width: 575.98px) {
  .about-box .img-side {
    min-height: 220px;
  }
}

/**
 * ========================== WHATSAPP ==========================
 */
/* Botão Flutuante WhatsApp */
.whatsapp-float-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.whatsapp-float-button a:hover {
  background: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: white;
  text-decoration: none;
}

.whatsapp-float-button a i {
  font-size: 28px;
  z-index: 2;
  position: relative;
}

.whatsapp-float-button a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.whatsapp-float-button a:hover::before {
  transform: translateX(100%);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #333;
}

.whatsapp-float-button:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 75px;
}

/* Animação de pulso */
@keyframes whatsappPulse {
  0% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
      box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
      box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsividade para o botão WhatsApp */
@media (max-width: 768px) {
  .whatsapp-float-button {
      bottom: 15px;
      right: 15px;
  }
  
  .whatsapp-float-button a {
      width: 50px;
      height: 50px;
  }
  
  .whatsapp-float-button a i {
      font-size: 24px;
  }
  
  .whatsapp-tooltip {
      display: none; /* Esconder tooltip em mobile */
  }
}

/* Animação de entrada */
@keyframes whatsappSlideIn {
  from {
      transform: translateX(100px);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
}

.whatsapp-float-button {
  animation: whatsappSlideIn 0.5s ease-out, whatsappPulse 2s infinite 1s;
}

/**
 * ========================== PRICE VISIBILITY ==========================
 * Hide prices when vendor is logged in and hide_price_for_vendor is enabled (JS adds user-hide-price)
 */
body.user-hide-price .vehicle-price-element {
  display: none !important;
}

/* Allow showing price when user clicks the toggle */
body.user-hide-price .vehicle-price-element.show-price {
  display: block !important;
}

/* Sentinel for infinite scroll: minimal height so it doesn't affect layout */
.infinite-scroll-sentinel {
  height: 1px;
  width: 100%;
  pointer-events: none;
  overflow: hidden;
}

/**
 * ========================== DIVIDER (desktop only) ==========================
 */
.divider {
  background: #FFF;
  height: 80px;
  position: relative;
  overflow: hidden;
}
.divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.divider-top {
  background: #FFF;
  margin-bottom: -20px;
}
.divider-top::before {
  background-color: var(--gray-light);
  transform: skewY(25deg);
  transform-origin: top center;
  height: 100vw;
}
.divider-bottom {
  background: var(--gray-light);
  height: 50px;
  margin-top: -50px;
}
.divider-bottom::before {
  background-color: #FFF;
  transform: skewY(25deg);
  transform-origin: 350px;
  height: 100vw;
}

/**
 * ========================== ACCORDION ==========================
 */

.accordion.meta-accordion {
  --bs-accordion-color: #656565;
  --bs-accordion-bg: transparent;
  /* --bs-accordion-transition: all 0.3s ease; */
  /* --bs-accordion-border-color: var(--gray-border); */
  --bs-accordion-border-width: 0;
  /* --bs-accordion-border-radius: var(--radius); */
  /* --bs-accordion-inner-border-radius: var(--radius); */
  --bs-accordion-btn-padding-x: 0rem;
  --bs-accordion-btn-padding-y: 2rem;
  /* --bs-accordion-btn-color: var(--gray-text); */
  /* --bs-accordion-btn-bg: var(--gray-light); */
  /* --bs-accordion-btn-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='16' fill='none' stroke='#000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9.947 1v14'/><path d='M1 8h17.895'/></svg>"); */
  /* --bs-accordion-btn-icon-width: 1rem; */
  /* --bs-accordion-btn-icon-transform: none; */
  /* --bs-accordion-btn-icon-transition: all 0.3s ease; */
  /* --bs-accordion-btn-active-icon: none; */
  /* --bs-accordion-btn-focus-box-shadow: none; */
  --bs-accordion-body-padding-x: 0rem;
  --bs-accordion-body-padding-y: 1rem;
  --bs-accordion-active-color: var(--primary-color);
  --bs-accordion-active-bg: var(--gray-light);
}


@media (min-width: 992px) {
  .accordion.meta-accordion {
    padding-right: 50px;
  }
}

.meta-accordion .accordion-button {
  font-size: 20px;
  font-weight: 500;
  color: #000;
  background-color: transparent;
  border: none;
  box-shadow: none;
  border-bottom: 1px solid #E0E0E0;
}

.meta-accordion .accordion-button:not(.collapsed) {
  color: var(--bs-accordion-active-color);
  background-color: transparent;
  box-shadow: none;
  border-bottom: 1px solid #E0E0E0;
}

.meta-title {
  color: #000;
  font-size: 32px;
  font-weight: 600;
  text-decoration: underline 1px #FF531F;
  text-underline-offset: 10px;
  margin-bottom: 30px;
}

.meta-section-title {
  font-size: 64px;
  font-weight: 600;
  color: #000;
  margin-bottom: 30px;
  font-family: 'Oxanium', sans-serif;
}

.meta-section-text {
  font-size: 20px;
  font-weight: 400;
  color: #000;
  margin-bottom: 30px;
}

.contact-form {
  border: 0;
  border-radius: 20px;
  padding: 40px;
}

.contact-form h3 {
  font-size: 24px;
  font-weight: 600;
  color: #000;
  margin-bottom: 30px;
}
/* themes/vitrine/assets/css/template.css
 * CSS do template "vitrine" (layout do time de design, usado por Unimais, R7 e Premier).
 * Concatenado entre base.css e o main.css do cliente. Os valores do :root abaixo são os padrões;
 * cada cliente redefine as cores da marca no seu main.css (ex.: themes/unimais/assets/css/main.css).
 * Origem: Figma da Unimais, ver docs/onboarding/unimais-design/00-global.md. */

:root {
  /* Variáveis consumidas pelo base.css */
  --primary-color: #2b4374;
  --primary-hover: #22365d;
  --secondary-color: #ff7700;
  --dark-blue: #2b4374;
  --dark-blue-alt: #002277;
  --bs-primary: #2b4374;
  --bs-primary-rgb: 43, 67, 116;
  --font-primary: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-secondary: 'Hanken Grotesk', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Segundo padrão do Figma (Financiamento, Venda, Encontrar Veículo) */
  --um-navy: #0e2048;
  --um-orange: #ff6b00;
  --um-ink: #1a1c1f;
  --um-ink-soft: #43474f;
  --um-line: #c3c6d0;

  /* Tokens da marca */
  --um-primary: #2b4374;
  --um-price: #002277;
  --um-red: #dc2626;
  --um-red-hover: #b91c1c;
  --um-accent-from: #ff5722;
  --um-accent-to: #ff7700;
  --um-accent: linear-gradient(to right, var(--um-accent-from), var(--um-accent-to));
  --um-whatsapp: #25d366;
  --um-banner-bg: #1e3b6b;
  --um-brand-logo: #c55313;
  --um-detail: #2152cf;

  --um-gray-900: #111827;
  --um-gray-800: #1f2937;
  --um-gray-600: #4b5563;
  --um-gray-500: #6b7280;
  --um-gray-400: #9ca3af;
  --um-gray-300: #d1d5db;
  --um-gray-200: #e5e7eb;
  --um-gray-100: #f3f4f6;
  --um-gray-50: #f9fafb;
  --um-slate-100: #f1f5f9;

  --um-radius-btn: 12px;
  --um-radius-card: 16px;
  --um-radius-hero: 24px;
  --um-radius-pill: 9999px;

  --um-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);
  --um-shadow: 0 1px 3px 0 rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
  --um-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
  --um-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, .25);

  /* Superfícies do template (o gerador do designer troca a cor do texto conforme o fundo).
     "dark" = cabeçalho, rodapé, "Por que escolher" e lojas da home (na Unimais e na R7 é branco).
     Banner = faixa do banner e seções cheias das páginas internas (Por que financiar, CTA final, passos). */
  --um-dark: #fff;
  --um-on-dark: var(--um-gray-900);
  --um-on-dark-muted: var(--um-gray-600);
  --um-on-dark-social: #374151;
  --um-dark-line: var(--um-gray-200);
  --um-dark-line-soft: rgba(0, 0, 0, .1);
  --um-dark-soft: rgba(0, 0, 0, .05);
  --um-dark-line-faint: var(--um-gray-100);
  --um-dark-hover: var(--um-gray-50);
  --um-dark-card: #fff;
  --um-dark-card-line: var(--um-gray-200);
  --um-dark-card-line-hover: var(--um-gray-300);
  --um-on-dark-btn: var(--um-gray-800);
  --um-dark-copy-bg: var(--um-gray-100);
  --um-on-banner: #fff;
  --um-on-banner-muted: #d1d5db;
  --um-on-accent: #fff;
  --um-band-bg: var(--um-accent);
  --um-on-band: #fff;
  --um-brand-card-bg: #000;

  --um-container: 1280px;
  --um-section-py: 80px;
}

body {
  background: #fff;
  color: var(--um-gray-900);
  font-family: var(--font-primary);
}

/* Container do Figma: fluido com 16px de respiro até 1280px, depois fixo em 1280px (conteúdo útil 1248px) */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  max-width: var(--um-container);
}

.container {
  --bs-gutter-x: 32px;
}

/* Botões da marca */
.btn-um-accent {
  background: var(--um-accent);
  border: 0;
  border-radius: var(--um-radius-btn);
  box-shadow: var(--um-shadow-md);
  color: var(--um-on-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  line-height: 16px;
  text-decoration: none;
  text-transform: uppercase;
}

.btn-um-accent:hover,
.btn-um-accent:focus {
  color: var(--um-on-accent);
  filter: brightness(.95);
}

.btn-um-whatsapp {
  align-items: center;
  background: var(--um-whatsapp);
  border: 0;
  border-radius: var(--um-radius-btn);
  box-shadow: var(--um-shadow);
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  line-height: 16px;
  padding: 8px 16px;
  text-decoration: none;
}

.btn-um-whatsapp .bi {
  font-size: 16px;
  line-height: 24px;
}

.btn-um-whatsapp:hover,
.btn-um-whatsapp:focus {
  color: #fff;
  filter: brightness(.95);
}

/**
 * ========================== TOPBAR ==========================
 */
#headerTop.um-topbar {
  background: var(--um-primary);
  color: #fff;
  font-size: 14px;
  height: auto;
  line-height: 20px;
  padding: 8px 0;
}

.um-topbar-text {
  font-weight: 500;
  min-width: 0;
}

.um-topbar-phone {
  align-items: center;
  color: #fff;
  display: inline-flex;
  flex-shrink: 0;
  font-weight: 700;
  gap: 8px;
  text-decoration: none;
}

.um-topbar-phone:hover {
  color: #fff;
  text-decoration: underline;
}

.um-topbar-phone .bi {
  font-size: 18px;
  line-height: 28px;
}

@media (max-width: 575.98px) {
  #headerTop.um-topbar {
    font-size: 12px;
    line-height: 16px;
  }

  .um-topbar-phone .bi {
    font-size: 14px;
    line-height: 16px;
  }
}

/**
 * ========================== HEADER ==========================
 */
header.um-header {
  background: var(--um-dark);
  box-shadow: var(--um-shadow-md);
  color: var(--um-on-dark);
  height: auto;
  position: sticky;
  top: 0;
  z-index: 1030;
}

header.um-header .container {
  padding-bottom: 16px;
  padding-top: 16px;
}

.um-header-logo {
  display: inline-flex;
  flex-shrink: 0;
}

.um-header-logo img {
  display: block;
  height: 40px;
  width: 140px;
}

.um-nav {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.um-nav-link {
  color: var(--um-on-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .325px;
  line-height: 19.5px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}

/* 7 itens no menu (v3): entre lg e xl o container tem 960px, então o menu aperta como no layout (12px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .um-nav {
    gap: 14px;
  }

  .um-nav-link {
    font-size: 12px;
    letter-spacing: 0;
    white-space: nowrap;
  }
}

.um-nav-link:hover,
.um-nav-link.active {
  color: var(--um-primary);
}

.um-nav-link.active {
  font-weight: 700;
}

.um-header-burger {
  background: transparent;
  border: 0;
  color: var(--um-on-dark);
  font-size: 28px;
  height: 40px;
  line-height: 1;
  padding: 0;
  width: 29px;
}

/* Menu mobile */
header.um-header .um-offcanvas {
  background: var(--um-dark);
  color: var(--um-on-dark);
}

header.um-header .um-offcanvas .offcanvas-header {
  border-bottom: 1px solid var(--um-dark-line-faint);
}

header.um-header .um-offcanvas .btn-close {
  color: var(--um-on-dark) !important;
}

.um-offcanvas-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.um-offcanvas-nav .um-nav-link {
  border-radius: var(--um-radius-btn);
  display: block;
  font-size: 14px;
  padding: 12px 8px;
}

.um-offcanvas-nav .um-nav-link.active {
  background: var(--um-dark-hover);
}

/**
 * ========================== BANNER PADRÃO ==========================
 * v2 do layout: faixa na largura toda (--um-banner-bg) com a arte dentro do container,
 * 382×260 até 767px e 1880×500 a partir de 768px. Mesmo tamanho na Home, no Estoque e no Sobre (um-banner.html).
 * Na v4 a faixa só tem respiro em cima: a arte encosta na borda de baixo.
 */
.um-banner {
  background: var(--um-banner-bg);
  padding: 24px 0 0;
}

.um-banner-frame {
  aspect-ratio: 382 / 260;
  display: block;
  overflow: hidden;
  position: relative;
}

.um-banner-frame img {
  height: 100%;
  inset: 0;
  max-width: none;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
}

@media (min-width: 768px) {
  .um-banner-frame {
    aspect-ratio: 1880 / 500;
  }
}

/**
 * ========================== HERO DA HOME (banner + busca) ==========================
 * Carrossel de banners padrão com a busca pill sobreposta à borda de baixo (metade para fora).
 */
.um-hero {
  position: relative;
}

.um-hero #banner {
  background: transparent;
  padding: 0;
}

.um-hero #banner .splide__arrows {
  display: none;
}

/* Dots só quando houver mais de um banner, acima da busca */
.um-hero #banner .splide__pagination {
  bottom: 48px;
}

.um-hero #banner:not(.is-overflow) .splide__pagination {
  display: none;
}

.um-hero #banner .splide__pagination__page {
  background: rgba(255, 255, 255, .6);
}

.um-hero #banner .splide__pagination__page.is-active {
  background: #fff;
  transform: none;
}

.um-hero-search {
  bottom: 0;
  left: 50%;
  max-width: 92%;
  padding: 0 8px;
  position: absolute;
  transform: translate(-50%, 50%);
  width: 100%;
  z-index: 10;
}

@media (min-width: 768px) {
  .um-hero-search {
    max-width: 896px;
  }
}

.um-search {
  align-items: center;
  background: #fff;
  border: 1px solid var(--um-gray-100);
  border-radius: var(--um-radius-pill);
  box-shadow: var(--um-shadow-2xl);
  display: flex;
  height: 72px;
  padding: 8px;
  position: relative;
}

.um-search-btn {
  align-items: center;
  background: var(--um-accent);
  border: 0;
  border-radius: var(--um-radius-pill);
  box-shadow: var(--um-shadow-md);
  color: var(--um-on-accent);
  display: inline-flex;
  flex-shrink: 0;
  font-size: 18px;
  height: 56px;
  justify-content: center;
  margin-left: 4px;
  width: 56px;
}

.um-search-btn:hover {
  filter: brightness(.95);
}

.um-search-input {
  background: transparent;
  border: 0;
  color: var(--um-gray-900);
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  min-width: 0;
  outline: 0;
  padding: 10px 24px;
}

.um-search-input::placeholder {
  color: var(--um-gray-400);
}

.um-search:focus-within {
  border-color: var(--um-gray-300);
}

.um-search-results {
  background: #fff;
  border-radius: var(--um-radius-card);
  box-shadow: var(--um-shadow-2xl);
  left: 0;
  max-height: 320px;
  overflow: auto;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 1056;
}

/* A seção seguinte reserva espaço para a busca sobreposta */
.um-after-hero > section:first-child {
  padding-top: 128px;
}

@media (max-width: 575.98px) {
  .um-search {
    height: 64px;
  }

  .um-search-btn {
    font-size: 16px;
    height: 48px;
    width: 48px;
  }

  .um-search-input {
    font-size: 15px;
    padding: 8px 16px;
  }
}

/**
 * ========================== SEÇÕES ==========================
 */
.um-section {
  padding: var(--um-section-py) 0;
}

.um-section-title {
  color: var(--um-gray-900);
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
  margin: 0 0 48px;
}

.um-section-title span {
  color: var(--um-primary);
}

@media (max-width: 575.98px) {
  .um-section-title {
    font-size: 26px;
    line-height: 36px;
  }
}

/**
 * ========================== CARD DE VEÍCULO ==========================
 * Figma 36:395 — usado em Destaque, Acabou de chegar e relacionados.
 */
.um-card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1199.98px) {
  .um-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .um-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .um-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.um-card {
  background: #fff;
  border: 1px solid var(--um-gray-100);
  border-radius: var(--um-radius-card);
  box-shadow: var(--um-shadow-sm);
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}

.um-card:hover {
  box-shadow: var(--um-shadow-md);
  color: inherit;
  transform: translateY(-2px);
}

.um-card-media {
  aspect-ratio: 4 / 3;
  background: var(--um-gray-100);
  overflow: hidden;
}

.um-card-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.um-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.um-card-title {
  color: var(--um-gray-900);
  font-size: 18px;
  font-weight: 800;
  line-height: 22.5px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.um-card-specs {
  color: var(--um-gray-500);
  font-size: 13px;
  line-height: 20px;
  margin-bottom: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Ano e loja, com ícone (v2) */
.um-card-meta {
  align-items: center;
  color: var(--um-gray-600);
  display: flex;
  font-size: 13px;
  gap: 6px;
  line-height: 20px;
  margin-bottom: 8px;
  min-width: 0;
}

.um-card-meta .bi {
  color: var(--um-gray-400);
  flex-shrink: 0;
  font-size: 12px;
}

/* A última linha antes do preço (ano ou loja) ganha mais respiro */
.um-card-meta:has(+ .um-card-price) {
  margin-bottom: 12px;
}

.um-card-location span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.um-card-price {
  color: var(--um-price);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.6px;
  line-height: 32px;
  margin-bottom: 4px;
  white-space: nowrap;
}

/* Parcela estimada (features.installment_estimate) — fica entre o preço e o botão */
.um-card-installment {
  margin-bottom: 16px;
}

.um-card-installment p {
  color: var(--um-gray-600);
  font-size: 13px;
  line-height: 18px;
  margin: 0;
}

.um-card-installment strong {
  color: var(--um-gray-900);
  font-weight: 700;
}

.um-card-installment small {
  color: var(--um-gray-400);
  display: block;
  font-size: 11px;
  font-style: italic;
  line-height: 16px;
  margin-top: 2px;
}

/* Sem parcela, o preço ganha o respiro antes do botão */
.um-card-price:not(:has(+ .um-card-installment)) {
  margin-bottom: 16px;
}

.um-card-cta {
  background: var(--um-primary);
  border-radius: 12px;
  box-shadow: var(--um-shadow-md);
  color: #fff;
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  margin-top: auto;
  padding: 10px 0;
  text-align: center;
  text-transform: uppercase;
  transition: opacity .2s ease;
  width: 100%;
}

.um-card:hover .um-card-cta {
  opacity: .9;
}

/* Botões do card horizontal (mobile) */
.um-card-actions {
  display: none;
}

/* Card no mobile (estoque.html v3, vale também na home): foto quadrada à esquerda, dados à direita, 2 botões embaixo */
@media (max-width: 575.98px) {
  .um-card-grid .um-card {
    column-gap: 14px;
    display: grid;
    grid-template-columns: 40% minmax(0, 1fr);
    padding: 14px 14px 0;
    row-gap: 14px;
  }

  .um-card-grid .um-card-media {
    align-self: start;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
  }

  .um-card-grid .um-card-body {
    justify-content: center;
    min-width: 0;
    padding: 0;
  }

  .um-card-grid .um-card-title {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    font-size: 15px;
    line-height: 19px;
    white-space: normal;
  }

  .um-card-grid .um-card-specs {
    margin-bottom: 6px;
  }

  .um-card-grid .um-card-meta,
  .um-card-grid .um-card-meta:has(+ .um-card-price) {
    margin-bottom: 4px;
  }

  .um-card-grid .um-card-price,
  .um-card-grid .um-card-price:not(:has(+ .um-card-installment)) {
    font-size: 19px;
    letter-spacing: -.4px;
    line-height: 26px;
    margin: 2px 0 0;
  }

  .um-card-grid .um-card-location,
  .um-card-grid .um-card-installment,
  .um-card-grid .um-card-cta {
    display: none;
  }

  .um-card-grid .um-card-actions {
    border-top: 1px solid var(--um-gray-200);
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    margin: 0 -14px;
  }

  .um-card-actions span {
    align-items: center;
    color: var(--um-primary);
    display: flex;
    font-size: 14px;
    font-weight: 700;
    justify-content: center;
    padding: 14px 8px;
  }

  .um-card-actions span + span {
    background: var(--um-primary);
    color: #fff;
  }
}

/**
 * ========================== DESTAQUE / ACABOU DE CHEGAR ==========================
 */
.um-after-hero > section.um-featured:first-child {
  padding-top: 128px;
}

.um-featured .um-section-title {
  color: var(--um-gray-800);
}

/**
 * ========================== CABEÇALHO DE SEÇÃO + SETAS ==========================
 */
.um-section-head {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 32px;
}

.um-eyebrow {
  color: var(--um-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  line-height: 16px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.um-section-title--left {
  font-weight: 800;
  letter-spacing: -.75px;
  margin: 0;
}

/* Setas de carrossel (pill 56×36) — sobrescreve o posicionamento absoluto padrão do Splide */
.um-arrows {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}

.um-arrows .um-arrow {
  align-items: center;
  background: #fff;
  border: 1px solid var(--um-gray-300);
  border-radius: var(--um-radius-pill);
  color: var(--um-gray-600);
  display: inline-flex;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .05));
  font-size: 14px;
  height: 36px;
  justify-content: center;
  opacity: 1;
  position: static;
  transform: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  width: 56px;
}

.um-arrows .um-arrow:hover:not(:disabled) {
  background: var(--um-primary);
  border-color: var(--um-primary);
  color: #fff;
}

.um-arrows .um-arrow:disabled {
  opacity: .4;
}

@media (max-width: 575.98px) {
  .um-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .um-section-head .um-arrows {
    justify-content: flex-end;
  }
}

/**
 * ========================== PROCURE POR MARCAS ==========================
 * Figma 36:27
 */
.um-brands {
  background: var(--um-gray-50);
  border-bottom: 1px solid var(--um-gray-100);
}

.um-brands .splide__track {
  padding-block: 12px;
}

/* v2: foto nos 70% de cima, degradê até o preto e logo + nome em laranja embaixo */
.um-brand-card {
  aspect-ratio: 6 / 5;
  background: var(--um-brand-card-bg);
  border-radius: var(--um-radius-card);
  box-shadow: var(--um-shadow-sm);
  display: block;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: box-shadow .3s ease;
}

.um-brand-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
}

.um-brand-card img {
  height: 70%;
  inset: 0 0 auto;
  object-fit: cover;
  position: absolute;
  transition: transform .5s ease;
  width: 100%;
}

.um-brand-card:hover img {
  transform: scale(1.05);
}

.um-brand-card::after {
  background: linear-gradient(to bottom, color-mix(in srgb, var(--um-brand-card-bg) 0%, transparent) 30%, color-mix(in srgb, var(--um-brand-card-bg) 80%, transparent) 52%, var(--um-brand-card-bg) 66%);
  content: "";
  inset: 0;
  position: absolute;
}

.um-brand-card-info {
  align-items: center;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  left: 0;
  padding-bottom: 20px;
  position: absolute;
  right: 0;
  z-index: 1;
}

.um-brand-card-logo {
  background-color: var(--um-brand-logo);
  display: block;
  height: 64px;
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
  transition: transform .3s ease;
  width: 64px;
}

.um-brand-card:hover .um-brand-card-logo {
  transform: scale(1.1);
}

.um-brand-card-name {
  color: var(--um-brand-logo);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.um-brands-credits {
  font-size: 10px;
  margin: 8px 0 0;
  text-align: right;
}

.um-brands-credits a {
  color: var(--um-gray-400);
  text-decoration: none;
}

.um-brands-credits a:hover {
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .um-brands {
    padding: 64px 0;
  }

  .um-brands .um-section-title {
    font-size: 24px;
    line-height: 32px;
  }

  .um-brand-card-logo {
    height: 56px;
    width: 56px;
  }

  .um-brand-card-name {
    font-size: 14px;
  }
}

/**
 * ========================== ESTOQUE ==========================
 * Figma 36:3114 — barra de busca (o banner é o padrão), sidebar de filtros (offcanvas-lg) e grid com "Carregar mais".
 */
/* v2: fica presa logo abaixo do header (72px) ao rolar */
.um-stock-searchbar {
  background: #fff;
  border-bottom: 1px solid var(--um-gray-100);
  box-shadow: var(--um-shadow-sm);
  padding: 16px 0;
  position: sticky;
  top: 72px;
  z-index: 1020;
}

.um-stock-searchbar-row {
  align-items: center;
  display: flex;
  gap: 12px;
}

.um-stock-search {
  flex: 1;
  margin: 0;
  position: relative;
}

.um-stock-search .bi {
  color: var(--um-gray-400);
  font-size: 14px;
  left: 16px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.um-stock-search input {
  background: #f8fafc;
  border: 2px solid var(--um-detail);
  border-radius: var(--um-radius-btn);
  box-shadow: inset 0 2px 4px 1px rgba(0, 0, 0, .05);
  color: var(--um-gray-900);
  font-size: 14px;
  font-weight: 500;
  height: 46px;
  outline: 0;
  padding: 13px 16px 14px 48px;
  width: 100%;
}

.um-stock-search input::placeholder {
  color: var(--um-gray-500);
}

.um-stock-search input:focus {
  background: #fff;
}

.um-filter-btn {
  align-items: center;
  background: var(--um-gray-900);
  border: 0;
  border-radius: var(--um-radius-btn);
  box-shadow: var(--um-shadow-md);
  color: #fff;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  height: 46px;
  justify-content: center;
  letter-spacing: .05em;
  padding: 0 20px;
  text-transform: uppercase;
}

.um-filter-btn:active {
  transform: scale(.95);
}

.um-filter-badge {
  background: var(--um-primary);
  border-radius: var(--um-radius-pill);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
}

.um-stock {
  background: #f8fafc;
  padding: 32px 0;
}

.um-stock-layout {
  align-items: flex-start;
  display: flex;
  gap: 32px;
}

.um-results {
  flex: 1;
  min-width: 0;
}

/* Sidebar / drawer */
@media (min-width: 992px) {
  /* Abaixo do header (72px) e da barra de busca fixa (79px), com 16px de folga */
  .um-filters {
    flex: 0 0 300px;
    max-height: calc(100vh - 183px);
    position: sticky;
    top: 167px;
  }

  .um-filters-inner {
    background: #fff;
    border: 1px solid var(--um-gray-100);
    border-radius: var(--um-radius-card);
    display: flex;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .05));
    flex-direction: column;
    max-height: calc(100vh - 183px);
    padding: 20px;
  }
}

@media (max-width: 991.98px) {
  .um-filters.offcanvas-lg {
    --bs-offcanvas-width: min(360px, 92vw);
  }

  .um-filters-inner {
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
  }
}

.um-filters-head {
  align-items: center;
  border-bottom: 1px solid var(--um-gray-100);
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
}

.um-filters-title {
  align-items: center;
  color: var(--um-gray-900);
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: .7px;
  line-height: 20px;
  text-transform: uppercase;
}

.um-filters-title .bi {
  color: var(--um-primary);
  font-size: 16px;
}

.um-link-btn {
  background: none;
  border: 0;
  color: var(--um-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  padding: 0;
}

.um-link-btn:hover {
  text-decoration: underline;
}

.um-filters-body {
  flex: 1;
  margin-right: -8px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 8px;
}

.um-filters-footer {
  border-top: 1px solid var(--um-gray-100);
  margin-top: 12px;
  padding-top: 16px;
}

.um-filters-footer .btn-um-accent {
  font-size: 13px;
  padding: 14px 0;
}

.um-filter-group {
  border-bottom: 1px solid var(--um-gray-100);
  padding-bottom: 12px;
}

.um-filter-group + .um-filter-group {
  margin-top: 16px;
}

.um-filter-group:last-child {
  border-bottom: 0;
}

.um-filter-toggle {
  align-items: center;
  background: none;
  border: 0;
  color: var(--um-gray-900);
  display: flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: space-between;
  line-height: 20px;
  padding: 4px 0;
  width: 100%;
}

.um-filter-toggle .bi {
  color: var(--um-gray-400);
  font-size: 12px;
  transform: rotate(180deg);
  transition: transform .2s ease;
}

.um-filter-toggle.collapsed .bi {
  transform: none;
}

.um-filter-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 0 4px;
}

.um-filter-label {
  color: var(--um-gray-400);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  line-height: 16px;
  text-transform: uppercase;
}

/* Range (noUiSlider) */
.um-range.noUi-target {
  background: var(--um-gray-200);
  border: 0;
  border-radius: 9999px;
  box-shadow: none;
  height: 6px;
  margin: 5px 8px 0;
}

.um-range .noUi-connect {
  background: var(--um-primary);
}

.um-range .noUi-handle {
  background: #fff;
  border: 2px solid var(--um-primary);
  border-radius: 50%;
  box-shadow: var(--um-shadow);
  cursor: grab;
  height: 16px !important;
  right: -8px !important;
  top: -5px !important;
  width: 16px !important;
}

.um-range .noUi-handle::before,
.um-range .noUi-handle::after {
  display: none;
}

.um-range-bounds {
  color: var(--um-gray-700, #374151);
  display: flex;
  font-size: 11px;
  font-weight: 700;
  justify-content: space-between;
  line-height: 16px;
  padding-top: 10px;
}

.um-range-inputs {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  padding-top: 8px;
}

.um-range-inputs label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.um-range-inputs label > span {
  color: var(--um-gray-400);
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-transform: uppercase;
}

.um-range-inputs input {
  background: #fff;
  border: 1px solid var(--um-gray-200);
  border-radius: var(--um-radius-btn);
  color: #374151;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  min-width: 0;
  outline: 0;
  padding: 6px 10px;
  width: 100%;
}

.um-range-inputs input:focus {
  background: #f8fafc;
  border-color: var(--um-primary);
}

/* Toggle "Só ofertas" */
.um-switch {
  align-items: center;
  border-top: 1px solid var(--um-gray-50);
  color: var(--um-gray-800);
  cursor: pointer;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  justify-content: space-between;
  margin: 0;
  padding-top: 8px;
  position: relative;
}

.um-switch input {
  opacity: 0;
  position: absolute;
  right: 0;
}

.um-switch-track {
  background: var(--um-gray-200);
  border-radius: 9999px;
  height: 20px;
  position: relative;
  transition: background-color .2s ease;
  width: 36px;
}

.um-switch-track::after {
  background: #fff;
  border: 1px solid var(--um-gray-300);
  border-radius: 50%;
  content: "";
  height: 16px;
  left: 2px;
  position: absolute;
  top: 2px;
  transition: transform .2s ease;
  width: 16px;
}

.um-switch input:checked + .um-switch-track {
  background: var(--um-primary);
}

.um-switch input:checked + .um-switch-track::after {
  border-color: #fff;
  transform: translateX(16px);
}

.um-switch input:focus-visible + .um-switch-track {
  outline: 2px solid var(--um-primary);
  outline-offset: 2px;
}

/* Marcas */
.um-brand-tiles {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.um-brand-tile {
  align-items: center;
  background: #fff;
  border: 1px solid var(--um-gray-200);
  border-radius: var(--um-radius-btn);
  color: #374151;
  display: flex;
  flex-direction: column;
  font-size: 11px;
  font-weight: 700;
  gap: 6px;
  height: 72px;
  justify-content: center;
  line-height: 16px;
  padding: 10px;
  transition: border-color .2s ease, background-color .2s ease;
}

.um-brand-tile-logo {
  align-items: center;
  display: flex;
  font-size: 20px;
  height: 28px;
  justify-content: center;
}

.um-brand-tile-logo img {
  max-height: 24px;
  max-width: 38px;
}

.um-brand-tile:hover,
.um-body-tile:hover {
  border-color: var(--um-gray-400);
}

.um-brand-tile.active,
.um-body-tile.active {
  background: rgba(43, 67, 116, .06);
  border-color: var(--um-primary);
  box-shadow: inset 0 0 0 1px var(--um-primary);
  color: var(--um-primary);
}

.um-check-list {
  display: flex;
  flex-direction: column;
}

.um-check-list--scroll {
  max-height: 144px;
  overflow-y: auto;
}

.um-check {
  align-items: center;
  color: #374151;
  cursor: pointer;
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  line-height: 16px;
  margin: 0;
  padding: 4px 0;
}

.um-check > span:first-child {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.um-check input {
  accent-color: var(--um-primary);
}

.um-check-count {
  color: var(--um-gray-400);
  font-size: 11px;
  font-weight: 600;
}

/* Carroceria */
.um-body-tiles {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.um-body-tile {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--um-gray-200);
  border-radius: var(--um-radius-card);
  color: var(--um-gray-800);
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  padding: 10px;
  transition: border-color .2s ease, background-color .2s ease;
}

.um-body-tile-img {
  aspect-ratio: 100 / 75;
  background: #fff;
  border: 1px solid var(--um-gray-100);
  border-radius: var(--um-radius-btn);
  display: block;
  margin-bottom: 6px;
  padding: 8px;
  width: 100%;
}

.um-body-tile-img img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

/* Barra de resultados */
.um-results-bar {
  align-items: center;
  background: #fff;
  border: 1px solid var(--um-gray-100);
  border-radius: var(--um-radius-card);
  display: flex;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .05));
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 16px;
}

.um-results-label {
  color: var(--um-gray-400);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .6px;
  line-height: 16px;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.um-results-count {
  color: var(--um-gray-900);
  font-size: 14px;
  font-weight: 800;
  line-height: 20px;
}

.um-results-count strong {
  color: var(--um-primary);
  font-weight: 800;
}

.um-sort {
  align-items: center;
  color: var(--um-gray-500);
  display: flex;
  font-size: 12px;
  font-weight: 500;
  gap: 8px;
  margin: 0;
}

.um-sort select {
  appearance: none;
  background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%239ca3af' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--um-gray-200);
  border-radius: var(--um-radius-btn);
  color: #374151;
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
  outline: 0;
  padding: 7px 32px 7px 16px;
}

.um-sort select:focus {
  border-color: var(--um-primary);
}

/* Grid: 3 colunas com sidebar (≥1200), 2 entre 576 e 1199, 1 abaixo */
.um-card-grid--stock {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1199.98px) {
  .um-card-grid--stock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .um-card-grid--stock {
    grid-template-columns: minmax(0, 1fr);
  }
}

.um-load-more {
  align-items: center;
  display: flex;
  flex-direction: column;
  padding-top: 40px;
  text-align: center;
}

.um-load-more[hidden] {
  display: none;
}

.um-load-more-btn {
  align-items: center;
  background: #fff;
  border: 2px solid var(--um-primary);
  border-radius: var(--um-radius-btn);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  color: var(--um-primary);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  letter-spacing: .05em;
  line-height: 20px;
  padding: 12px 32px;
  text-transform: uppercase;
  transition: background-color .15s, color .15s;
}

.um-load-more-btn:hover,
.um-load-more-btn:focus-visible {
  background: var(--um-primary);
  color: #fff;
}

.um-load-more-rest {
  font-weight: 500;
  text-transform: none;
}

.um-load-more-info {
  color: var(--um-gray-500);
  font-size: 12px;
  line-height: 16px;
  margin: 12px 0 0;
}

.um-empty {
  background: #fff;
  border: 1px dashed var(--um-gray-200);
  border-radius: var(--um-radius-card);
  color: var(--um-gray-500);
  padding: 48px 16px;
  text-align: center;
}

.um-empty .bi {
  color: var(--um-gray-300);
  font-size: 32px;
}

.um-empty p {
  font-size: 14px;
  font-weight: 600;
  margin: 8px 0 12px;
}

@media (max-width: 575.98px) {
  .um-stock-searchbar-row {
    align-items: stretch;
    flex-direction: column;
  }

  .um-filter-btn {
    width: 100%;
  }

  .um-results-bar {
    padding: 12px 16px;
  }

  .um-results-count {
    white-space: nowrap;
  }

  .um-sort select {
    max-width: 150px;
    padding-right: 28px;
  }
}

/**
 * ========================== HOME: ENCONTRE O VEÍCULO CERTO ==========================
 * Figma 36:632 — cards 320×400 com imagem e degradê escuro
 */
.um-categories .splide__track {
  padding-block: 8px;
}

.um-category-card {
  aspect-ratio: 320 / 400;
  border: 1px solid var(--um-gray-100);
  border-radius: var(--um-radius-hero);
  box-shadow: var(--um-shadow-sm);
  color: #fff;
  display: block;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.um-category-card img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform .4s ease;
  width: 100%;
}

.um-category-card::after {
  background: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, .4) 50%, transparent);
  content: "";
  inset: 0;
  position: absolute;
}

.um-category-card:hover {
  color: #fff;
}

.um-category-card:hover img {
  transform: scale(1.04);
}

.um-category-text {
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  left: 24px;
  position: absolute;
  right: 24px;
  z-index: 1;
}

.um-category-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 1px 1px rgba(0, 0, 0, .06);
}

.um-category-desc {
  color: var(--um-gray-200);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

/**
 * ========================== HOME: MODELOS MAIS BUSCADOS ==========================
 * Figma 36:698
 */
.um-models {
  background: var(--um-gray-50);
  border-bottom: 1px solid var(--um-gray-100);
}

.um-models-actions {
  align-items: center;
  display: flex;
  gap: 24px;
}

.um-more-link {
  align-items: center;
  color: var(--um-primary);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 6px;
  line-height: 20px;
  text-decoration: none;
}

.um-more-link .bi {
  font-size: 12px;
}

.um-more-link:hover {
  color: var(--um-primary);
  text-decoration: underline;
}

.um-models .um-section-head {
  margin-bottom: 24px;
}

.um-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 0;
}

.um-tab {
  align-items: center;
  background: #fff;
  border: 1px solid var(--um-gray-200);
  border-radius: var(--um-radius-pill);
  color: #374151;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 10px;
  height: 34px;
  line-height: 16px;
  padding: 0 16px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.um-tab img {
  height: 16px;
  object-fit: contain;
  width: 24px;
}

.um-tab:hover {
  border-color: var(--um-gray-400);
}

.um-tab.active {
  background: var(--um-gray-900);
  box-shadow: var(--um-shadow-sm);
  color: #fff;
}

.um-models-panel .splide__track {
  padding-block: 8px;
}

.um-model-card {
  background: #fff;
  border: 1px solid var(--um-gray-100);
  border-radius: var(--um-radius-card);
  box-shadow: var(--um-shadow-sm);
  color: inherit;
  display: block;
  padding: 16px;
  position: relative;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}

.um-model-card:hover {
  box-shadow: var(--um-shadow-md);
  color: inherit;
  transform: translateY(-2px);
}

.um-model-img {
  align-items: center;
  aspect-ratio: 186 / 128;
  background: var(--um-gray-50);
  border-radius: var(--um-radius-btn);
  color: var(--um-gray-300);
  display: flex;
  font-size: 40px;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
}

.um-model-img > img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.um-model-badge {
  align-items: center;
  background: #fff;
  border: 1px solid var(--um-gray-100);
  border-radius: 50%;
  box-shadow: var(--um-shadow-md);
  display: flex;
  height: 32px;
  justify-content: center;
  left: 12px;
  padding: 6px;
  position: absolute;
  top: 12px;
  width: 32px;
}

.um-model-brand {
  color: var(--um-gray-400);
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .55px;
  line-height: 17px;
  text-transform: uppercase;
}

.um-model-name {
  color: var(--um-gray-900);
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 20px;
}

@media (max-width: 575.98px) {
  .um-models {
    padding: 64px 0;
  }

  .um-models-actions {
    justify-content: space-between;
  }

  .um-tabs {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .um-tab {
    flex-shrink: 0;
    font-size: 11px;
    gap: 6px;
    padding: 0 10px;
  }

  .um-tab img {
    width: 20px;
  }
}

/**
 * ========================== HOME: VENDER OU TROCAR ==========================
 * v2 do layout: bloco escuro com brilho azul, chamada à esquerda e 3 vantagens à direita.
 */
.um-sell {
  background: var(--um-gray-50);
  padding: 64px 0;
}

.um-sell-card {
  background: linear-gradient(to bottom right, #18181b, #27272a, #09090b);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--um-radius-hero);
  box-shadow: var(--um-shadow-2xl);
  color: #fff;
  overflow: hidden;
  padding: 48px;
  position: relative;
}

.um-sell-glow {
  background: var(--um-detail);
  border-radius: 50%;
  filter: blur(64px);
  height: 384px;
  pointer-events: none;
  position: absolute;
  width: 384px;
}

.um-sell-glow--top {
  opacity: .3;
  right: -128px;
  top: -128px;
}

.um-sell-glow--bottom {
  bottom: -128px;
  left: -128px;
  opacity: .2;
}

.um-sell-grid {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: 5fr 7fr;
  position: relative;
  z-index: 1;
}

.um-sell-badge {
  align-items: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--um-radius-pill);
  color: var(--um-detail);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  letter-spacing: .05em;
  margin-bottom: 12px;
  padding: 4px 12px;
  text-transform: uppercase;
}

/* 800 e não 900: a v2 carrega a Inter só até 800, então o "black" dela renderiza como 800 */
.um-sell-text h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.12;
  margin: 0 0 16px;
}

.um-sell-text h2 span {
  color: var(--um-detail);
}

.um-sell-text > p {
  color: var(--um-gray-300);
  font-size: 16px;
  line-height: 1.625;
  margin: 0 0 24px;
}

.um-sell-btn {
  align-items: center;
  background: var(--um-accent);
  border-radius: var(--um-radius-card);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
  color: var(--um-on-accent);
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  padding: 16px 32px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .3s ease, opacity .3s ease;
}

.um-sell-btn .bi {
  font-size: 18px;
}

.um-sell-btn:hover {
  color: #fff;
  opacity: .9;
  transform: scale(1.05);
}

.um-sell-perks {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.um-sell-perks li {
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--um-radius-card);
  padding: 20px;
  transition: border-color .2s ease;
}

.um-sell-perks li:hover {
  border-color: rgba(255, 255, 255, .3);
}

.um-sell-perk-icon {
  align-items: center;
  background: rgba(255, 255, 255, .1);
  border-radius: 12px;
  color: var(--um-detail);
  display: flex;
  font-size: 18px;
  height: 40px;
  justify-content: center;
  margin-bottom: 12px;
  width: 40px;
}

.um-sell-perks h3 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 6px;
}

.um-sell-perks p {
  color: var(--um-gray-400);
  font-size: 12px;
  line-height: 1.625;
  margin: 0;
}

@media (max-width: 991.98px) {
  .um-sell-card {
    padding: 40px;
  }

  .um-sell-grid {
    grid-template-columns: 1fr;
  }

  .um-sell-text {
    text-align: center;
  }

  .um-sell-text h2 {
    font-size: 30px;
  }
}

@media (max-width: 575.98px) {
  .um-sell {
    padding: 48px 0;
  }

  .um-sell-card {
    padding: 24px;
  }

  .um-sell-text h2 {
    font-size: 24px;
  }

  .um-sell-text > p {
    font-size: 14px;
  }

  .um-sell-btn {
    font-size: 14px;
    padding: 14px 20px;
  }

  .um-sell-perks {
    grid-template-columns: 1fr;
  }
}

/**
 * ========================== HOME: POR QUE ESCOLHER ==========================
 * Figma 36:272
 */
.um-why {
  background: var(--um-dark);
}

.um-why-grid {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr 1fr;
}

.um-why-text {
  padding-right: 40px;
}

.um-why-text h2 {
  color: var(--um-on-dark);
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  margin: 0 0 32px;
}

.um-why-text h2 span {
  color: var(--um-primary);
  display: block;
}

.um-why-text p {
  color: var(--um-on-dark-muted);
  font-size: 16px;
  line-height: 24px;
  margin: 0 0 24px;
}

.um-why-btn {
  border-radius: 4px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
  display: inline-block;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 24px;
  padding: 14px 32px;
}

.um-why-img img {
  aspect-ratio: 599 / 450;
  border-radius: var(--um-radius-card);
  box-shadow: var(--um-shadow-2xl);
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 575.98px) {
  .um-why-grid {
    grid-template-columns: 1fr;
  }

  .um-why-text h2 {
    font-size: 30px;
    line-height: 36px;
  }

  .um-why-text {
    padding-right: 0;
  }

  .um-why-img img {
    aspect-ratio: 358 / 300;
    object-fit: cover;
  }
}

/**
 * ========================== HOME: DICAS PARA VOCÊ ==========================
 * Figma 36:102
 */
.um-posts {
  background: var(--um-gray-50);
}

.um-posts-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.um-post-card {
  background: #fff;
  border-radius: var(--um-radius-btn);
  box-shadow: var(--um-shadow-sm);
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}

.um-post-card:hover {
  box-shadow: var(--um-shadow-md);
  color: inherit;
  transform: translateY(-2px);
}

.um-post-card img {
  aspect-ratio: 395 / 247;
  background: var(--um-gray-200);
  display: block;
  object-fit: cover;
  width: 100%;
}

.um-post-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.um-post-title {
  color: var(--um-gray-800);
  display: -webkit-box;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.um-post-text {
  color: var(--um-gray-600);
  display: -webkit-box;
  font-size: 14px;
  line-height: 21px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 575.98px) {
  .um-posts-grid {
    grid-template-columns: 1fr;
  }
}

/**
 * ========================== HOME: LOJAS ==========================
 * v2 do layout — fundo claro, texto à esquerda (30%) e um card por loja (70%)
 */
.um-stores {
  background: var(--um-dark);
  border-bottom: 1px solid var(--um-dark-line);
  border-top: 1px solid var(--um-dark-line);
  padding: 96px 0;
}

/* v3 do layout (5 lojas): texto centralizado em cima e as lojas numa linha abaixo */
.um-stores-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}

.um-stores-text {
  margin: 0 auto;
  max-width: 896px;
  text-align: center;
}

.um-stores-text .um-eyebrow {
  margin-bottom: 8px;
}

.um-stores-text h2 {
  color: var(--um-on-dark);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 24px;
}

.um-stores-text h2 span {
  color: var(--um-primary);
}

.um-stores-text p {
  color: var(--um-on-dark-muted);
  font-size: 14px;
  line-height: 1.625;
  margin: 0 auto 16px;
  max-width: 672px;
}

.um-stores-list {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .um-stores-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.um-store {
  align-items: center;
  background: var(--um-dark-card);
  border: 1px solid var(--um-dark-card-line);
  border-radius: var(--um-radius-card);
  box-shadow: var(--um-shadow-sm);
  display: flex;
  flex-direction: column;
  padding: 16px;
  text-align: center;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.um-store:hover {
  border-color: var(--um-dark-card-line-hover);
  box-shadow: var(--um-shadow-md);
}

.um-store-img {
  aspect-ratio: 4 / 3;
  background: var(--um-gray-900);
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 12px;
  box-shadow: var(--um-shadow-md);
  display: block;
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.um-store-img img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  width: 100%;
}

.um-store-img:hover img {
  transform: scale(1.05);
}

.um-store-img::after {
  background: rgba(0, 0, 0, .15);
  content: "";
  inset: 0;
  position: absolute;
  transition: background .3s ease;
}

.um-store-img:hover::after {
  background: transparent;
}

.um-store-badge {
  align-items: center;
  backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, .8);
  border-radius: 6px;
  bottom: 8px;
  box-shadow: var(--um-shadow-md);
  color: #fff;
  display: flex;
  font-size: 10px;
  font-weight: 700;
  gap: 4px;
  padding: 2px 8px;
  position: absolute;
  right: 8px;
  z-index: 1;
}

.um-store-badge .bi {
  color: var(--um-primary);
}

.um-store-name {
  color: var(--um-on-dark);
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 4px;
}

.um-store-phone {
  color: var(--um-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .025em;
  margin-bottom: 8px;
  text-decoration: none;
}

.um-store-phone:hover {
  color: var(--um-primary);
  text-decoration: underline;
}

.um-store-address {
  color: var(--um-on-dark-muted);
  font-size: 12px;
  line-height: 1.625;
  margin: 0 0 16px;
  min-height: 42px;
  padding: 0 4px;
}

.um-store-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  width: 100%;
}

.um-store-btn {
  align-items: center;
  border: 1px solid var(--um-dark-card-line-hover);
  border-radius: 12px;
  color: var(--um-on-dark-btn);
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  gap: 6px;
  justify-content: center;
  padding: 8px 12px;
  text-decoration: none;
  transition: all .2s ease;
}

.um-store-btn:hover {
  background: var(--um-dark-hover);
  border-color: var(--um-on-dark);
  color: var(--um-on-dark-btn);
}

.um-store-btn--whatsapp {
  background: var(--um-whatsapp);
  border-color: var(--um-whatsapp);
  box-shadow: var(--um-shadow-md);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 12px;
}

.um-store-btn--whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  color: #fff;
}

@media (max-width: 991.98px) {
  .um-stores {
    padding: 64px 0;
  }

  .um-stores-grid {
    gap: 32px;
    grid-template-columns: 1fr;
  }

  .um-stores-text h2 {
    font-size: 30px;
  }
}

@media (max-width: 767.98px) {
  .um-stores-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .um-stores-text h2 {
    font-size: 24px;
  }

  .um-stores-list {
    grid-template-columns: 1fr;
  }
}

/**
 * ========================== FOOTER ==========================
 * v2 do layout: identidade (texto + redes), navegação e lojas em três colunas; copyright numa barra clara.
 */
.um-footer {
  background: var(--um-dark);
  border-top: 1px solid var(--um-dark-line);
  color: var(--um-on-dark);
  padding-top: 80px;
}

.um-footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 56px;
}

.um-footer-brand img {
  display: block;
  height: 48px;
  margin-bottom: 20px;
  width: auto;
}

.um-footer-brand p {
  color: var(--um-on-dark-muted);
  font-size: 13px;
  line-height: 1.625;
  margin: 0 0 24px;
}

.um-footer-social {
  display: flex;
  gap: 12px;
}

.um-footer-social a {
  align-items: center;
  background: var(--um-dark-soft);
  border: 1px solid var(--um-dark-line-soft);
  border-radius: 12px;
  color: var(--um-on-dark-social);
  display: flex;
  font-size: 14px;
  height: 40px;
  justify-content: center;
  text-decoration: none;
  transition: all .3s ease;
  width: 40px;
}

.um-footer-social a:hover {
  background: var(--um-primary);
  border-color: var(--um-primary);
  color: #fff;
}

.um-footer-social a.is-whatsapp {
  background: var(--um-whatsapp);
  border-color: var(--um-whatsapp);
  color: #fff;
  font-size: 16px;
}

.um-footer-social a.is-whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
}

.um-footer-col:first-of-type {
  padding-left: 16px;
}

.um-footer-title {
  align-items: center;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: .05em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.um-footer-title::before {
  background: var(--um-primary);
  border-radius: 50%;
  content: "";
  height: 8px;
  width: 8px;
}

.um-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.um-footer-nav a {
  align-items: center;
  color: var(--um-on-dark-muted);
  display: flex;
  font-size: 13px;
  font-weight: 500;
  gap: 8px;
  text-decoration: none;
  transition: color .2s ease;
}

.um-footer-nav a:hover {
  color: var(--um-primary);
}

.um-footer-nav .bi {
  color: var(--um-primary);
  font-size: 10px;
}

.um-footer-stores {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.um-footer-stores li {
  border-left: 2px solid color-mix(in srgb, var(--um-primary) 60%, transparent);
  color: var(--um-on-dark-muted);
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: 500;
  gap: 2px;
  line-height: 1.375;
  padding: 2px 0 2px 12px;
  transition: border-color .2s ease;
}

.um-footer-stores li:hover {
  border-color: var(--um-primary);
}

.um-footer-stores strong {
  color: var(--um-on-dark);
  font-size: 12px;
  font-weight: 700;
}

.um-footer-store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2px;
}

.um-footer-store-links a {
  align-items: center;
  color: var(--um-primary);
  display: inline-flex;
  gap: 4px;
  text-decoration: none;
}

.um-footer-store-links a:hover {
  text-decoration: underline;
}

.um-footer-store-links a.is-map {
  color: var(--um-on-dark-muted);
}

.um-footer-store-links a.is-map:hover {
  color: var(--um-on-dark);
  text-decoration: none;
}

.um-footer-store-links .bi {
  font-size: 9px;
}

.um-footer-store-links a.is-map .bi {
  color: var(--um-primary);
}

.um-footer-copy {
  background: var(--um-dark-copy-bg);
  border-top: 1px solid var(--um-dark-line-soft);
}

/* padding-right reserva o lugar do botão flutuante de WhatsApp */
.um-footer-copy .container {
  align-items: center;
  color: var(--um-on-dark-muted);
  display: flex;
  font-size: 12px;
  font-weight: 500;
  gap: 8px;
  justify-content: space-between;
  padding-bottom: 16px;
  padding-right: 96px;
  padding-top: 16px;
}

.um-footer-copy p {
  margin: 0;
}

.um-footer-copy a {
  color: var(--um-on-dark);
  font-weight: 700;
  text-decoration: none;
}

.um-footer-copy a:hover {
  color: var(--um-primary);
}

@media (max-width: 991.98px) {
  .um-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .um-footer-col:first-of-type {
    padding-left: 0;
  }
}

@media (max-width: 767.98px) {
  .um-footer {
    padding-top: 64px;
  }

  .um-footer-grid {
    grid-template-columns: 1fr;
  }

  .um-footer-copy .container {
    flex-direction: column;
    padding-right: 12px;
    text-align: center;
  }
}

/**
 * ========================== WHATSAPP FLUTUANTE ==========================
 * Figma 36:1029 — 56×56, 24px da borda. Sem a animação de pulso do base (gerava um halo quadrado).
 */
.whatsapp-float-button {
  animation: none;
  bottom: 24px;
  right: 24px;
}

.whatsapp-float-button a {
  box-shadow: var(--um-shadow-md);
  height: 56px;
  width: 56px;
}

.whatsapp-float-button a::before {
  display: none;
}

/**
 * ========================== VEÍCULO ==========================
 * Figma 36:6148 — galeria, card de título/preço/ficha, itens, parcelas, sidebar fixa, relacionados e categorias
 */
#vehiclePage.um-vehicle {
  background: var(--um-gray-50);
  padding-bottom: 0;
  padding-top: 0;
}

/* Neutraliza estilos do base para a página do veículo */
#vehiclePage .vehicle-model {
  margin-bottom: 0;
}

#vehiclePage .splide__slide img {
  border-radius: 0;
}

/* Galeria */
.um-gallery {
  background: #fff;
  padding: 24px 0;
}

.um-gallery #umGallery {
  margin: 0 auto;
  max-width: 1440px;
  padding: 0 80px;
}

.um-gallery .splide__slide {
  align-items: center;
  display: flex;
  height: 500px;
}

.um-gallery-photo {
  background: var(--um-gray-100);
  border: 0;
  border-radius: var(--um-radius-btn);
  cursor: zoom-in;
  display: block;
  height: 400px;
  opacity: .5;
  overflow: hidden;
  padding: 0;
  transition: height .3s ease, opacity .3s ease, box-shadow .3s ease;
  width: 100%;
}

.um-gallery .splide__slide:not(.is-active) .um-gallery-photo {
  cursor: pointer;
}

.um-gallery .splide__slide.is-active .um-gallery-photo {
  box-shadow: var(--um-shadow-2xl);
  height: 500px;
  opacity: 1;
}

.um-gallery-photo img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.um-gallery .um-gallery-arrow {
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
  color: #374151;
  font-size: 14px;
  height: 40px;
  opacity: 1;
  width: 40px;
}

.um-gallery .um-gallery-arrow:hover {
  background: #fff;
}

.um-gallery .splide__arrow--prev {
  left: 40px;
}

.um-gallery .splide__arrow--next {
  right: 40px;
}

.um-gallery-empty {
  align-items: center;
  background: var(--um-gray-100);
  border-radius: var(--um-radius-btn);
  color: var(--um-gray-400);
  display: flex;
  font-weight: 600;
  gap: 8px;
  height: 400px;
  justify-content: center;
  margin: 0 auto;
  max-width: 720px;
}

/* Layout principal: coluna 796 + sidebar 428 */
.um-vehicle-layout {
  align-items: flex-start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 428px;
  padding-bottom: 40px;
  padding-top: 40px;
}

.um-vehicle-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.um-box {
  background: #fff;
  border: 1px solid var(--um-gray-100);
  border-radius: 20px;
  box-shadow: var(--um-shadow-sm);
  padding: 40px;
}

.um-box-title {
  border-bottom: 2px solid var(--um-primary);
  color: var(--um-gray-900);
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  margin: 0 0 24px;
  padding-bottom: 8px;
}

.um-box-title--red {
  border-bottom-color: var(--um-red);
}

.um-vehicle-eyebrow {
  color: var(--um-gray-400);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .6px;
  line-height: 16px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

#vehiclePage .um-vehicle-title {
  color: var(--um-gray-900);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -.9px;
  line-height: 40px;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.um-vehicle-version {
  color: var(--um-gray-500);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  margin: 0;
}

.um-vehicle-price-row {
  align-items: center;
  border-bottom: 1px dashed var(--um-gray-200);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px 0 24px;
}

.um-vehicle-price {
  color: var(--um-price);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 48px;
}

.um-vehicle-installment {
  margin: -8px 0 24px;
}

.um-vehicle-installment-row {
  align-items: baseline;
  color: var(--um-gray-600);
  display: flex;
  flex-wrap: wrap;
  font-size: 15px;
  gap: 4px 16px;
  justify-content: space-between;
}

.um-vehicle-installment-row strong {
  color: var(--um-gray-900);
  font-size: 17px;
  font-weight: 800;
}

.um-vehicle-installment-terms {
  font-weight: 600;
}

.um-vehicle-installment p {
  color: var(--um-gray-400);
  font-size: 11px;
  font-style: italic;
  line-height: 16px;
  margin: 6px 0 0;
  text-align: right;
}

.um-specs {
  border-bottom: 1px solid var(--um-gray-100);
  display: grid;
  gap: 24px 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding-bottom: 32px;
}

.um-specs dt {
  color: var(--um-gray-400);
  font-size: 11px;
  font-weight: 500;
  line-height: 16.5px;
  margin-bottom: 5px;
}

.um-specs dd {
  color: var(--um-gray-900);
  font-size: 15px;
  font-weight: 700;
  line-height: 22.5px;
  margin: 0;
}

.um-vehicle-features {
  margin-top: 32px;
}

#vehiclePage .um-vehicle-features h2 {
  color: var(--um-gray-400);
  font-size: 11px;
  font-weight: 500;
  line-height: 16.5px;
  margin: 0 0 16px;
}

.um-features {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.um-features li {
  color: var(--um-gray-800);
  font-size: 14px;
  font-weight: 600;
  line-height: 19.25px;
}

/* Formulários */
.um-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.um-form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.um-form-full {
  grid-column: 1 / -1;
}

.um-input.form-control {
  background: #fff;
  border: 1px solid var(--um-gray-200);
  border-radius: 8px;
  color: var(--um-gray-900);
  font-size: 14px;
  line-height: 17px;
  padding: 14px 16px;
}

.um-input.form-control::placeholder {
  color: var(--um-gray-400);
}

.um-input.form-control:focus {
  border-color: var(--um-primary);
  box-shadow: 0 0 0 3px rgba(43, 67, 116, .12);
}

.um-form--soft .um-input.form-control {
  background: var(--um-gray-50);
}

textarea.um-input.form-control {
  line-height: 21px;
  padding: 12px 16px;
}

.um-form-help {
  color: var(--um-gray-500);
  font-size: 11px;
  line-height: 16.5px;
  margin-top: 4px;
}

.um-form-check {
  align-items: center;
  color: #374151;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  gap: 12px;
  line-height: 20px;
  margin: 0;
}

.um-form-check input {
  accent-color: var(--um-primary);
  flex-shrink: 0;
  height: 20px;
  width: 20px;
}

.um-form-check--small {
  align-items: flex-start;
  color: var(--um-gray-600);
  font-size: 12px;
  line-height: 15px;
}

.was-validated .um-form-check input:invalid {
  outline: 2px solid #dc3545;
  outline-offset: 1px;
}

.was-validated .um-form-check + .invalid-feedback,
.was-validated div:has(> .um-form-check input:invalid) .invalid-feedback {
  display: block;
}

/* Botões de ação (sidebar, formulários) */
.um-action {
  align-items: center;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--um-shadow-md);
  color: #fff;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  justify-content: space-between;
  line-height: 20px;
  min-height: 48px;
  padding: 14px 24px;
  text-decoration: none;
  text-transform: uppercase;
  transition: filter .2s ease, background-color .2s ease;
}

.um-action .bi-chevron-right {
  font-size: 10px;
}

.um-action:hover {
  color: #fff;
  filter: brightness(.95);
}

.um-action--center {
  justify-content: center;
}

/* Vermelho da v2 nos botões de parcelas (Ver parcelas e Solicitar simulação) */
.um-action--red {
  background: var(--um-red);
}

.um-action--red:hover {
  background: var(--um-red-hover);
  filter: none;
}

.um-action--whatsapp {
  background: var(--um-whatsapp);
  justify-content: center;
  min-height: 58px;
  text-transform: none;
}

.um-action--whatsapp .bi {
  font-size: 18px;
}

.um-action--whatsapp:hover {
  background: #1ebe5d;
  filter: none;
}

.um-action--outline {
  background: #fff;
  border: 2px solid var(--um-primary);
  box-shadow: none;
  color: var(--um-primary);
  min-height: 52px;
  text-transform: none;
}

.um-action--outline:hover {
  background: var(--um-primary);
  color: #fff;
  filter: none;
}

/* Sidebar */
.um-vehicle-side {
  position: sticky;
  top: 88px;
}

.um-side-box {
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  padding: 32px;
}

.um-side-price {
  color: var(--um-price);
  font-size: 36px;
  font-weight: 800;
  line-height: 40px;
  margin-bottom: 16px;
}

.um-side-installment {
  color: var(--um-gray-600);
  font-size: 13px;
  line-height: 18px;
  margin: -12px 0 16px;
}

.um-side-installment strong {
  color: var(--um-gray-900);
  font-weight: 800;
}

.um-side-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* v4: preço e ações separados da simulação de parcelas, que vem logo abaixo na mesma caixa */
.um-side-head {
  border-bottom: 1px solid var(--um-gray-100);
  margin-bottom: 24px;
  padding-bottom: 24px;
}

.um-parcels-box {
  scroll-margin-top: 110px;
}

.um-vehicle-side .um-parcels-box .um-box-title {
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 20px;
}

.um-vehicle-side .um-form-grid {
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}

.um-message-box {
  scroll-margin-top: 110px;
}

/* Barra de ações no mobile */
.um-vehicle-bar {
  background: #fff;
  bottom: 0;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, .08);
  display: flex;
  gap: 8px;
  left: 0;
  padding: 12px 16px;
  position: fixed;
  right: 0;
  z-index: 1020;
}

.um-vehicle-bar .um-action {
  flex: 1;
  justify-content: center;
  min-height: 48px;
  padding: 12px 8px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Espaço no fim da página para a barra fixa não cobrir o rodapé (48px do botão + 2 × 12px) */
@media (max-width: 991.98px) {
  body:has(.um-vehicle-bar) {
    padding-bottom: 72px;
  }
}

/* Relacionados */
.um-related {
  background: #f8fafc;
  border-top: 1px solid var(--um-gray-100);
  padding: 56px 0;
}

.um-related-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.um-mini-card {
  background: #fff;
  border: 1px solid var(--um-gray-100);
  border-radius: var(--um-radius-card);
  box-shadow: var(--um-shadow-sm);
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}

.um-mini-card:hover {
  box-shadow: var(--um-shadow-md);
  color: inherit;
  transform: translateY(-2px);
}

.um-mini-media {
  aspect-ratio: 4 / 3;
  background: var(--um-gray-100);
  display: block;
}

.um-mini-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.um-mini-body {
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.um-mini-title {
  color: var(--um-gray-900);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.35px;
  line-height: 20px;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.um-mini-specs {
  color: var(--um-gray-500);
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.um-mini-price {
  color: var(--um-gray-900);
  font-size: 16px;
  font-weight: 800;
  line-height: 24px;
  margin-bottom: 12px;
}

.um-mini-foot {
  border-top: 1px solid var(--um-gray-100);
  color: var(--um-gray-500);
  display: flex;
  font-size: 11px;
  font-weight: 500;
  justify-content: space-between;
  line-height: 16.5px;
  padding-top: 8px;
}

/* Busque por Categoria */
.um-vcats {
  background: #fff;
  border-top: 1px solid var(--um-gray-100);
  padding: 56px 0;
}

.um-vcats .um-section-title {
  font-weight: 800;
  margin-bottom: 32px;
}

/* Flex centralizado: com menos de 6 categorias em estoque os cards ficam no meio, sem buraco à direita */
.um-vcats-grid {
  --um-vcats-cols: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.um-vcats-grid > .um-vcat {
  flex: 0 0 calc((100% - (var(--um-vcats-cols) - 1) * 16px) / var(--um-vcats-cols));
}

.um-vcat {
  background: var(--um-gray-50);
  border: 1px solid var(--um-gray-100);
  border-radius: 16px;
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.um-vcat:hover {
  background: #fff;
  border-color: var(--um-primary);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
  color: inherit;
}

.um-vcat-photo {
  aspect-ratio: 16 / 10;
  background: var(--um-gray-100);
  display: block;
  overflow: hidden;
}

.um-vcat-photo img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  width: 100%;
}

.um-vcat:hover .um-vcat-photo img {
  transform: scale(1.05);
}

.um-vcat-name {
  color: var(--um-gray-900);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  padding: 12px;
  transition: color .2s ease;
}

.um-vcat:hover .um-vcat-name {
  color: var(--um-primary);
}

@media (max-width: 1199.98px) {
  .um-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .um-related-grid > :nth-child(n+4) {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .um-vcats-grid {
    --um-vcats-cols: 3;
  }
}

@media (max-width: 991.98px) {
  .um-vehicle-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  /* v4: card do veículo, depois a caixa de preço com as parcelas e por último "Fale com a loja":
     a coluna principal vira só um agrupador e os blocos passam a ser itens do grid, reordenados */
  .um-vehicle-main {
    display: contents;
  }

  .um-vehicle-side {
    order: 1;
    position: static;
  }

  .um-message-box {
    order: 2;
  }

  .um-gallery #umGallery {
    padding: 0;
  }

  .um-gallery .splide__slide,
  .um-gallery .splide__slide.is-active .um-gallery-photo {
    height: 440px;
  }

  .um-gallery-photo {
    height: 360px;
  }

  .um-gallery .splide__arrow--prev {
    left: 12px;
  }

  .um-gallery .splide__arrow--next {
    right: 12px;
  }

  .um-specs,
  .um-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* espaço para a barra fixa de ações */
  #vehiclePage.um-vehicle {
    padding-bottom: 72px;
  }
}

@media (max-width: 575.98px) {
  .um-gallery {
    padding: 16px;
  }

  .um-gallery .splide__slide,
  .um-gallery .splide__slide.is-active .um-gallery-photo,
  .um-gallery-photo {
    height: 280px;
  }

  .um-gallery-photo {
    opacity: 1;
  }

  .um-box {
    border-radius: var(--um-radius-card);
    padding: 24px 20px;
  }

  .um-side-box {
    padding: 24px 20px;
  }

  #vehiclePage .um-vehicle-title {
    font-size: 28px;
    line-height: 32px;
  }

  .um-vehicle-price {
    font-size: 36px;
    line-height: 40px;
  }

  .um-box-title {
    font-size: 20px;
    line-height: 28px;
  }

  .um-form-grid {
    grid-template-columns: 1fr;
  }

  .um-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .um-related-grid > :nth-child(n+4) {
    display: flex;
  }

  .um-related-grid > :nth-child(n+5) {
    display: none;
  }

  .um-vcats-grid {
    --um-vcats-cols: 2;
  }
}

/* Busque por Categoria no mobile (veiculo.html v3): carrossel horizontal com scroll-snap, cards em 78% */
@media (max-width: 639.98px) {
  .um-vcats-grid {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin: 0 calc(var(--bs-gutter-x, 1.5rem) * -.5);
    overflow-x: auto;
    padding: 4px calc(var(--bs-gutter-x, 1.5rem) * .5) 8px;
    scroll-padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .um-vcats-grid::-webkit-scrollbar {
    display: none;
  }

  .um-vcats-grid > .um-vcat {
    flex: 0 0 78%;
    max-width: 78%;
    scroll-snap-align: start;
  }
}

/* Na página do veículo, no mobile, sem o botão flutuante do WhatsApp: a barra de ações já tem "Enviar Proposta" */
@media (max-width: 991.98px) {
  body:has(.um-vehicle-bar) .whatsapp-float-button {
    display: none;
  }
}

/**
 * ========================== SOBRE ==========================
 * Figma 36:7840 — hero com caixa escura com blur, confiança, pilares e CTA
 */
/* Introdução logo abaixo do banner padrão */
.um-about-intro {
  padding-bottom: 16px;
  padding-top: 40px;
}

.um-about-intro > * {
  max-width: 768px;
}

.um-about-eyebrow {
  color: var(--um-primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2em;
  line-height: 20px;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.um-about-intro h1 {
  color: var(--um-gray-900);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin: 0 0 16px;
}

.um-about-lead {
  color: var(--um-gray-600);
  font-size: 16px;
  line-height: 1.625;
  margin: 0 0 24px;
}

.um-about-intro .um-about-btn {
  margin-top: 0;
}

.um-about-btn {
  align-items: center;
  align-self: flex-start;
  background: var(--um-primary);
  border-radius: var(--um-radius-btn);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  letter-spacing: .35px;
  line-height: 20px;
  margin-top: 12px;
  padding: 14px 32px;
  text-decoration: none;
  text-transform: uppercase;
  transition: filter .2s ease;
}

.um-about-btn:hover {
  color: #fff;
  filter: brightness(1.1);
}

.um-about-btn--whatsapp {
  background: var(--um-whatsapp);
}

.um-about-btn--whatsapp .bi {
  font-size: 18px;
}

/* Confiança */
.um-trust-grid {
  align-items: start;
  display: grid;
  gap: 64px;
  grid-template-columns: 651fr 533fr;
}

.um-trust-text h2 {
  color: var(--um-gray-900);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  margin: 0 0 32px;
}

.um-trust-text p {
  color: var(--um-gray-600);
  font-size: 16px;
  line-height: 26px;
  margin: 0 0 24px;
}

.um-trust-text p strong {
  color: var(--um-gray-900);
  font-weight: 700;
}

.um-trust-stats {
  border-top: 1px solid var(--um-gray-100);
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 48px 0 0;
  padding-top: 32px;
}

.um-trust-stats dt {
  color: var(--um-primary);
  font-size: 36px;
  font-weight: 800;
  line-height: 40px;
  margin-bottom: 6px;
}

.um-trust-stats dd {
  color: var(--um-gray-600);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  margin: 0;
}

.um-trust-features {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}

.um-trust-card {
  background: var(--um-gray-50);
  border: 1px solid rgba(243, 244, 246, .8);
  border-radius: var(--um-radius-card);
  box-shadow: var(--um-shadow-sm);
  color: inherit;
  display: block;
  padding: 32px;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

a.um-trust-card:hover,
a.um-trust-card:focus-visible {
  border-color: rgba(43, 67, 116, .3);
  box-shadow: var(--um-shadow-md, 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1));
  transform: translateY(-2px);
}

a.um-trust-card:hover h3,
a.um-trust-card:focus-visible h3 {
  color: var(--um-primary);
}

.um-trust-icon,
.um-pillar-icon {
  align-items: center;
  border-radius: var(--um-radius-btn);
  display: flex;
  font-size: 20px;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.um-trust-icon {
  background: rgba(43, 67, 116, .1);
  color: var(--um-primary);
}

.um-trust-card h3 {
  color: var(--um-gray-900);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  margin: 24px 0 7px;
}

.um-trust-card p {
  color: var(--um-gray-500);
  font-size: 14px;
  line-height: 22.75px;
  margin: 0;
}

/* Pilares */
.um-pillars {
  background: var(--um-gray-50);
  border-bottom: 1px solid var(--um-gray-100);
  border-top: 1px solid var(--um-gray-100);
}

.um-pillars-head {
  margin: 0 auto 64px;
  max-width: 672px;
  text-align: center;
}

.um-pillars-head .um-section-title {
  margin-bottom: 16px;
}

.um-pillars-head p {
  color: var(--um-gray-500);
  font-size: 16px;
  line-height: 26px;
  margin: 0;
}

.um-pillars-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.um-pillar {
  background: #fff;
  border: 1px solid var(--um-gray-100);
  border-radius: var(--um-radius-card);
  box-shadow: var(--um-shadow-sm);
  padding: 32px;
}

.um-pillar-icon {
  background: var(--um-primary);
  box-shadow: var(--um-shadow-md);
  color: #fff;
  margin-bottom: 24px;
}

.um-pillar h3 {
  color: var(--um-gray-900);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin: 0 0 12px;
}

.um-pillar p {
  color: var(--um-gray-600);
  font-size: 14px;
  line-height: 22.75px;
  margin: 0;
}

/* CTA */
.um-about-cta {
  text-align: center;
}

.um-about-cta h2 {
  color: var(--um-gray-900);
  font-size: 36px;
  font-weight: 800;
  line-height: 40px;
  margin: 0 0 16px;
}

.um-about-cta p {
  color: var(--um-gray-500);
  font-size: 18px;
  line-height: 28px;
  margin: 0 auto;
  max-width: 640px;
}

.um-about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  padding-top: 16px;
}

.um-about-cta-actions .um-about-btn {
  align-self: auto;
  min-height: 56px;
}

@media (max-width: 1199.98px) {
  .um-trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .um-about-eyebrow {
    font-size: 12px;
    line-height: 16px;
  }
}

@media (max-width: 575.98px) {
  .um-about-intro h1 {
    font-size: 30px;
  }

  .um-about-lead {
    font-size: 14px;
  }

  .um-trust-text h2 {
    font-size: 26px;
    line-height: 34px;
  }

  .um-trust-stats dt {
    font-size: 30px;
    line-height: 36px;
  }

  .um-trust-features,
  .um-pillars-grid {
    grid-template-columns: 1fr;
  }

  .um-about-cta h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .um-about-cta-actions .um-about-btn {
    width: 100%;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .um-pillars-grid {
    gap: 16px;
  }

  .um-pillar {
    padding: 24px;
  }
}

/**
 * ========================== PADRÃO 2 (Financiamento / Venda) ==========================
 * Figma 37:1537 e 37:3222 — navy #0e2048, laranja #ff6b00, títulos em Hanken Grotesk
 */
.um-display-title {
  color: var(--um-navy);
  font-family: var(--font-secondary);
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  margin: 0;
}

.um-display-title span {
  color: var(--um-orange);
}

.um-orange-btn {
  align-items: center;
  background: var(--um-accent);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--um-shadow-md);
  color: var(--um-on-accent);
  display: inline-flex;
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 600;
  gap: 10px;
  justify-content: center;
  line-height: 20px;
  min-height: 44px;
  padding: 12px 24px;
  text-decoration: none;
  transition: filter .2s ease;
}

.um-orange-btn:hover {
  color: var(--um-on-accent);
  filter: brightness(.94);
}

.um-orange-btn--lg {
  border-radius: var(--um-radius-btn);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
  flex-shrink: 0;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  padding: 16px 32px;
}

.um-orange-btn--lg .bi {
  font-size: 22px;
}

/* CTA final da v3 do layout: faixa azul na largura toda, texto e botão centralizados */
.um-cta-band {
  background: var(--um-banner-bg);
  color: var(--um-on-banner);
  padding: 80px 0;
  text-align: center;
}

.um-cta-band h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 auto 16px;
  max-width: 896px;
}

.um-cta-band p {
  color: var(--um-on-banner-muted);
  font-size: 16px;
  line-height: 1.5;
  margin: 0 auto 32px;
  max-width: 576px;
}

.um-cta-band p strong {
  color: var(--um-on-banner);
}

.um-cta-band-btn {
  align-items: center;
  background: #25d366;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .2), 0 8px 10px -6px rgba(0, 0, 0, .2);
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  letter-spacing: .05em;
  padding: 16px 32px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s ease;
}

.um-cta-band-btn .bi {
  font-size: 18px;
}

.um-cta-band-btn:hover {
  background: #1ebe5d;
  color: #fff;
}

.um-cta-band-btn--orange {
  background: var(--um-accent);
}

.um-cta-band-btn--orange:hover {
  background: var(--um-accent);
  filter: brightness(.94);
}

@media (max-width: 767.98px) {
  .um-cta-band {
    padding: 64px 0;
  }

  .um-cta-band h2 {
    font-size: 28px;
  }

  .um-cta-band p {
    font-size: 14px;
  }
}

/**
 * Topo das páginas internas da v4 do layout (Financiamento, Venda, Encontrar Veículo): fundo claro, título,
 * texto e o card branco com o formulário à esquerda; a arte (1880×500) recortada em 4:3 à direita, centralizada.
 * Abaixo de 992px vira uma coluna, com a arte depois do formulário.
 */
.um-page-hero {
  background: var(--um-page-hero-bg, #f9fafb);
  padding: 40px 0;
}

.um-page-hero-grid {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr);
}

.um-page-hero-main {
  color: var(--um-gray-900);
}

.um-page-hero-main h1 {
  font-family: var(--font-secondary);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.25;
  margin: 0 0 12px;
}

.um-page-hero-main h1 span {
  color: var(--um-accent-from);
}

.um-page-hero-main > p {
  color: var(--um-gray-600);
  font-size: 14px;
  line-height: 1.625;
  margin: 0 0 24px;
  max-width: 576px;
}

.um-page-hero-card,
.um-page-hero-card.um-find-card {
  background: #fff;
  border: 1px solid rgba(229, 231, 235, .7);
  border-radius: var(--um-radius-card);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
  color: var(--um-gray-900);
  max-width: 576px;
  padding: 20px;
  scroll-margin-top: 104px;
  width: 100%;
}

.um-page-hero-card h2,
.um-page-hero-card.um-find-card h2 {
  color: var(--um-gray-900);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin: 0 0 20px;
  text-align: left;
}

/* Na Venda o título do card é menor (v4) */
.um-page-hero--sell .um-page-hero-card h2 {
  font-size: 18px;
  margin-bottom: 16px;
}

.um-page-hero-card .um-glass-input.form-control {
  border-color: var(--um-gray-300);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.um-page-hero-card .um-glass-input.form-control:focus {
  border-color: var(--um-primary);
  box-shadow: 0 0 0 1px var(--um-primary);
}

.um-page-hero-card .um-glass-check {
  color: var(--um-gray-600);
}

.um-page-hero-card .um-glass-note,
.um-page-hero-card .um-find-note {
  color: var(--um-gray-500);
  font-size: 11px;
}

.um-page-hero-card .um-glass-form .invalid-feedback {
  color: var(--um-red);
}

.um-page-hero-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--um-radius-card);
  box-shadow: var(--um-shadow-2xl);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.um-page-hero-media img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

@media (min-width: 576px) {
  .um-page-hero-main h1 {
    font-size: 30px;
  }

  .um-page-hero-card,
  .um-page-hero-card.um-find-card {
    padding: 24px;
  }
}

@media (min-width: 768px) {
  .um-page-hero {
    padding: 56px 0;
  }

  .um-page-hero-main > p {
    font-size: 16px;
  }
}

@media (min-width: 992px) {
  .um-page-hero {
    padding: 64px 0;
  }

  .um-page-hero-grid {
    gap: 56px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .um-page-hero-main h1 {
    font-size: 33.6px;
  }
}

/* Hero com imagem, degradê navy e card translúcido com o formulário */
.um-fin-hero {
  align-items: center;
  background: var(--um-navy);
  display: flex;
  min-height: 960px;
  overflow: hidden;
  padding: 96px 0;
  position: relative;
}

.um-fin-hero-img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.um-fin-hero::before {
  background: linear-gradient(to right, var(--um-navy), rgba(14, 32, 72, .8) 37.5%, rgba(14, 32, 72, 0) 75%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.um-fin-hero-grid {
  align-items: center;
  display: grid;
  gap: 48px 160px;
  grid-template-columns: 448px minmax(0, 576px);
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.um-fin-hero-text {
  color: #fff;
  order: 2;
}

.um-fin-hero-text h1 {
  font-family: var(--font-secondary);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -.96px;
  line-height: 60px;
  margin: 0 0 24px;
}

.um-fin-hero-text h1 span {
  color: var(--um-orange);
  display: block;
}

.um-fin-hero-text p {
  color: rgba(255, 255, 255, .9);
  font-size: 18px;
  line-height: 28px;
  margin: 0;
  max-width: 498px;
}

.um-glass-card {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--um-radius-btn);
  box-shadow: var(--um-shadow-2xl);
  color: #fff;
  order: 1;
  padding: 24px;
  scroll-margin-top: 104px;
}

.um-glass-card h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin: 0 0 24px;
  text-align: center;
}

.um-glass-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.um-glass-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.um-glass-full {
  grid-column: 1 / -1;
}

.um-glass-input.form-control {
  background: #fff;
  border: 1px solid var(--um-line);
  border-radius: 8px;
  color: var(--um-ink);
  font-size: 16px;
  line-height: 24px;
  padding: 12px;
}

.um-glass-input.form-control::placeholder {
  color: rgba(26, 28, 31, .5);
}

.um-glass-input.form-control:focus {
  border-color: var(--um-orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, .25);
}

.um-glass-form .invalid-feedback {
  color: #fecaca;
}

.um-glass-check {
  align-items: flex-start;
  color: rgba(255, 255, 255, .9);
  cursor: pointer;
  display: flex;
  font-size: 13px;
  gap: 10px;
  line-height: 18px;
  margin: 0;
}

.um-glass-check input {
  accent-color: var(--um-orange);
  flex-shrink: 0;
  height: 18px;
  width: 18px;
}

.was-validated .um-glass-check input:invalid {
  outline: 2px solid #fca5a5;
  outline-offset: 1px;
}

.was-validated div:has(> .um-glass-check input:invalid) .invalid-feedback {
  display: block;
}

.um-glass-form .um-orange-btn {
  margin-top: 8px;
}

.um-glass-note {
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  line-height: 16px;
  margin: 0;
  text-align: center;
}

/* Planeje seu financiamento */
.um-fin-plan {
  background: #f8fafc;
  padding: 96px 0;
}

.um-fin-plan-grid {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: 588fr 596fr;
}

.um-fin-lead {
  color: var(--um-ink-soft);
  font-size: 18px;
  line-height: 28px;
  margin: 24px 0 24px;
}

.um-fin-subtitle {
  color: var(--um-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  margin: 0 0 16px;
}

.um-fin-list {
  color: var(--um-ink-soft);
  display: flex;
  flex-direction: column;
  font-size: 16px;
  gap: 12px;
  line-height: 24px;
  margin: 0 0 24px;
  padding-left: 20px;
}

.um-fin-list li::marker {
  color: var(--um-orange);
}

.um-fin-note {
  border-left: 4px solid var(--um-orange);
  color: var(--um-ink-soft);
  font-size: 14px;
  line-height: 20px;
  margin: 0;
  padding: 4px 0 4px 16px;
}

.um-fin-plan-img img {
  aspect-ratio: 588 / 592;
  border: 4px solid #fff;
  border-radius: var(--um-radius-card);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
  display: block;
  object-fit: cover;
  width: 100%;
}

/* Por que financiar */
.um-fin-why {
  background: var(--um-banner-bg);
  color: var(--um-on-banner);
  overflow: hidden;
  padding: 96px 0;
  position: relative;
}

.um-fin-why-glow,
.um-cta-glow {
  background: var(--um-orange);
  border-radius: 50%;
  filter: blur(64px);
  opacity: .1;
  pointer-events: none;
  position: absolute;
}

.um-fin-why-glow {
  height: 800px;
  right: -267px;
  top: -400px;
  width: 800px;
}

.um-fin-why-grid {
  align-items: center;
  display: grid;
  gap: 96px;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.um-fin-why .um-display-title {
  color: var(--um-on-banner);
  margin-bottom: 24px;
}

.um-fin-why-lead {
  color: color-mix(in srgb, var(--um-on-banner) 80%, transparent);
  font-size: 18px;
  line-height: 29.25px;
  margin: 0 0 32px;
}

.um-fin-features {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1fr;
}

.um-fin-feature-icon {
  align-items: center;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--um-on-banner) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--um-on-banner) 20%, transparent);
  border-radius: 50%;
  color: var(--um-orange);
  display: flex;
  font-size: 26px;
  height: 56px;
  justify-content: center;
  margin-bottom: 12px;
  width: 56px;
}

.um-fin-feature h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin: 0 0 11px;
}

.um-fin-feature p {
  color: color-mix(in srgb, var(--um-on-banner) 70%, transparent);
  font-size: 14px;
  line-height: 22.75px;
  margin: 0;
}

.um-fin-why-img {
  aspect-ratio: 568 / 638;
  border-radius: var(--um-radius-card);
  display: block;
  object-fit: cover;
  width: 100%;
}

/* Faixa de números */
.um-stats-band {
  background: var(--um-band-bg);
  color: var(--um-on-band);
  padding: 48px 0;
}

.um-stats-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.um-stats-list li {
  align-items: center;
  display: flex;
  gap: 16px;
}

.um-stats-list li + li {
  border-left: 1px solid color-mix(in srgb, var(--um-on-band) 30%, transparent);
  padding-left: 32px;
}

.um-stats-list .bi {
  font-size: 40px;
}

.um-stats-list span {
  display: flex;
  flex-direction: column;
  font-family: var(--font-secondary);
}

.um-stats-list strong {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

.um-stats-list small {
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  opacity: .9;
}

/* Depoimentos */
.um-testimonials {
  background: #fff;
  padding: 96px 0 48px;
}

.um-testimonials .um-display-title {
  font-size: 36px;
  margin-bottom: 40px;
}

.um-testimonials .um-display-title span,
.um-store-cards .um-display-title span {
  color: var(--um-primary);
}

.um-testimonials-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.um-testimonial {
  background: var(--um-gray-50);
  border: 1px solid var(--um-gray-100);
  border-radius: var(--um-radius-card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
  margin: 0;
  padding: 24px;
}

.um-testimonial figcaption {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}

.um-testimonial-avatar {
  align-items: center;
  background: var(--um-gray-50);
  border: 1px solid var(--um-line);
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.um-testimonial strong {
  color: var(--um-gray-900);
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.um-stars {
  color: #fbbc05;
  display: flex;
  font-size: 13px;
  gap: 2px;
  margin-top: 4px;
}

.um-testimonial blockquote {
  color: var(--um-gray-600);
  font-size: 14px;
  line-height: 22.75px;
  margin: 0;
}

/* Lojas nas páginas internas (v3 do layout): cards claros, 3 por linha no desktop */
.um-store-cards {
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  border-top: 1px solid #e5e7eb;
  padding: 96px 0;
}

.um-store-cards-head {
  margin: 0 auto 48px;
  max-width: 672px;
  text-align: center;
}

.um-store-cards-eyebrow {
  color: var(--um-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.um-store-cards-head p:last-child {
  color: var(--um-ink-soft);
  font-size: 14px;
  margin: 12px 0 0;
}

.um-store-cards-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.um-store-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--um-radius-btn);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow .2s ease;
}

.um-store-card:hover {
  box-shadow: var(--um-shadow-md);
}

.um-store-card > img {
  background: #f3f4f6;
  display: block;
  height: 176px;
  object-fit: cover;
  width: 100%;
}

.um-store-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.um-store-card h3 {
  color: var(--um-gray-900);
  font-size: 16px;
  font-weight: 800;
  line-height: 24px;
  margin: 0 0 8px;
}

.um-store-card-addr {
  color: var(--um-ink-soft);
  display: flex;
  flex: 1;
  font-size: 13px;
  gap: 8px;
  line-height: 20px;
  margin: 0 0 12px;
}

.um-store-card-addr .bi,
.um-store-card-phone .bi {
  color: #9ca3af;
}

.um-store-card-phone {
  color: var(--um-gray-900);
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  margin-bottom: 16px;
  text-decoration: none;
}

.um-store-card-phone:hover {
  color: var(--um-primary);
}

.um-store-card-btn {
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  color: var(--um-gray-900);
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
  justify-content: center;
  letter-spacing: .05em;
  margin-top: auto;
  padding: 10px 16px;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color .2s ease;
}

.um-store-card-btn:hover {
  border-color: var(--um-gray-900);
  color: var(--um-gray-900);
}

/* Variante escura (Venda e Encontrar Veículo da v3): card azul, textos claros e botão laranja */
.um-store-cards--dark .um-store-cards-eyebrow {
  color: var(--um-orange);
}

.um-store-cards--dark .um-store-card {
  background: var(--um-banner-bg);
  border-color: color-mix(in srgb, var(--um-on-banner) 10%, transparent);
  box-shadow: var(--um-shadow-md);
}

.um-store-cards--dark .um-store-card h3,
.um-store-cards--dark .um-store-card-phone {
  color: var(--um-on-banner);
}

.um-store-cards--dark .um-store-card-addr {
  color: color-mix(in srgb, var(--um-on-banner) 75%, transparent);
}

.um-store-cards--dark .um-store-card-addr .bi,
.um-store-cards--dark .um-store-card-phone .bi {
  color: color-mix(in srgb, var(--um-on-banner) 60%, transparent);
}

.um-store-cards--dark .um-store-card-phone:hover {
  color: var(--um-on-banner);
  text-decoration: underline;
}

.um-store-cards--dark .um-store-card-btn {
  background: var(--um-accent);
  border-color: transparent;
  color: var(--um-on-accent);
}

.um-store-cards--dark .um-store-card-btn:hover {
  border-color: transparent;
  color: var(--um-on-accent);
  filter: brightness(.94);
}

@media (max-width: 991.98px) {
  .um-store-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .um-store-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.um-faq {
  background: #f8fafc;
  padding: 96px 0;
}

.um-faq .container {
  max-width: 768px;
}

.um-faq .um-display-title {
  margin-bottom: 48px;
}

.um-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.um-faq-item {
  background: #fff;
  border: 1px solid var(--um-line);
  border-radius: var(--um-radius-btn);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.um-faq-item:has(.collapse.show),
.um-faq-item:has(.collapsing) {
  border-color: var(--um-navy);
  box-shadow: var(--um-shadow-md);
}

.um-faq-item h3 {
  margin: 0;
}

.um-faq-q {
  align-items: center;
  background: none;
  border: 0;
  color: var(--um-navy);
  display: flex;
  font-size: 18px;
  font-weight: 700;
  gap: 16px;
  justify-content: space-between;
  line-height: 28px;
  padding: 20px 24px;
  text-align: left;
  width: 100%;
}

.um-faq-q.collapsed {
  color: var(--um-ink);
}

.um-faq-q .bi {
  flex-shrink: 0;
  font-size: 18px;
  transform: rotate(180deg);
  transition: transform .2s ease;
}

.um-faq-q.collapsed .bi {
  transform: none;
}

.um-faq-a {
  color: var(--um-ink-soft);
  font-size: 16px;
  line-height: 26px;
  margin: 0;
  padding: 0 24px 20px;
}

/* Caixa de CTA */
.um-cta-box-wrap {
  background: #faf9fe;
  padding: 96px 0;
}

.um-cta-box {
  align-items: center;
  background: var(--um-banner-bg);
  border-radius: var(--um-radius-hero);
  box-shadow: var(--um-shadow-2xl);
  color: var(--um-on-banner);
  display: flex;
  gap: 48px;
  justify-content: space-between;
  overflow: hidden;
  padding: 48px;
  position: relative;
}

.um-cta-glow {
  filter: blur(80px);
  height: 256px;
  opacity: .2;
  right: -80px;
  top: -85px;
  width: 256px;
}

.um-cta-box > div {
  max-width: 664px;
  position: relative;
}

.um-cta-box h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  margin: 0 0 16px;
}

.um-cta-box p {
  color: color-mix(in srgb, var(--um-on-banner) 80%, transparent);
  font-size: 18px;
  line-height: 28px;
  margin: 0;
}

.um-cta-box .um-orange-btn {
  position: relative;
}

@media (max-width: 1199.98px) {
  .um-fin-hero-grid {
    gap: 48px;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .um-fin-hero-text {
    order: 0;
    text-align: center;
  }

  .um-fin-hero-text p {
    margin: 0 auto;
  }

  .um-glass-card {
    max-width: 520px;
    width: 100%;
  }

  .um-fin-hero {
    min-height: 0;
  }

  .um-fin-why-grid {
    gap: 48px;
  }
}

@media (max-width: 991.98px) {
  .um-fin-plan-grid,
  .um-fin-why-grid {
    grid-template-columns: 1fr;
  }

  .um-fin-why-img {
    aspect-ratio: 720 / 576;
  }

  .um-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .um-cta-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .um-stats-list li + li {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 575.98px) {
  .um-display-title {
    font-size: 28px;
    line-height: 34px;
  }

  .um-fin-hero {
    padding: 64px 0;
  }

  .um-fin-hero-text {
    text-align: left;
  }

  .um-fin-hero-text h1 {
    font-size: 32px;
    letter-spacing: -.64px;
    line-height: 40px;
  }

  .um-fin-hero-text p {
    font-size: 16px;
    line-height: 24px;
  }

  .um-glass-grid {
    grid-template-columns: 1fr;
  }

  .um-fin-plan,
  .um-fin-why,
  .um-store-cards,
  .um-faq,
  .um-cta-box-wrap {
    padding: 64px 0;
  }

  .um-testimonials {
    padding: 64px 0 32px;
  }

  .um-fin-features {
    grid-template-columns: 1fr;
  }

  .um-stats-list {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .um-faq-q {
    font-size: 16px;
    line-height: 24px;
    padding: 16px 20px;
  }

  .um-faq-a {
    padding: 0 20px 16px;
  }

  .um-cta-box {
    padding: 32px 24px;
  }

  .um-cta-box h2 {
    font-size: 28px;
    line-height: 34px;
  }

  .um-cta-box .um-orange-btn {
    width: 100%;
  }
}

/**
 * ========================== VENDA SEU VEÍCULO ==========================
 * Figma 37:3222 + v3 do layout (o topo é o .um-page-hero, junto com Financiamento e Encontrar Veículo)
 */

/* Como funciona */
.um-steps {
  background: var(--um-gray-50);
  border-bottom: 1px solid var(--um-gray-100);
  border-top: 1px solid var(--um-gray-100);
  padding: 96px 0;
}

.um-steps .um-display-title {
  margin-bottom: 48px;
  text-align: center;
}

.um-steps-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.um-step {
  background: var(--um-banner-bg);
  border-radius: var(--um-radius-card);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
  color: var(--um-on-banner);
  overflow: hidden;
}

.um-step img {
  background: var(--um-gray-100);
  display: block;
  height: 176px;
  object-fit: cover;
  object-position: top;
  width: 100%;
}

.um-step h3 {
  font-family: var(--font-secondary);
  font-size: 18px;
  font-weight: 800;
  line-height: 28px;
  margin: 24px 24px 8px;
  text-transform: uppercase;
}

.um-step p {
  color: color-mix(in srgb, var(--um-on-banner) 75%, transparent);
  font-size: 14px;
  line-height: 22.75px;
  margin: 0 24px 24px;
}

.um-step p strong {
  color: var(--um-on-banner);
}

/* Por que escolher (numerado) */
.um-sell-why {
  background: var(--um-banner-bg);
  color: var(--um-on-banner);
  overflow: hidden;
  padding: 96px 0;
}

.um-sell-why-inner {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.um-sell-why-photo {
  display: flex;
  justify-content: center;
}

.um-sell-why-photo img {
  aspect-ratio: 1;
  background: #000;
  border: 8px solid color-mix(in srgb, var(--um-on-banner) 20%, transparent);
  border-radius: 50%;
  box-shadow: var(--um-shadow-2xl);
  max-width: 384px;
  object-fit: cover;
  width: 100%;
}

.um-sell-why .um-display-title {
  color: var(--um-on-banner);
  line-height: 1.25;
  margin-bottom: 32px;
}

.um-sell-why .um-display-title span {
  color: var(--um-accent-from);
}

.um-sell-why-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.um-sell-why-num {
  color: var(--um-accent-from);
  display: block;
  font-family: var(--font-secondary);
  font-size: 36px;
  font-weight: 900;
  line-height: 40px;
  margin-bottom: 4px;
}

.um-sell-why-item h3 {
  color: var(--um-on-banner);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.um-sell-why-item p {
  color: color-mix(in srgb, var(--um-on-banner) 80%, transparent);
  font-size: 14px;
  line-height: 22.75px;
  margin: 0;
}










/* FAQ compacta (Venda) */
.um-faq--compact {
  padding: 96px 0;
}

.um-faq--compact .um-display-title {
  font-size: 36px;
  margin-bottom: 48px;
}

.um-faq--compact .um-faq-list {
  margin: 0 auto;
  max-width: 768px;
}

.um-faq--compact .um-faq-item {
  background: var(--um-gray-50);
  border-color: var(--um-gray-200);
}

.um-faq--compact .um-faq-q .bi {
  color: var(--um-gray-400);
  font-size: 12px;
}

.um-faq--compact .um-faq-q,
.um-faq--compact .um-faq-q.collapsed {
  color: var(--um-navy);
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  padding: 24px;
}












@media (max-width: 1199.98px) {


  .um-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .um-sell-why-inner {
    gap: 48px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {

  .um-steps {
    padding: 48px 0 64px;
  }

  .um-steps-grid,
  .um-sell-why-grid {
    grid-template-columns: 1fr;
  }

  .um-sell-why {
    padding: 64px 0;
  }

  .um-sell-why-photo img {
    max-width: 288px;
  }



  .um-faq--compact {
    padding: 64px 0;
  }





}

/**
 * ========================== ENCONTRAR VEÍCULO / CONTATO ==========================
 * Figma 37:2 — mesmo hero do Financiamento, com card branco sólido à direita
 */
.um-find-hero::before {
  background: linear-gradient(to right, rgba(0, 0, 0, .8), rgba(0, 0, 0, .5) 50%, rgba(0, 0, 0, .15));
}

.um-find-grid {
  grid-template-columns: minmax(0, 576px) 448px;
}

.um-find-grid .um-fin-hero-text {
  order: 0;
}

.um-find-card {
  background: #fff;
  border-radius: var(--um-radius-btn);
  box-shadow: var(--um-shadow-2xl);
  padding: 32px;
  scroll-margin-top: 104px;
}

.um-find-card h2 {
  align-items: center;
  color: var(--um-navy);
  display: flex;
  font-size: 20px;
  font-weight: 700;
  gap: 8px;
  line-height: 28px;
  margin: 0 0 24px;
}

.um-find-card h2 .bi {
  color: var(--um-orange);
}

.um-find-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.um-find-form .um-glass-grid {
  gap: 16px;
}

.um-find-form .form-select.um-glass-input {
  background-position: right 12px center;
  padding: 12px 40px 12px 12px;
}

.um-find-divider {
  border-color: var(--um-line);
  margin: 0;
  opacity: 1;
}

.um-find-note {
  color: var(--um-ink-soft);
  font-size: 12px;
  line-height: 16px;
  margin: 0;
  text-align: center;
}

/* Como funciona a busca */
.um-find-steps {
  background: var(--um-gray-50);
  border-bottom: 1px solid var(--um-gray-100);
  padding: 96px 0;
}

.um-find-steps-head {
  margin: 0 auto 56px;
  max-width: 672px;
  text-align: center;
}

.um-find-steps-head .um-store-cards-eyebrow {
  color: var(--um-accent-from);
  font-size: 12px;
  line-height: 16px;
  margin: 0 0 8px;
}

.um-find-steps-head p:not(.um-store-cards-eyebrow) {
  color: var(--um-gray-600);
  font-size: 16px;
  line-height: 24px;
  margin: 12px 0 0;
}

.um-find-steps-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.um-find-steps-grid li {
  align-items: center;
  background: var(--um-banner-bg);
  border-radius: var(--um-radius-card);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
  color: var(--um-on-banner);
  display: flex;
  flex-direction: column;
  padding: 24px;
  text-align: center;
}

.um-find-steps-grid .um-fin-feature-icon {
  background: color-mix(in srgb, var(--um-on-banner) 8%, transparent);
  border-color: color-mix(in srgb, var(--um-on-banner) 25%, transparent);
  color: var(--um-accent-from);
  font-size: 18px;
  height: 48px;
  margin-bottom: 20px;
  width: 48px;
}

.um-find-steps-grid h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  margin: 0 0 8px;
}

.um-find-steps-grid p {
  color: color-mix(in srgb, var(--um-on-banner) 75%, transparent);
  font-size: 14px;
  line-height: 22.75px;
  margin: 0;
}

/* Contato: cartões de canais */
.um-contact-hero {
  min-height: 0;
}

.um-contact-info {
  background: #f8fafc;
  padding: 64px 0 0;
}

.um-contact-info-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.um-contact-item {
  align-items: center;
  background: #fff;
  border: 1px solid var(--um-line);
  border-radius: var(--um-radius-btn);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1);
  color: var(--um-navy);
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  text-decoration: none;
  transition: border-color .2s ease;
}

a.um-contact-item:hover {
  border-color: var(--um-navy);
  color: var(--um-navy);
}

.um-contact-item > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.um-contact-item small {
  color: var(--um-ink-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4px;
  line-height: 16px;
  text-transform: uppercase;
}

.um-contact-item strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  overflow-wrap: anywhere;
}

.um-contact-item .um-contact-hours {
  font-size: 14px;
  line-height: 20px;
}

.um-contact-icon {
  align-items: center;
  background: var(--um-navy);
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  font-size: 20px;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.um-contact-icon--wa {
  background: var(--um-whatsapp);
}

@media (max-width: 1199.98px) {
  .um-find-grid {
    grid-template-columns: 1fr;
  }

  .um-find-card {
    max-width: 520px;
    width: 100%;
  }

  .um-find-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .um-find-card {
    padding: 24px 20px;
  }

  .um-find-form .um-glass-grid {
    grid-template-columns: 1fr;
  }

  .um-find-steps {
    padding: 64px 0;
  }

  .um-find-steps-head {
    margin-bottom: 40px;
  }

  .um-find-steps-grid {
    grid-template-columns: 1fr;
  }
}

.um-empty .um-empty-find {
  font-size: 13px;
  font-weight: 500;
  margin: 16px 0 0;
}

.um-empty-find a {
  color: var(--um-primary);
  font-weight: 700;
}

/**
 * ========================== PÁGINAS INTERNAS (FAQ, blog, marcas, 404) ==========================
 * Sem tela no Figma — seguem o padrão 2 (navy + laranja) das páginas Financiamento/Venda.
 */
.um-page-header {
  background: var(--um-banner-bg);
  color: var(--um-on-banner);
  overflow: hidden;
  padding: 72px 0;
  position: relative;
  text-align: center;
}

.um-page-header-glow {
  background: var(--um-orange);
  border-radius: 50%;
  filter: blur(80px);
  height: 360px;
  opacity: .18;
  pointer-events: none;
  position: absolute;
  right: -80px;
  top: -180px;
  width: 360px;
}

.um-page-header .container {
  position: relative;
}

.um-page-header-eyebrow {
  color: var(--um-orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 20px;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.um-page-header h1 {
  font-family: var(--font-secondary);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -.88px;
  line-height: 52px;
  margin: 0 auto;
  max-width: 860px;
}

.um-page-header-text {
  color: color-mix(in srgb, var(--um-on-banner) 85%, transparent);
  font-size: 18px;
  line-height: 28px;
  margin: 16px auto 0;
  max-width: 680px;
}

.um-faq-a p:last-child {
  margin-bottom: 0;
}

.um-post-date {
  color: var(--um-gray-400);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.um-posts--list {
  background: #f8fafc;
}

.um-pagination {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 48px;
}

.um-pagination a {
  align-items: center;
  border: 1px solid var(--um-line);
  border-radius: var(--um-radius-btn);
  color: var(--um-navy);
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  padding: 10px 20px;
  text-decoration: none;
}

.um-pagination a:hover {
  background: var(--um-navy);
  border-color: var(--um-navy);
  color: #fff;
}

.um-pagination span {
  color: var(--um-ink-soft);
  font-size: 14px;
}

/* Artigo / página de conteúdo */
.um-article-wrap {
  background: #f8fafc;
  padding: 0 0 64px;
}

.um-article {
  background: #fff;
  border: 1px solid var(--um-gray-100);
  border-radius: 20px;
  box-shadow: var(--um-shadow-sm);
  margin: -40px auto 0;
  max-width: 820px;
  overflow: hidden;
  position: relative;
}

.um-article-cover {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.um-prose {
  color: #374151;
  font-size: 17px;
  line-height: 1.75;
  padding: 48px;
}

.um-prose h2,
.um-prose h3,
.um-prose h4 {
  color: var(--um-navy);
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.3;
  margin: 1.6em 0 .6em;
}

.um-prose h2 {
  font-size: 28px;
}

.um-prose h3 {
  font-size: 22px;
}

.um-prose > :first-child {
  margin-top: 0;
}

.um-prose a {
  color: var(--um-primary);
  font-weight: 600;
}

.um-prose img {
  border-radius: var(--um-radius-btn);
  height: auto;
  max-width: 100%;
}

.um-prose blockquote {
  border-left: 4px solid var(--um-orange);
  color: var(--um-ink-soft);
  margin: 1.5em 0;
  padding: 4px 0 4px 20px;
}

.um-article-tags {
  border-top: 1px solid var(--um-gray-100);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 48px 40px;
}

.um-article-tags span {
  background: var(--um-gray-50);
  border: 1px solid var(--um-gray-200);
  border-radius: var(--um-radius-pill);
  color: var(--um-gray-600);
  font-size: 13px;
  padding: 4px 12px;
}

.um-taxonomy {
  background: #f8fafc;
}

/* 404 */
.um-404 {
  background: #f8fafc;
  padding: 120px 0;
  text-align: center;
}

.um-404-code {
  color: var(--um-orange);
  display: block;
  font-family: var(--font-secondary);
  font-size: 120px;
  font-weight: 800;
  letter-spacing: -4px;
  line-height: 1;
  margin-bottom: 16px;
}

.um-404 h1 {
  color: var(--um-navy);
  font-family: var(--font-secondary);
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 16px;
}

.um-404 p {
  color: var(--um-ink-soft);
  font-size: 18px;
  line-height: 28px;
  margin: 0 auto 32px;
  max-width: 560px;
}

.um-404-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.um-404-home {
  color: var(--um-navy);
  font-weight: 700;
}

@media (max-width: 575.98px) {
  .um-page-header {
    padding: 48px 0;
  }

  .um-page-header h1 {
    font-size: 30px;
    letter-spacing: -.6px;
    line-height: 36px;
  }

  .um-page-header-text {
    font-size: 16px;
    line-height: 24px;
  }

  .um-article {
    border-radius: var(--um-radius-card);
    margin-top: -24px;
  }

  .um-prose {
    font-size: 16px;
    padding: 28px 20px;
  }

  .um-article-tags {
    padding: 20px;
  }

  .um-404 {
    padding: 72px 0;
  }

  .um-404-code {
    font-size: 88px;
  }

  .um-404 h1 {
    font-size: 28px;
  }
}

/**
 * ========================== FALE COM A UNIMAIS ==========================
 * v2 do layout — fim da Home, do Estoque e do Sobre (um-contact-section.html). O link "Contato" do menu
 * rola até #contato; scroll-margin desconta o header fixo.
 */
.um-contact-section {
  background: #fff;
  border-top: 1px solid var(--um-gray-100);
  padding: 80px 0;
  scroll-margin-top: 90px;
}

.um-contact-section .container {
  max-width: 768px;
}

.um-contact-head {
  margin-bottom: 32px;
  text-align: center;
}

.um-contact-head h2 {
  color: var(--um-gray-900);
  font-size: 30px;
  font-weight: 800;
  line-height: 36px;
  margin: 0 0 8px;
}

.um-contact-head h2 span {
  color: var(--um-primary);
}

.um-contact-head p {
  color: var(--um-gray-600);
  font-size: 14px;
  margin: 0;
}

.um-contact-form {
  background: var(--um-gray-50);
  border: 1px solid var(--um-gray-200);
  border-radius: var(--um-radius-card);
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  padding: 32px;
}

.um-contact-wide {
  grid-column: 1 / -1;
}

.um-contact-form input[type="text"],
.um-contact-form input[type="tel"],
.um-contact-form input[type="email"],
.um-contact-form textarea {
  background: #fff;
  border: 1px solid var(--um-gray-300);
  border-radius: 8px;
  color: var(--um-gray-900);
  font-size: 14px;
  padding: 12px 16px;
  resize: none;
  width: 100%;
}

.um-contact-form input:focus,
.um-contact-form textarea:focus {
  border-color: var(--um-primary);
  outline: none;
}

.um-contact-form.was-validated input:invalid {
  border-color: #dc3545;
}

.um-contact-form .um-orange-btn {
  background: var(--um-accent);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .025em;
  padding: 14px 0;
  text-transform: uppercase;
  width: 100%;
}

.um-contact-feedback {
  color: #15803d;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

.um-contact-feedback.is-error {
  color: #dc3545;
}

@media (max-width: 575.98px) {
  .um-contact-section {
    padding: 64px 0;
  }

  .um-contact-head h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .um-contact-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

/**
 * ========================== GAVETA PROMOCIONAL ==========================
 * v2 do layout (features.promo_drawer): aba vertical de 34px na lateral direita + card de 280×290 que desliza
 * para dentro. Fica escondido 280px para a direita até abrir.
 */
.um-promo {
  display: flex;
  height: 290px;
  position: fixed;
  right: 0;
  top: 55%;
  transform: translateY(-50%) translateX(280px);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1);
  z-index: 1045;
}

.um-promo.is-open {
  transform: translateY(-50%) translateX(0);
}

.um-promo-backdrop {
  backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, .5);
  inset: 0;
  position: fixed;
  z-index: 1044;
}

.um-promo-tab {
  align-items: center;
  background: var(--um-primary);
  border: 0;
  border-radius: 12px 0 0 12px;
  box-shadow: -3px 0 15px rgba(0, 0, 0, .12);
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  padding: 0;
  width: 34px;
}

.um-promo-tab span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  transform: rotate(180deg);
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.um-promo-card {
  background: #fff;
  border: 1px solid var(--um-gray-200);
  border-left: 0;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 280px;
}

.um-promo-media {
  background: var(--um-gray-100);
  flex-shrink: 0;
  height: 110px;
  position: relative;
}

.um-promo-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.um-promo-close {
  align-items: center;
  background: rgba(0, 0, 0, .7);
  border: 0;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 10px;
  height: 24px;
  justify-content: center;
  position: absolute;
  right: 8px;
  top: 8px;
  width: 24px;
  z-index: 1;
}

.um-promo-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  text-align: center;
}

.um-promo-body h2 {
  color: var(--um-gray-900);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.um-promo-body p {
  color: var(--um-gray-500);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  text-transform: uppercase;
}

.um-promo-btn {
  background: var(--um-primary);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
  color: #fff;
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  padding: 9px 12px;
  text-decoration: none;
  text-transform: uppercase;
}

.um-promo-btn:hover {
  color: #fff;
  opacity: .9;
}

/**
 * ========================== CARROSSEL DAS LOJAS ==========================
 * v5 do layout: fotos das lojas com fade, no lugar da foto única de "Por que escolher" (Home, Financiamento e
 * Venda) e na seção "Conheça as lojas" do Sobre. Partial um-stores-carousel.
 */
.um-stores-carousel {
  background: #000;
  border-radius: var(--um-radius-card);
  box-shadow: var(--um-shadow-2xl);
  height: 300px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.um-stores-carousel-slide {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  transition: opacity .7s ease;
  width: 100%;
}

.um-stores-carousel-slide.is-active {
  opacity: 1;
}

.um-stores-carousel-arrow {
  align-items: center;
  background: rgb(0 0 0 / 50%);
  border: 0;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: .75rem;
  height: 36px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background-color .2s ease;
  width: 36px;
  z-index: 1;
}

.um-stores-carousel-arrow:hover,
.um-stores-carousel-arrow:focus-visible {
  background: rgb(0 0 0 / 70%);
}

.um-stores-carousel-arrow--prev {
  left: 8px;
}

.um-stores-carousel-arrow--next {
  right: 8px;
}

@media (min-width: 768px) {
  .um-stores-carousel {
    height: 400px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .um-stores-carousel-slide {
    transition: none;
  }
}

.um-fin-why-media,
.um-sell-why-media {
  margin: 0 auto;
  max-width: 576px;
  width: 100%;
}

.um-about-stores {
  background: #fff;
}

.um-about-stores .container {
  max-width: 896px;
}

.um-about-stores .um-section-title {
  margin-bottom: 32px;
}

/**
 * ========================== VARIAÇÕES DO LAYOUT DA R7 ==========================
 * Ligadas por dados, não por cliente: até 3 lojas (um-stores--side), outgrid.laudo_cautelar (coluna "Atendimento"
 * do rodapé) e Financiamento sem foto no "Por que financiar" (um-fin-why-cta).
 */

/* "Visite uma loja" com até 3 lojas: texto à esquerda (32%) e os cards ao lado, em 3 colunas */
@media (min-width: 992px) {
  .um-stores--side .um-stores-grid {
    align-items: start;
    gap: 48px;
    grid-template-columns: 32% minmax(0, 1fr);
  }

  .um-stores--side .um-stores-text {
    margin: 0;
    text-align: left;
  }

  .um-stores--side .um-stores-text p {
    margin-left: 0;
  }
}

@media (min-width: 1200px) {
  .um-stores--side .um-stores-list {
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Rodapé com a 4ª coluna "Atendimento" */
@media (min-width: 992px) {
  .um-footer-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.um-footer-badge {
  align-items: center;
  color: #047857;
  display: flex;
  font-size: 12px;
  font-weight: 600;
  gap: 8px;
  margin: 0;
  padding-top: 12px;
}

/* "Por que financiar" sem foto: botão de WhatsApp no lugar */
.um-fin-why-cta {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.um-fin-why-cta .btn-um-whatsapp {
  box-shadow: var(--um-shadow-md);
  letter-spacing: .05em;
  padding: 14px 28px;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .um-fin-why-cta {
    align-items: flex-start;
  }
}
/* themes/r7/assets/css/main.css
 * Identidade visual da R7 Motors. O layout vem do tema vitrine (themes/vitrine/assets/css/template.css);
 * aqui ficam só as cores da marca. Valores do tailwind.config e dos style= do HTML do designer
 * (docs/layouts-from-design-team/r7-zip-v1) — tabela de tokens em docs/new-client.md. */

:root {
  /* Variáveis consumidas pelo base.css */
  --primary-color: #1b84ff;
  --primary-hover: #0f6fe0;
  --secondary-color: #05b4ff;
  --dark-blue: #1b84ff;
  --dark-blue-alt: #111827;
  --bs-primary: #1b84ff;
  --bs-primary-rgb: 27, 132, 255;

  /* Cores da marca */
  --um-primary: #1b84ff;
  --um-detail: #05b4ff;
  --um-navy: #111827;
  --um-price: #0dad2b;

  /* Botão principal sólido (sem o degradê da Unimais) e destaques dos títulos em azul claro */
  --um-accent: #1b84ff;
  --um-accent-from: #05b4ff;
  --um-accent-to: #05b4ff;
  --um-orange: #05b4ff;
  --um-on-accent: #fff;

  /* Faixa de números */
  --um-band-bg: #05b4ff;

  /* Faixa do banner, "Por que financiar", CTA final e passos em fundo branco (a arte da R7 é clara) */
  --um-banner-bg: #fff;
  --um-on-banner: #111827;
  --um-on-banner-muted: #4b5563;

  /* Cards de marca: fundo azul com o logo branco */
  --um-brand-card-bg: #1b84ff;
  --um-brand-logo: #fff;
}
