/* ===========================
   JN ADVOCACIA PAGE
=========================== */

.page-template-page-jn-advocacia .site-header {
    background: #010e1a;
}

.page-template-page-jn-advocacia .site-footer {
    background: #010e1a;
}

.page-template-page-jn-advocacia .cta-card {
    background: linear-gradient(to right, #071018 0%, rgba(7, 16, 24, .5) 35%, transparent 65%);
}

.jna-gold {
    color: var(--jna-gold);
}

.jna-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--jna-gold);
    margin-bottom: 12px;
}

/* ── HERO ── */
.jna-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.jna-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(1, 14, 26, .93) 55%, rgba(1, 14, 26, .55) 100%);
}

.jna-hero__content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    padding-top: 80px;
}

.jna-hero__logo {
    margin-bottom: 40px;
}

.jna-hero__logo img {
    height: 90px;
    width: auto;
}

.jna-hero__title {
    font-family: var(--font-title);
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -.3px;
}

.jna-hero__divider {
    width: 56px;
    height: 3px;
    background: var(--jna-gold);
    margin-bottom: 24px;
    border-radius: 2px;
}

.jna-hero__desc {
    font-size: .97rem;
    color: rgba(255, 255, 255, .68);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
}

.jna-hero__btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── BOTÕES ── */
.jna-btn-primary {
    background: var(--jna-gold);
    color: #fff;
    border: 2px solid var(--jna-gold);
}

.jna-btn-primary:hover {
    background: var(--jna-gold-lt);
    border-color: var(--jna-gold-lt);
    color: #fff;
}


/* ── SOBRE ── */
.jna-sobre {
    padding: 96px 0;
    background: var(--white);
}

.jna-sobre__inner {
    display: grid;
    grid-template-columns: 55% 1fr;
    gap: 60px;
    align-items: start;
}

.jna-sobre__text h2 {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 24px;
}

.jna-sobre__text p {
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 14px;
    font-size: .97rem;
}

.jna-sobre__img img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .14);
}

/* ── ÁREAS ── */
.jna-areas {
    padding: 96px 0;
    background: var(--gray-lt);
}

.jna-areas__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.jna-area-card {
    background: var(--white);
    padding: 24px 14px;
    border-radius: 12px;
    text-align: center;
    border-top: 3px solid transparent;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    transform-style: preserve-3d;
    transition: box-shadow .3s, border-color .3s;
}

.jna-area-card:hover {
    box-shadow: 0 24px 48px rgba(0, 0, 0, .16);
    border-top-color: var(--jna-gold);
}

.jna-area-card__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
}

.jna-area-card__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    will-change: transform;
}

.jna-area-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.jna-area-card p {
    font-size: .875rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ── DIFERENCIAIS ── */
.jna-diferenciais {
    padding: 80px 0;
    background: var(--jna-dark);
}

.jna-diferenciais .section-header h2 {
    color: var(--white);
}

.jna-diferenciais__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.jna-dif-card {
    text-align: center;
    padding: 24px 20px;
    border-right: 1px solid rgba(255, 255, 255, .18);
}

.jna-dif-card:last-child {
    border-right: none;
}

.jna-dif-card__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jna-dif-card__icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(72%) sepia(38%) saturate(540%) hue-rotate(1deg) brightness(98%) contrast(92%);
}

.jna-dif-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.jna-dif-card p {
    font-size: .875rem;
    color: rgba(255, 255, 255, .62);
    line-height: 1.65;
}

/* ── PROCESSO ── */
.jna-processo {
    padding: 96px 0;
    background: var(--white);
}

.jna-processo__steps {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.jna-step {
    flex: 1;
    text-align: center;
    padding: 0 12px;
}

.jna-step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--jna-gold);
    color: #fff;
    border-radius: 50%;
    font-size: .9rem;
    font-weight: 700;
    font-family: var(--font-title);
    margin: 0 auto 16px;
}

.jna-step__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jna-step__icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(12%) sepia(60%) saturate(900%) hue-rotate(195deg) brightness(90%) contrast(95%);
}

.jna-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.jna-step p {
    font-size: .875rem;
    color: var(--gray);
    line-height: 1.6;
}

.jna-step__arrow {
    font-size: 1.8rem;
    color: var(--jna-gold);
    padding-top: 16px;
    flex-shrink: 0;
    opacity: .65;
}


/* ── CTA ── */
.jna-cta {
    display: flex;
    min-height: 420px;
    overflow: hidden;
}

.jna-cta__left {
    flex: 0 0 50%;
    background: var(--jna-dark);
    padding: 80px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.jna-cta__left h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 16px;
}

.jna-cta__left p {
    color: rgba(255, 255, 255, .78);
    margin-bottom: 36px;
    font-size: 1.02rem;
    line-height: 1.7;
}

.jna-cta__btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.jna-cta__right {
    flex: 1;
    position: relative;
    overflow: hidden;
}

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

.jna-cta__right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--jna-dark) 0%, rgba(1, 14, 26, .5) 35%, transparent 65%);
    z-index: 1;
    pointer-events: none;
}

/* ── RESPONSIVO ── */
@media (max-width: 1200px) {
    .jna-areas__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .jna-diferenciais__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jna-dif-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .18);
    }

    .jna-dif-card:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, .18);
    }

    .jna-dif-card:last-child,
    .jna-dif-card:nth-last-child(2):nth-child(odd) {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .jna-hero {
        min-height: 75vh;
    }

    .jna-hero__overlay {
        background: rgba(1, 14, 26, .88);
    }

    .jna-hero__btns {
        flex-direction: column;
    }

    .jna-cta {
        flex-direction: column;
        min-height: unset;
    }

    .jna-cta__left {
        flex: none;
        width: 100%;
        padding: 64px 28px;
    }

    .jna-cta__right {
        display: none;
    }

    .jna-sobre__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .jna-sobre__img {
        order: -1;
    }

    .jna-areas__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jna-diferenciais__grid {
        grid-template-columns: 1fr;
    }

    .jna-dif-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .18);
        padding: 28px 24px;
    }

    .jna-dif-card:last-child {
        border-bottom: none;
    }

    .jna-processo__steps {
        flex-direction: column;
        align-items: center;
    }

    .jna-step {
        width: 100%;
        max-width: 360px;
    }

    .jna-step__arrow {
        transform: rotate(90deg);
        padding: 0;
    }

    .jna-cta__btns {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .jna-areas__grid {
        grid-template-columns: 1fr;
    }

    .jna-diferenciais__grid {
        grid-template-columns: 1fr;
    }
}
