/* ================================================================== */
/*     LISTAGEM DE SERVIÇOS – VERSÃO COMPLETA + PAGINAÇÃO ESTRELAS   */
/* ================================================================== */

/* Título principal */
.titulo-principal {
    text-align: center;
    margin-bottom: 45px;
    color: #1D4F73;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Container */
.servicos-lista {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Card */
.servico-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 45px;
    border: 1px solid #e0e6eb;
    box-shadow: 0px 5px 14px rgba(0,0,0,0.10);
}

/* Título do serviço */
.servico-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #1D4F73;
    font-weight: 600;
}

/* Descrição */
.servico-card .descricao {
    color: #444;
    margin-bottom: 22px;
    line-height: 1.6;
    font-size: 1.05rem;
    border-left: 4px solid #1D4F73;
    padding-left: 12px;
}

/* GRID – antes | vídeo | depois */
.grid-servico {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* Blocos vizuais */
.item-grid {
    background: #f3f7fa;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #d7dee5;
}

.item-grid h4 {
    margin-bottom: 12px;
    color: #1D4F73;
    font-weight: 600;
}

/* Mídias: imagem + vídeo */
.item-grid img,
.item-grid video {
    width: 100%;
    height: 260px;
    border-radius: 10px;
    object-fit: cover;
    background: #dbe3eb;
    border: 1px solid #bcc5cc;
    box-shadow: 0px 3px 8px rgba(0,0,0,0.15);
}

.item-grid video {
    background: #000;
}

/* ===================================================== */
/*                     PAGINAÇÃO ESTRELAS                */
/* ===================================================== */

.paginacao-estrelas {
    text-align: center;
    margin: 40px 0 20px;
}

.paginacao-estrelas .estrela {
    font-size: 1.9rem;
    text-decoration: none;
    margin: 0 6px;
    color: #a1b1c1;
    transition: transform 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.paginacao-estrelas .estrela:hover {
    transform: scale(1.25);
    color: #1D4F73;
}

.paginacao-estrelas .estrela.ativa {
    color: #f2c300;
    font-size: 2.1rem;
    transform: scale(1.2);
    cursor: default;
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .grid-servico {
        grid-template-columns: 1fr;
    }

    .item-grid img,
    .item-grid video {
        height: 220px;
    }

    .paginacao-estrelas .estrela {
        font-size: 1.6rem;
    }
}

@media (max-width: 600px) {
    .item-grid img,
    .item-grid video {
        height: 200px;
    }

    .paginacao-estrelas .estrela {
        font-size: 1.4rem;
    }
}

