/* Perfil Perrier — central da conta */
.page-profile {
    --profile-green: #d97706;
    --profile-deep: #0c0d12;
    --profile-forest: #161922;
    --profile-mint: #fef3c7;
    --profile-paper: #f4f5f8;
    --profile-cream: #faf6ea;
    --profile-gold: #d4a037;
    --profile-gold-bright: #fae28e;
    --profile-ink: #111317;
    --profile-muted: #6b7280;
    --profile-line: #e2e5eb;
    --primary: var(--profile-green);
    --primary-rgb: 217, 119, 6;
    --primary-soft: var(--profile-mint);
    --primary-softer: #fef9ee;
    --primary-strong: var(--profile-green);
    --primary-deep: var(--profile-deep);
    color: var(--profile-ink);
    background: #f4f5f8 !important;
}
.page-profile .profile-app { max-width: 480px !important; margin: 0 auto !important; min-height: 100dvh; padding-bottom: calc(82px + env(safe-area-inset-bottom,0px)); background: linear-gradient(180deg,#f9fbf8 0,#eef4ef 100%) !important; box-shadow: 0 0 50px rgba(0,0,0,.15) !important; }
.page-profile .profile-topbar { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border-bottom: 1px solid rgba(212,175,55,.2) !important; background: #0c0d12 !important; }
.page-profile .profile-brand { min-width: 0; display: flex; align-items: center; gap: 10px; }
.page-profile .profile-logo { width: auto; max-width: 103px; height: 29px; object-fit: contain; }
.page-profile .profile-brand span { padding-left: 10px; border-left: 1px solid rgba(212,175,55,.3); color: rgba(255,255,255,.65); font-size: 8px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; }
.page-profile .profile-account-state { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid rgba(212,175,55,.35); border-radius: 999px; color: #fae28e; background: rgba(212,175,55,.14); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.page-profile .profile-account-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fae28e; box-shadow: 0 0 0 4px rgba(250,226,142,.2); }
.page-profile .perfil-header { position: relative; min-height: 310px !important; padding: 30px 20px 26px !important; overflow: hidden; border: 0 !important; border-radius: 0 !important; color: #fff !important; background: radial-gradient(circle at 85% 35%, rgba(217,119,6,.28) 0%, transparent 60%), linear-gradient(160deg, #0c0d12 0%, #161922 52%, #08090d 100%) !important; box-shadow: none !important; }
.page-profile .perfil-header::before { content: ""; position: absolute; left: -90px; bottom: -176px; width: 290px; height: 290px; border: 1px solid rgba(255,255,255,.10); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.025),0 0 0 84px rgba(255,255,255,.018); }
.page-profile .perfil-header .banner-image { display: none !important; }
.page-profile .perfil-header .banner-image img { display: none !important; }
.page-profile .profile-hero-intro { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.page-profile .profile-hero-copy { min-width: 0; }
.page-profile .profile-eyebrow { display: block; color: #fae28e; font-size: 8px; font-weight: 950; letter-spacing: 1.5px; text-transform: uppercase; }
.page-profile .profile-hero-copy h1 { max-width: 310px; margin: 9px 0 8px; color: #fff !important; font-size: clamp(27px,7.5vw,39px); line-height: 1; font-weight: 950; letter-spacing: -1.3px; }
.page-profile .profile-hero-copy > p { max-width: 310px; margin: 0; color: rgba(255,255,255,.78); font-size: 11px; line-height: 1.5; }
.page-profile .profile-hero-seal { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; border: 1px solid rgba(212,175,55,.35); border-radius: 16px; color: #fae28e; background: rgba(212,175,55,.14); backdrop-filter: blur(8px); }
.page-profile .profile-hero-seal iconify-icon { width: 28px; height: 28px; font-size: 28px; }
.page-profile .perfil-identity { position: relative; z-index: 2; margin: 24px 0 0 !important; padding: 0 !important; gap: 12px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.page-profile .perfil-avatar { width: 58px !important; height: 58px !important; border: 3px solid rgba(212,175,55,.55) !important; color: #0c0d12 !important; background: linear-gradient(145deg,#fae28e,#d89f33) !important; box-shadow: 0 12px 26px rgba(0,0,0,.35) !important; font-size: 22px !important; font-weight: 900 !important; }
.page-profile .perfil-identity-body { color: #fff !important; }
.page-profile .perfil-id-row { color: #fff !important; font-size: 13px; }
.page-profile .perfil-copy-btn { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(229,179,72,.3); border-radius: 9px; color: #fae28e !important; background: rgba(255,255,255,.08); }
.page-profile .perfil-plan,.page-profile .perfil-since { color: rgba(255,255,255,.78) !important; opacity: 1 !important; font-size: 10px !important; }
.page-profile .perfil-plan { color: #fae28e !important; font-weight: 850; }
.page-profile .perfil-hero-stats { position: relative; z-index: 2; gap: 9px !important; margin-top: 18px !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
.page-profile .perfil-hero-stat { min-width: 0; padding: 13px 14px !important; text-align: left !important; border: 1px solid rgba(229,179,72,.28) !important; border-radius: 14px !important; background: rgba(255,255,255,.08) !important; backdrop-filter: blur(9px); }
.page-profile .perfil-hero-stat + .perfil-hero-stat::before { display: none !important; }
.page-profile .perfil-hero-val { overflow-wrap: anywhere; color: #fae28e !important; font-size: clamp(16px,4.5vw,21px) !important; font-weight: 950 !important; text-shadow: 0 0 14px rgba(250,226,142,.35); }
.page-profile .perfil-hero-lbl { display: block; margin-top: 4px; color: rgba(255,255,255,.8) !important; font-size: 8px !important; font-weight: 800; text-transform: uppercase; letter-spacing: .45px; }

/* Conteúdo e visão financeira */
.page-profile .perfil-main { display: flex; flex-direction: column; gap: 14px; padding: 18px 16px 114px !important; }
.page-profile .perfil-overview { margin: 0 !important; padding: 18px !important; border: 1px solid var(--profile-line) !important; border-radius: 22px !important; color: var(--profile-ink) !important; background: #fff !important; box-shadow: 0 14px 34px rgba(0,0,0,.06) !important; }
.page-profile .perfil-overview-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.page-profile .perfil-kicker { color: var(--profile-green) !important; font-size: 8px !important; font-weight: 950; letter-spacing: 1.15px; text-transform: uppercase; }
.page-profile .perfil-overview h2 { margin: 4px 0 0; color: var(--profile-ink) !important; font-size: 21px; line-height: 1.05; font-weight: 950; letter-spacing: -.55px; }
.page-profile .perfil-history-link { display: inline-flex; align-items: center; gap: 5px; color: var(--profile-green) !important; font-size: 9px; font-weight: 900; white-space: nowrap; }
.page-profile .dash-stats { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 8px !important; overflow: visible !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
.page-profile .dash-stat { min-width: 0; min-height: 92px; display: flex; flex-direction: column; justify-content: flex-end; padding: 13px !important; border: 1px solid #fed7aa !important; border-radius: 15px !important; text-align: left !important; background: linear-gradient(145deg,#fff,#fffbeb) !important; box-shadow: 0 8px 21px rgba(0,0,0,.05) !important; }
.page-profile .dash-stat:nth-child(2) { border-color: #eadfbf !important; background: linear-gradient(145deg,#fff,#fff6e5) !important; }
.page-profile .dash-stat:nth-child(3) { border-color: #ead9d7 !important; background: linear-gradient(145deg,#fff,#fbefed) !important; }
.page-profile .dash-stat:nth-child(4) { border-color: #d8e5ee !important; background: linear-gradient(145deg,#fff,#eaf3f9) !important; }
.page-profile .dash-stat strong { overflow-wrap: anywhere; color: var(--profile-ink) !important; font-size: 15px !important; line-height: 1.15; font-weight: 950 !important; }
.page-profile .dash-stat span { margin-top: 6px; color: var(--profile-muted) !important; font-size: 8px !important; font-weight: 800; }
.page-profile .dash-actions { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 9px !important; margin: 0 !important; }
.page-profile .dash-action { width: 100%; min-height: 82px; flex-direction: row !important; justify-content: flex-start !important; gap: 11px !important; padding: 12px !important; border: 1px solid #fed7aa !important; border-radius: 17px !important; color: var(--profile-deep) !important; background: #fff !important; box-shadow: 0 10px 25px rgba(0,0,0,.05) !important; text-align: left !important; font-size: 11px !important; font-weight: 950 !important; }
.page-profile .dash-action-ico { width: 46px !important; height: 46px !important; flex: 0 0 46px; border-radius: 14px !important; color: var(--profile-deep) !important; background: var(--profile-mint) !important; box-shadow: none !important; }
.page-profile .dash-action:nth-child(2) { color: #934d48 !important; border-color: #ecd9d7 !important; }
.page-profile .dash-action:nth-child(2) .dash-action-ico { color: #984a45 !important; background: #f9e7e4 !important; }
.page-profile .dash-gift { position: relative; min-height: 104px; display: grid !important; grid-template-columns: 48px minmax(0,1fr) 24px; align-items: center; gap: 12px; margin: 0 !important; padding: 16px !important; overflow: hidden; border: 1px solid #dfd6ba !important; border-radius: 20px !important; color: var(--profile-ink) !important; background: radial-gradient(circle at 92% 8%,rgba(201,154,67,.20),transparent 37%),linear-gradient(135deg,#fff,#fffbeb) !important; box-shadow: 0 14px 32px rgba(0,0,0,.06) !important; }
.page-profile .dash-gift::after { content: ""; position: absolute; right: -38px; bottom: -54px; width: 112px; height: 112px; border: 1px solid rgba(201,154,67,.20); border-radius: 50%; }
.page-profile .dash-gift-ico { width: 48px !important; height: 48px !important; border: 1px solid #e8d7ad; border-radius: 14px !important; color: #91671c !important; background: #fff3d6 !important; box-shadow: none !important; }
.page-profile .dash-gift-text { min-width: 0; }
.page-profile .dash-gift-text strong,.page-profile .dash-gift-text small { display: block; }
.page-profile .dash-gift-text strong { color: var(--profile-ink); font-size: 13px; font-weight: 950; }
.page-profile .dash-gift-text small { margin-top: 4px; color: var(--profile-muted); font-size: 9px; line-height: 1.4; }
.page-profile .dash-gift > iconify-icon:last-child { position: relative; z-index: 1; color: #8f6a27; }
.page-profile .perfil-menu-section { margin: 4px 0 0; }
.page-profile .perfil-menu-section h2 { display: none !important; }
.page-profile .dash-grid { display: flex !important; flex-direction: column !important; gap: 0 !important; margin: 0 !important; padding: 5px !important; border: 1px solid var(--profile-line) !important; border-radius: 19px !important; background: #fff !important; box-shadow: 0 12px 29px rgba(0,0,0,.06) !important; }
.page-profile .dash-item { width: 100%; min-height: 60px; display: grid !important; grid-template-columns: 42px minmax(0,1fr) 20px; align-items: center !important; gap: 11px !important; padding: 8px 10px !important; border: 0 !important; border-radius: 14px !important; color: var(--profile-ink) !important; background: transparent !important; box-shadow: none !important; text-align: left !important; font-size: 11px !important; font-weight: 850 !important; }
.page-profile .dash-item + .dash-item { border-top: 1px solid #f1f5f9 !important; border-radius: 0 0 14px 14px !important; }
.page-profile .dash-item:hover { background: #fffbeb !important; }
.page-profile .dash-item-ico { width: 42px !important; height: 42px !important; border-radius: 12px !important; color: var(--profile-deep) !important; background: var(--profile-mint) !important; box-shadow: none !important; font-size: 22px !important; }
.page-profile .dash-item-ico .bi { font-size: 22px !important; line-height: 0 !important; display: block !important; }
.page-profile .dash-item-ico .bi::before { width: 22px !important; height: 22px !important; display: block !important; }
.page-profile .dash-item:nth-child(2n) .dash-item-ico { color: var(--profile-deep) !important; background: var(--profile-mint) !important; }
.page-profile .dash-item:nth-child(3n) .dash-item-ico { color: var(--profile-deep) !important; background: var(--profile-mint) !important; }
.page-profile .dash-item > iconify-icon:last-child { justify-self: end; color: #89968e; font-size: 16px; }
.page-profile .perfil-logout { width: 100%; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; border: 1px solid #edd5d7 !important; border-radius: 13px; color: #a13f47 !important; background: #fff4f5 !important; font-size: 10px; font-weight: 900; }
.page-profile .perfil-logout:hover { background: #ffebed !important; }


.page-profile .iaturbo-full-sheet { left: 50%; right: auto; width: min(100%,520px); color: var(--profile-ink) !important; background: var(--profile-paper) !important; transform: translate(-50%,100%); box-shadow: 0 0 60px rgba(0,0,0,.35); }
.page-profile .iaturbo-full-sheet.is-open { transform: translate(-50%,0); }
.page-profile .iaturbo-full-sheet-head { min-height: 66px; padding: calc(env(safe-area-inset-top,0px) + 13px) 16px 13px; border-bottom: 1px solid var(--profile-line) !important; color: var(--profile-ink) !important; background: rgba(255,255,255,.97) !important; }
.page-profile .iaturbo-full-sheet-back { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #fed7aa; border-radius: 50%; color: var(--profile-deep) !important; background: var(--profile-mint) !important; }
.page-profile .iaturbo-full-sheet-title { color: var(--profile-ink) !important; font-size: 17px; font-weight: 950; }
.page-profile #dialogSenha .iaturbo-full-sheet-body { width: calc(100% - 32px); max-width: 440px; margin: 20px auto; padding: 19px !important; gap: 8px; border: 1px solid var(--profile-line); border-radius: 20px; background: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.06); }
.page-profile #dialogSenha label { margin-top: 7px; color: var(--profile-ink) !important; font-size: 10px; font-weight: 850; }
.page-profile .perfil-input { min-height: 48px; padding: 11px 12px !important; border: 1px solid #e2e8f0 !important; border-radius: 10px !important; color: var(--profile-ink) !important; background: #fff !important; font-size: 13px; }
.page-profile .perfil-input:focus { outline: 0; border-color: var(--profile-green) !important; box-shadow: 0 0 0 3px rgba(217,119,6,.15) !important; }
.page-profile #dialogSenha .sub-sheet-ok { min-height: 48px; margin-top: 10px; border-radius: 10px !important; color: #0c0d12 !important; background: linear-gradient(135deg, #fae28e 0%, #d89f33 100%) !important; box-shadow: 0 10px 20px rgba(212,160,55,.32) !important; font-size: 11px; font-weight: 900; }
.page-profile #pwdErr:empty { display: none; }
.page-profile #pwdErr:not(:empty) { margin-top: 5px; padding: 9px 10px; border: 1px solid #efd0d3; border-radius: 9px; color: #a13d45; background: #fff4f5; font-size: 10px; }
/* Plano de carreira dinâmico: claro, rico e sem herança roxa. */
.page-profile #carreiraContent { padding: 0 0 40px !important; background: var(--profile-paper); }
.page-profile .cr-loading,.page-profile .cr-error,.page-profile .carreira-loading,.page-profile .carreira-error { color: var(--profile-muted) !important; }
.page-profile .cr-error,.page-profile .carreira-error { color: #a13d45 !important; }
.page-profile .cr-hero { padding: 30px 18px 28px !important; background: radial-gradient(circle at 92% 8%,rgba(250,226,142,.26),transparent 34%),linear-gradient(140deg,#0c0d12,#161922 65%,#b45309) !important; }
.page-profile .cr-hero h1 { color: #fff !important; }
.page-profile .cr-hero h1 span { color: #fae28e !important; }
.page-profile .cr-hero p { color: rgba(255,255,255,.82) !important; }
.page-profile .cr-hero-art { color: #fae28e !important; filter: drop-shadow(0 10px 26px rgba(0,0,0,.35)) !important; }
.page-profile .cr-body { padding: 16px !important; background: var(--profile-paper) !important; }
.page-profile .cr-journey,.page-profile .cr-card,.page-profile .cr-geral,.page-profile .cr-rules { border: 1px solid var(--profile-line) !important; color: var(--profile-ink) !important; background: #fff !important; box-shadow: 0 12px 29px rgba(0,0,0,.06) !important; }
.page-profile .cr-journey-ico { color: var(--profile-deep) !important; border-color: #fed7aa !important; background: var(--profile-mint) !important; }
.page-profile .cr-journey-txt strong,.page-profile .cr-title,.page-profile .cr-metric strong,.page-profile .cr-geral-item strong,.page-profile .cr-rules-head strong { color: var(--profile-ink) !important; }
.page-profile .cr-journey-txt span,.page-profile .cr-desc,.page-profile .cr-prog-head,.page-profile .cr-geral-item small,.page-profile .cr-rules li { color: var(--profile-muted) !important; }
.page-profile .cr-journey-arrow { color: #87958c !important; }
.page-profile .cr-hex::after { background: #fff !important; }
.page-profile .cr-card { border-color: var(--lv-border,var(--profile-line)) !important; box-shadow: 0 12px 28px rgba(0,0,0,.06),0 0 20px -10px var(--lv-glow,transparent) !important; }
.page-profile .cr-metric { border-color: #fed7aa !important; background: #fff !important; }
.page-profile .cr-metric span,.page-profile .cr-geral-lbl { color: #77867c !important; }
.page-profile .cr-prog { background: #e2e8f0 !important; }
.page-profile .cr-status.locked { color: #64748b !important; background: #f1f5f9 !important; }
.page-profile .cr-status.reached { color: #0c0d12 !important; background: linear-gradient(135deg, #fae28e 0%, #d89f33 100%) !important; }
.page-profile .cr-status.claimed { color: var(--profile-deep) !important; background: var(--profile-mint) !important; }
.page-profile .cr-claim { color: #0c0d12 !important; background: linear-gradient(135deg, #fae28e 0%, #d89f33 100%) !important; box-shadow: 0 10px 20px rgba(212,160,55,.32) !important; }
.page-profile .cr-geral-item + .cr-geral-item::before { background: #e2e8f0 !important; }
.page-profile .cr-rules-head i { color: var(--profile-deep) !important; background: var(--profile-mint) !important; }
.page-profile :is(button,a,input):focus-visible { outline: 3px solid rgba(217,119,6,.22) !important; outline-offset: 2px; }
.page-profile .perfil-main { display: flex !important; flex-direction: column !important; gap: 16px !important; }
@media (max-width: 380px) {
    .page-profile .profile-brand span,.page-profile .profile-account-state { display: none; }
    .page-profile .perfil-header { padding-inline: 16px !important; }
    .page-profile .profile-hero-seal { width: 46px; height: 46px; flex-basis: 46px; }
    .page-profile .perfil-main { padding-inline: 13px !important; }
    .page-profile .dash-action { min-height: 76px; padding: 10px !important; }
    .page-profile .dash-action-ico { width: 42px !important; height: 42px !important; flex-basis: 42px; }
}
@media (prefers-reduced-motion: reduce) {
    .page-profile *,.page-profile *::before,.page-profile *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}