/* ═══════════════════════════════════════════════
   LEGAL PAGES  —  .pf-legal-*
   perfilferros.ind.br
   ═══════════════════════════════════════════════ */

/* ─── Hero ──────────────────────────────────── */
.pf-legal-hero {
    background: linear-gradient(135deg, #003352 0%, #0057A6 100%);
    padding: 48px 0 40px;
}

.pf-legal-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.pf-legal-hero__eyebrow {
    font-family: 'Prompt', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #00A3E0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 8px;
}

.pf-legal-hero__title {
    font-family: 'Prompt', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.pf-legal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    font-family: 'Prompt', sans-serif;
}

.pf-legal-breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.15s;
}

.pf-legal-breadcrumb a:hover {
    color: #fff;
}

/* ─── Layout wrapper ─────────────────────────── */
.pf-legal-outer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 88px;
    display: grid;
    grid-template-columns: 256px minmax(0, 1fr);
    gap: 52px;
    align-items: start;
    font-family: 'Prompt', sans-serif;
}

/* ─── Sidebar ────────────────────────────────── */
.pf-legal-sidebar {
    position: sticky;
    top: 24px;
    background: #f6f9fc;
    border-radius: 8px;
    border: 1px solid #dde7f0;
    overflow: hidden;
}

.pf-legal-sidebar__heading {
    background: linear-gradient(135deg, #003352 0%, #0057A6 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 14px 20px;
    margin: 0;
}

.pf-legal-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.pf-legal-sidebar__list li {
    border-bottom: 1px solid #e4edf4;
}

.pf-legal-sidebar__list li:last-child {
    border-bottom: 0;
}

.pf-legal-sidebar__list a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: #3a5268;
    text-decoration: none;
    line-height: 1.4;
    transition: background 0.15s, color 0.15s;
}

.pf-legal-sidebar__list a:hover {
    background: #eaf1fb;
    color: #0057A6;
}

.pf-legal-sidebar__list a.pf-legal-active {
    background: #fff;
    color: #0057A6;
    font-weight: 600;
    border-left: 3px solid #00A3E0;
    padding-left: 17px;
}

/* ─── Main Content ───────────────────────────── */
.pf-legal-main {
    min-width: 0;
}

.pf-legal-updated {
    font-size: 13px;
    color: #8fa3b5;
    margin: 0 0 22px;
}

.pf-legal-intro {
    font-size: 15.5px;
    line-height: 1.78;
    color: #3a5268;
    background: #f6f9fc;
    border-left: 4px solid #00A3E0;
    padding: 18px 22px;
    margin-bottom: 32px;
    border-radius: 0 6px 6px 0;
}

.pf-legal-section {
    border-bottom: 1px solid #e5edf4;
    padding: 28px 0;
}

.pf-legal-section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.pf-legal-section > h2 {
    font-size: 18px;
    font-weight: 600;
    color: #003352;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5edf4;
}

.pf-legal-section > h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1a3d5c;
    margin: 22px 0 10px;
}

.pf-legal-section p {
    margin: 0 0 12px;
    line-height: 1.78;
    color: #405a70;
    font-size: 14.5px;
}

.pf-legal-section p:last-child {
    margin-bottom: 0;
}

.pf-legal-section ul,
.pf-legal-section ol {
    margin: 8px 0 14px;
    padding-left: 22px;
    color: #405a70;
    font-size: 14.5px;
    line-height: 1.78;
}

.pf-legal-section li {
    margin-bottom: 5px;
}

.pf-legal-section table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 14px 0;
    border-radius: 6px;
    overflow: hidden;
}

.pf-legal-section table th {
    background: #003352;
    color: #fff;
    padding: 10px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
}

.pf-legal-section table td {
    padding: 9px 16px;
    border-bottom: 1px solid #e5edf4;
    color: #405a70;
}

.pf-legal-section table tr:nth-child(even) td {
    background: #f6f9fc;
}

.pf-legal-section table td:last-child {
    text-align: right;
}

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 900px) {
    .pf-legal-outer {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        padding: 32px 20px 64px;
    }

    .pf-legal-sidebar {
        position: static;
    }

    .pf-legal-hero__title {
        font-size: 24px;
    }

    .pf-legal-hero__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 479px) {
    .pf-legal-outer {
        padding: 24px 14px 48px;
    }

    .pf-legal-hero {
        padding: 32px 0 28px;
    }
}
