/* ══════════════════════════════════════════════════════════════
   VORUTO TERMS PAGE
   ══════════════════════════════════════════════════════════════ */

body.page-template-page-termos {
    background: #f8fafc;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #0F172A;
}

/* ── HEADER ────────────────────────────────────────────────── */
.tc-header {
    background: #080318;
    padding: 56px 24px 48px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.tc-header-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.tc-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c4b5fd;
    margin-bottom: 12px;
}
.tc-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    margin: 0 0 12px;
}
.tc-meta {
    font-size: 13px;
    color: rgba(255,255,255,.5);
    margin: 0;
}
.tc-meta strong { color: rgba(255,255,255,.8); }

/* ── LAYOUT ────────────────────────────────────────────────── */
.tc-wrap {
    min-height: 100vh;
}
.tc-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 100px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
}

/* ── SIDEBAR ───────────────────────────────────────────────── */
.tc-sidebar {
    position: sticky;
    top: 80px;
}
.tc-toc-box {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    border: 1px solid #e2e8f0;
}
.tc-toc-title {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 14px;
}
.tc-toc {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.tc-toc a {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 7px;
    transition: .15s;
    border-left: 2px solid transparent;
}
.tc-toc a:hover {
    color: #7C3AED;
    background: #f5f3ff;
}
.tc-toc a.tc-toc-active {
    color: #7C3AED;
    background: #f5f3ff;
    border-left-color: #7C3AED;
    font-weight: 700;
}

/* ── BODY ──────────────────────────────────────────────────── */
.tc-body {
    background: #fff;
    border-radius: 16px;
    padding: 48px 52px;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    border: 1px solid #e2e8f0;
}

.tc-intro {
    padding-bottom: 32px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 40px;
}
.tc-intro p {
    font-size: 14.5px;
    line-height: 1.75;
    color: #475569;
    margin: 0 0 14px;
}
.tc-intro p:last-child { margin: 0; }

/* ── SECTIONS ──────────────────────────────────────────────── */
.tc-section {
    padding-bottom: 40px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 40px;
}
.tc-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.tc-section h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0F172A;
    letter-spacing: -.3px;
    margin: 0 0 16px;
    padding-top: 8px;
}
.tc-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #334155;
    margin: 24px 0 10px;
}
.tc-section p {
    font-size: 14px;
    line-height: 1.8;
    color: #475569;
    margin: 0 0 14px;
}
.tc-section p:last-child { margin: 0; }
.tc-section ul,
.tc-section ol {
    margin: 0 0 16px;
    padding-left: 20px;
}
.tc-section li {
    font-size: 14px;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 6px;
}
.tc-section a {
    color: #7C3AED;
    text-underline-offset: 3px;
}

/* ── CALLOUT ───────────────────────────────────────────────── */
.tc-callout {
    background: #f5f3ff;
    border-left: 3px solid #7C3AED;
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    font-size: 13px;
    line-height: 1.65;
    color: #4c1d95;
    margin: 20px 0 0;
}
.tc-callout strong { color: #3b0764; }

/* ── PLANS GRID ────────────────────────────────────────────── */
.tc-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0 20px;
}
.tc-plan-card {
    border: 1.5px solid #e2e8f0;
    border-top: 3px solid var(--pc, #6366f1);
    border-radius: 12px;
    padding: 18px;
}
.tc-plan-head {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}
.tc-plan-jp {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pc, #6366f1);
}
.tc-plan-name {
    font-size: 14px;
    font-weight: 800;
    color: #0F172A;
}
.tc-plan-card ul {
    font-size: 12.5px;
    color: #475569;
    margin: 0 0 12px;
    padding-left: 16px;
}
.tc-plan-card li { margin-bottom: 4px; }
.tc-plan-obs {
    font-size: 11.5px;
    color: #94a3b8;
    font-style: italic;
    margin: 0;
    line-height: 1.5;
}

/* ── TABLES ────────────────────────────────────────────────── */
.tc-table-wrap {
    overflow-x: auto;
    margin: 16px 0;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}
.tc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.tc-table thead {
    background: #f8fafc;
}
.tc-table th {
    padding: 10px 14px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
}
.tc-table td {
    padding: 10px 14px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
    line-height: 1.5;
}
.tc-table tr:last-child td { border-bottom: none; }
.tc-table tr:nth-child(even) td { background: #fafafa; }

.tc-positive { color: #059669; font-weight: 600; }
.tc-negative { color: #dc2626; font-weight: 600; }

/* Commission table highlights */
.tc-table-commission .tc-comm-default td {
    background: #fef9ec;
    color: #92400e;
}
.tc-table-commission .tc-comm-best td {
    background: #f0fdf4;
    color: #14532d;
    font-weight: 700;
}

/* ── CONTACT BOX ───────────────────────────────────────────── */
.tc-contact-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 24px;
}
.tc-contact-box strong {
    display: block;
    font-size: 14px;
    color: #0F172A;
    margin-bottom: 6px;
}
.tc-contact-box p {
    font-size: 13px;
    margin: 0 0 8px;
}
.tc-contact-box ul {
    margin: 0;
    padding-left: 16px;
    font-size: 13px;
}
.tc-contact-box a { color: #7C3AED; }

/* ── GRADING ───────────────────────────────────────────────── */
.tc-grading-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.tc-grade-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    background: #fafafa;
    transition: .15s;
}
.tc-grade-item:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.tc-grade-badge {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .5px;
}

.tc-grade-m  { background: #e0f2fe; color: #0369a1; }
.tc-grade-nm { background: #dcfce7; color: #15803d; }
.tc-grade-sp { background: #fef9c3; color: #a16207; }
.tc-grade-mp { background: #ffedd5; color: #c2410c; }
.tc-grade-hp { background: #fee2e2; color: #b91c1c; }
.tc-grade-dm { background: #f1f5f9; color: #475569; }

.tc-grade-content { flex: 1; }

.tc-grade-name {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}
.tc-grade-abbr {
    font-weight: 500;
    color: #64748b;
}
.tc-grade-content p {
    font-size: 13px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* ── RULE BLOCKS (Conduta / Marketplace) ───────────────────── */
.tc-rule-block {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    margin: 24px 0;
}

.tc-rule-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.tc-rule-header--conduct  { border-left: 4px solid #7C3AED; }
.tc-rule-header--products { border-left: 4px solid #0ea5e9; }
.tc-rule-header--offplatform { border-left: 4px solid #f59e0b; }

.tc-rule-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .5px;
    background: #0F172A;
    color: #fff;
}

.tc-rule-title {
    font-size: 15px;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.3;
}

.tc-rule-sub {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.tc-rule-body {
    padding: 20px 22px;
}

.tc-rule-body > p {
    font-size: 14px;
    line-height: 1.75;
    color: #475569;
    margin: 0 0 16px;
}

.tc-rule-sub-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 16px 0 8px;
}

.tc-rule-list {
    margin: 0 0 16px;
    padding-left: 18px;
}

.tc-rule-list > li {
    font-size: 13.5px;
    line-height: 1.75;
    color: #334155;
    margin-bottom: 10px;
}

.tc-rule-list > li strong {
    color: #0F172A;
}

.tc-rule-sublist {
    margin: 8px 0 0;
    padding-left: 16px;
}

.tc-rule-sublist li {
    font-size: 13px;
    color: #475569;
    margin-bottom: 4px;
}

.tc-rule-consequence {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    line-height: 1.65;
    color: #7f1d1d;
    margin-top: 16px;
}

.tc-rule-consequence-label {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 5px;
    padding: 2px 7px;
    margin-right: 8px;
    vertical-align: middle;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 960px) {
    .tc-layout {
        grid-template-columns: 1fr;
    }
    .tc-sidebar {
        position: static;
    }
    .tc-toc {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
    }
    .tc-toc a {
        border-left: none;
        border: 1px solid #e2e8f0;
        padding: 4px 10px;
    }
    .tc-toc a.tc-toc-active {
        border-color: #7C3AED;
        background: #f5f3ff;
    }
    .tc-body {
        padding: 28px 24px;
    }
    .tc-plan-grid {
        grid-template-columns: 1fr;
    }
}
