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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #ffffff;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #2b2b2b;
        }

        /* O padding vivia no body, mas agora o cabeçalho/rodapé compartilhados também
           são filhos dele — o padding precisa ficar só no conteúdo desta página. */
        main {
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 40px 16px 60px;
        }

        /* ── Cabeçalho ── */
        .header {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            margin-bottom: 40px;
            text-align: center;
        }

        .logos {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 24px;
            flex-wrap: wrap;
        }

        .logo-img {
            height: 80px;
            width: auto;
            object-fit: contain;
        }

        .logo-placeholder {
            height: 80px;
            width: 80px;
            border-radius: 16px;
            background: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #999;
            font-size: 2rem;
        }

        .logo-divider {
            width: 1px;
            height: 60px;
            background: #d9dee3;
        }

        .app-title {
            font-size: 2rem;
            font-weight: 700;
            color: #2b2b2b;
            letter-spacing: -0.02em;
        }

        .versao-badge {
            display: inline-block;
            background: #F8DDDD;
            color: #911D1D;
            font-size: 0.8rem;
            font-weight: 600;
            padding: 3px 10px;
            border-radius: 20px;
            margin-top: 8px;
        }

        .descricao {
            max-width: 520px;
            color: #555;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-top: 8px;
        }

        /* ── Grid de plataformas ── */
        .plataformas {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 16px;
            max-width: 900px;
            width: 100%;
        }

        .plataforma-card {
            background: #fff;
            border: 1px solid #E2E8F0;
            border-radius: 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, .07);
            padding: 28px 32px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            min-width: 180px;
            transition: transform .15s, box-shadow .15s;
            text-decoration: none;
            color: inherit;
        }

        .plataforma-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
        }

        .plataforma-icon {
            font-size: 3rem;
            line-height: 1;
        }

        .plataforma-icon.android {
            color: #3DDC84;
        }

        .plataforma-icon.ios {
            color: #555;
        }

        .plataforma-icon.windows {
            color: #0078D4;
        }

        .plataforma-icon.linux {
            color: #F97316;
        }

        .plataforma-icon.macos {
            color: #555;
        }

        .plataforma-icon.generic {
            color: #6366F1;
        }

        .plataforma-nome {
            font-size: 1rem;
            font-weight: 600;
            color: #1E293B;
        }

        .btn-download {
            background: var(--vermelho);
            color: #fff;
            border: none;
            border-radius: 8px;
            padding: 8px 20px;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: background .15s;
        }

        .btn-download:hover {
            background: var(--vermelho-escuro);
        }

        /* ── Sem versão cadastrada ── */
        .sem-versao {
            background: #fff;
            border-radius: 16px;
            padding: 48px 40px;
            text-align: center;
            color: #94A3B8;
            font-size: 1rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, .07);
        }

        @media (max-width: 480px) {
            .app-title {
                font-size: 1.5rem;
            }

            .plataforma-card {
                min-width: 140px;
                padding: 22px 20px;
            }
        }