/* ========== Carrossel PowerRents (namespaced pr-) ========== */
.pr-carousel-section {
  padding: 60px 0;
  background: linear-gradient(180deg, rgba(248,249,250,0) 0%, rgba(248,249,250,1) 100%);
  margin-top: 240px;
}

.pr-carousel-wrapper {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 16px;
}

.pr-carousel-container {
  position: relative;
  width: 100%;
  min-height: 320px;
  perspective: 800px;
  margin: 0 auto;
  padding-top: 8px;
}

.pr-carousel {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

.pr-carousel-item {
  position: absolute;
  width: 240px;
  min-height: 320px;
  left: 50%;
  top: 50%;
  margin-left: -120px;
  margin-top: -160px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.pr-car-image {
  width: 100%;
  flex: 0 0 55%;
  object-fit: cover;
  display: block;
}

.pr-car-info {
  padding: 14px;
  background: #fff;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.pr-car-title {
  font-size: 1rem;
  color: #03346E;
  margin-bottom: 6px;
  line-height: 1.15;
}

.pr-car-desc {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.3;
}

.pr-price {
  font-weight: 700;
  color: #1a2b3c;
  margin-bottom: 8px;
  font-size: 1rem;
}

.pr-car-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}

/* botão alugue */
.pr-rent-btn {
  background: linear-gradient(90deg,#2c5aa0,#3a7bd5);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  align-self: flex-start;
}

.pr-rent-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(44,90,160,0.25); }

/* side nav */
.pr-side-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display:flex; justify-content:space-between; padding: 0 8px; pointer-events: none; z-index: 30; }
.pr-side-btn { pointer-events: auto; width:36px; height:36px; border-radius:50%; background:#2c5aa0; color:#fff; border:none; display:flex; align-items:center; justify-content:center; box-shadow:0 3px 8px rgba(44,90,160,0.25); cursor:pointer; }
.pr-side-btn:hover{ background:#1e3d6f; transform:translateY(-2px); }

/* indicators */
.pr-indicators { display:flex; justify-content:center; gap:8px; margin-top:14px; z-index:40; position:relative; }
.pr-indicator { width:8px; height:8px; border-radius:50%; background:#ddd; border:none; cursor:pointer; }
.pr-indicator.pr-active { background:#2c5aa0; transform:scale(1.2); }

/* ambilight sutil */
.pr-carousel-item::before { content:''; position:absolute; top:-4px; left:-4px; right:-4px; bottom:-4px; background:linear-gradient(45deg,#2c5aa0,#3a7bd5); z-index:-1; filter:blur(10px); opacity:.35; border-radius:12px; transition:opacity .4s ease; }
.pr-carousel-item.pr-active::before { opacity:.6; }

/* responsividade */
@media (max-width: 1024px) { .pr-carousel-container { min-height: 320px; } .pr-carousel-item { width:210px; min-height: 280px; margin-left:-105px; margin-top:-140px; } .pr-rent-btn { align-self: stretch; width:100%; border-radius:10px; } }

@media (max-width: 480px) {
  .pr-carousel-container { min-height: 270px; }
  .pr-carousel-item { width: 190px; min-height: 250px; margin-left:-95px; margin-top:-125px; }
  .pr-car-title { font-size: 0.98rem; }
  .pr-car-desc { font-size: 0.85rem; }
  .pr-price { font-size: 1.05rem; }
  .pr-rent-btn { padding:10px 12px; font-size:0.9rem; align-self:stretch; border-radius:10px; }
  .pr-indicator { width:7px; height:7px; }
}

@media (max-width: 360px) {
  .pr-carousel-item { width:170px; min-height:230px; margin-left:-85px; margin-top:-115px; }
  .pr-rent-btn { padding:9px 10px; font-size:0.85rem; border-radius:8px; }
}
