*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'IBM Plex Sans', sans-serif;
}

body{
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 2rem 1rem;
    background: #f1f3f7;
}

.cartao{
    width: 100%;
    max-width: 460px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 2.5rem 2rem 2rem;

    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.logo{
    display: block;
    height: 54px;
    margin-bottom: 1.8rem;
}

.logo img{
    height: 100%;
    width: auto;
}

.cartao h1{
    font-size: 1.15rem;
    font-weight: 600;
    color: #23273a;
    margin-bottom: 0.4rem;
}

.cartao p{
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6f7486;
}

/* Endereco de destino: quebra em qualquer ponto para nao estourar o cartao. */
.destino{
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: #9aa0b4;
    word-break: break-all;
}

/* ---------- contagem ---------- */

.contador{
    position: relative;
    width: 120px;
    height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 1.5rem;
}

.contador_anel{
    position: absolute;
    inset: 0;
    transform: rotate(-90deg);
}

.contador_trilha{
    fill: none;
    stroke: #e8eaf2;
    stroke-width: 6;
}

.contador_progresso{
    fill: none;
    stroke: #28a13e;
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s linear;
}

.contador span{
    font-size: 2.4rem;
    font-weight: 600;
    color: #28a13e;
}

/* ---------- publicidade sem link ---------- */

.aviso{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aviso_icone{
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 1.2rem;

    background: #fff4e5;
    border-radius: 50%;

    color: #ff9800;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

/* ---------- acoes ---------- */

.acoes{
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;

    width: 100%;
    margin-top: 1.8rem;
}

.botao{
    flex: 1 1 140px;
    padding: 0.7rem 1.2rem;

    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;

    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.botao_principal{
    background: #4050b5;
    border: 1px solid #4050b5;
    color: #fff;
}

.botao_principal:hover{
    background: #34429a;
    border-color: #34429a;
}

.botao_secundario{
    background: #fff;
    border: 1px solid #d8dbe6;
    color: #6f7486;
}

.botao_secundario:hover{
    border-color: #b9bed0;
    color: #23273a;
}
