:root {
    --roxo: #970fca;
    --verde: #18c938;
    --texto: #1f2937;
    --suave: #6b7280;
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    color: var(--texto);
    background:
        radial-gradient(circle at 12% 0%, rgba(151, 15, 202, 0.16), transparent 42%),
        radial-gradient(circle at 88% 12%, rgba(24, 201, 56, 0.12), transparent 36%),
        #f7f4ff;
}

/* Topo */

.topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 0.5rem 0.75rem;
}

.topo img {
    object-fit: contain;
    width: 9rem;
    height: 3rem;
}

.saldo-presell {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 2.75rem;
    padding: 0 4px 0 22px;
    border-radius: 999px;
    background: #eceaf2;
    color: #3a3a3f;
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
}

.saldo-presell strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 22px;
    border-radius: 999px;
    background: radial-gradient(120% 160% at 20% 20%, #8b2fd6 0%, #6d0ec9 100%);
    color: #fff;
    font-weight: 900;
}

/* Conteudo */

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 18px 16px 40px;
    flex: 1;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 5vw, 48px) clamp(18px, 4vw, 44px) clamp(24px, 4vw, 38px);
    text-align: center;
    background: #fff;
    border: 1px solid rgba(151, 15, 202, 0.12);
    border-radius: 28px;
    box-shadow: 0 30px 70px -35px rgba(76, 29, 149, 0.55);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, var(--roxo), #c084fc, var(--verde));
}

h1 {
    max-width: 620px;
    margin: 16px auto 14px;
    font-size: clamp(30px, 5.4vw, 50px);
    line-height: 1.06;
    letter-spacing: -0.03em;
    font-weight: 800;
}

h1 strong {
    color: var(--roxo);
}

.sub {
    max-width: 540px;
    margin: 0 auto;
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.55;
    color: var(--suave);
}

.btn-comecar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 430px;
    margin: 26px auto 12px;
    padding: 17px 24px;
    border-radius: 999px;
    background: var(--verde);
    color: #fff;
    font-size: clamp(16px, 2.2vw, 20px);
    font-weight: 800;
    letter-spacing: 0.02em;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 16px 30px -12px rgba(24, 201, 56, 0.8);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-comecar:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 20px 34px -12px rgba(24, 201, 56, 0.85);
}

.btn-comecar:focus-visible {
    outline: 3px solid #1d4ed8;
    outline-offset: 3px;
}

.btn-comecar svg {
    flex: none;
}

.nota {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: var(--suave);
}

/* Passos */

.passos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.passo {
    padding: 18px 14px;
    text-align: center;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(151, 15, 202, 0.1);
    border-radius: 20px;
}

.passo-icone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    border-radius: 14px;
    background: #f3e8ff;
    color: var(--roxo);
}

.passo h2 {
    margin-bottom: 4px;
    font-size: 14px;
    color: #3b0764;
}

.passo p {
    font-size: 12px;
    line-height: 1.45;
    color: var(--suave);
}

/* Rodape */

.rodape {
    padding: 18px 16px 28px;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
    color: #9ca3af;
}

@media (max-width: 600px) {
    .passos {
        grid-template-columns: 1fr;
    }

    .passo {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px;
        text-align: left;
    }

    .passo-icone {
        flex: none;
        margin: 0;
    }

    .passo h2 {
        margin: 0 0 2px;
    }
}

@media (max-width: 520px) {
    .topo {
        gap: 10px;
        padding: 0.5rem 0.75rem;
    }

    .topo img {
        width: 9rem;
        height: 3rem;
    }

    .saldo-presell {
        gap: 8px;
        height: 2.25rem;
        padding: 0 3px 0 14px;
        font-size: 15px;
    }

    .saldo-presell strong {
        padding: 0 14px;
    }
}

@media (max-width: 380px) {
    .topo {
        gap: 6px;
        padding: 0.5rem;
    }

    .topo img {
        width: 9rem;
        height: 3rem;
    }

    .saldo-presell {
        gap: 6px;
        height: 2rem;
        padding: 0 3px 0 12px;
        font-size: 13px;
    }

    .saldo-presell strong {
        padding: 0 12px;
    }
}

@media (max-width: 340px) {
    .topo {
        gap: 3px;
        padding: 0.5rem;
    }

    .topo img {
        width: 7.5rem;
        height: 2.5rem;
    }

    .saldo-presell {
        gap: 4px;
        height: 1.875rem;
        padding: 0 2px 0 10px;
        font-size: 12px;
    }

    .saldo-presell strong {
        padding: 0 10px;
    }
}
