/* ── Templo Kundalini — Serviços Grid ────────────────── */

.tk-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    width: 100%;
    max-width: 100%;
}

.tk-cols-1 { grid-template-columns: 1fr; }
.tk-cols-3 { grid-template-columns: repeat(3, 1fr); }

/* ── Card ────────────────────────────────────────────── */
.tk-card {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    cursor: pointer;
}

/* dark overlay base */
.tk-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.52);
    transition: background .4s ease;
    z-index: 1;
}

.tk-card:hover::before,
.tk-card.tk-active::before {
    background: rgba(0,0,0,.72);
}

/* ── Default state (título + seta + sub) ─────────────── */
.tk-card__default,
.tk-card__hover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 32px;
    text-align: center;
    transition: opacity .35s ease, transform .35s ease;
}

.tk-card__hover {
    opacity: 0;
    transform: translateY(12px);
    justify-content: space-between;
    padding: 28px 32px 24px;
    overflow: hidden;
}

.tk-card__hover-body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding-bottom: 12px;
    scrollbar-width: none;
}
.tk-card__hover-body::-webkit-scrollbar { display: none; }

.tk-card__hover-footer {
    flex-shrink: 0;
    padding-top: 8px;
}

.tk-card:hover .tk-card__default,
.tk-card.tk-active .tk-card__default {
    opacity: 0;
    transform: translateY(-12px);
}

.tk-card:hover .tk-card__hover,
.tk-card.tk-active .tk-card__hover {
    opacity: 1;
    transform: translateY(0);
}

/* ── Tipografia ──────────────────────────────────────── */
.tk-card__titulo {
    font-family: inherit;
    font-size: clamp(13px, 1.4vw, 18px);
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.tk-card__arrow {
    display: block;
    font-size: 18px;
    color: #fff;
    margin: 6px 0 14px;
    opacity: .8;
}

.tk-card__sub {
    font-size: clamp(11px, 1vw, 13px);
    color: rgba(255,255,255,.75);
    letter-spacing: .06em;
    margin: 0;
    font-style: italic;
}

.tk-card__desc {
    font-size: clamp(11px, 0.95vw, 13px);
    color: rgba(255,255,255,.85);
    line-height: 1.55;
    margin: 0 0 16px 0;
    max-width: 340px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Botão Agendar ───────────────────────────────────── */
.tk-card__btn {
    display: inline-block;
    padding: 13px 32px;
    background: #e8d5c4;
    border: none;
    border-radius: 14px;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .06em;
    text-decoration: none;
    transition: background .25s, transform .2s;
    white-space: nowrap;
}

.tk-card__btn:hover {
    background: #dfc5af;
    transform: scale(1.03);
    color: #1a1a1a;
    text-decoration: none;
}

/* ── Mobile ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .tk-grid {
        grid-template-columns: 1fr !important;
    }
    .tk-card {
        aspect-ratio: unset !important;
        min-height: 320px;
    }
    .tk-card__titulo {
        font-size: 15px !important;
        letter-spacing: .08em !important;
    }
    .tk-card__sub {
        font-size: 12px !important;
    }
    .tk-card__desc {
        font-size: 12px !important;
        -webkit-line-clamp: 3;
    }
    .tk-card__default,
    .tk-card__hover {
        padding: 20px 24px !important;
    }
    .tk-card__btn {
        padding: 11px 28px !important;
        font-size: 12px !important;
    }
}
