* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    min-height: 100dvh; /* corrige altura em navegadores mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Arial, sans-serif;
    padding: clamp(20px, 6vw, 40px) clamp(15px, 5vw, 30px);
}

.container {
    width: 100%;
    max-width: 420px;
    text-align: center;
    color: #fff;
}

@media (min-width: 700px) {
    .container {
        background: rgba(255,255,255,0.08);
        backdrop-filter: blur(6px);
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 24px;
        padding: 40px 35px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    }
}

.logo {
    width: clamp(90px, 20vw, 130px);
    height: clamp(90px, 20vw, 130px);
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.85);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin-bottom: 18px;
    background: #fff;
}

.logo-placeholder {
    width: clamp(90px, 20vw, 130px);
    height: clamp(90px, 20vw, 130px);
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(32px, 6vw, 46px);
    font-weight: bold;
    margin: 0 auto 18px auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

h1 {
    font-size: clamp(20px, 4.5vw, 28px);
    margin-bottom: 6px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.25);
    word-break: break-word;
}

p.bio {
    font-size: clamp(13px, 3vw, 16px);
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.4;
}

.botao {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: clamp(13px, 3vw, 16px) 20px;
    margin-bottom: 15px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(14px, 3vw, 17px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

@media (hover: hover) {
    .botao:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }
}

.botao:active {
    transform: scale(0.97);
}

.botao svg { width: 22px; height: 22px; flex-shrink: 0; }

.rodape {
    margin-top: 25px;
    font-size: 12px;
    opacity: 0.7;
}

.contador {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 12px;
    opacity: 0.75;
    background: rgba(255,255,255,0.12);
    padding: 6px 14px;
    border-radius: 20px;
}

.contador svg { width: 14px; height: 14px; }

/* ============================================================
   INSTALAR APP (PWA) - banner e botão
   ============================================================ */

.instalar-banner {
    display: none;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 15px;
    text-align: left;
    animation: deslizar 0.35s ease;
}

.instalar-banner.mostrar { display: flex; }

.instalar-banner .instalar-icone {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 8px;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.instalar-banner .instalar-icone svg { width: 20px; height: 20px; }

.instalar-banner .instalar-texto {
    flex: 1;
    font-size: 12.5px;
    line-height: 1.35;
}

.instalar-banner .instalar-texto strong {
    display: block;
    font-size: 13.5px;
    margin-bottom: 2px;
}

.instalar-banner button.instalar-btn {
    background: #fff;
    color: #222;
    border: none;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
}

.instalar-banner button.instalar-fechar {
    background: transparent;
    border: none;
    color: #fff;
    opacity: 0.7;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 4px;
    flex-shrink: 0;
}

@keyframes deslizar {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
