/* ==============================================
   Baleon Cloud — Layout Página Pública
   Arquivo: static/css/pagina-publica.css
   Sincronizado com referencia.html (abril 2026)
   ============================================== */

.page {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 0 3rem;
    min-height: 100vh;
    background: var(--cor-bg);
    overflow-x: hidden;
}

/* ── HERO ─────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 1.5rem 2rem;
    text-align: center;
    background: var(--cor-bg);
}
/* Gradiente de cor diagonal — opacity evita color-mix() (compatível com todos browsers) */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, var(--cor-primaria) 0%, transparent 65%);
    opacity: 0.15;
    pointer-events: none;
}
/* Glow radial no topo */
.hero::after {
    content: '';
    position: absolute;
    top: -60px; left: 50%;
    transform: translateX(-50%);
    width: 320px; height: 320px;
    background: radial-gradient(circle, var(--cor-primaria) 0%, transparent 70%);
    opacity: 0.35;
    pointer-events: none;
}
.hero-lines {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.03) 0px, rgba(0,0,0,0.03) 1px, transparent 1px, transparent 40px);
    pointer-events: none;
}

/* Title */
.hero-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--cor-texto);
    margin-bottom: 0.6rem;
    overflow-wrap: break-word;
    word-break: break-word;
}
.hero-title span {
    color: var(--cor-primaria);
    text-shadow: 0 0 30px color-mix(in srgb, var(--cor-primaria) 50%, transparent);
}
.hero-desc {
    font-size: 0.9rem;
    color: var(--cor-texto-muted);
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto 1.2rem;
}
.hero-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.2rem;
    font-size: 0.8rem;
    color: var(--cor-texto-muted);
    margin-bottom: 1.4rem;
}
.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── CONTENT ──────────────────────────────────── */
.content {
    padding: 1.5rem 1rem 0;
}

.link-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 2rem;
}

/* ── FADE IN (CSS-only stagger) ───────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-1 { animation: fadeUp 0.5s ease both 0.05s; }
.fade-2 { animation: fadeUp 0.5s ease both 0.1s; }
.fade-3 { animation: fadeUp 0.5s ease both 0.15s; }
.fade-4 { animation: fadeUp 0.5s ease both 0.2s; }
.fade-4b { animation: fadeUp 0.5s ease both 0.22s; }
.fade-5 { animation: fadeUp 0.5s ease both 0.25s; }

@media (prefers-reduced-motion: reduce) {
    .fade-1, .fade-2, .fade-3, .fade-4, .fade-4b, .fade-5 {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* PIX Card */
.pix-card {
    background: var(--cor-surface);
    border: 1px solid var(--cor-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-align: center;
}
.pix-header {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cor-texto-muted);
}
.pix-key-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}
.pix-key {
    background: var(--cor-surface2);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    word-break: break-all;
    user-select: all;
}
.pix-name {
    font-size: 0.8rem;
    color: var(--cor-texto-muted);
    margin: 0;
}

/* ── WhatsApp FAB ─────────────────────────────── */
.whatsapp-fab {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: fadeUp 0.5s ease both 0.5s;
}
.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
