/* aba services */
.cartorio-links-section {
    width: 100%;
    padding: 30px 0;
}

.cartorio-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.cartorio-link-card {
    position: relative;
    min-height: 330px;
    padding: 34px 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, var(--theme-color-white) 0%, var(--theme-bg-color1) 100%);
    border: 1px solid rgba(0, 4, 40, 0.08);
    box-shadow: 0 18px 45px rgba(0, 4, 40, 0.10);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cartorio-link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 65px rgba(0, 4, 40, 0.16);
}

.cartorio-link-card:hover::before {
    opacity: 1;
}

.cartorio-link-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--theme-color1), var(--theme-color2));
    color: var(--theme-color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 26px;
    box-shadow: 0 16px 35px rgba(0, 15, 155, 0.25);
    position: relative;
    z-index: 2;
}

.cartorio-link-card h3 {
    position: relative;
    z-index: 2;
    font-size: 1.55rem;
    line-height: 1.18;
    font-weight: 800;
    color: var(--theme-color1);
    margin: 0 0 16px;
    text-transform: uppercase;
}

.cartorio-link-card p {
    position: relative;
    z-index: 2;
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-color);
    margin: 0 0 24px;
}

.cartorio-link-card button {
    position: relative;
    z-index: 2;
    width: fit-content;
    min-height: 44px;
    padding: 0 20px;
    border: none;
    border-radius: 12px;
    background: var(--theme-color1);
    color: var(--theme-color-white);
    font-weight: 800;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cartorio-link-card button:hover {
    background: var(--theme-color2);
    transform: translateY(-3px);
}

/* RESPONSIVO */
@media (max-width: 991px) {
    .cartorio-links-grid {
        grid-template-columns: 1fr;
    }

    .cartorio-link-card {
        min-height: auto;
    }
}

/* aba services */

/* servicos online */
.cartorio-servicos-grid {
    row-gap: 28px;
}

.cartorio-service-card {
    min-height: 260px;
    background: var(--theme-color-white);
    border-radius: 24px;
    padding: 35px 28px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .08);
    border: 1px solid rgba(0, 0, 0, .05);
    transition: all .35s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cartorio-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .12);
}

.cartorio-service-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--theme-color20, var(--theme-color1)), var(--theme-color20, var(--theme-color1)));
    color: var(--theme-color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 14px 35px rgba(46, 0, 57, .25);
}

.cartorio-service-card h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--theme-color4);
    margin-bottom: 14px;
    line-height: 1.25;
}

.cartorio-service-card p {
    font-size: .97rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

@media(max-width:991px) {
    .cartorio-service-card {
        min-height: 240px;
    }
}

@media(max-width:767px) {
    .cartorio-service-card {
        min-height: auto;
    }
}

/* =========================================================
   CATEGORIA - ATENDIMENTO ONLINE
========================================================= */
.cartorio-links-category {
    text-align: left;
}

.cartorio-category-badge {
    display: inline-flex;
    align-items: left;
    gap: 10px;
    padding: 10px 18px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(37, 106, 235, 0.1);
    border: 1px solid rgba(37, 40, 235, 0.18);
    color: #2574eb;
    font-size: 14px;
    font-weight: 700;
}

/* =========================================================
   BARRA DE PESQUISA - SERVIÇOS
========================================================= */
.dc-service-search-box {
    margin: 10px auto 55px;
    padding: 36px 40px;
    max-width: 1320px;
    text-align: center;
    background: rgba(255, 255, 255, 0.72);
    border: 2px solid rgba(46, 88, 255, 0.28);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(15, 42, 85, 0.08);
}

.dc-service-search-input {
    position: relative;
    max-width: 1180px;
    margin: 0 auto 18px;
}

.dc-service-search-input i {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #2e58ff;
    font-size: 18px;
}

.dc-service-search-input input {
    width: 100%;
    height: 58px;
    padding: 0 26px 0 58px;
    border: 2px solid rgba(46, 88, 255, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: #07142e;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 14px 35px rgba(46, 88, 255, 0.12);
    outline: none;
    transition: all .3s ease;
}

.dc-service-search-input input::placeholder {
    color: #98a4b8;
    font-weight: 600;
}

.dc-service-search-input input:focus {
    border-color: rgba(46, 88, 255, 0.55);
    box-shadow: 0 18px 45px rgba(46, 88, 255, 0.18);
}

.dc-service-search-box p {
    margin: 0;
    color: #75829a;
    font-size: 15px;
    font-weight: 500;
}

/* RESPONSIVO */
@media (max-width: 767px) {
    .dc-service-search-box {
        padding: 26px 18px;
        border-radius: 22px;
    }

    .dc-service-search-input input {
        height: 56px;
        font-size: 15px;
        padding-left: 52px;
    }
}

/* servicos online */