/* Plus Jakarta Sans (OFL-1.1), hospedada no próprio site: nenhum dado do visitante vai para o Google. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format("woff2-variations"), url(/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2-variations"), url(/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ==========================================================================
   TEMA OFÍCIO — amarelo + azul (acolhedor e confiante)
   Marinho para texto e blocos de contraste · azul vivo para ações · amarelo como cor de marca.
   Carregado depois de style.css. Para voltar ao visual anterior, basta não carregar este arquivo.
   ========================================================================== */
:root {
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Plus Jakarta Sans", system-ui, sans-serif;
  --ink: #0b1b3f;
  --bg: #ffffff; --bg-subtle: #f5f7fb; --surface: #ffffff; --surface-2: #eef2f8;
  --hover: rgba(11, 27, 63, .04); --active: rgba(11, 27, 63, .07);
  --line: rgba(11, 27, 63, .09); --line-strong: rgba(11, 27, 63, .16);
  --text: #0b1b3f; --text-2: #46536e; --text-3: #7c879d;
  --primary: #1f5eff; --primary-hover: #1a4fe0; --on-primary: #ffffff;
  --brand: #1f5eff; --brand-soft: rgba(31, 94, 255, .08); --link: #1f5eff;
  --yellow: #ffc72c; --yellow-2: #ffd75e; --yellow-soft: #fff4d1; --on-yellow: #0b1b3f;
  --r-lg: 18px; --r: 12px; --r-sm: 10px;
  --shadow-xs: 0 1px 2px rgba(11, 27, 63, .05);
  --shadow-sm: 0 2px 4px rgba(11, 27, 63, .04), 0 10px 28px -12px rgba(11, 27, 63, .14);
  --shadow-lg: 0 0 0 1px rgba(11, 27, 63, .06), 0 24px 56px -16px rgba(11, 27, 63, .28);
  --ring: 0 0 0 2px #fff, 0 0 0 4px rgba(31, 94, 255, .55);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1122; --bg-subtle: #0d1529; --surface: #121b33; --surface-2: #19243f;
    --hover: rgba(255, 255, 255, .05); --active: rgba(255, 255, 255, .08);
    --line: rgba(255, 255, 255, .09); --line-strong: rgba(255, 255, 255, .16);
    --text: #eaf0ff; --text-2: #aab6d3; --text-3: #7381a3;
    --primary: #4f86ff; --primary-hover: #6b9bff; --on-primary: #fff; --brand: #6b9bff; --link: #8fb2ff;
    --yellow-soft: rgba(255, 199, 44, .14);
    --ring: 0 0 0 2px var(--bg), 0 0 0 4px rgba(107, 155, 255, .6);
  }
}
body { font-size: 15px; letter-spacing: -.005em; }
h1, h2, h3 { letter-spacing: -.025em; font-weight: 700; }
h1 { font-weight: 800; }
::selection { background: rgba(255, 199, 44, .5); }

/* marca: quadrado amarelo, anel marinho, ponto azul */
.logo { font-weight: 800; font-size: 17px; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--yellow); }
.logo-mark::before { width: 10px; height: 10px; border: 2.5px solid #0b1b3f; }
.logo-mark::after { right: 4px; bottom: 4px; width: 6px; height: 6px; background: #1f5eff; box-shadow: 0 0 0 1.5px var(--yellow); }

/* botões */
.btn { --h: 40px; padding: 0 16px; border-radius: 12px; font-weight: 700; font-size: 14px; }
.btn.sm { --h: 32px; padding: 0 11px; border-radius: 9px; font-size: 13px; }
.btn.lg { --h: 50px; padding: 0 24px; border-radius: 14px; font-size: 15.5px; }
.btn:not(.secondary):not(.ghost):not(.danger):not(.whatsapp):not(.danger-solid) { box-shadow: 0 8px 20px -10px rgba(31, 94, 255, .75); }
.btn.secondary { border: 1.5px solid var(--line-strong); box-shadow: none; }
.btn.secondary:hover { border-color: var(--primary); background: var(--surface); color: var(--primary); }

/* campos e cartões */
input, select, textarea { height: 42px; border-radius: 12px; border-width: 1.5px; box-shadow: none; }
textarea { height: auto; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(31, 94, 255, .12); }
.card, .rows, .panel, .statstrip, .cal { border-radius: var(--r-lg); box-shadow: var(--shadow-sm); border-color: var(--line); }
.avatar { background: var(--yellow-soft); color: var(--text); box-shadow: none; font-weight: 700; }
.badge, .pill { font-weight: 600; }
.pill { border-width: 1.5px; }
dialog { border-radius: 20px; }
dialog .d-foot { border-radius: 0 0 20px 20px; }
.toast { border-radius: 14px; font-weight: 600; }
.toast .icon { color: #12a26b; }
.msg.success { background: rgba(18, 162, 107, .08); color: #0b7a51; border-color: rgba(18, 162, 107, .25); }
kbd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ---------- áreas amarelas: sempre claras com texto marinho, também no modo escuro ---------- */
.hero, .final-cta {
  --bg: var(--yellow); --surface: #fff; --surface-2: #f4f6fb; --bg-subtle: #f7f8fc;
  --text: #0b1b3f; --text-2: #3c4a68; --text-3: #5c6884; --line: rgba(11, 27, 63, .1); --line-strong: rgba(11, 27, 63, .2);
  --primary: #1f5eff; --primary-hover: #1a4fe0; --on-primary: #fff; --link: #1a4fe0; --hover: rgba(11, 27, 63, .05); --active: rgba(11, 27, 63, .08);
  background: var(--yellow); color: var(--text);
}
.hero.grid-bg::before, .final-cta.grid-bg::before, .auth.grid-bg::before { display: none; }

/* ---------- área pública ---------- */
.site-header { background: color-mix(in srgb, var(--bg) 92%, transparent); }
.site-nav a:not(.btn) { font-weight: 600; }
.hero { position: relative; overflow: hidden; padding: 88px 0 0; }
.hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -220px; border-radius: 50%; background: rgba(255, 255, 255, .28); pointer-events: none; }
.hero > .container { position: relative; z-index: 1; }
.eyebrow { background: #fff; border: 0; color: #0b1b3f; font-weight: 600; box-shadow: 0 4px 14px -6px rgba(120, 85, 0, .45); }
.eyebrow .dot { background: #1f5eff; box-shadow: 0 0 0 3px rgba(31, 94, 255, .18); }
.display { font-weight: 800; letter-spacing: -.045em; line-height: 1.04; }
.display .dim { color: var(--primary); }
.hero .lead { font-size: 18px; }
.hero .btn.secondary, .final-cta .btn.secondary { background: transparent; border: 1.5px solid #1f5eff; color: #0b1b3f; }
.hero .btn.secondary:hover, .final-cta .btn.secondary:hover { background: rgba(31, 94, 255, .08); color: #0b1b3f; }
.frame { max-width: 1040px; margin-top: 56px; padding: 0; background: none; }
.frame-in { border: 0; border-radius: 20px 20px 0 0; box-shadow: 0 -10px 60px -20px rgba(110, 75, 0, .55); background: #f5f7fb; }
.frame-bar { background: #fff; }
.frame-bar i:nth-child(1) { background: #ff6b6b; }
.frame-bar i:nth-child(2) { background: var(--yellow); }
.frame-bar i:nth-child(3) { background: #3ccf8e; }
.frame-bar span { font-family: var(--font); font-weight: 600; }
.frame-side span.on { background: var(--yellow); color: #0b1b3f; font-weight: 700; }
.frame-note { display: none; }

/* "Como funciona" em faixa marinho, colada ao topo amarelo */
#como { background: #0b1b3f; color: #fff; padding: 96px 0; }
#como .section-head h2 { color: #fff; }
#como .section-head .kicker { color: var(--yellow); }
#como .steps { background: none; border: 0; gap: 16px; overflow: visible; }
#como .step { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-lg); }
#como .step + .step { border-left: 1px solid rgba(255, 255, 255, .1); border-top: 1px solid rgba(255, 255, 255, .1); }
#como .step h3 { color: #fff; font-size: 17px; }
#como .step p { color: #b9c4de; }
#como .step .n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--yellow); color: #0b1b3f; font: 800 15px var(--font); margin-bottom: 22px; }

.section-head .kicker { font: 700 13px var(--font); letter-spacing: .02em; text-transform: none; color: var(--primary); }
.section-head h2 { font-weight: 800; letter-spacing: -.04em; }
.bento { gap: 16px; background: none; border: 0; overflow: visible; }
.bento > div { border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.bento .ic { width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--yellow-soft); color: var(--text); box-shadow: none; }
.bento .ic .icon { width: 20px; height: 20px; }
.bento h3 { font-size: 17px; }
.audience { gap: 16px; background: none; border: 0; overflow: visible; }
.audience > div { border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.audience > div:first-child { background: #1f5eff; color: #fff; border: 0; }
.audience > div:first-child .tag { color: var(--yellow); }
.audience > div:first-child h3 { color: #fff; }
.audience > div:first-child p { color: rgba(255, 255, 255, .85); }
.audience > div:first-child .btn { background: var(--yellow); color: #0b1b3f; box-shadow: none; }
.audience .tag { font: 700 12.5px var(--font); letter-spacing: .02em; text-transform: none; color: var(--primary); }
.audience h3 { font-size: 24px; font-weight: 800; }
.final-cta { border-top: 0; }
.final-cta h2 { font-weight: 800; letter-spacing: -.045em; }

/* autenticação */
.auth { background: #fff4d1; position: relative; overflow: hidden; }
.auth::after { content: ""; position: absolute; width: 520px; height: 520px; left: -200px; bottom: -260px; border-radius: 50%; background: var(--yellow); opacity: .6; pointer-events: none; }
.auth > * { position: relative; z-index: 1; }
.auth-card { border-radius: 22px; border: 0; box-shadow: 0 24px 60px -24px rgba(11, 27, 63, .3); padding: 36px; }
.auth-card h1 { font-size: 24px; }
.auth-alt { color: #46536e; }
.auth-points { color: #46536e; }
.auth-points .icon { color: #1f5eff; }

/* páginas públicas (perfil, documentos, diretório) */
.page { background: var(--bg-subtle); }
.profile-hero .avatar.lg { background: var(--yellow); color: #0b1b3f; }
.stats b, .amount, .doc-total b { font-weight: 800; }
.dir-item:hover, .pro-card:hover { border-color: var(--primary); }

/* ---------- painel ---------- */
.app { background: var(--bg-subtle); }
.sidebar { background: var(--surface); border-right: 1px solid var(--line); padding: 16px 12px; }
.side-search { border-radius: 12px; background: var(--bg-subtle); border: 1.5px solid transparent; box-shadow: none; height: 38px; }
.side-search:hover { border-color: var(--line-strong); }
.nav-label { font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); padding: 6px 10px; }
.nav-item { height: 38px; padding: 0 10px; border-radius: 12px; font-weight: 600; color: var(--text-2); }
.nav-item.on { background: var(--yellow); color: #0b1b3f; box-shadow: none; }
.nav-item.on .icon { color: #0b1b3f; }
.me { border-radius: 12px; }
.topbar { background: color-mix(in srgb, var(--bg-subtle) 88%, transparent); border-bottom-color: transparent; }
.crumbs b { font-weight: 700; }
.ph h1 { font-size: 28px; }
.stat .k { font-weight: 600; }
.stat .v { font-weight: 800; }
.stat:first-child { background: #0b1b3f; color: #fff; }
.stat:first-child .k, .stat:first-child .s { color: #b9c4de; }
.card-head h2 { font-size: 14.5px; }
.r .title { font-weight: 600; }
.r .amt { font-weight: 700; }
.tab { font-weight: 600; }
.tab[aria-pressed="true"]::after { background: var(--primary); height: 2.5px; }
.tab .n { font-family: var(--font); font-weight: 700; }
.date-chip { border-radius: 12px; background: var(--yellow-soft); border-color: transparent; }
.date-chip span { color: var(--text-2); }
.checklist { background: var(--yellow-soft); border-color: transparent; box-shadow: none; }
.ring { background: conic-gradient(var(--primary) calc(var(--p) * 1%), rgba(11, 27, 63, .1) 0); }
.ring::before { background: var(--yellow-soft); }
.inline-cta { background: var(--yellow-soft); color: var(--text); }
.inline-cta .icon { color: var(--text); }
.reminders .r .ic { border-radius: 10px; }
.reminders .r .ic.new { background: var(--yellow); color: #0b1b3f; border: 0; }
.cal-day.today .d { background: var(--yellow); color: #0b1b3f; font-weight: 700; }
.cal-day[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--primary); }
.cal-ev { border-radius: 6px; }
.bars i b, .bar i { background: var(--primary); }
.bar i { border-radius: 6px 6px 0 0; }
.rating-summary .big { font-weight: 800; }
.menu { border-radius: 14px; }
.menu button, .menu a { border-radius: 9px; }
.cmd li { border-radius: 10px; }
.tabbar button.on { color: var(--text); }
.tabbar button.on .icon { background: var(--yellow); color: #0b1b3f; border-radius: 10px; padding: 3px 12px; box-sizing: content-box; }

@media (max-width: 760px) {
  .ph .ph-action { border-radius: 18px; }
  .hero { padding-top: 56px; }
  .hero::after { width: 320px; height: 320px; right: -140px; top: -120px; }
  #como { padding: 64px 0; }
  .ph h1 { font-size: 24px; }
  .tabbar button.on .icon { padding: 2px 10px; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .checklist, :root:not([data-theme="light"]) .ring::before { background: var(--surface); }
  :root:not([data-theme="light"]) .bento .ic, :root:not([data-theme="light"]) .avatar,
  :root:not([data-theme="light"]) .inline-cta .icon { color: var(--yellow); }
  :root:not([data-theme="light"]) .auth { background: var(--bg); }
  :root:not([data-theme="light"]) .auth::after { opacity: .12; }
  :root:not([data-theme="light"]) .auth-alt, :root:not([data-theme="light"]) .auth-points { color: var(--text-2); }
}
