/* Secção de Serviços */
.services-section {
    background-color: #f8fafc;
    padding: 100px 20px;
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Cabeçalho da Secção */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    color: #0288d1;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    color: #0f172a;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Grelha */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Cartões */
.service-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Imagem do Cartão */
.service-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

/* Conteúdo */
.service-card-content {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Título e Ícone */
.service-title-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.service-icon-box {
    width: 44px;
    height: 44px;
    background-color: #e0f2fe;
    color: #0288d1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.service-title-wrap h3 {
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Descrição */
.service-text {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 22px;
}

/* Lista de Benefícios */
.service-features {
    list-style: none;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    color: #475569;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: #0288d1;
    font-size: 0.85rem;
}

/* Rodapé do Cartão */
.service-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid #f8fafc;
}

.link-more {
    color: #0288d1;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: color 0.2s;
}

.link-more:hover {
    color: #0277bd;
    text-decoration: underline;
}

.link-quote {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
}

.link-quote:hover {
    color: #0f172a;
}

/* =======================================
   RESPONSIVIDADE DOS SERVIÇOS
======================================= */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 1.85rem;
    }
    .services-section {
        padding: 60px 15px;
    }
}