.offer-photo.piedade-carousel { position: relative; overflow: hidden; isolation: isolate; }
.piedade-carousel .piedade-slide {
 position: absolute; inset: 0; width: 100%; height: 100%;
 object-fit: cover; opacity: 0; transition: opacity 650ms ease;
}
.piedade-carousel .piedade-slide.is-active { opacity: 1; }
.piedade-carousel .piedade-slide[data-view="fachada"] { object-fit: cover; background: #102c46; }
.piedade-carousel button {
 font-family: inherit; color: #fff; background: #061a32b8;
 border: 1px solid #ffffff66; cursor: pointer; padding: 0;
 display: inline-flex; align-items: center; justify-content: center;
}
.piedade-carousel button:hover { background: #e70b77; }
.piedade-carousel button:focus-visible { outline: 3px solid #51e1f5; outline-offset: 2px; }
.piedade-carousel .piedade-arrow {
 position: absolute; top: 50%; transform: translateY(-50%);
 width: 32px; height: 38px; border-radius: 9px; font-size: 24px; line-height: 1; z-index: 2;
}
.piedade-carousel .piedade-prev { left: 7px; }
.piedade-carousel .piedade-next { right: 7px; }
.piedade-carousel .piedade-controls {
 position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%);
 display: flex; gap: 4px; align-items: center; border-radius: 24px; z-index: 2;
 background: #061a32c9; padding: 2px 5px;
}
.piedade-carousel .piedade-dot { width: 22px; height: 24px; border: 0; background: transparent; border-radius: 50%; }
.piedade-carousel .piedade-dot::after { content: ''; width: 6px; height: 6px; background: #fff8; border-radius: 50%; }
.piedade-carousel .piedade-dot[aria-current="true"]::after { background: #53e2f7; width: 8px; height: 8px; }
.piedade-carousel .piedade-play { width: 26px; height: 24px; border: 0; font-size: 11px; border-radius: 50%; }

@media (prefers-reduced-motion: reduce) { .piedade-carousel .piedade-slide { transition: none; } }

/* Keep the photo clear while retaining keyboard-accessible playback controls. */
.piedade-carousel .piedade-controls {
 width: 1px; height: 1px; padding: 0; overflow: hidden;
 clip-path: inset(50%); bottom: 0;
}
.piedade-carousel .piedade-controls:focus-within {
 width: auto; height: auto; padding: 2px 5px; overflow: visible;
 clip-path: none; bottom: 7px;
}
.piedade-carousel .piedade-arrow {
 background: #061a3238; border-color: #ffffff30; color: #ffffffb3;
 opacity: .65; transition: opacity 180ms ease, background 180ms ease;
}
.piedade-carousel .piedade-arrow:hover,
.piedade-carousel .piedade-arrow:focus-visible {
 background: #061a3275; color: #fff; opacity: 1;
}

.piedade-carousel .piedade-perspective {
 display: block; width: 100%; height: 100%; object-fit: cover;
}

.piedade-branded-body { position: relative; }
.offer-card .piedade-card-logo {
 position: absolute; top: 8px; right: 12px;
 width: 40px; height: auto; object-fit: contain;
 opacity: .85; pointer-events: none;
}
.piedade-branded-body .offer-badge {
 max-width: calc(100% - 46px); box-sizing: border-box;
}
