/* TAREFA #421: HEALTH SCALE™ LUXURY THEME (NUDE & ROSA QUARTZO / ROSÉ) */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --scale-rose: #D4D4D8;
    --scale-rose-bright: #E4E4E7;
    --scale-rose-deep: #333337;
    --scale-rose-soft: rgba(212, 212, 216, 0.14);
    --scale-rose-border: rgba(228, 228, 231, 0.28);

    /* Dark Mode: Nude Cacau Escuro + Rosa Quartzo */
    --bg-primary: #191919;
    --bg-secondary: #222226;
    --bg-card: rgba(38, 38, 42, 0.82);
    --surface-card: rgba(38, 38, 42, 0.82);
    --surface-glass: rgba(32, 24, 27, 0.86);
    --border-color: rgba(228, 228, 231, 0.24);
    --text-primary: #F6F5F2;
    --text-secondary: #E6D5D9;
    --text-muted: #B8A0A6;
    --accent: #D4D4D8;
    --accent-color: #D4D4D8;
    --accent-hover: #E4E4E7;
    --accent-cyan: #D4D4D8;
    --accent-blue: #D4D4D8;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    background:
        radial-gradient(circle at 15% 0%, rgba(212, 212, 216, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 88% 14%, rgba(197, 167, 125, 0.08) 0%, transparent 42%),
        linear-gradient(160deg, #191919 0%, #1E1619 55%, #261C20 100%) !important;
    background-attachment: fixed !important;
    color: #F6F5F2 !important;
    transition: background 0.4s ease, color 0.35s ease;
}

body.light-mode {
    --bg-primary: #F6F5F2;
    --bg-secondary: #FFFFFF;
    --bg-card: rgba(246, 245, 242, 0.88);
    --surface-card: rgba(246, 245, 242, 0.88);
    --surface-glass: rgba(246, 245, 242, 0.92);
    --border-color: rgba(197, 167, 125, 0.24);
    --text-primary: #2B2B30;
    --text-secondary: #4D373D;
    --text-muted: #7D636A;
    --accent: #333337;
    --accent-color: #333337;
    --accent-hover: #D4D4D8;
    --accent-cyan: #333337;
    --accent-blue: #333337;

    background:
        radial-gradient(circle at 85% 0%, rgba(212, 212, 216, 0.15) 0%, transparent 44%),
        radial-gradient(circle at 10% 90%, rgba(229, 184, 176, 0.16) 0%, transparent 42%),
        #F6F5F2 !important;
    color: #2B2B30 !important;
}

/* Luxury Serif Display Typography */
h1, h2, .hero-title, .hero-banner h2, #hero-greeting-title, .hero-card h2, .prog-card-title, .brand-title, .section-title, .page-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    letter-spacing: -0.015em !important;
}

.hero-title .highlight {
    color: #E4E4E7 !important;
}
body.light-mode .hero-title .highlight {
    color: #333337 !important;
}

/* Dark Mode Glassmorphism (Nude Cacau + Rosa) */
.hero-banner,
.hero-card,
.kpi-card,
.asset-card,
.agenda-card,
.agenda-cockpit,
.agenda-cockpit-card,
.cockpit-kpi,
.contacts-table-card,
.chart-card,
.prog-card,
.kanban-col,
.lead-card,
.calc-card,
.card,
.glass-card,
.modal-card,
.top-nav,
.navbar,
header.hub-header,
header.site-header,
.playbook-card,
.compliance-card,
.support-banner,
.compare-card,
.pillar-card,
.program-card,
.form-card,
.hero-pillars-bar {
    background: rgba(38, 38, 42, 0.82) !important;
    backdrop-filter: blur(18px) saturate(135%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(135%) !important;
    border-color: rgba(228, 228, 231, 0.24) !important;
    box-shadow: 0 12px 34px rgba(10, 4, 6, 0.42), inset 0 1px 0 rgba(246, 245, 242, 0.08) !important;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease !important;
}

.hero-banner {
    background:
        radial-gradient(circle at 88% 15%, rgba(212, 212, 216, 0.14) 0%, transparent 48%),
        linear-gradient(145deg, rgba(38, 28, 32, 0.88) 0%, rgba(34, 34, 38, 0.92) 100%) !important;
    animation: scaleLuxuryReveal 0.65s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

.hero-banner::after {
    background: radial-gradient(circle, rgba(212, 212, 216, 0.15) 0%, transparent 70%) !important;
}

.cockpit-kpi,
.stat-box,
.sp-clock-pill,
.cfm-pill,
.option-label {
    background: rgba(34, 34, 38, 0.78) !important;
    border-color: rgba(228, 228, 231, 0.22) !important;
}

/* Light Mode Glassmorphism (Nude Claro + Rosa Antigo) */
body.light-mode .hero-banner,
body.light-mode .hero-card,
body.light-mode .kpi-card,
body.light-mode .asset-card,
body.light-mode .agenda-card,
body.light-mode .agenda-cockpit,
body.light-mode .agenda-cockpit-card,
body.light-mode .cockpit-kpi,
body.light-mode .contacts-table-card,
body.light-mode .chart-card,
body.light-mode .prog-card,
body.light-mode .kanban-col,
body.light-mode .lead-card,
body.light-mode .calc-card,
body.light-mode .card,
body.light-mode .glass-card,
body.light-mode .modal-card,
body.light-mode .top-nav,
body.light-mode .navbar,
body.light-mode header.hub-header,
body.light-mode header.site-header,
body.light-mode .playbook-card,
body.light-mode .compliance-card,
body.light-mode .support-banner,
body.light-mode .sp-clock-pill,
body.light-mode .compare-card,
body.light-mode .pillar-card,
body.light-mode .program-card,
body.light-mode .form-card,
body.light-mode .hero-pillars-bar,
body.light-mode .cfm-pill,
body.light-mode .option-label {
    background: rgba(246, 245, 242, 0.88) !important;
    backdrop-filter: blur(18px) saturate(135%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(135%) !important;
    border-color: rgba(197, 167, 125, 0.24) !important;
    box-shadow: 0 10px 30px rgba(45, 30, 34, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

body.light-mode .hero-banner {
    background:
        radial-gradient(circle at 88% 12%, rgba(212, 212, 216, 0.16) 0%, transparent 48%),
        rgba(246, 245, 242, 0.90) !important;
}

.asset-card:hover,
.kpi-card:hover,
.prog-card:hover,
.lead-card:hover,
.calc-card:hover,
.pillar-card:hover,
.program-card:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(228, 228, 231, 0.54) !important;
    box-shadow: 0 18px 40px rgba(212, 212, 216, 0.18) !important;
}

/* Primary Rose Gold / Rosa Quartzo Buttons */
.btn-action-primary,
.btn-primary,
.btn-cta,
.btn-fin-pay,
.btn-next,
.program-btn,
.nav-cta {
    background: linear-gradient(135deg, #D4D4D8 0%, #E4E4E7 52%, #C5A77D 100%) !important;
    color: #191919 !important;
    border: 1px solid rgba(246, 245, 242, 0.65) !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 18px rgba(212, 212, 216, 0.28) !important;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, filter 0.28s ease !important;
}

.btn-action-primary:hover,
.btn-primary:hover,
.btn-cta:hover,
.btn-fin-pay:hover,
.btn-next:hover,
.program-btn:hover,
.nav-cta:hover {
    transform: translateY(-1px) !important;
    filter: brightness(1.05) !important;
    box-shadow: 0 10px 24px rgba(212, 212, 216, 0.40) !important;
}

/* Secondary & Tab Accents */
.btn-action-secondary,
.btn-secondary,
.btn-theme,
.fin-tab,
.agenda-tab,
.cockpit-tab {
    background: rgba(44, 33, 37, 0.76) !important;
    border-color: rgba(228, 228, 231, 0.25) !important;
    color: #F5E9EC !important;
    transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

body.light-mode .btn-action-secondary,
body.light-mode .btn-secondary,
body.light-mode .btn-theme,
body.light-mode .fin-tab,
body.light-mode .agenda-tab,
body.light-mode .cockpit-tab {
    background: rgba(246, 245, 242, 0.92) !important;
    color: #3D282E !important;
}

.fin-tab.active,
.agenda-tab.active,
.cockpit-tab.active {
    background: rgba(212, 212, 216, 0.18) !important;
    border-color: #D4D4D8 !important;
    color: #E4E4E7 !important;
}

body.light-mode .fin-tab.active,
body.light-mode .agenda-tab.active,
body.light-mode .cockpit-tab.active {
    background: rgba(212, 212, 216, 0.16) !important;
    border-color: #333337 !important;
    color: #333337 !important;
}

/* Badges & Rose Highlights */
.hero-badge-tag,
.hero-tag,
.hero-eyebrow,
.plan-badge,
.badge-live,
.tag-pill,
.asset-badge,
.badge-signature,
.section-badge,
.program-badge,
.pillar-num,
.compare-tag {
    background: rgba(212, 212, 216, 0.15) !important;
    border-color: rgba(228, 228, 231, 0.38) !important;
    color: #E4E4E7 !important;
}

body.light-mode .hero-badge-tag,
body.light-mode .hero-tag,
body.light-mode .hero-eyebrow,
body.light-mode .plan-badge,
body.light-mode body.light-mode .badge-live,
body.light-mode .tag-pill,
body.light-mode .asset-badge,
body.light-mode .badge-signature,
body.light-mode .section-badge,
body.light-mode .program-badge,
body.light-mode .pillar-num,
body.light-mode .compare-tag {
    background: rgba(212, 212, 216, 0.14) !important;
    border-color: rgba(51, 51, 55, 0.35) !important;
    color: #333337 !important;
}

.agenda-cockpit-card::before,
.agenda-cockpit::before {
    background: linear-gradient(90deg, transparent, #D4D4D8, #E4E4E7, transparent) !important;
}

.stat-icon,
.asset-icon-box {
    background: rgba(212, 212, 216, 0.12) !important;
    border-color: rgba(228, 228, 231, 0.30) !important;
    color: #E4E4E7 !important;
}

.stat-icon svg,
.asset-icon-box svg,
.sp-clock-pill svg {
    color: #D4D4D8 !important;
    stroke: #D4D4D8 !important;
}

.asset-card:hover .asset-icon-box {
    background: rgba(212, 212, 216, 0.22) !important;
    border-color: rgba(246, 245, 242, 0.55) !important;
    box-shadow: 0 0 18px rgba(212, 212, 216, 0.25) !important;
}

body.light-mode .stat-icon,
body.light-mode .asset-icon-box {
    background: rgba(212, 212, 216, 0.12) !important;
    border-color: rgba(51, 51, 55, 0.28) !important;
    color: #333337 !important;
}

body.light-mode .stat-icon svg,
body.light-mode .asset-icon-box svg,
body.light-mode .sp-clock-pill svg {
    color: #333337 !important;
    stroke: #333337 !important;
}

.sp-clock-time,
.prog-card-price,
.money-highlight,
.stat-val,
.asset-url-box span:first-child,
.kpi-sub,
.cockpit-kpi-sub,
.agenda-kpi-sub,
.agenda-kpi-badge,
.brand-sub {
    color: #E4E4E7 !important;
}

body.light-mode .sp-clock-time,
body.light-mode .prog-card-price,
body.light-mode .money-highlight,
body.light-mode .stat-val,
body.light-mode .asset-url-box span:first-child,
body.light-mode .kpi-sub,
body.light-mode .cockpit-kpi-sub,
body.light-mode .agenda-kpi-sub,
body.light-mode .agenda-kpi-badge,
body.light-mode .brand-sub {
    color: #333337 !important;
}

body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode .hero-banner h2,
body.light-mode .prog-card-title,
body.light-mode .contact-name-title {
    color: #2B2B30 !important;
}

@keyframes scaleLuxuryReveal {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-banner, .hero-card, .agenda-cockpit, .agenda-cockpit-section, .assets-grid, .kpi-grid {
    animation: scaleLuxuryReveal 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* TAREFA #422: BIO NUDE & ROSA (ZERO AZUL + ICONES ROSA) */
.ambient-glow,
.bio-bg-glow {
    background: radial-gradient(circle at 50% 15%, rgba(212, 212, 216, 0.18) 0%, rgba(197, 167, 125, 0.08) 45%, rgba(25, 25, 25, 0) 75%) !important;
}

.cfm-badge-pill {
    background: rgba(38, 38, 42, 0.84) !important;
    border: 1px solid rgba(228, 228, 231, 0.34) !important;
    color: #E4E4E7 !important;
    box-shadow: 0 8px 24px rgba(10, 4, 6, 0.35) !important;
}

.cfm-badge-pill .pulse-dot {
    background: #D4D4D8 !important;
    box-shadow: 0 0 10px #D4D4D8 !important;
}

.link-card {
    background: rgba(38, 38, 42, 0.84) !important;
    backdrop-filter: blur(18px) saturate(135%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(135%) !important;
    border: 1px solid rgba(228, 228, 231, 0.24) !important;
    box-shadow: 0 12px 30px rgba(10, 4, 6, 0.38) !important;
}

.link-card::before {
    background: linear-gradient(135deg, rgba(212, 212, 216, 0.28), transparent 60%) !important;
}

.link-card.featured {
    background: linear-gradient(145deg, rgba(48, 33, 38, 0.90) 0%, rgba(36, 25, 29, 0.92) 100%) !important;
    border: 1px solid rgba(246, 245, 242, 0.48) !important;
    box-shadow: 0 14px 36px rgba(212, 212, 216, 0.16) !important;
}

.link-card:hover,
.link-card.featured:hover {
    border-color: rgba(246, 245, 242, 0.72) !important;
    box-shadow: 0 18px 42px rgba(212, 212, 216, 0.24) !important;
    transform: translateY(-2px) !important;
}

.card-image-wrap {
    background: rgba(212, 212, 216, 0.14) !important;
    border: 1px solid rgba(228, 228, 231, 0.34) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #E4E4E7 !important;
}

.card-image-wrap svg {
    width: 28px !important;
    height: 28px !important;
    color: #E4E4E7 !important;
    stroke: #D4D4D8 !important;
}

.card-arrow {
    background: rgba(212, 212, 216, 0.12) !important;
    border: 1px solid rgba(228, 228, 231, 0.28) !important;
    color: #E4E4E7 !important;
}

.link-card:hover .card-arrow {
    background: linear-gradient(135deg, #D4D4D8 0%, #E4E4E7 100%) !important;
    color: #191919 !important;
    border-color: rgba(246, 245, 242, 0.65) !important;
}

.card-badge {
    color: #E4E4E7 !important;
}

/* TAREFA #423 POLISH: .nav-cta-btn, .hero-pillars-bar icons, .badge-prime */
.nav-cta-btn {
    background: linear-gradient(135deg, #D4D4D8 0%, #E4E4E7 52%, #C5A77D 100%) !important;
    color: #191919 !important;
    border: 1px solid rgba(246, 245, 242, 0.65) !important;
    box-shadow: 0 6px 18px rgba(212, 212, 216, 0.28) !important;
}

.nav-cta-btn:hover {
    filter: brightness(1.06) !important;
    box-shadow: 0 10px 24px rgba(212, 212, 216, 0.40) !important;
}

.hero-pillars-bar > div > div:first-child,
.hero-pillar-icon,
.pillar-icon-box {
    background: rgba(212, 212, 216, 0.14) !important;
    border-color: rgba(228, 228, 231, 0.34) !important;
    color: #E4E4E7 !important;
}

.hero-pillars-bar svg {
    color: #E4E4E7 !important;
    stroke: #D4D4D8 !important;
}

.badge-prime {
    background: rgba(212, 212, 216, 0.16) !important;
    border: 1px solid rgba(228, 228, 231, 0.38) !important;
    color: #E4E4E7 !important;
}

body.light-mode .badge-prime {
    background: rgba(212, 212, 216, 0.14) !important;
    border-color: rgba(51, 51, 55, 0.34) !important;
    color: #333337 !important;
}

/* TAREFA #423 POLISH 2: .trust-strip & .trust-icon */
.trust-strip {
    background: rgba(38, 38, 42, 0.84) !important;
    border-color: rgba(228, 228, 231, 0.28) !important;
}
.trust-icon {
    background: rgba(212, 212, 216, 0.16) !important;
    border: 1px solid rgba(228, 228, 231, 0.36) !important;
    color: #E4E4E7 !important;
}
.trust-icon svg {
    color: #E4E4E7 !important;
    stroke: #D4D4D8 !important;
}
body.light-mode .trust-strip {
    background: rgba(246, 245, 242, 0.90) !important;
    border-color: rgba(51, 51, 55, 0.24) !important;
}
body.light-mode .trust-icon {
    background: rgba(212, 212, 216, 0.14) !important;
    border-color: rgba(51, 51, 55, 0.34) !important;
    color: #333337 !important;
}

/* TAREFA #426: CONTRAST DARK & LIGHT MODE */
html:not([data-theme="light"]) body:not(.light-mode) {
    --text-primary: #F6F5F2 !important;
    --text-secondary: #ECEAE4 !important;
    --text-muted: #D5BFC6 !important;
}

html:not([data-theme="light"]) body:not(.light-mode) .module-desc,
html:not([data-theme="light"]) body:not(.light-mode) .card-subtitle,
html:not([data-theme="light"]) body:not(.light-mode) .text-muted,
html:not([data-theme="light"]) body:not(.light-mode) .kpi-sub,
html:not([data-theme="light"]) body:not(.light-mode) .kpi-label,
html:not([data-theme="light"]) body:not(.light-mode) .section-subtitle,
html:not([data-theme="light"]) body:not(.light-mode) .trust-text,
html:not([data-theme="light"]) body:not(.light-mode) p {
    color: #ECEAE4;
}

body.light-mode,
html[data-theme="light"] body {
    --text-primary: #222226 !important;
    --text-secondary: #333337 !important;
    --text-muted: #4D383E !important;
    color: #222226 !important;
}

body.light-mode p,
body.light-mode .module-desc,
body.light-mode .card-subtitle,
body.light-mode .card-desc,
body.light-mode .text-muted,
body.light-mode .kpi-sub,
body.light-mode .kpi-label,
body.light-mode .section-subtitle,
body.light-mode .trust-text,
body.light-mode .cfm-desc,
body.light-mode .playbook-subtitle,
body.light-mode .hero-sub,
body.light-mode .briefing-text,
body.light-mode .footer-copy,
body.light-mode .agenda-meta,
body.light-mode .asset-desc,
html[data-theme="light"] body p,
html[data-theme="light"] body .text-muted,
html[data-theme="light"] body .trust-text,
html[data-theme="light"] body .section-subtitle {
    color: #333337 !important;
}

body.light-mode .module-title,
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode strong {
    color: #222226 !important;
}

/* TAREFA #428: PAINEL DE META DE ESCALA & FUNIL FINANCEIRO */
.scale-meta-section {
    margin: 22px 0;
}
.scale-meta-card {
    background: rgba(34, 34, 38, 0.86);
    border: 1px solid rgba(228, 228, 231, 0.25);
    border-radius: 20px;
    padding: 24px 26px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}
.scale-meta-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.scale-meta-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.scale-meta-title-wrap h3 {
    margin: 0 0 4px 0;
    font-size: 19px;
    color: #F6F5F2;
}
.scale-meta-sub {
    margin: 0;
    font-size: 13px;
    color: #ECEAE4;
}
.scale-meta-goal-box {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 12px;
    background: rgba(212, 212, 216, 0.10);
    border: 1px solid rgba(212, 212, 216, 0.32);
}
.scale-goal-lbl {
    font-size: 12px;
    color: #ECEAE4;
}
.scale-goal-val {
    font-size: 15px;
    color: #E4E4E7;
}
.scale-goal-edit-btn,
.scale-goal-save-btn {
    padding: 5px 11px;
    border-radius: 8px;
    border: 1px solid rgba(246, 245, 242, 0.45);
    background: rgba(212, 212, 216, 0.20);
    color: #F6F5F2;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
}
.scale-goal-editor {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.scale-goal-editor input {
    width: 110px;
    padding: 5px 8px;
    border-radius: 8px;
    border: 1px solid rgba(246, 245, 242, 0.45);
    background: #191919;
    color: #F6F5F2;
    font-size: 12px;
}
.scale-progress-wrap {
    margin-bottom: 18px;
}
.scale-progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: #ECEAE4;
    margin-bottom: 7px;
}
.scale-progress-meta strong {
    color: #E4E4E7;
    font-size: 13.5px;
}
.scale-progress-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.scale-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #D4D4D8 0%, #E4E4E7 100%);
    transition: width 0.5s ease;
}
.scale-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
.scale-kpi-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(228, 228, 231, 0.20);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.scale-kpi-box.scale-kpi-highlight {
    background: rgba(212, 212, 216, 0.10);
    border-color: rgba(246, 245, 242, 0.38);
}
.scale-kpi-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #D5BFC6;
    font-weight: 700;
}
.scale-kpi-num {
    font-size: 20px;
    color: #F6F5F2;
    font-weight: 800;
}
.scale-kpi-highlight .scale-kpi-num {
    color: #E4E4E7;
}
.scale-kpi-hint {
    font-size: 11.5px;
    color: #ECEAE4;
}
.scale-funnel-wrap {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(228, 228, 231, 0.18);
    border-radius: 14px;
    padding: 14px 16px;
}
.scale-funnel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 12.5px;
    color: #ECEAE4;
}
.scale-funnel-head strong {
    color: #E4E4E7;
}
.scale-funnel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.scale-funnel-step {
    background: rgba(34, 34, 38, 0.72);
    border: 1px solid rgba(228, 228, 231, 0.20);
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.scale-funnel-step.funnel-step-won {
    border-color: rgba(246, 245, 242, 0.45);
    background: rgba(212, 212, 216, 0.12);
}
.funnel-step-num {
    font-size: 22px;
    font-weight: 800;
    color: #F6F5F2;
}
.funnel-step-won .funnel-step-num {
    color: #E4E4E7;
}
.funnel-step-lbl {
    font-size: 11.5px;
    color: #ECEAE4;
}
@media (max-width: 900px) {
    .scale-kpi-grid, .scale-funnel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Light Mode */
body.light-mode .scale-meta-card {
    background: rgba(246, 245, 242, 0.94) !important;
    border-color: rgba(51, 51, 55, 0.28) !important;
    box-shadow: 0 14px 36px rgba(138, 63, 75, 0.08) !important;
}
body.light-mode .scale-meta-title-wrap h3,
body.light-mode .scale-kpi-num,
body.light-mode .funnel-step-num {
    color: #222226 !important;
}
body.light-mode .scale-meta-sub,
body.light-mode .scale-goal-lbl,
body.light-mode .scale-progress-meta,
body.light-mode .scale-kpi-title,
body.light-mode .scale-kpi-hint,
body.light-mode .scale-funnel-head,
body.light-mode .funnel-step-lbl {
    color: #333337 !important;
}
body.light-mode .scale-meta-goal-box,
body.light-mode .scale-kpi-box.scale-kpi-highlight,
body.light-mode .scale-funnel-step.funnel-step-won {
    background: rgba(51, 51, 55, 0.10) !important;
    border-color: rgba(51, 51, 55, 0.35) !important;
}
body.light-mode .scale-goal-val,
body.light-mode .scale-progress-meta strong,
body.light-mode .scale-kpi-highlight .scale-kpi-num,
body.light-mode .scale-funnel-head strong,
body.light-mode .funnel-step-won .funnel-step-num {
    color: #9F4F5C !important;
}
body.light-mode .scale-goal-edit-btn,
body.light-mode .scale-goal-save-btn {
    background: #FFFFFF !important;
    color: #333337 !important;
    border-color: rgba(51, 51, 55, 0.42) !important;
}
body.light-mode .scale-goal-editor input {
    background: #FFFFFF !important;
    color: #222226 !important;
    border-color: rgba(51, 51, 55, 0.42) !important;
}
body.light-mode .scale-progress-track {
    background: rgba(51, 51, 55, 0.16) !important;
}
body.light-mode .scale-kpi-box,
body.light-mode .scale-funnel-wrap,
body.light-mode .scale-funnel-step {
    background: #F6F5F2 !important;
    border-color: rgba(51, 51, 55, 0.24) !important;
}

/* TAREFA #449: ICONES VIDRO GLASSMORPHISM */
.vg-glass-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, rgba(246, 245, 242, 0.22) 0%, rgba(212, 212, 216, 0.08) 100%) !important;
    border: 1px solid rgba(246, 245, 242, 0.38) !important;
    color: #E4E4E7 !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.32), 0 4px 12px rgba(0, 0, 0, 0.22) !important;
    flex-shrink: 0 !important;
    margin-right: 4px !important;
}
.vg-glass-icon svg {
    width: 13px !important;
    height: 13px !important;
    stroke: currentColor !important;
    vertical-align: middle !important;
}
body.light-mode .vg-glass-icon {
    background: linear-gradient(135deg, rgba(51, 51, 55, 0.16) 0%, rgba(255, 255, 255, 0.72) 100%) !important;
    border-color: rgba(51, 51, 55, 0.36) !important;
    color: #333337 !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.90), 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

/* TAREFA #451: IMPACTO VISUAL EXECUTIVO HEALTH SCALE */
.hero-banner,
.scale-meta-card {
    border-top: 2px solid rgba(246, 245, 242, 0.58) !important;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}
body.light-mode .hero-banner,
body.light-mode .scale-meta-card {
    border-top: 2.5px solid #333337 !important;
    box-shadow: 0 16px 40px rgba(138, 63, 75, 0.10) !important;
}

.scale-exclusives-section {
    margin: 20px 0 8px;
}
.scale-exclusives-head {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px;
    margin-bottom: 12px;
}
.scale-exclusives-title-row {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.scale-exclusives-title-row h3 {
    margin: 0; font-size: 18px; color: #F6F5F2;
}
.scale-exclusives-sub {
    font-size: 12.5px; color: #ECEAE4;
}
.scale-exclusive-pill {
    padding: 4px 10px; border-radius: 999px; font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
    background: linear-gradient(135deg, #D4D4D8 0%, #E4E4E7 100%); color: #191919;
}
.scale-exclusives-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
@media (max-width: 1020px) { .scale-exclusives-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .scale-exclusives-grid { grid-template-columns: 1fr; } }

.scale-exclusive-card {
    text-decoration: none;
    background: linear-gradient(160deg, rgba(42, 27, 32, 0.92) 0%, rgba(24, 17, 20, 0.94) 100%);
    border: 1px solid rgba(246, 245, 242, 0.28);
    border-radius: 16px;
    padding: 16px;
    display: flex; flex-direction: column; gap: 8px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.scale-exclusive-card:hover {
    transform: translateY(-3px);
    border-color: rgba(246, 245, 242, 0.62);
    box-shadow: 0 14px 32px rgba(212, 212, 216, 0.18);
}
.scale-ex-top {
    display: flex; justify-content: space-between; align-items: center;
}
.scale-ex-tag {
    font-size: 9.5px; font-weight: 800; letter-spacing: 0.07em;
    color: #E4E4E7; background: rgba(212, 212, 216, 0.14);
    border: 1px solid rgba(246, 245, 242, 0.30); border-radius: 999px; padding: 3px 8px;
}
.scale-exclusive-card h4 {
    margin: 0; font-size: 14.5px; font-weight: 800; color: #F6F5F2;
}
.scale-exclusive-card p {
    margin: 0; font-size: 12px; line-height: 1.5; color: #ECEAE4; flex: 1;
}
.scale-ex-cta {
    font-size: 11.5px; font-weight: 700; color: #E4E4E7; margin-top: 2px;
}

.scale-gauge-row {
    display: flex; align-items: center; gap: 18px; margin-bottom: 18px;
}
.scale-gauge-box {
    position: relative; width: 86px; height: 86px; flex-shrink: 0;
}
.scale-gauge-center {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.scale-gauge-center strong { font-size: 17px; font-weight: 800; color: #E4E4E7; line-height: 1.1; }
.scale-gauge-center span { font-size: 9px; font-weight: 700; letter-spacing: 0.08em; color: #D5BFC6; }

.funnel-bar-track {
    width: 100%; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); margin-top: 6px; overflow: hidden;
}
.funnel-bar-fill {
    height: 100%; border-radius: 999px; background: linear-gradient(90deg, #D4D4D8 0%, #E4E4E7 100%); transition: width 0.5s ease;
}

/* Light Mode */
body.light-mode .scale-exclusives-title-row h3,
body.light-mode .scale-exclusive-card h4 { color: #222226 !important; }
body.light-mode .scale-exclusives-sub,
body.light-mode .scale-exclusive-card p { color: #333337 !important; }
body.light-mode .scale-exclusive-pill {
    background: linear-gradient(135deg, #333337 0%, #9F4F5C 100%) !important; color: #FFFFFF !important;
}
body.light-mode .scale-exclusive-card {
    background: linear-gradient(160deg, #FFFFFF 0%, #F6F5F2 100%) !important;
    border-color: rgba(51, 51, 55, 0.28) !important;
}
body.light-mode .scale-ex-tag {
    color: #333337 !important; background: rgba(51, 51, 55, 0.12) !important; border-color: rgba(51, 51, 55, 0.30) !important;
}
body.light-mode .scale-ex-cta,
body.light-mode .scale-gauge-center strong { color: #9F4F5C !important; }
body.light-mode .scale-gauge-center span { color: #4D383E !important; }
body.light-mode .funnel-bar-track { background: rgba(51, 51, 55, 0.16) !important; }

/* TAREFA #469: AVYORA Executive Premium Polish (Scale) */
.btn-action-primary {
    background: #F6F5F2 !important;
    color: #191919 !important;
    border: 1px solid #F6F5F2 !important;
}
.btn-action-primary:hover {
    background: #E4E4E7 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
}
body.light-mode .btn-action-primary {
    background: #191919 !important;
    color: #F6F5F2 !important;
    border-color: #191919 !important;
}
body.light-mode .btn-action-primary:hover {
    background: #333337 !important;
}
.hero-badge-tag, .plan-badge {
    border-color: rgba(197, 167, 125, 0.45) !important;
}
