/* Botão de tema e olho da senha */
.theme-btn{width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.07);color:var(--gold-light);display:grid;place-items:center;padding:0;flex:none;transition:.25s}
.theme-btn:hover{background:rgba(240,206,131,.18);transform:rotate(18deg)}
.theme-btn svg{width:20px;height:20px}
.theme-btn.in-bar{margin-left:4px}
.nav-inner .theme-btn{order:5}
@media (max-width:920px){.nav-inner .theme-btn{margin-left:auto}.nav-inner .burger{margin-left:0}}
.theme-btn:not(.in-bar){position:fixed;right:16px;top:16px;z-index:400;background:rgba(6,18,37,.85)}
.pw{position:relative;display:block}
.pw input{padding-right:46px!important}
.pw-eye{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:36px;height:36px;border:0;border-radius:10px;background:transparent;color:#6b7587;display:grid;place-items:center;padding:0}
.pw-eye:hover{background:rgba(201,154,67,.16);color:var(--navy)}
.pw-eye svg{width:20px;height:20px}

/* ================= TEMA ESCURO ================= */
:root[data-theme=dark]{color-scheme:dark;--ivory:#08121f;--paper:#0d1a2c;--ink:#e7eef8;--muted:#9db0c8;--line:rgba(240,206,131,.24);--shadow:0 24px 70px rgba(0,0,0,.5);--shadow-sm:0 10px 30px rgba(0,0,0,.35)}
[data-theme=dark] body{background:var(--ivory);color:var(--ink)}
[data-theme=dark] .mentoria,[data-theme=dark] .sobre,[data-theme=dark] .agenda{background:#0a1626}
[data-theme=dark] .section-title,[data-theme=dark] .card h3,[data-theme=dark] .pillars strong,[data-theme=dark] .acc summary,[data-theme=dark] .story-title,[data-theme=dark] .story-quote,
[data-theme=dark] .assist-card h3,[data-theme=dark] .cal-head h3,[data-theme=dark] .book h3,[data-theme=dark] .sobre-copy .lead,[data-theme=dark] .cal-rules strong,
[data-theme=dark] .page-title,[data-theme=dark] .panel h2,[data-theme=dark] .panel h3,[data-theme=dark] .item h3,[data-theme=dark] .kpi b,[data-theme=dark] .auth-card h1,
[data-theme=dark] .modal-box h2,[data-theme=dark] .modal-box h3,[data-theme=dark] .toolbar h2,[data-theme=dark] .page-sub+*{color:#f4f7fc}
[data-theme=dark] .purpose-text,[data-theme=dark] .direito-copy p,[data-theme=dark] .sobre-copy>p,[data-theme=dark] .acc details>div,[data-theme=dark] .assist-card ul,
[data-theme=dark] .book label,[data-theme=dark] .form label,[data-theme=dark] .prose,[data-theme=dark] .cal-rules{color:#c3d0e2}
[data-theme=dark] .cal-rules{background:rgba(240,206,131,.08)}
[data-theme=dark] .card,[data-theme=dark] .cal,[data-theme=dark] .book,[data-theme=dark] .pillars div,[data-theme=dark] .acc details,[data-theme=dark] .assist-card,
[data-theme=dark] .panel,[data-theme=dark] .kpi,[data-theme=dark] .item,[data-theme=dark] .modal-box,[data-theme=dark] .auth-card,[data-theme=dark] .tbl-wrap,
[data-theme=dark] .lab-list button,[data-theme=dark] .consent{background:#0f2036;border-color:var(--line);color:var(--ink)}
[data-theme=dark] .pills span,[data-theme=dark] .slot,[data-theme=dark] .filters button,[data-theme=dark] .range button,[data-theme=dark] .cal-head button,[data-theme=dark] .cal-day.free{background:#12263f;color:#e7eef8;border-color:var(--line)}
[data-theme=dark] .cal-day.free{background:rgba(31,157,99,.22);border-color:rgba(60,200,130,.7);color:#8ff0bd}
[data-theme=dark] .cal-day.sel{background:var(--ok);color:#fff}
[data-theme=dark] .cal-day.past{color:#4d5b70}
[data-theme=dark] .cal-day.busy{color:#c07772}
[data-theme=dark] .slot.sel,[data-theme=dark] .filters button[aria-pressed=true],[data-theme=dark] .range button[aria-pressed=true],[data-theme=dark] .seg button[aria-selected=true]{background:var(--gold-light);color:#061225;border-color:var(--gold-light)}
[data-theme=dark] .book input,[data-theme=dark] .book textarea,[data-theme=dark] .form input,[data-theme=dark] .form textarea,[data-theme=dark] .form select,[data-theme=dark] .inp,[data-theme=dark] .tbl select{background:#081525;color:#e7eef8;border-color:rgba(255,255,255,.2)}
[data-theme=dark] .seg{background:rgba(255,255,255,.06)}[data-theme=dark] .seg button{color:#c3d0e2}
[data-theme=dark] .tbl th{background:rgba(240,206,131,.1);color:#e8d8af}
[data-theme=dark] .tbl td{border-color:rgba(240,206,131,.14)}
[data-theme=dark] .tbl tr:hover td{background:rgba(240,206,131,.05)}
[data-theme=dark] .tabs button:hover,[data-theme=dark] .tabs button[aria-selected=true]{color:#fff;background:rgba(240,206,131,.08)}
[data-theme=dark] .btn-outline{--fg:#f4f7fc;--bd:rgba(240,206,131,.4)}
[data-theme=dark] .btn-dark{--bg:#16365d}
[data-theme=dark] .feed div{background:rgba(240,206,131,.07)}
[data-theme=dark] .chart .ax{fill:#8fa2bc}[data-theme=dark] .chart .grid{stroke:rgba(255,255,255,.08)}
[data-theme=dark] .heat span.c{background:rgba(116,168,255,var(--a,.05))}
[data-theme=dark] .bar-row .tr,[data-theme=dark] .progress{background:rgba(240,206,131,.12)}
[data-theme=dark] .chat-log .b{background:#16283f}[data-theme=dark] .chat-log .u{background:rgba(240,206,131,.2)}
[data-theme=dark] .cw-view.compact{background:#0f2036;border-color:var(--line);color:var(--ink)}
[data-theme=dark] .compact .cw-msgs{background:#0b1a2e}
[data-theme=dark] .compact .cw-m.bot{background:#14293f;color:#e7eef8;border-color:rgba(240,206,131,.2)}
[data-theme=dark] .compact .cw-m.bot strong{color:#fff}
[data-theme=dark] .compact .cw-form,[data-theme=dark] .compact .cw-foot{background:#0f2036;color:#9db0c8}
[data-theme=dark] .compact .cw-input{background:#081525;color:#fff;border-color:rgba(240,206,131,.3)}
[data-theme=dark] .compact .cw-chip{background:#12263f;color:#e8d8af;border-color:var(--line)}
[data-theme=dark] .pw-eye{color:#9db0c8}[data-theme=dark] .pw-eye:hover{color:#fff}
[data-theme=dark] .auth-card .sub,[data-theme=dark] .muted,[data-theme=dark] .small{color:var(--muted)}
[data-theme=dark] .acc details[open]{background:#12263f}
[data-theme=dark] mark{background:linear-gradient(transparent 60%,rgba(240,206,131,.35) 60%)}
[data-theme=dark] .pill{background:rgba(240,206,131,.16);color:#f0ce83}
[data-theme=dark] a.back,[data-theme=dark] .item .pill.info{color:#9fc6ff}
.nav-links a{white-space:nowrap}
@media (min-width:921px) and (max-width:1240px){.nav-links{gap:14px;font-size:.8rem}.nav-inner{gap:12px}.brand-copy small{display:none}.nav-cta{padding:9px 14px}}
[data-theme=dark] .portal h1[style],[data-theme=dark] .portal h2[style],[data-theme=dark] .portal h3[style],[data-theme=dark] .portal b[style]{color:#f4f7fc!important}

/* botão do header: nunca cortar o texto */
.nav-cta{white-space:nowrap;flex:0 0 auto;overflow:hidden;width:auto;min-width:max-content;padding-inline:18px}
@media (max-width:520px){.nav-cta{padding-inline:12px;font-size:.78rem}}

/* botão de tema com rótulo: mais fácil de achar */
.theme-btn{width:auto;min-width:42px;border-radius:999px;padding:0 14px;gap:8px;font:600 .82rem/1 inherit;font-family:inherit;color:var(--gold-light)}
.theme-btn .theme-lbl{font-size:.82rem}
@media (max-width:920px){.theme-btn .theme-lbl{display:none}.theme-btn{padding:0;width:42px}}
:root.theme-anim *,:root.theme-anim *::before,:root.theme-anim *::after{transition:background-color .35s,color .35s,border-color .35s!important}
.theme-btn{display:inline-flex;align-items:center;justify-content:center;height:42px;white-space:nowrap}
.theme-btn svg{flex:none}
[data-theme=dark] .videos{background:linear-gradient(180deg,#0a1626,#08121f)}
.theme-btn:hover{transform:none!important;background:rgba(240,206,131,.18)}
