/* Página de documento (info / política / promoção) */

.pg-doc {
    box-sizing: border-box;
    flex: 1;
    padding: clamp(20px, 3.5vw, 48px) clamp(16px, 3vw, 32px) clamp(48px, 7vw, 80px);
    color: var(--brand-900);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background:
        radial-gradient(120% 60% at 50% -10%, var(--brand-150) 0%, transparent 55%),
        linear-gradient(180deg, var(--brand-100) 0%, var(--brand-050) 28%, var(--brand-030) 100%);
}

.pg-doc *,
.pg-doc *::before,
.pg-doc *::after {
    box-sizing: border-box;
}

.pg-doc > section {
    display: flex;
    justify-content: center;
}

.pg-doc__card {
    width: 100%;
    max-width: 760px;
    background: var(--brand-000);
    border: 1px solid var(--brand-200);
    border-radius: var(--radius, 2px);
    padding: clamp(22px, 3.2vw, 40px) clamp(20px, 3vw, 40px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 12px 32px rgba(65, 49, 48, 0.06);
    position: relative;
    overflow: hidden;
}

.pg-doc__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-900), var(--brand-650), var(--brand-350));
}

.pg-doc__body {
    color: var(--muted, var(--brand-10000));
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
}

.pg-doc__kicker {
    display: inline-block;
    margin: 0 0 0.7em;
    padding: 0.2em 0.55em;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-750);
    background: var(--brand-100);
    border: 1px solid var(--brand-200);
    border-radius: var(--radius, 2px);
}

.pg-doc__body h1,
.pg-doc__body h2,
.pg-doc__body h3 {
    color: var(--brand-900);
    line-height: 1.3;
    margin: 0 0 0.45em;
    font-weight: 500;
}

.pg-doc__body h1 {
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    letter-spacing: 0;
    margin-bottom: 0.3em;
}

.pg-doc__body h1.is-centered {
    text-align: center;
}

.pg-doc__lead {
    margin: 0 0 1.25em;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--brand-700);
    max-width: 42em;
}

.pg-doc__body h1 + .pg-doc__lead,
.pg-doc__body h1 + p {
    margin-top: 0.3em;
}

.pg-doc__body h2 {
    font-size: 0.95rem;
    margin-top: 1.55em;
    padding-top: 1em;
    border-top: 1px solid var(--brand-150);
}

.pg-doc__body h2:first-of-type,
.pg-doc__callout + h2,
.pg-doc__lead + h2,
.pg-doc__highlight + h2 {
    margin-top: 1.15em;
}

.pg-doc__body h3 {
    font-size: 0.9rem;
    margin-top: 1.15em;
}

.pg-doc__body p {
    margin: 0.35em 0 0.85em;
    font-size: 0.875rem;
}

.pg-doc__body ul,
.pg-doc__body ol {
    margin: 0.55em 0 1.25em;
    padding-left: 1.15em;
}

.pg-doc__body ul {
    list-style: none;
    padding-left: 0;
}

.pg-doc__body ul > li {
    position: relative;
    padding-left: 1.15em;
}

.pg-doc__body ul > li::before {
    content: "";
    position: absolute;
    left: 0.15em;
    top: 0.62em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brand-550);
}

.pg-doc__body ul ul,
.pg-doc__body ol ol,
.pg-doc__body li > ul,
.pg-doc__body li > ol {
    margin: 0.4em 0 0.55em;
}

.pg-doc__body ol {
    padding-left: 1.35em;
}

.pg-doc__body ol > li::marker {
    color: var(--brand-650);
    font-weight: 500;
}

.pg-doc__body li {
    margin: 0.35em 0;
    font-size: 0.875rem;
}

.pg-doc__body strong {
    color: var(--brand-900);
    font-weight: 600;
}

.pg-doc__body a,
.pg-doc__body a:link,
.pg-doc__body a:visited {
    color: var(--brand-900);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: var(--brand-300);
    transition: text-decoration-color 0.15s ease, opacity 0.15s ease;
}

.pg-doc__body a:hover,
.pg-doc__body a:focus {
    text-decoration-color: var(--brand-1000);
    opacity: 1;
}

.pg-doc__callout,
.pg-doc__body .callout {
    background: linear-gradient(135deg, var(--brand-100) 0%, var(--brand-050) 100%);
    border: 1px solid var(--brand-250);
    border-left: 3px solid var(--brand-850);
    padding: 0.85em 0.95em;
    border-radius: var(--radius, 2px);
    margin: 1em 0 1.25em;
    color: var(--brand-900);
    font-size: 0.875rem;
}

.pg-doc__callout p {
    margin: 0;
}

.pg-doc__callout p + p {
    margin-top: 0.65em;
}

.pg-doc__highlight {
    display: grid;
    gap: 0.25em;
    margin: 0 0 1.25em;
    padding: 0.9em 1em;
    background: var(--brand-900);
    color: var(--brand-000);
    border-radius: var(--radius, 2px);
}

.pg-doc__highlight-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.72;
}

.pg-doc__highlight-value {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--brand-000);
}

.pg-doc__highlight-note {
    margin: 0.1em 0 0;
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
    color: var(--brand-200);
}

.pg-doc__rows {
    display: grid;
    gap: 0;
    margin: 0.4em 0 1.4em;
    border: 1px solid var(--brand-150);
    border-radius: var(--radius, 2px);
    overflow: hidden;
}

.pg-doc__row {
    display: grid;
    grid-template-columns: minmax(110px, 160px) 1fr;
    gap: 0.75em 1.1em;
    padding: 0.95em 1.05em;
    border-bottom: 1px solid var(--brand-150);
    background: var(--brand-000);
}

.pg-doc__row:nth-child(even) {
    background: var(--brand-020);
}

.pg-doc__row:last-child {
    border-bottom: none;
}

.pg-doc__row dt {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-750);
    line-height: 1.4;
}

.pg-doc__row dd {
    margin: 0;
    color: var(--brand-900);
    font-size: 0.875rem;
    font-weight: 400;
}

.pg-doc__links {
    margin: 1em 0 1.4em;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45em;
}

.pg-doc__links > li {
    margin: 0;
    padding: 0;
}

.pg-doc__links > li::before {
    display: none;
}

.pg-doc__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75em;
    padding: 0.7em 0.85em;
    background: var(--brand-030);
    border: 1px solid var(--brand-150);
    border-radius: var(--radius, 2px);
    text-decoration: none !important;
    color: var(--brand-900);
    font-size: 0.875rem;
    font-weight: 400;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.pg-doc__links a::after {
    content: "→";
    color: var(--brand-550);
    transition: transform 0.15s ease, color 0.15s ease;
}

.pg-doc__links a:hover,
.pg-doc__links a:focus {
    background: var(--brand-100);
    border-color: var(--brand-250);
    opacity: 1;
}

.pg-doc__links a:hover::after,
.pg-doc__links a:focus::after {
    transform: translateX(3px);
    color: var(--brand-900);
}

.pg-doc__faq {
    margin: 0.5em 0 1.2em;
    border-top: 1px solid var(--brand-150);
}

.pg-doc__faq details {
    border-bottom: 1px solid var(--brand-150);
}

.pg-doc__faq summary {
    list-style: none;
    cursor: pointer;
    padding: 0.85em 1.6em 0.85em 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand-900);
    position: relative;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.pg-doc__faq summary::-webkit-details-marker {
    display: none;
}

.pg-doc__faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.4em;
    height: 1.4em;
    display: grid;
    place-items: center;
    font-size: 1rem;
    font-weight: 400;
    color: var(--brand-650);
    line-height: 1;
}

.pg-doc__faq details[open] summary::after {
    content: "−";
}

.pg-doc__faq summary:hover,
.pg-doc__faq summary:focus {
    color: var(--brand-850);
    outline: none;
}

.pg-doc__faq details > *:not(summary) {
    padding: 0 0 1.05em;
}

.pg-doc__faq details p,
.pg-doc__faq details ul,
.pg-doc__faq details ol {
    margin-top: 0;
}

.pg-doc__footnote,
.pg-doc__body .footnote {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--brand-600);
    border-top: 1px solid var(--brand-150);
    padding-top: 0.9em;
    margin-top: 1.75em;
}

.pg-doc__btn,
.pg-doc__body a.pg-doc__btn,
.pg-doc__body a.botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    margin-top: 0.35em;
    padding: 0.7em 1em;
    border-radius: var(--radius, 2px);
    border: 1px solid var(--brand-1000);
    background: var(--brand-900);
    color: var(--brand-000) !important;
    text-decoration: none !important;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.01em;
    transition: transform 0.08s ease, box-shadow 0.2s ease, background 0.15s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(65, 49, 48, 0.12);
}

.pg-doc__btn:hover,
.pg-doc__btn:focus,
.pg-doc__body a.pg-doc__btn:hover,
.pg-doc__body a.pg-doc__btn:focus,
.pg-doc__body a.botao:hover,
.pg-doc__body a.botao:focus {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(65, 49, 48, 0.16);
    background: var(--brand-850);
    border-color: var(--brand-850);
    outline: none;
    opacity: 1;
}

.pg-doc__actions {
    margin-top: 1.25em;
}

@media (max-width: 560px) {
    .pg-doc__row {
        grid-template-columns: 1fr;
        gap: 0.3em;
    }

    .pg-doc__card {
        padding: 20px 18px 24px;
    }
}
