/* Banner: baixar app Oriente (browser mobile) */
.app-store-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100050;
    padding: 0.75rem 0.85rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
    transform: translateY(110%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-store-banner.is-visible {
    transform: translateY(0);
}

.app-store-banner__inner {
    pointer-events: auto;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.8rem;
    background: #0f172a;
    color: #f8fafc;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-store-banner__icon {
    width: 48px;
    height: 48px;
    border-radius: 11px;
    flex-shrink: 0;
    object-fit: cover;
    background: #1e293b;
}

.app-store-banner__text {
    flex: 1;
    min-width: 0;
}

.app-store-banner__text strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.15rem;
}

.app-store-banner__text span {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.35;
}

.app-store-banner__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    flex-shrink: 0;
}

.app-store-banner__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.45rem 0.7rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    background: #c9a227;
    color: #0f172a !important;
    border: none;
    line-height: 1.2;
}

.app-store-banner__cta:hover,
.app-store-banner__cta:focus {
    background: #d4af37;
    color: #0f172a !important;
}

.app-store-banner__dismiss {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.15rem;
    cursor: pointer;
    line-height: 1.2;
}

.app-store-banner__dismiss:hover {
    color: #e2e8f0;
}

.app-store-banner__close {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #64748b;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.app-store-banner__card {
    position: relative;
}

@media (min-width: 768px) {
    .app-store-banner {
        display: none !important;
    }
}

body.has-app-store-banner {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}
