/* Secção */
.services-grid{
    width: min(1200px, 92vw);
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4rem) 0;
    text-align: center;
}

/* Título da secção (Playfair) */
.services-title{
    font-family: "Playfair", serif;
    font-style: italic;
    font-weight: 700;
    color: #A27AA0;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 .6rem;
    text-align: center;
}

/* Grelha */
.services-wrap{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 2.4vw, 2rem);
    padding-top: 5.5rem;
}
@media (max-width: 1100px){ .services-wrap{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){  .services-wrap{ grid-template-columns: 1fr; }
    .svc-card {
        margin-top: 61px;
    }
}

/* Cartão */
/* Cartão */
.svc-card {
    --accent: #DC98BE;
    background: #fff;
    border: 2px solid color-mix(in oklab, var(--accent) 40%, #ffffff);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    padding: clamp(1rem, 2.5vw, 1.5rem);
    position: relative;

    /* NOVO → layout vertical */
    display: flex;
    flex-direction: column;
    justify-content: space-between;


    /* Avatar redondo “a sair” do cartão */

    .svc-avatar {
        width: 170px;
        height: 170px;
        border-radius: 999px;
        overflow: hidden;
        margin: -85px auto 0;
        box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
    }

    .svc-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Conteúdo central */

    .svc-title {
        font-family: "Raleway", sans-serif;
        font-weight: 700;
        letter-spacing: .22em;
        text-transform: uppercase;
        color: #6d566f;
        font-size: clamp(1rem, 1.1vw, 1.125rem);
        margin: .9rem 0 0.6rem;
        flex-shrink: 0;
    }

    .svc-desc {
        font-family: "Raleway", sans-serif;
        font-size: 1rem;
        line-height: 1.7;
        color: #3b3b3b;
        margin: .25rem auto 1.25rem;
        max-width: 42ch;
        flex-grow: 1; /* ← ocupa o espaço entre o título e o botão */
    }

    /* Link “ver mais” sempre no fundo */

    .svc-link {
        align-self: center;
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        font-weight: 700;
        text-decoration: none;
        color: color-mix(in oklab, var(--accent) 95%, #0000);
        padding: .7rem 1.2rem;
        border-radius: 999px;
        transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
        margin-top: auto; /* ← empurra o botão para o fundo */
        text-transform: uppercase;
    }

    .svc-link:hover {
        transform: translateY(-2px);
        background: var(--accent);
        color: #fff;
        border-color: var(--accent);
    }
}

@media (min-width: 768px){
    .svc-card{
        margin-bottom: 71px; !important;
    }
}

