/* ═══════════════════════════════════════════════════════
   ZION LISBOA — Base
   Reset, body, page-wrapper expansivo, banner, footer
   ═══════════════════════════════════════════════════════ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    height: 100%;
    background: var(--bg-page);
    font-family: var(--font-body);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Page Wrapper ────────────────────────────────────── */
.page-wrapper {
    position: fixed;
    inset: 8px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow), 0 0 0 1px var(--border);
    /* Efeito glass sobre o fundo escuro */
    backdrop-filter: blur(2px);
}

@media (max-width: 599px) {
    .page-wrapper {
        inset: 0;
        border-radius: 0;
    }
}

/* ── Banner ──────────────────────────────────────────── */
.banner {
    width: 100%;
    position: relative;
    /* Gradiente navy profundo como fallback */
    background: linear-gradient(135deg, #02161e 0%, #0a3040 50%, #02161e 100%);
    flex-shrink: 0;
    overflow: hidden;
    min-height: 80px;
}

.banner img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

@media (min-width: 900px) {
    .banner { min-height: 64px; }
    .banner img { height: 64px; }
    .banner-fallback { height: 64px !important; }
}

/* Fallback — aparece quando a imagem falha */
.banner-fallback {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}
.banner-fallback.show { display: flex; }

.banner-title {
    font-family: var(--font-title);
    color: var(--primary);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 8px;
    text-transform: uppercase;
}

.banner-sub {
    color: var(--text-faint);
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ── Linha decorativa (substitui a "gold line") ──────── */
.gold-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    flex-shrink: 0;
    opacity: 0.35;
}

/* ── Footer ──────────────────────────────────────────── */
.footer {
    background: var(--bg-footer);
    border-top: 1px solid var(--border);
    padding: 8px 18px;
    flex-shrink: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 6px;
}

/* Botões do footer — transparentes, só borda + texto */
.footer-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-family: var(--font-title);
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-accent);
    background: transparent;
    transition: all 0.2s;
}
.footer-link:hover {
    background: var(--primary-faint);
    border-color: var(--primary-light);
    color: var(--primary-light);
}

.footer-div,
.footer-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 0;
}

.footer-copy,
.footer-bottom .footer-copy {
    color: var(--text-faint);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--font-title);
    text-align: center;
}

.footer-addr,
.footer-address {
    color: var(--text-faint);
    font-size: 10px;
    text-align: center;
    margin-top: 2px;
    opacity: 0.6;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

/* ── Animações globais ───────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
