/* ── HERO ── */
.hero-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 520px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 55%;
  filter: none;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}

.hero-bg.loaded {
  transform: scale(1);
}

.hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, #ffffff 100%);
  pointer-events: none;
  z-index: 1;
}

.hero {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* ── CARD ── */
.hero-card {
  position: relative;
  z-index: 5;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 12px;
  padding: var(--space-5);
  width: min(550px, 90vw);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.22),
    0 2px 6px rgba(0, 0, 0, 0.08);
  text-align: center;

  opacity: 0;
  transform: translateY(28px);
  animation: cardIn 0.6s 0.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-card h1 {
  font-family: 'Inter', sans-serif;
  font-size: 35px;
  font-weight: 600;
  line-height: 1;
  color: #1E1E1E;
  margin-bottom: var(--space-6);
  /* título → grupo form: distância maior (24px) */
}

.hero-card h1 span {
  color: var(--red);
}

/* ── SEARCH ── */
.search-wrapper {
  position: relative;
  margin-bottom: var(--space-4);
  /* input → botão: mesmo grupo, mas com respiro (16px) */
}

.search-wrapper input {
  width: 100%;
  padding: var(--space-2) var(--space-8) var(--space-2) var(--space-4);
  border: 1.5px solid var(--red);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #1E1E1E;
  background: #fff;
  outline: none;
  transition: box-shadow 0.2s;
}

.search-wrapper input::placeholder {
  color: #b0b0b0;
}

.search-wrapper input:focus {
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.13);
}

.search-wrapper .search-icon {
  position: absolute;
  right: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  pointer-events: none;
}

/* ── BUTTON ── */
.btn-buscar {
  position: relative;
  overflow: hidden;
  display: block;
  width: 65%;
  margin: 0 auto;
  padding: var(--space-2) var(--space-5);
  background: var(--red);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(200, 16, 46, 0.28);
}

.btn-buscar:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(200, 16, 46, 0.32);
}

.btn-buscar:active {
  transform: translateY(0);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transform: scale(0);
  animation: rippleAnim 0.55s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

@media (max-width: 480px) {
  .hero-card h1 {
    font-size: 26px;
  }
}

/* ══════════════════════════════════════
       CATEGORIES SLIDER
    ══════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@900&display=swap');

.cat-section {
  position: relative;
  /* 4 slides worth of scroll space + sticky height */
}

.cat-scroll-space {
  height: 400vh;
}

.cat-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #f0f0f0;
}

.cat-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.cat-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.cat-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* giant background text */
.cat-bg-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -58%);
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 250px;
  letter-spacing: -0.08em;
  line-height: 1;
  color: var(--red);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

/* car image */
.cat-car {
  position: relative;
  z-index: 2;
  width: 75%;
  max-width: 860px;
  object-fit: contain;
  opacity: 1;
  transform: translateY(4%);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s;
}

.cat-slide:not(.active) .cat-car {
  transform: translateY(10%);
}

/* dots */
.cat-dots {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-3);
  z-index: 5;
}

.dot {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: #ccc;
  transition: background 0.3s, width 0.3s;
}

.dot.active {
  background: var(--red);
  width: 48px;
}

@media (max-width: 768px) {
  .cat-bg-text {
    font-size: 130px;
  }

  .cat-car {
    width: 92%;
  }
}

/* ══════════════════════════════════════
       CHEGARAM AGORA
    ══════════════════════════════════════ */
.arrivals {
  padding: var(--space-16) var(--space-8);
}

.arrivals-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.arrivals-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.arrivals-header p {
  font-size: 0.9rem;
  color: #777;
  font-weight: 400;
}

.arrivals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  max-width: 1200px;
  margin: 0 auto var(--space-10);
}

@media (min-width: 1200px) {
  .arrivals-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1400px;
    gap: var(--space-8);
  }
}

.car-card {
  cursor: pointer;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.25s, transform 0.25s;
}

.car-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.car-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.car-card-body {
  padding: var(--space-4);
}

.car-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1E1E1E;
  line-height: 1;
  margin-bottom: var(--space-1);
}

.car-card-spec {
  font-size: 0.75rem;
  color: #999;
  margin-bottom: var(--space-3);
  line-height: 1;
}

.car-card-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1E1E1E;
  line-height: 1;
  margin-bottom: var(--space-3);
}

.car-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #999;
  margin-bottom: var(--space-4);
}

.car-card-btn {
  text-decoration: none;
  text-align: center;
  display: block;
  width: 100%;
  padding: var(--space-2) var(--space-4);
  background: transparent;
  border: 1.5px solid var(--red);
  border-radius: 8px;
  color: var(--red);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.car-card-btn:hover {
  background: var(--red);
  color: #fff;
}

.arrivals-more {
  display: flex;
  justify-content: center;
}

.btn-more {
  position: relative;
  overflow: hidden;
  padding: var(--space-3) var(--space-10);
  background: var(--red);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(200, 16, 46, 0.28);
}

.btn-more:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(200, 16, 46, 0.32);
}

@media (max-width: 768px) {
  .arrivals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .arrivals-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════
       SIMULADOR
    ══════════════════════════════════════ */
.simulator {
  min-height: 65vh;
  display: flex;
  align-items: center;
  padding: var(--space-16) var(--space-8);
}

.simulator-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  gap: var(--space-10);
  align-items: center;
}

/* ── LEFT: card ── */
.sim-card {
  max-width: 650px;
  background: #fff;
  border-radius: 12px;
  padding: var(--space-6);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.sim-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.sim-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.sim-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: #888;
  margin-bottom: var(--space-1);
}

.sim-field input,
.sim-field select {
  width: 100%;
  padding: var(--space-2) var(--space-3);
  border: 1.5px solid var(--red);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #1E1E1E;
  background: #fff;
  outline: none;
  transition: box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.sim-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: var(--space-8);
  cursor: pointer;
}

.sim-field input:focus,
.sim-field select:focus {
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.11);
}

.sim-field input::placeholder {
  color: #bbb;
}

.btn-simular {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  padding: var(--space-2) var(--space-4);
  background: var(--red);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: var(--space-3);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(200, 16, 46, 0.28);
}

.btn-simular:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(200, 16, 46, 0.32);
}

.sim-tax {
  font-size: 0.72rem;
  color: #aaa;
  text-align: center;
}

/* ── RESULT (inside card) ── */
.sim-result {
  width: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sim-result-label {
  font-size: 0.8rem;
  color: #999;
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.sim-result-value {
  font-size: 2.6rem;
  font-weight: 700;
  color: #1E1E1E;
  line-height: 1;
  margin-bottom: var(--space-2);
  transition: all 0.3s;
}

.sim-result-detail {
  font-size: 0.8rem;
  color: #aaa;
}

.sim-card-inner {
  display: flex;
  flex-direction: row;
  gap: 25px;
  align-items: center;
}

/* ── RIGHT: copy ── */
.sim-copy {
  width: min-content;
}

.sim-copy h2 {
  width: 400px;
  font-size: 3rem;
  font-weight: 600;
  color: #1E1E1E;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.sim-copy h2 span {
  width: fit-content;
  color: var(--red);
}

.sim-copy p {
  width: fit-content;
  font-size: 0.875rem;
  color: #888;
  line-height: 1.5;
  margin-top: var(--space-4);
}

.sim-form-area {
  width: 50%;
}

.divider {
  width: 2px;
  height: 125px;
  background: rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .simulator-inner {
    display: flex;
    flex-direction: column-reverse;
  }

  .sim-card-inner {
    flex-direction: column;
  }

  .divider {
    width: 75%;
    height: 2px;
  }

  .sim-form-area {
    width: 100%;
  }

  .sim-result {
    align-items: center;
    border-left: none;
    padding: var(--space-4) 0 0;
  }

  .sim-copy {
    text-align: center;
  }
}

/* ══════════════════════════════════════
       STATS BAR
    ══════════════════════════════════════ */
.stats-bar {
  min-height: fit-content;
  display: flex;
  align-items: center;
  width: 100%;
  height: 50vh;
}

.stats-inner {
  width: 100%;
  padding: var(--space-8) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  background: #1E1E1E;
  gap: var(--space-8);
}

.stats-group {
  display: flex;
  gap: clamp(var(--space-10), var(--space-16), var(--space-16));
  align-items: flex-end;
}

.stat-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-1);
}

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: #888;
  font-weight: 400;
}

.stats-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.stats-cta-text {
  font-size: 0.9rem;
  color: #888;
}

.btn-cta-personalizada {
  position: relative;
  overflow: hidden;
  padding: var(--space-2) var(--space-5);
  background: var(--red);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(200, 16, 46, 0.35);
}

.btn-cta-personalizada:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(200, 16, 46, 0.4);
}

@media (max-width: 600px) {
  .stats-inner {
    flex-direction: column;
    align-items: center;
  }

  .stats-cta {
    align-items: flex-start;
  }
}

/* ══════════════════════════════════════
       DEPOIMENTOS
    ══════════════════════════════════════ */
.testimonials {
  min-height: 65vh;
  display: flex;
  align-items: center;
  padding: var(--space-16) var(--space-8);
  overflow: hidden;
}

.testimonials-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: var(--space-10);
  align-items: center;
}

.testimonials-left {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.testimonials-tag {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.testimonials-left h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #1E1E1E;
  line-height: 1;
}

.testimonials-left p {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.55;
}

/* carousel right column */
.testimonials-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  position: relative; /* ancora os gradientes */
  overflow: hidden;
}

/* Gradientes laterais */
.testimonials-right::before,
.testimonials-right::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 28px; /* para não cobrir os dots */
  width: 48px;
  z-index: 2;
  pointer-events: none;
}
.testimonials-right::before {
  left: -1px;
  background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}
.testimonials-right::after {
  right: -1px;
  background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.testimonials-carousel {
  display: flex;
  gap: 24px;
  overflow: visible;
  position: relative;
  align-self: flex-start; /* garante que o translateX parte do edge esquerdo do pai */
  will-change: transform;
  /* transition controlada pelo JS para suportar salto silencioso */
}

/* each card */
.testimonial-card {
  min-width: 300px;
  max-width: 300px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.tcard-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.tcard-body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tcard-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.tcard-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.tcard-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1E1E1E;
  line-height: 1;
}

.tcard-role {
  font-size: 0.72rem;
  color: #aaa;
  margin-top: 2px;
}

.tcard-text {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.6;
  /* 140 chars ≈ 4 linhas — altura fixa garante cards uniformes */
  min-height: 4lh;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  line-clamp: 4;
  overflow: hidden;
}

/* dots below carousel */
/* Controles: botões + dots lado a lado */
.t-controls {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.t-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--gray-300);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  color: #555;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.t-nav:hover {
  border-color: var(--red);
  color: var(--red);
  box-shadow: 0 2px 8px rgba(200,16,46,0.15);
}

.testimonials-dots {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
}

/* Hint swipe — só mobile */
.t-swipe-hint {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: #999;
  letter-spacing: 0.03em;
  user-select: none;
  animation: hint-fade 2.5s ease-in-out infinite;
}
@media (max-width: 600px) {
  .t-nav         { display: none; }
  .t-swipe-hint  { display: flex; }
}

.tdot {
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}

.tdot.active {
  background: var(--red);
  width: 32px;
}

@media (max-width: 768px) {
  .testimonials-inner {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-width: 260px;
    max-width: 260px;
  }
}

/* ══════════════════════════════════════
       CTA SECTION
    ══════════════════════════════════════ */
.cta-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-16) var(--space-8);
}

.cta-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1E1E1E;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.cta-inner h2 span {
  color: var(--red);
}

.cta-inner p {
  font-size: 0.875rem;
  color: #888;
  line-height: 1.55;
  margin-bottom: var(--space-8);
}

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline {
  padding: var(--space-3) var(--space-8);
  background: transparent;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1E1E1E;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover {
  border-color: #1E1E1E;
}

.btn-whatsapp {
  padding: var(--space-3) var(--space-8);
  background: var(--red);
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 10px rgba(200, 16, 46, 0.28);
}

.btn-whatsapp:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════
       FOOTER
    ══════════════════════════════════════ */

@media (max-width: 768px) {
  .testimonials-inner {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {}

/* ── Car Slider Section ───────────────────────────────────────────────── */
/* ── Seção principal ─────────────────────────────────────────────────── */
.slider {
  position: relative;
  /* ancora os botões nav */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 45px 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* ── Elemento vazio no topo para o space-between distribuir corretamente ─ */
.slider__spacer {
  width: 100%;
}

/* ── Bloco central: texto + carro ───────────────────────────────────── */
.slide-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* ── Texto de fundo ──────────────────────────────────────────────────── */
.bg-text {
  font-family: 'Poppins';
  font-weight: 900;
  font-size: clamp(90px, 17vw, 240px);
  line-height: 1px;
  /* colapsa o line-box ao mínimo, texto alinha pelo topo */
  letter-spacing: -0.08em;
  color: #cc0000;
  white-space: nowrap;
  text-align: center;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  transition: opacity 0.28s ease;
}

.bg-text.fading {
  opacity: 0;
}

/* ── Stage do carro ──────────────────────────────────────────────────── */
/*
      margin-top: -0.5em puxa o stage para cima em exatamente metade
      da altura do line-box do texto (line-height: 1 → 1em).
      Com isso o texto fica 50% visível acima e 50% coberto pelo carro.
    */
.car-stage {
  position: relative;
  width: 100%;
  height: clamp(140px, 26vw, 300px);
  overflow-x: clip;
  overflow-y: visible;
  z-index: 1;
  margin-top: -0.5em;
}

#slide-car {
  --car-width: clamp(380px, 68vw, 900px);
  position: absolute;
  top: 0;
  left: 0;
}

@media (max-width: 600px) {
  #slide-car {
    --car-width: 90%;
  }
}

/* ── Botões prev/next (desktop) ─────────────────────────────────────── */
.slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  color: #333;
}

.slider-nav:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(-50%) scale(1.08);
}

.slider-nav--prev {
  left: clamp(12px, 3vw, 40px);
}

.slider-nav--next {
  right: clamp(12px, 3vw, 40px);
}

@media (max-width: 600px) {
  .slider-nav {
    display: none;
  }
}

/* ── Paginação + hint mobile ─────────────────────────────────────────── */
.slider-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 44px;
  height: 3px;
  border-radius: 2px;
  background: #bbb;
  transition: background 0.4s;
}

.dot.active {
  background: #cc0000;
}

.swipe-hint {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: #999;
  letter-spacing: 0.03em;
  user-select: none;
  animation: hint-fade 2.5s ease-in-out infinite;
}

@keyframes hint-fade {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .swipe-hint {
    display: flex;
  }
}