body {
    margin: 0;
    padding: 0;
    background-color: #f4f6f9;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
}

/* Cabeçalho */
.header {
    width: 100%;
    background-color: #1a73e8;
    padding: 20px;
    color: white;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.15);
}

.refresh-info {
    display: block;
    font-size: 13px;
    opacity: 0.85;
    margin-top: 6px;
}

/* GRID de cards — sempre 5 por linha */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);   /* 5 colunas fixas */
    gap: 28px;                                /* maior espaçamento */
    padding: 30px 40px;
    justify-items: center;
}

/* CARD padrão — aumentado e mais imponente */
.card {
    position: relative;
    width: 200px;          /* AUMENTADO */
    height: 200px;         /* AUMENTADO */
    background: #ffffff;
    border-radius: 14px;   /* leve arredondamento */
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    transition: transform 0.25s ease;
}

.card:hover {
    transform: scale(1.06);
}

/* Barra que preenche verticalmente */
.card .bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1a73e8;
    transition: height .5s;
    z-index: 0;
}

/* Nome da filial */
.card .label {
    position: relative;
    z-index: 2;
    text-align: center;
    font-weight: 800;
    color: #000;
    font-size: 80px;   /* AUMENTADO */
    margin-bottom: 0px;
}

/* Percentual dentro do card */
.card .percent {
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: 40px;    /* um pouco maior */
    font-weight: 900;   /* mais forte */
    margin-bottom: 5px;
    color: #000;        /* PRETO */
}

/* CARD >= 100% */
.card.full-blue {
    background-color: #1a73e8;
}

.card.full-blue .label {
    color: white;
    font-size: 22px;
    margin-top: 55px;
}

.card.full-blue .percent {
    display: none;
}

.card.full-blue .bar {
    display: none;
}

/* Troféu */
.trofeu {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 35px;
    z-index: 3;
}

.card.full-blue .trofeu {
    display: block;
}

/* Responsividade */
@media (max-width: 600px) {
    .card {
        width: 140px;
        height: 140px;
    }
    .cards-grid {
        gap: 14px;
    }
}