/* Terms-specific rules only organize the approved legal-page system. */
.legal-terms-page .legal-toc {
    margin: 0 0 40px;
    padding: 22px 24px;
    border: 1px solid #e0e9e9;
    border-radius: 10px;
    background: #f9fbfb;
}

.legal-terms-page .legal-toc-title {
    margin: 0 0 12px;
    color: #334d58;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .07em;
    line-height: 1.3;
    text-transform: uppercase;
}

.legal-terms-page .legal-toc-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 40px;
}

.legal-terms-page .legal-toc-column {
    min-width: 0;
}

.legal-terms-page .legal-toc-item {
    display: flex;
    width: 100%;
    min-height: 38px;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #e9eeee;
    color: #354d58;
    font-size: 13.5px;
    font-weight: 720;
    line-height: 1.35;
    text-decoration: none;
    transition: color .16s ease, background .16s ease, transform .16s ease;
    word-break: normal;
    overflow-wrap: normal;
}

.legal-terms-page .legal-toc-item:first-child {
    padding-top: 0;
}

.legal-terms-page .legal-toc-number {
    width: 28px;
    flex: 0 0 28px;
    color: #df7018;
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.65;
}

.legal-terms-page .legal-toc-label {
    min-width: 0;
    flex: 1 1 auto;
    word-break: normal;
    overflow-wrap: normal;
}

.legal-terms-page .legal-toc-item:hover,
.legal-terms-page .legal-toc-item:focus-visible {
    color: #a84a06;
}

.legal-terms-page .legal-toc-item:focus-visible {
    outline: 3px solid rgba(245, 129, 23, .28);
    outline-offset: 3px;
    border-radius: 3px;
}

.legal-terms-page .legal-policy-content section + section {
    margin-top: 40px;
    padding-top: 40px;
}

.legal-terms-page .legal-policy-content p + p {
    margin-top: 18px;
}

.legal-terms-page .legal-policy-content h2 {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 38px;
    column-gap: 12px;
    align-items: flex-start;
    margin-bottom: 15px;
}

.legal-terms-page .legal-policy-content h2 .legal-term-number {
    grid-column: 1;
    color: #df7018;
    font-size: 14px;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
    letter-spacing: .03em;
    line-height: 1.2;
    padding-top: 1px;
}

.legal-terms-page .legal-policy-content h2 > span:last-child {
    grid-column: 2;
    min-width: 0;
}

.legal-terms-page .legal-policy-content h2::after {
    grid-column: 3;
    width: 38px;
    height: 3px;
    margin-top: 10px;
    margin-left: 0;
}

.legal-terms-page #contato a,
.legal-terms-page #suporte a {
    color: #a84a06;
    font-weight: 760;
}

.legal-terms-page #contato a:focus-visible,
.legal-terms-page #suporte a:focus-visible {
    outline: 3px solid rgba(245, 129, 23, .28);
    outline-offset: 3px;
    border-radius: 3px;
}

@media (max-width: 780px) {
    .legal-terms-page .legal-toc-columns {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .legal-terms-page .legal-toc-column + .legal-toc-column .legal-toc-item:first-child {
        padding-top: 8px;
    }
}

@media (max-width: 640px) {
    .legal-terms-page .legal-toc {
        margin-bottom: 30px;
        padding: 17px;
    }

    .legal-terms-page .legal-toc-item {
        min-height: 44px;
        padding: 10px 0 9px;
        font-size: 13.5px;
    }

    .legal-terms-page .legal-toc-item:first-child {
        padding-top: 1px;
    }

    .legal-terms-page .legal-toc-column + .legal-toc-column .legal-toc-item:first-child {
        padding-top: 10px;
    }

    .legal-terms-page .legal-policy-content section + section {
        margin-top: 32px;
        padding-top: 32px;
    }

    .legal-terms-page .legal-policy-content p {
        line-height: 1.78;
    }

    .legal-terms-page .legal-policy-content p + p {
        margin-top: 16px;
    }

    .legal-terms-page .legal-policy-content h2 {
        grid-template-columns: 27px minmax(0, 1fr) 26px;
        column-gap: 10px;
        margin-bottom: 15px;
    }

    .legal-terms-page .legal-policy-content h2 .legal-term-number {
        font-size: 13px;
        padding-top: 1px;
    }

    .legal-terms-page .legal-policy-content h2::after {
        width: 26px;
        margin-top: 9px;
    }
}
