.showcase-gallery {
    width: min(100%, 570px);
    margin-inline: auto;
    padding: 10px;
    background: linear-gradient(145deg, #252b36, #12161d 57%);
}

.showcase-frame {
    overflow: hidden;
    border: 1px solid #3b4659;
    border-radius: 14px;
    background: #10141a;
}

.showcase-frame-top {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 36px;
    padding: 0 13px;
    border-bottom: 1px solid #313b4b;
    background: #1b212a;
    color: #9facc0;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
}

.showcase-dots { display: flex; gap: 5px; flex: none; }
.showcase-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d85d53; }
.showcase-dots i:nth-child(2) { background: #d0a64d; }
.showcase-dots i:nth-child(3) { background: #41bd75; }
.showcase-frame-title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.showcase-frame-live { margin-left: auto; flex: none; color: #80dcb0; }
.showcase-frame-live i { display: inline-block; width: 6px; height: 6px; margin-right: 3px; border-radius: 50%; background: #42d995; }

.showcase-media { position: relative; }

.showcase-picture {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    background: #10141a;
}

.showcase-picture img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.showcase-expand {
    position: absolute;
    right: 9px;
    bottom: 9px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid #8492a8;
    border-radius: 7px;
    background: rgba(13, 17, 24, .94);
    color: #f6f8fc;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}
.showcase-expand:hover { border-color: #e4bd67; color: #f6d695; }
.showcase-expand:focus-visible { outline: 2px solid #e4bd67; outline-offset: 2px; }

.showcase-lightbox {
    width: min(96vw, 1500px);
    max-height: 94vh;
    padding: 14px;
    border: 1px solid #59667a;
    border-radius: 14px;
    background: #171c24;
    color: #f6f8fc;
    box-shadow: 0 28px 90px #000b;
}
.showcase-lightbox::backdrop { background: rgba(0, 0, 0, .82); }
.showcase-lightbox-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 10px; font-size: 13px; font-weight: 800; }
.showcase-lightbox-header button { width: 34px; height: 34px; flex: none; border: 1px solid #59667a; border-radius: 7px; background: #232b37; color: #fff; cursor: pointer; font-size: 21px; line-height: 1; }
.showcase-lightbox img { display: block; width: 100%; height: auto; max-height: calc(94vh - 75px); object-fit: contain; }

.showcase-picture img.is-revealing { animation: showcase-reveal .3s ease-out both; }
@keyframes showcase-reveal { from { opacity: .25; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

.showcase-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 99px;
    padding: 14px 8px 11px;
}

.showcase-eyebrow {
    color: #ddb76b;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.showcase-caption h2 { margin: 3px 0 2px; color: #f6f8fc; font-size: 17px; line-height: 1.2; }
.showcase-caption p { margin: 0; color: #aebbd0; font-size: 12px; line-height: 1.35; }
.showcase-counter { flex: none; color: #8d9aaf; font-size: 11px; font-weight: 800; letter-spacing: .08em; }

.showcase-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.showcase-tabs button {
    min-width: 0;
    min-height: 42px;
    padding: 8px 6px;
    border: 1px solid #3c4759;
    border-radius: 8px;
    background: #1b212a;
    color: #adbad0;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}
.showcase-tabs button i { margin-right: 3px; }
.showcase-tabs button[aria-selected="true"] { border-color: #c9a050; background: rgba(201, 160, 80, .16); color: #f4d99e; }
.showcase-tabs button:hover { border-color: #c9a050; color: #fff; }
.showcase-tabs button:focus-visible { outline: 2px solid #e4bd67; outline-offset: 3px; }

@media (max-width: 560px) {
    .showcase-gallery { width: min(100%, 395px); padding: 8px; }
    .showcase-frame-top { display: none; }
    .showcase-picture { aspect-ratio: 9 / 16; }
    .showcase-picture img { object-fit: cover; object-position: center top; }
    .showcase-frame[data-showcase-slide="atendimentos"] .showcase-picture img { object-position: center 12%; }
    .showcase-expand { display: none; }
    .showcase-caption { min-height: 109px; padding: 13px 4px 11px; }
    .showcase-caption h2 { font-size: 16px; }
    .showcase-caption p { font-size: 11px; }
    .showcase-counter { font-size: 10px; }
    .showcase-tabs button { font-size: 10px; min-height: 43px; }
    .showcase-tabs button i { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .showcase-picture img.is-revealing { animation: none; }
}
