:root {
    --gold: #F7C026;
    --gold-dark: #D4A017;
    --gold-soft: #FFF4D6;
    --ink: #1A1A1A;
}

/* Logo preto → amarelo Gold (#F7C026) em fundos escuros — padrão praiadacosta */
.logo-gold-filter {
    filter: invert(86%) sepia(21%) saturate(2251%) hue-rotate(345deg) brightness(101%) contrast(94%);
}

html { scroll-behavior: smooth; }

.auth-bg {
    background:
        radial-gradient(circle at top right, rgba(247, 192, 38, 0.18), transparent 35%),
        linear-gradient(160deg, #111 0%, #1f1f1f 45%, #2a2418 100%);
}

/* —— Login premium —— */
.auth-login-body {
    background: #0c0c0c;
    color: #1a1a1a;
    min-height: 100vh;
}

.auth-login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
}

.auth-login-page__hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: clamp(2rem, 5vw, 4.5rem);
    color: #fff;
}

.auth-login-page__hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(145deg, rgba(247, 192, 38, 0.12) 0%, transparent 42%),
        linear-gradient(220deg, #161616 0%, #0a0a0a 55%, #1a1508 100%);
}

.auth-login-page__hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at 30% 20%, black, transparent 75%);
}

.auth-login-page__hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.auth-login-page__hero-glow--1 {
    width: 420px;
    height: 420px;
    top: -80px;
    right: -60px;
    background: rgba(247, 192, 38, 0.22);
}
.auth-login-page__hero-glow--2 {
    width: 320px;
    height: 320px;
    bottom: 10%;
    left: -80px;
    background: rgba(247, 192, 38, 0.08);
}

.auth-login-page__hero-content {
    position: relative;
    z-index: 1;
    max-width: 34rem;
    animation: authFadeUp .7s ease both;
}

.auth-login-page__hero-logo {
    height: 3.25rem;
    width: auto;
    margin-bottom: 1.75rem;
    object-fit: contain;
}

.auth-login-page__hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(247, 192, 38, 0.95);
    margin-bottom: 1.25rem;
}
.auth-login-page__hero-tag::before {
    content: '';
    width: 2rem;
    height: 2px;
    background: var(--gold);
}

.auth-login-page__hero-title {
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.auth-login-page__hero-title span { display: block; white-space: nowrap; }

.auth-login-page__hero-text {
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 2.5rem;
}

.auth-login-page__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}
.auth-login-page__features li {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}
.auth-login-page__feature-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1;
    font-size: 0.68rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
    color: var(--ink);
    background: linear-gradient(135deg, var(--gold) 0%, #ffe082 100%);
}
.auth-login-page__features strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}
.auth-login-page__features li > div > span {
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.45;
}

.auth-login-page__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    background:
        radial-gradient(circle at top, rgba(247, 192, 38, 0.08), transparent 40%),
        #f4f5f7;
}

.auth-login-page__panel-inner {
    width: min(100%, 28rem);
    animation: authFadeUp .7s .12s ease both;
}

.auth-login-page__mobile-brand {
    display: none;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6b7280;
}

.auth-login-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 1.75rem;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    backdrop-filter: blur(16px);
}

.auth-login-form__eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}

.auth-login-form__title {
    font-size: clamp(1.65rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 0.65rem;
}

.auth-login-form__lead {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 1.75rem;
}

.auth-field { margin-bottom: 1.1rem; }

.auth-field__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.45rem;
}

.auth-field__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.45rem;
}

.auth-field__link {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold-dark);
    text-decoration: none;
}
.auth-field__link:hover { text-decoration: underline; }

.auth-field__control {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-field__icon {
    position: absolute;
    left: 1rem;
    width: 1.15rem;
    height: 1.15rem;
    color: #94a3b8;
    pointer-events: none;
}
.auth-field__icon svg { width: 100%; height: 100%; }

.auth-field__input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 0.95rem 1rem 0.95rem 2.85rem;
    font-size: 0.95rem;
    background: #fff;
    transition: border-color .2s, box-shadow .2s, transform .15s;
}
.auth-field__input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(247, 192, 38, 0.16);
    transform: translateY(-1px);
}

.auth-field__toggle {
    position: absolute;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    background: transparent;
    color: #94a3b8;
    border-radius: 0.65rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: color .15s, background .15s;
}
.auth-field__toggle:hover {
    color: var(--ink);
    background: #f8fafc;
}
.auth-field__toggle svg { width: 1.1rem; height: 1.1rem; }

.auth-login-form__submit {
    width: 100%;
    margin-top: 0.35rem;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--ink);
    background: linear-gradient(135deg, var(--gold) 0%, #ffd95a 100%);
    box-shadow: 0 14px 32px rgba(247, 192, 38, 0.28);
    transition: transform .15s, box-shadow .15s, filter .15s;
}
.auth-login-form__submit svg { width: 1.1rem; height: 1.1rem; }
.auth-login-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(247, 192, 38, 0.34);
    filter: brightness(1.02);
}
.auth-login-form__submit:active { transform: translateY(0); }

.auth-login-form__footer {
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid #eef2f7;
    text-align: center;
}
.auth-login-form__footer p {
    font-size: 0.86rem;
    color: #64748b;
    margin-bottom: 0.65rem;
}
.auth-login-form__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 12rem;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--ink);
    background: #fff;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.auth-login-form__cta:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 24px rgba(247, 192, 38, 0.12);
    transform: translateY(-1px);
}

.auth-login-page__copyright {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.72rem;
    color: #94a3b8;
}

@keyframes authFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .auth-login-page__hero { padding-inline: 2.5rem; }
    .auth-login-page__hero-title { font-size: 2.15rem; }
}

@media (max-width: 1023px) {
    .auth-login-page {
        grid-template-columns: 1fr;
    }
    .auth-login-page__hero {
        display: none;
    }
    .auth-login-page__mobile-brand {
        display: flex;
        justify-content: center;
    }
    .auth-login-page__panel {
        min-height: 100vh;
        align-items: flex-start;
        padding-top: 2.5rem;
    }
}

@media (max-width: 480px) {
    .auth-login-card {
        border-radius: 1.25rem;
        padding: 1.35rem;
    }
}

.gold-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6B7280;
    margin-bottom: 0.5rem;
}

.gold-input,
.gold-select,
textarea.gold-input {
    width: 100%;
    border: 1px solid #E5E7EB;
    border-radius: 0.875rem;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.gold-input:focus,
.gold-select:focus,
textarea.gold-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(247, 192, 38, 0.18);
}

.gold-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gold);
    color: var(--ink);
    font-weight: 700;
    border-radius: 0.875rem;
    padding: 0.85rem 1.25rem;
    transition: transform .15s, background .15s, box-shadow .15s;
    box-shadow: 0 8px 24px rgba(247, 192, 38, 0.25);
}

.gold-btn:hover { background: var(--gold-dark); transform: translateY(-1px); }
.gold-btn > svg { display: block; width: 1.05rem; height: 1.05rem; min-width: 1.05rem; flex: 0 0 1.05rem; }
.gold-btn-sm { padding: 0.55rem 0.9rem; font-size: 0.82rem; border-radius: 0.75rem; }
.gold-btn-outline { background: transparent; border: 1px solid var(--gold); box-shadow: none; }
.gold-btn-outline:hover { background: var(--gold-soft); }
.gold-btn-disabled,
.gold-btn-disabled:hover {
    cursor: not-allowed;
    color: #94a3b8;
    background: #e9edf2;
    box-shadow: none;
    transform: none;
}
.gold-tooltip { position: relative; display: inline-flex; }
.gold-tooltip__content {
    position: absolute;
    z-index: 30;
    right: 0;
    bottom: calc(100% + .6rem);
    width: 15rem;
    padding: .65rem .75rem;
    border-radius: .7rem;
    color: #fff;
    background: #171717;
    font-size: .67rem;
    font-weight: 500;
    line-height: 1.45;
    text-align: left;
    box-shadow: 0 12px 28px rgba(15,23,42,.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity .16s, visibility .16s, transform .16s;
    pointer-events: none;
}
.gold-tooltip__content::after { content: ''; position: absolute; right: 1rem; top: 100%; border: .35rem solid transparent; border-top-color: #171717; }
.gold-tooltip:hover .gold-tooltip__content,
.gold-tooltip:focus .gold-tooltip__content,
.gold-tooltip:focus-within .gold-tooltip__content { opacity: 1; visibility: visible; transform: translateY(0); }

.gold-card {
    background: #fff;
    border-radius: 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.07);
}

.gold-stat {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 1.25rem;
    border: 1px solid #EEF2F7;
    padding: 1.35rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.055);
}
.gold-stat::after {
    content: '';
    position: absolute;
    width: 5rem;
    height: 5rem;
    right: -2.4rem;
    bottom: -2.8rem;
    border-radius: 50%;
    background: rgba(247, 192, 38, .12);
}

.gold-stat span {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6B7280;
    margin-bottom: 0.35rem;
}

.gold-stat strong { position: relative; z-index: 1; font-size: clamp(1.35rem, 2.4vw, 1.8rem); color: var(--ink); letter-spacing: -.04em; }

.gold-stat--premium { min-height: 8.5rem; display: flex; flex-direction: column; justify-content: space-between; }
.gold-stat__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.gold-stat .gold-stat__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    min-width: 2.65rem;
    flex: 0 0 2.65rem;
    align-self: flex-start;
    padding: 0;
    line-height: 0;
    margin: 0;
    font-size: 0;
    text-transform: none;
    letter-spacing: 0;
    border-radius: .9rem;
    color: #9a7000;
    background: linear-gradient(145deg, #fff8df, #ffe79b);
    box-shadow: inset 0 0 0 1px rgba(212, 160, 23, .16);
}
.gold-stat .gold-stat__icon svg { display: block; width: 1.25rem; height: 1.25rem; margin: 0; }
.gold-stat__hint { position: relative; z-index: 1; margin-top: .35rem; font-size: .7rem; color: #94a3b8; }

.gold-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.gold-table th {
    background: #F8FAFC;
    text-align: left;
    padding: 0.9rem 1rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748B;
    border-bottom: 1px solid #E2E8F0;
}
.gold-table td { padding: 0.95rem 1rem; border-bottom: 1px solid #F1F5F9; }
.gold-table tr:hover td { background: #FFFBEB; }
.gold-table .row-overdue td { background: #FEF2F2; }

.gold-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #F1F5F9;
    color: #475569;
}
.gold-badge-success { background: #DCFCE7; color: #166534; }
.gold-badge-warning { background: #FEF9C3; color: #854D0E; }
.gold-badge-danger { background: #FEE2E2; color: #991B1B; }

.gold-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    border: 1px solid transparent;
}
.gold-alert svg { flex-shrink: 0; width: 1.25rem; height: 1.25rem; margin-top: 0.05rem; }
.gold-alert-warning { background: #FEF9C3; border-color: #FDE68A; color: #854D0E; }
.gold-alert-warning svg { color: #B45309; }
.gold-alert strong { font-weight: 700; }

.gold-flash {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 100;
    max-width: 420px;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 16px 40px rgba(0,0,0,.15);
    animation: flashIn .35s ease;
}
.gold-flash-success { background: #166534; color: #fff; }
.gold-flash-error { background: #991B1B; color: #fff; }
.gold-flash-warning { background: var(--gold); color: var(--ink); }

@keyframes flashIn {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

.gold-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.gold-modal.hidden { display: none; }
.gold-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.gold-modal-panel {
    position: relative;
    background: #fff;
    width: min(560px, 100%);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 24px 60px rgba(0,0,0,.25);
    max-height: 90vh;
    overflow: auto;
}
.gold-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.85rem;
    font-size: 1.75rem;
    line-height: 1;
    color: #94A3B8;
}

.sidebar-icon {
    width: 1.1rem;
    height: 1.1rem;
    display: inline-block;
    background: currentColor;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}
.sidebar-icon-home { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 12l9-9 9 9M5 10v10h14V10'/%3E%3C/svg%3E"); }
.sidebar-icon-barcode { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-width='2' d='M4 7h2v10H4zm4 0h1v10H8zm3 0h3v10h-3zm5 0h1v10h-1zm3 0h2v10h-2z'/%3E%3C/svg%3E"); }
.sidebar-icon-chart { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 19h16M7 16V8m5 8V5m5 11v-6'/%3E%3C/svg%3E"); }
.sidebar-icon-doc { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 12h6m-6 4h6M9 8h6m2 12H7a2 2 0 01-2-2V5a2 2 0 012-2h7l5 5v12a2 2 0 01-2 2z'/%3E%3C/svg%3E"); }
.sidebar-icon-building { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 21h18M5 21V7l7-4 7 4v14'/%3E%3C/svg%3E"); }
.sidebar-icon-chat { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 10h8M8 14h5m-7 6l2.5-3H18a2 2 0 002-2V7a2 2 0 00-2-2H6a2 2 0 00-2 2v8a2 2 0 002 2h3z'/%3E%3C/svg%3E"); }
.sidebar-icon-user { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z'/%3E%3C/svg%3E"); }
.sidebar-icon-tax { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 14l6-6m-5.5.5h.01m4.99 5h.01M6 3h9l4 4v14H6a2 2 0 01-2-2V5a2 2 0 012-2z'/%3E%3C/svg%3E"); }
.sidebar-icon-folder { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 7a2 2 0 012-2h5l2 2h7a2 2 0 012 2v8a2 2 0 01-2 2H5a2 2 0 01-2-2V7z'/%3E%3C/svg%3E"); }
.sidebar-icon-construction { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 21h16M6 21V9h8v12m0-9h4v9M8 5h8M12 3v6m-3 4h2m-2 4h2'/%3E%3C/svg%3E"); }

/* —— App shell premium —— */
.app-shell { background: #f4f6f9; }
.gold-sidebar {
    height: 100vh;
    background:
        radial-gradient(circle at 15% 0%, rgba(247, 192, 38, .12), transparent 27%),
        linear-gradient(180deg, #171717 0%, #0d0d0e 68%, #080808 100%);
    border-right: 1px solid rgba(255,255,255,.06);
    box-shadow: 18px 0 50px rgba(15, 23, 42, .10);
}
.gold-sidebar::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .25;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 100% 44px;
}
.gold-sidebar__brand {
    position: relative;
    z-index: 1;
    min-height: 7.2rem;
    padding: 1.55rem 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.gold-sidebar__logo-wrap { display: inline-flex; align-items: center; }
.gold-sidebar__logo { height: 2.35rem; width: auto; object-fit: contain; transition: height .25s; }
.gold-sidebar__eyebrow { margin-top: .7rem; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .26em; color: rgba(255,255,255,.38); }
.gold-sidebar__collapse {
    position: absolute;
    right: -.85rem;
    top: 2.25rem;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: .65rem;
    color: #1a1a1a;
    background: var(--gold);
    border: 3px solid #f4f6f9;
    box-shadow: 0 7px 18px rgba(0,0,0,.18);
    transition: transform .25s, background .2s;
}
.gold-sidebar__collapse:hover { background: #ffd65a; transform: scale(1.07); }
.gold-sidebar__contract {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 1rem .9rem .3rem;
    padding: .9rem;
    border-radius: 1rem;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.07);
}
.gold-sidebar__contract-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    border-radius: .75rem;
    color: var(--gold);
    background: rgba(247,192,38,.09);
}
.gold-sidebar__contract-label { font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: var(--gold); }
.gold-sidebar__contract-name { margin-top: .15rem; font-size: .87rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gold-sidebar__contract-meta { margin-top: .15rem; font-size: .67rem; color: rgba(255,255,255,.42); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gold-sidebar__nav { position: relative; z-index: 1; padding: 1rem .75rem; }
.gold-sidebar__section { padding: 0 .75rem .55rem; font-size: .61rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: rgba(255,255,255,.3); }
.gold-sidebar__link {
    position: relative;
    display: flex;
    align-items: center;
    gap: .8rem;
    min-height: 3rem;
    margin-bottom: .25rem;
    padding: .55rem .7rem;
    border-radius: .9rem;
    color: rgba(255,255,255,.62);
    font-size: .85rem;
    font-weight: 600;
    transition: color .18s, background .18s, transform .18s;
}
.gold-sidebar__link:hover { color: #fff; background: rgba(255,255,255,.065); transform: translateX(2px); }
.gold-sidebar__link.is-active {
    color: #fff;
    background: linear-gradient(100deg, rgba(247,192,38,.18), rgba(247,192,38,.055));
    box-shadow: inset 3px 0 0 var(--gold), 0 8px 24px rgba(0,0,0,.08);
}
.gold-sidebar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    border-radius: .65rem;
    color: rgba(255,255,255,.55);
    transition: color .18s, background .18s;
}
.gold-sidebar__link:hover .gold-sidebar__icon { color: var(--gold); }
.gold-sidebar__link.is-active .gold-sidebar__icon { color: #171717; background: var(--gold); box-shadow: 0 6px 16px rgba(247,192,38,.2); }
.gold-sidebar__label { flex: 1; white-space: nowrap; }
.gold-sidebar__active-dot { width: .3rem; height: .3rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(247,192,38,.09); }
.gold-sidebar__user {
    position: relative;
    z-index: 1;
    padding: 1rem 1rem 1.15rem;
    border-top: 1px solid rgba(255,255,255,.07);
    background: rgba(0,0,0,.12);
}
.gold-topbar {
    background: rgba(255,255,255,.87);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 6px 22px rgba(15,23,42,.035);
}
.gold-mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .8rem;
    color: #fff;
    background: #171717;
    box-shadow: 0 7px 16px rgba(15,23,42,.14);
}

/* —— Home premium / carousel —— */
.gold-eyebrow { font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .19em; color: var(--gold-dark); }
.gold-hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 25rem;
    border-radius: 1.75rem;
    background: #111;
    box-shadow: 0 24px 60px rgba(15,23,42,.16);
}
.gold-hero-slider__track { min-height: 21rem; position: relative; }
.gold-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    background-position: 78% center;
    background-size: cover;
    transition: opacity .7s ease, visibility .7s;
}
.gold-hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,7,8,.95) 0%, rgba(7,7,8,.76) 36%, rgba(7,7,8,.16) 72%, rgba(7,7,8,.1) 100%); }
.gold-hero-slide.is-active { opacity: 1; visibility: visible; }
.gold-hero-slide__content { position: relative; z-index: 1; max-width: 38rem; padding: clamp(2rem, 5vw, 4rem); color: #fff; }
.gold-hero-slide__tag { display: inline-flex; align-items: center; gap: .55rem; color: var(--gold); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; }
.gold-hero-slide__tag::before { content: ''; width: 1.8rem; height: 2px; background: var(--gold); }
.gold-hero-slide h2 { margin-top: 1rem; max-width: 34rem; font-size: clamp(1.8rem, 4vw, 3.25rem); line-height: 1.03; font-weight: 800; letter-spacing: -.045em; }
.gold-hero-slide p { margin-top: 1rem; max-width: 31rem; color: rgba(255,255,255,.68); font-size: .92rem; line-height: 1.65; }
.gold-hero-slide__cta { display: inline-flex; align-items: center; gap: .65rem; margin-top: 1.5rem; padding: .78rem 1rem; border-radius: .8rem; color: #171717; background: var(--gold); font-size: .75rem; font-weight: 800; box-shadow: 0 12px 28px rgba(247,192,38,.23); transition: transform .18s, background .18s; }
.gold-hero-slide__cta:hover { background: #ffd457; transform: translateY(-2px); }
.gold-hero-slider__footer {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4.2rem;
    padding: .75rem 1.2rem;
    color: #fff;
    background: rgba(0,0,0,.48);
    border-top: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(14px);
}
.gold-hero-slider__hello { font-size: .75rem; font-weight: 700; }
.gold-hero-slider__context { margin-top: .1rem; font-size: .62rem; color: rgba(255,255,255,.48); }
.gold-hero-slider__dots { display: flex; gap: .4rem; }
.gold-hero-slider__dots button { width: .45rem; height: .45rem; border-radius: 999px; background: rgba(255,255,255,.35); transition: width .25s, background .25s; }
.gold-hero-slider__dots button.is-active { width: 1.5rem; background: var(--gold); }
.gold-mini-progress { position: relative; z-index: 1; width: 100%; height: .35rem; margin-top: .65rem; overflow: hidden; border-radius: 999px; background: #f1f5f9; }
.gold-mini-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-dark)); }
.gold-shortcut-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; }
.gold-shortcut { display: flex; align-items: center; gap: .85rem; min-height: 5.5rem; padding: 1rem; border: 1px solid #edf1f5; border-radius: 1.15rem; background: #fff; transition: transform .18s, border-color .18s, box-shadow .18s; }
.gold-shortcut:hover { transform: translateY(-2px); border-color: rgba(247,192,38,.48); box-shadow: 0 14px 32px rgba(15,23,42,.07); }
.gold-shortcut__icon { display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; min-width: 2.6rem; border-radius: .85rem; color: #9a7000; background: var(--gold-soft); }
.gold-shortcut strong { display: block; font-size: .78rem; }
.gold-shortcut small { display: block; margin-top: .22rem; color: #94a3b8; font-size: .62rem; line-height: 1.4; }
.gold-shortcut__arrow { margin-left: auto; color: #cbd5e1; transition: color .18s, transform .18s; }
.gold-shortcut:hover .gold-shortcut__arrow { color: var(--gold-dark); transform: translateX(2px); }
.gold-support-card { position: relative; overflow: hidden; padding: 1.7rem; border-radius: 1.5rem; color: #fff; background: linear-gradient(145deg, #232323, #0b0b0c); box-shadow: 0 18px 42px rgba(15,23,42,.13); }
.gold-support-card::after { content: ''; position: absolute; width: 11rem; height: 11rem; right: -5rem; bottom: -5rem; border-radius: 50%; background: rgba(247,192,38,.09); }
.gold-support-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 2.8rem; height: 2.8rem; margin-bottom: 1.4rem; border-radius: .9rem; color: #161616; background: var(--gold); }
.gold-support-card h3 { margin-top: .55rem; max-width: 18rem; font-size: 1.35rem; line-height: 1.2; font-weight: 800; letter-spacing: -.03em; }
.gold-support-card p:not(.gold-eyebrow) { margin-top: .8rem; color: rgba(255,255,255,.55); font-size: .75rem; line-height: 1.6; }
.gold-support-card a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.35rem; color: var(--gold); font-size: .75rem; font-weight: 800; }
.gold-page-intro {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 1.65rem;
    border-radius: 1.5rem;
    color: #fff;
    background: linear-gradient(120deg, #202020, #0d0d0e);
    box-shadow: 0 16px 38px rgba(15,23,42,.12);
}
.gold-page-intro::after { content: ''; position: absolute; width: 12rem; height: 12rem; right: -5rem; top: -7rem; border-radius: 50%; background: rgba(247,192,38,.1); }
.gold-page-intro h2 { margin-top: .35rem; font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 800; letter-spacing: -.035em; }
.gold-page-intro p:not(.gold-eyebrow) { margin-top: .45rem; max-width: 42rem; color: rgba(255,255,255,.52); font-size: .74rem; line-height: 1.55; }
.gold-page-intro__mark { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; min-width: 4rem; border-radius: 1.2rem; color: #171717; background: var(--gold); transform: rotate(-4deg); box-shadow: 0 14px 30px rgba(247,192,38,.2); }
.gold-page-intro__mark .sidebar-icon { width: 1.65rem; height: 1.65rem; }
.gold-unavailable-state { padding: 3rem 1.5rem; text-align: center; }
.gold-unavailable-state__icon { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; margin-bottom: 1.2rem; border-radius: 1.25rem; color: #9a7000; background: var(--gold-soft); }
.gold-unavailable-state__icon svg { width: 1.75rem; height: 1.75rem; }
.gold-unavailable-state h3 { font-size: 1.15rem; font-weight: 800; }
.gold-unavailable-state p { max-width: 36rem; margin: .55rem auto 0; color: #64748b; font-size: .78rem; line-height: 1.6; }
.gold-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1rem; border: 1px solid #edf1f5; border-radius: 1.2rem; background: #fff; box-shadow: 0 10px 28px rgba(15,23,42,.045); }
.gold-year-list { display: flex; flex-wrap: wrap; gap: .55rem; }
.gold-year-list a { display: flex; min-width: 7rem; flex-direction: column; padding: .65rem .8rem; border: 1px solid #e5eaf0; border-radius: .85rem; color: #64748b; background: #f8fafc; transition: border-color .18s, background .18s, transform .18s; }
.gold-year-list a:hover { transform: translateY(-1px); border-color: rgba(247,192,38,.7); }
.gold-year-list a strong { color: #1f2937; font-size: .85rem; }
.gold-year-list a span { margin-top: .08rem; font-size: .58rem; }
.gold-year-list a.is-active { color: #6f5200; border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 7px 18px rgba(247,192,38,.13); }
.gold-year-list a.is-active strong { color: #171717; }
.gold-progress-card { position: relative; overflow: hidden; }
.gold-progress-card::after { content: ''; position: absolute; width: 15rem; height: 15rem; right: -8rem; bottom: -10rem; border-radius: 50%; background: rgba(247,192,38,.08); }
.gold-progress-card__number { margin: 1.5rem 0 .75rem; font-size: clamp(2.7rem, 7vw, 4.8rem); line-height: 1; font-weight: 800; letter-spacing: -.07em; color: #171717; }
.gold-progress-card__number small { margin-left: .15rem; font-size: .35em; color: var(--gold-dark); letter-spacing: 0; }
.gold-count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 2rem; height: 2rem; padding: 0 .55rem; border-radius: .7rem; color: #8a6500; background: var(--gold-soft); font-size: .7rem; font-weight: 800; }
.gold-empty-compact { padding: 1.2rem .9rem; text-align: center; border: 1px dashed #dbe2ea; border-radius: 1rem; background: #fafbfc; }
.gold-empty-compact > .sidebar-icon { width: 1.6rem; height: 1.6rem; color: #c6a13d; }
.gold-empty-compact strong { display: block; margin-top: .7rem; font-size: .76rem; }
.gold-empty-compact p { margin-top: .35rem; color: #94a3b8; font-size: .64rem; line-height: 1.5; }
.gold-empty-premium { display: flex; align-items: center; gap: 1.4rem; }
.gold-empty-premium__art { display: inline-flex; align-items: center; justify-content: center; width: 5rem; height: 5rem; min-width: 5rem; border-radius: 1.35rem; color: #947000; background: linear-gradient(145deg, #fff7dc, #ffe691); transform: rotate(-3deg); }
.gold-empty-premium__art .sidebar-icon { width: 2rem; height: 2rem; }
.gold-empty-premium h3 { margin-top: .35rem; font-size: 1.1rem; font-weight: 800; }
.gold-empty-premium p:not(.gold-eyebrow) { margin-top: .35rem; max-width: 42rem; color: #64748b; font-size: .75rem; line-height: 1.55; }
.gold-document-section__icon { display: inline-flex; align-items: center; justify-content: center; width: 2.7rem; height: 2.7rem; min-width: 2.7rem; border-radius: .9rem; color: #977000; background: var(--gold-soft); }
.gold-document-item { padding: 1rem; border: 1px solid #edf1f5; border-radius: 1rem; background: #fff; transition: border-color .18s, transform .18s, box-shadow .18s; }
.gold-document-item:hover { transform: translateY(-2px); border-color: rgba(247,192,38,.5); box-shadow: 0 12px 28px rgba(15,23,42,.06); }
.gold-download-link { display: inline-flex; align-items: center; gap: .35rem; color: #9a7000; font-size: .7rem; font-weight: 800; }
.gold-download-link span { display: inline-flex; align-items: center; justify-content: center; width: 1.35rem; height: 1.35rem; border-radius: .45rem; background: var(--gold-soft); }
.gold-contact-card { background: radial-gradient(circle at 100% 0%, rgba(247,192,38,.17), transparent 32%), linear-gradient(145deg, #222, #0c0c0d); border-color: rgba(255,255,255,.06); }
.gold-whatsapp-button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3.15rem; padding: .75rem 1rem; border-radius: .9rem; color: #fff; background: #25d366; font-size: .8rem; font-weight: 800; box-shadow: 0 10px 24px rgba(37,211,102,.2); transition: background .18s, transform .18s; }
.gold-whatsapp-button:hover { color: #fff; background: #1fbd5a; transform: translateY(-1px); }
.gold-whatsapp-button svg { display: block; width: 1.25rem; height: 1.25rem; }
.gold-profile-card { padding: 2rem 1.5rem; border-radius: 1.5rem; color: #fff; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(247,192,38,.18), transparent 35%), linear-gradient(160deg, #222, #0a0a0b); box-shadow: 0 18px 44px rgba(15,23,42,.14); }
.gold-profile-card__avatar { display: inline-flex; align-items: center; justify-content: center; width: 5rem; height: 5rem; border-radius: 1.5rem; color: #171717; background: linear-gradient(145deg, var(--gold), #ffe078); font-size: 1.35rem; font-weight: 800; box-shadow: 0 18px 35px rgba(247,192,38,.2); transform: rotate(-3deg); }
.gold-profile-card h3 { margin-top: 1.25rem; font-size: .95rem; font-weight: 800; }
.gold-profile-card > p { margin-top: .35rem; color: rgba(255,255,255,.48); font-size: .7rem; }
.gold-profile-card__status { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.25rem; padding: .4rem .7rem; border-radius: 999px; color: #bbf7d0; background: rgba(34,197,94,.1); font-size: .62rem; font-weight: 700; }
.gold-profile-card__status i { width: .4rem; height: .4rem; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.1); }
.gold-definition-grid > div { padding: .9rem 1rem; border: 1px solid #edf1f5; border-radius: .9rem; background: #fafbfc; }
.gold-definition-grid dt { color: #94a3b8; font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.gold-definition-grid dd { margin-top: .3rem; font-size: .75rem; font-weight: 700; }
.gold-financial-note { padding: .85rem 1rem; border: 1px solid #f2dfaa; border-radius: 1rem; color: #68551e; background: #fffaec; }
.gold-financial-note strong { display: block; font-size: .72rem; }
.gold-financial-note p { margin-top: .25rem; font-size: .66rem; line-height: 1.55; }

@media (min-width: 1024px) {
    .gold-sidebar.is-collapsed { width: 5.5rem !important; }
    .gold-sidebar.is-collapsed .sidebar-expandable { display: none !important; }
    .gold-sidebar.is-collapsed .gold-sidebar__brand { min-height: 5.75rem; padding: 1.45rem .75rem; text-align: center; }
    .gold-sidebar.is-collapsed .gold-sidebar__logo { height: 1.8rem; max-width: 3.3rem; object-fit: contain; }
    .gold-sidebar.is-collapsed .gold-sidebar__collapse { top: 1.85rem; }
    .gold-sidebar.is-collapsed .gold-sidebar__collapse svg { transform: rotate(180deg); }
    .gold-sidebar.is-collapsed .gold-sidebar__nav { padding: 1rem .75rem; }
    .gold-sidebar.is-collapsed .gold-sidebar__link { justify-content: center; padding: .5rem; }
    .gold-sidebar.is-collapsed .gold-sidebar__link:hover { transform: none; }
    .gold-sidebar.is-collapsed .gold-sidebar__user { display: flex; justify-content: center; padding-inline: .6rem; }
}

/* —— Avatar / menu de conta —— */
.gold-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: var(--ink);
    background: linear-gradient(135deg, var(--gold) 0%, #ffd95a 100%);
    box-shadow: 0 4px 12px rgba(247, 192, 38, 0.35);
    user-select: none;
}
.gold-avatar--sm { width: 2.25rem; height: 2.25rem; min-width: 2.25rem; font-size: 0.8rem; }
.gold-avatar--dark {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    box-shadow: none;
}

.gold-avatar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.3rem 0.55rem 0.3rem 0.3rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition: background .15s, border-color .15s, box-shadow .15s;
}
.gold-avatar-btn:hover { background: #fff; border-color: #eef2f7; box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06); }
.gold-avatar-btn[aria-expanded="true"] { background: #fff; border-color: #eef2f7; box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08); }
.gold-avatar-btn__chevron { color: #94a3b8; transition: transform .2s; }
.gold-avatar-btn[aria-expanded="true"] .gold-avatar-btn__chevron { transform: rotate(180deg); }

.gold-menu {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    z-index: 60;
    width: 15rem;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 1rem;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.16);
    padding: 0.5rem;
    transform-origin: top right;
    animation: goldMenuIn .16s ease both;
}
.gold-menu.hidden { display: none; }
.gold-menu__header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.65rem 0.85rem;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 0.4rem;
}
.gold-menu__contract { margin: .15rem .25rem .45rem; padding: .65rem; border-radius: .75rem; background: #f8fafc; }
.gold-menu__contract label { display: block; margin-bottom: .35rem; color: #94a3b8; font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.gold-menu__contract select { width: 100%; border: 0; outline: 0; color: #1f2937; background: transparent; font-size: .72rem; font-weight: 700; }
.gold-menu__item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.65rem;
    border-radius: 0.7rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: background .15s, color .15s;
}
.gold-menu__item svg { color: #94a3b8; transition: color .15s; }
.gold-menu__item:hover { background: var(--gold-soft); color: var(--gold-dark); }
.gold-menu__item:hover svg { color: var(--gold-dark); }
.gold-menu__item--danger:hover { background: #fef2f2; color: #b91c1c; }
.gold-menu__item--danger:hover svg { color: #b91c1c; }

@keyframes goldMenuIn {
    from { opacity: 0; transform: translateY(-6px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.gold-whatsapp-widget {
    position: fixed;
    z-index: 55;
    right: 1.35rem;
    bottom: 1.35rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .75rem;
}
.gold-whatsapp-fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.6rem;
    height: 3.6rem;
    border: 3px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: #25d366;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .24), 0 8px 20px rgba(37, 211, 102, .24);
    transition: transform .18s, box-shadow .18s;
}
.gold-whatsapp-fab:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 38px rgba(15, 23, 42, .25), 0 10px 24px rgba(37, 211, 102, .3); }
.gold-whatsapp-fab svg { width: 1.85rem; height: 1.85rem; }
.gold-whatsapp-popover {
    width: min(20rem, calc(100vw - 2rem));
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 1.15rem;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
    transform-origin: bottom right;
    animation: goldMenuIn .18s ease both;
}
.gold-whatsapp-popover.hidden { display: none; }
.gold-whatsapp-popover__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1rem; color: #fff; background: #075e54; }
.gold-whatsapp-popover__head strong { display: block; font-size: .9rem; }
.gold-whatsapp-popover__head span { display: block; margin-top: .18rem; color: rgba(255,255,255,.72); font-size: .66rem; }
.gold-whatsapp-popover__head button { display: inline-flex; align-items: center; justify-content: center; width: 1.65rem; height: 1.65rem; flex: 0 0 1.65rem; border-radius: .45rem; color: rgba(255,255,255,.8); font-size: 1.25rem; line-height: 1; transition: background .15s, color .15s; }
.gold-whatsapp-popover__head button:hover { color: #fff; background: rgba(255,255,255,.12); }
.gold-whatsapp-popover__body { padding: .95rem; }
.gold-whatsapp-popover__sector { display: flex; align-items: center; gap: .7rem; padding: .75rem; border: 1px solid #dcfce7; border-radius: .85rem; background: #f0fdf4; }
.gold-whatsapp-popover__sector-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.35rem; height: 2.35rem; flex: 0 0 2.35rem; border-radius: 50%; color: #fff; background: #25d366; }
.gold-whatsapp-popover__sector-icon svg { width: 1.25rem; height: 1.25rem; }
.gold-whatsapp-popover__sector strong { display: block; color: #17201b; font-size: .73rem; }
.gold-whatsapp-popover__sector small { display: block; margin-top: .16rem; color: #4b7860; font-size: .6rem; }
.gold-whatsapp-popover__body > p { margin: .7rem .2rem; color: #64748b; font-size: .65rem; }
.gold-whatsapp-popover__body > p strong { color: #1f2937; }
.gold-whatsapp-popover__cta { display: flex; align-items: center; justify-content: space-between; min-height: 2.8rem; padding: .7rem .85rem; border-radius: .8rem; color: #fff; background: #25d366; font-size: .75rem; font-weight: 800; transition: background .16s, transform .16s; }
.gold-whatsapp-popover__cta:hover { color: #fff; background: #1fbd5a; transform: translateY(-1px); }
.gold-whatsapp-popover__hint { margin: 0 0 .65rem; color: #64748b; font-size: .68rem; font-weight: 600; }
.gold-whatsapp-popover__sectors { display: grid; gap: .45rem; }
.gold-whatsapp-popover__sector-link {
  display: flex; flex-direction: column; gap: .1rem; padding: .7rem .8rem; border-radius: .8rem;
  border: 1px solid #dcfce7; background: #f0fdf4; text-decoration: none; transition: border-color .15s, transform .15s;
}
.gold-whatsapp-popover__sector-link:hover { border-color: #25d366; transform: translateY(-1px); }
.gold-whatsapp-popover__sector-link strong { color: #17201b; font-size: .74rem; }
.gold-whatsapp-popover__sector-link small { color: #4b7860; font-size: .62rem; }
.gold-whatsapp-popover__meta { margin: .75rem .15rem 0; color: #64748b; font-size: .62rem; }

.obra-gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.obra-gallery__item {
  display: block; padding: 0; border: 0; border-radius: 1rem; overflow: hidden; background: #0f172a;
  text-align: left; cursor: zoom-in; position: relative; box-shadow: 0 12px 30px rgba(15,23,42,.12);
}
.obra-gallery__item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .35s ease; }
.obra-gallery__item:hover img { transform: scale(1.04); }
.obra-gallery__item span {
  display: block; padding: .7rem .85rem; color: #fff; font-size: .72rem; font-weight: 600;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.72)); position: absolute; left: 0; right: 0; bottom: 0;
}
.obra-lightbox {
  position: fixed; inset: 0; z-index: 80; background: rgba(10,12,16,.88); display: grid; place-items: center;
  padding: 2rem; backdrop-filter: blur(6px);
}
.obra-lightbox.hidden { display: none; }
.obra-lightbox img { max-width: min(960px, 92vw); max-height: 78vh; border-radius: 1rem; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.obra-lightbox p { margin-top: .9rem; color: #fff; text-align: center; font-size: .85rem; }
.obra-lightbox__close {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 999px;
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.5rem; cursor: pointer;
}
@media (max-width: 900px) { .obra-gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .obra-gallery { grid-template-columns: 1fr; } }

@media print {
    #sidebar, header, footer, .gold-btn, .gold-flash, .gold-avatar-btn, .gold-menu, .gold-whatsapp-widget { display: none !important; }
    main { padding: 0 !important; }
}

@media (max-width: 1023px) {
    #sidebar.open { transform: translateX(0); }
}

.gold-btn--danger {
    background: #DC2626;
    color: #fff;
    box-shadow: 0 8px 18px rgba(220, 38, 38, .22);
}
.gold-btn--danger:hover { background: #B91C1C; color: #fff; }

.gold-boleto-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
    background: #EEF1F5;
    border: 1px solid #E2E6ED;
}
.gold-boleto-tab {
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: #64748B;
    padding: 9px 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .15s ease;
}
.gold-boleto-tab span {
    display: inline-flex;
    min-width: 1.4rem;
    height: 1.4rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(100,116,139,.15);
    font-size: 11px;
    padding: 0 6px;
}
.gold-boleto-tab.is-active {
    background: #1A1A1A;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.gold-boleto-tab.is-active span { background: #F7C026; color: #1A1A1A; }

.gold-boleto-section {
    background: #fff;
    border: 1px solid #E8ECF1;
    border-radius: 1.15rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}
.gold-boleto-section__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .95rem 1.15rem;
    border-bottom: 1px solid #EEF2F6;
}
.gold-boleto-section__head h3 {
    margin: 0;
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: -.01em;
}
.gold-boleto-section__head p {
    margin: .2rem 0 0;
    font-size: .75rem;
    color: #64748B;
}
.gold-boleto-section--danger .gold-boleto-section__head {
    background: linear-gradient(90deg, #FEF2F2, #FFF7F7);
    border-bottom-color: #FECACA;
}
.gold-boleto-section--danger .gold-boleto-section__head h3 { color: #B91C1C; }
.gold-boleto-section--current .gold-boleto-section__head {
    background: linear-gradient(90deg, #ECFDF5, #F7FEFB);
    border-bottom-color: #A7F3D0;
}
.gold-boleto-section--current .gold-boleto-section__head h3 { color: #047857; }
.gold-boleto-section--future .gold-boleto-section__head {
    background: #F8FAFC;
}
.gold-boleto-section--paid .gold-boleto-section__head {
    background: #F8FAFC;
}

.gold-btn-ghost {
    background: #fff;
    color: #1A1A1A;
    border: 1px solid #E2E8F0;
    box-shadow: none;
}
.gold-btn-ghost:hover { background: #F8FAFC; border-color: #CBD5E1; }

.gold-boleto-modal { width: min(640px, 100%); }
.gold-boleto-modal__head { padding-right: 1.5rem; margin-bottom: .25rem; }
.gold-boleto-modal__head h3 { margin: .15rem 0 .35rem; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.gold-boleto-modal__sub { margin: 0; color: #64748B; font-size: .9rem; }
.gold-boleto-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    padding: 1rem;
    border: 1px solid #E8ECF1;
    border-radius: 1rem;
    background: #FAFBFC;
}
.gold-boleto-summary span { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #94A3B8; margin-bottom: .2rem; }
.gold-boleto-summary strong { font-size: .92rem; color: #1A1A1A; }
.gold-boleto-block {
    border: 1px solid #E8ECF1;
    border-radius: 1rem;
    padding: .9rem 1rem;
    background: #fff;
}
.gold-boleto-block--pix { border-color: #A7F3D0; background: #ECFDF5; }
.gold-boleto-block__top { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: .55rem; }
.gold-boleto-line {
    margin: 0;
    font-size: .78rem;
    line-height: 1.55;
    word-break: break-all;
    padding: .75rem .85rem;
    border-radius: .75rem;
    background: #F8FAFC;
    border: 1px dashed #CBD5E1;
}
.gold-boleto-password {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: .9rem 1rem;
    border-radius: 1rem;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
}
.gold-boleto-password__hint { margin: .15rem 0 0; color: #92400E; font-size: .75rem; }
.gold-boleto-password__row { display: flex; align-items: center; gap: .55rem; }
.gold-boleto-password code {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .08em;
    background: #fff;
    border: 1px solid #FCD34D;
    border-radius: .6rem;
    padding: .45rem .7rem;
    color: #92400E;
}
.gold-boleto-actions { display: grid; gap: .65rem; }
.gold-boleto-note {
    font-size: .8rem;
    color: #64748B;
    background: #F8FAFC;
    border-radius: .75rem;
    padding: .7rem .85rem;
}
.gold-boleto-footnote { margin: 0; font-size: .72rem; color: #94A3B8; line-height: 1.5; }
.gold-boleto-loading { text-align: center; padding: 2rem 1rem; color: #64748B; }
.gold-boleto-spinner {
    width: 28px; height: 28px; margin: 0 auto .85rem;
    border: 3px solid #E2E8F0; border-top-color: #F7C026; border-radius: 50%;
    animation: goldSpin .7s linear infinite;
}
@keyframes goldSpin { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
    .gold-boleto-summary { grid-template-columns: 1fr; }
    .gold-boleto-password { flex-direction: column; align-items: flex-start; }
}

/* —— Ajustes mobile —— */
@media (max-width: 640px) {
    .gold-avatar-btn { padding: 0; border: 0; background: transparent; box-shadow: none; }
    .gold-avatar-btn:hover { background: transparent; box-shadow: none; }
    .gold-menu { width: min(16rem, calc(100vw - 1.5rem)); }
    .gold-stat { padding: 1rem; }
    .gold-stat strong { font-size: 1.25rem; }
    .gold-table { font-size: 0.82rem; }
    .gold-table th,
    .gold-table td { padding: 0.7rem 0.75rem; white-space: nowrap; }
    .gold-modal-panel { border-radius: 1rem; padding: 1.25rem; }
    .gold-flash { left: 1rem; right: 1rem; max-width: none; }
    .gold-hero-slider { min-height: 23rem; border-radius: 1.25rem; }
    .gold-hero-slider__track { min-height: 19rem; }
    .gold-hero-slide { background-position: 72% center; }
    .gold-hero-slide::after { background: linear-gradient(90deg, rgba(7,7,8,.94), rgba(7,7,8,.68) 72%, rgba(7,7,8,.28)); }
    .gold-hero-slide__content { padding: 2rem 1.35rem; }
    .gold-hero-slide h2 { max-width: 19rem; font-size: 1.75rem; }
    .gold-hero-slide p { max-width: 18rem; font-size: .78rem; }
    .gold-hero-slider__footer { padding-inline: 1rem; }
    .gold-shortcut-grid { grid-template-columns: 1fr; }
    .gold-page-intro { padding: 1.25rem; border-radius: 1.2rem; }
    .gold-page-intro__mark { width: 3rem; height: 3rem; min-width: 3rem; }
    .gold-page-intro p:not(.gold-eyebrow) { display: none; }
    .gold-whatsapp-widget { right: 1rem; bottom: 1rem; }
    .gold-whatsapp-fab { width: 3.25rem; height: 3.25rem; }
    .gold-table--responsive thead { display: none; }
    .gold-table--responsive tfoot { display: none; }
    .gold-table--responsive,
    .gold-table--responsive tbody,
    .gold-table--responsive tr,
    .gold-table--responsive td { display: block; width: 100%; }
    .gold-table--responsive tbody { padding: .65rem; }
    .gold-table--responsive tr { margin-bottom: .7rem; padding: .55rem .7rem; border: 1px solid #edf1f5; border-radius: 1rem; background: #fff; }
    .gold-table--responsive td { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .42rem .15rem; border: 0; white-space: normal; text-align: right; }
    .gold-table--responsive td::before { content: attr(data-label); color: #94a3b8; font-size: .59rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; text-align: left; }
}
