/* =========================================================
   Jobs & Jots — site público (/, recursos, preços, ajuda, entrar).
   Visual monocromático (Apple + Linear): fundo claro, superfícies brancas,
   bordas finas, uma fonte (Inter) e destaque grafite. Cores de situação
   (erro, aviso, info) ficam separadas da cor de destaque.
   Cores: só tokens de css/tokens.css; contrastes em docs/color-palette.md.
   ========================================================= */
/* Paleta azul acinzentado (a mesma do sistema, aprovada em 2026-11-07), só no site público: tokens.css continua com a
   paleta neutra para as folhas de documento (.pv-paper, .bp, .tpl-paper), que ficam como os documentos que o cliente recebe. */
:root {
    --ds-bg: #F4F6F8; --ds-surface: #FFFFFF; --ds-popover: #FFFFFF; --ds-surface-2: #F8F9FA; --ds-hover: #EEF1F4;
    --ds-sidebar: #ECEFF2; --ds-topbar: #ECEFF2;
    --ds-border: #DDE2E7; --ds-border-soft: #E6EAEE; --ds-border-strong: #DDE2E7; --ds-border-hover: #A9B1BA;
    --ds-text: #17191C; --ds-text-2: #5D6773; --ds-text-3: #66717D;
    --ds-accent: #526B88; --ds-accent-hover: #435A75; --ds-accent-pressed: #354A63; --ds-on-accent: #FFFFFF;
    --ds-accent-muted: #526B88; --ds-link: #526B88;
    --ds-highlight: #526B88; --ds-highlight-ink: #354A63; --ds-highlight-bg: #E6ECF3;
    --ds-inverse: #17191C; --ds-on-inverse: #F4F6F8; --ds-on-inverse-2: #A9B1BA;
}
:root {
    /* superfícies */
    /* cores: atalhos para css/tokens.css (fonte única) */
    --bg: var(--ds-bg);
    --surface: var(--ds-surface);
    --surface-2: var(--ds-surface-2);
    --surface-inverse: var(--ds-inverse);
    /* texto */
    --text: var(--ds-text);
    --text-2: var(--ds-text-2);
    --text-inverse: var(--ds-on-inverse);
    --text-inverse-2: var(--ds-on-inverse-2);
    /* bordas */
    --border: var(--ds-border);
    --border-strong: var(--ds-border-strong);
    /* destaque (botão principal, seleção) */
    --accent: var(--ds-accent);
    --accent-hover: var(--ds-accent-hover);
    --on-accent: var(--ds-on-accent);
    /* situação — nunca usadas como destaque */
    --danger: var(--ds-danger);       --danger-bg: var(--ds-danger-bg);
    --warning: var(--ds-warning);     --warning-bg: var(--ds-warning-bg);
    --info: var(--ds-info);           --info-bg: var(--ds-info-bg);
    /* forma, espaço, movimento */
    --r-sm: var(--ds-radius-xs);
    --r-md: var(--ds-radius-sm);
    --r-lg: var(--ds-radius-md);
    --shadow-sm: var(--ds-shadow-1);
    --shadow-frame: 0 1px 2px rgba(0, 0, 0, .04), 0 24px 48px -28px rgba(0, 0, 0, .22);
    --space-section: clamp(72px, 10vw, 128px);
    --head-h: 64px;
    --ease: var(--ds-ease);
    --focus: 0 0 0 2px var(--surface), 0 0 0 4px var(--ds-accent-muted);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font: 400 var(--ds-fs-card)/1.6 var(--ds-font);
    font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { color: var(--text); font-weight: 600; letter-spacing: -.022em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: var(--ds-ls-display); line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); letter-spacing: var(--ds-ls-display); }
h3 { font-size: var(--ds-fs-card); letter-spacing: var(--ds-ls-title); line-height: 1.35; }
p { margin: 0 0 1em; color: var(--text-2); }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
::selection { background: var(--ds-inverse); color: var(--ds-on-inverse); }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sec { padding: var(--space-section) 0; }
.sec--alt { background: var(--surface); border-block: 1px solid var(--border); }
.sec--or { background: var(--surface); border-block: 1px solid var(--border); }
.sec--tight { padding: clamp(40px, 6vw, 64px) 0; }
.sec__head { max-width: 640px; margin: 0 0 clamp(36px, 5vw, 56px); }
.sec__head--center { text-align: center; margin-inline: auto; }
.sec__head p { font-size: var(--ds-fs-card); margin: 0; }
.sec__more { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.eyebrow { display: inline-block; font-size: var(--ds-fs-small); font-weight: 500; color: var(--text-2); margin-bottom: 14px; letter-spacing: 0; }
.eyebrow i { margin-right: 6px; }
.hl { color: var(--text-2); }
.muted { color: var(--text-2); }

/* ---------- botões ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
    font: 500 var(--ds-fs-body)/1 var(--ds-font); text-decoration: none; letter-spacing: -.005em; white-space: nowrap;
    border: 1px solid transparent; border-radius: var(--r-md); cursor: pointer;
    transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.btn i { font-size: .95em; }
.btn--primary, .btn--or, .btn--dark { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover, .btn--or:hover, .btn--dark:hover { background: var(--accent-hover); }
.btn--outline { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn--outline:hover { border-color: var(--text-2); }
.btn--ghost { background: transparent; color: var(--text); padding: 0 12px; }
.btn--ghost:hover { background: var(--surface-2); }
.btn--sm { height: 36px; padding: 0 14px; font-size: var(--ds-fs-body); border-radius: var(--r-sm); }
.btn--lg { height: 50px; padding: 0 26px; font-size: var(--ds-fs-card); }
.btn--block { width: 100%; }
.link { color: var(--text); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link i { transition: transform .15s var(--ease); }
.link:hover i { transform: translateX(2px); }

/* ---------- logo (marca mantida, em tons neutros) ---------- */
.mp-logo { display: inline-grid; text-decoration: none; color: var(--text); line-height: 1; }
.mp-logo small { display: none; }
.mp-logo--light { color: var(--text-inverse); }
/* ---------- cabeçalho ---------- */
.ph { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.ph.scrolled { border-bottom-color: var(--border); }
/* faixa acima do menu: cinza escuro da paleta (#22262B) com texto claro, para destacar; pode ser fechada */
.ph__dev { position: relative; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 7px 44px; background: #22262B; border-bottom: 1px solid #22262B; color: #DDE2E7; font-size: var(--ds-fs-label); line-height: 1.4; text-align: center; }
.ph__dev[hidden] { display: none; }
.ph__dev b { color: #FFFFFF; font-weight: 600; }
.ph__dev-x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: none; color: #B4BEC9; cursor: pointer; font-size: 12px; }
.ph__dev-x:hover { background: rgba(255, 255, 255, .12); color: #FFFFFF; }
@media (max-width: 640px) { .ph__dev-more { display: none; } }
.ph__in { display: flex; align-items: center; gap: 32px; height: var(--head-h); }
.ph__nav { display: none; align-items: center; gap: 4px; margin-right: auto; }
.ph__nav > a, .ph__dd > a { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px; border-radius: var(--r-sm); font-size: var(--ds-fs-body); font-weight: 500; color: var(--text-2); text-decoration: none; transition: color .15s, background-color .15s; }
.ph__nav > a:hover, .ph__dd > a:hover, .ph__nav a.on { color: var(--text); }
.ph__nav > a i, .ph__dd > a i { font-size: .7rem; }
.ph__act { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ph__act .ph__login { display: none; }
.ph__burger { width: 40px; height: 40px; border: 0; background: none; position: relative; cursor: pointer; padding: 0; border-radius: var(--r-sm); }
.ph__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform .25s var(--ease), opacity .2s, top .25s var(--ease); }
.ph__burger span:nth-child(1) { top: 14px; } .ph__burger span:nth-child(2) { top: 19.5px; } .ph__burger span:nth-child(3) { top: 25px; }
.ph__burger.open span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.ph__burger.open span:nth-child(2) { opacity: 0; }
.ph__burger.open span:nth-child(3) { top: 19.5px; transform: rotate(-45deg); }
.ph__menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--border); display: none; padding: 8px 16px 16px; }
.ph__menu.open { display: grid; }
.ph__menu a { padding: 14px 4px; border-bottom: 1px solid var(--border); text-decoration: none; font-weight: 500; color: var(--text); }
.ph__menu a i { display: none; }
.ph__menu a.ph__menu-cta { border: 0; margin-top: 12px; background: var(--accent); color: var(--on-accent); border-radius: var(--r-md); text-align: center; }
@media (min-width: 960px) {
    .ph__nav { display: flex; }
    .ph__act .ph__login { display: inline-flex; }
    .ph__burger, .ph__menu, .ph__menu.open { display: none; }
}
/* menu de recursos */
.ph__dd { position: relative; }
.ph__mega { position: absolute; top: calc(100% + 10px); left: -12px; width: min(840px, calc(100vw - 300px)); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding: 8px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: 0 12px 32px -12px rgba(0,0,0,.18);
    opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.ph__mega::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.ph__dd:hover .ph__mega, .ph__dd:focus-within .ph__mega { opacity: 1; visibility: visible; transform: none; }
.ph__mega a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-md); text-decoration: none; }
.ph__mega a:hover { background: var(--surface-2); }
.ph__mega a > i { color: var(--text); font-size: 1rem; margin-top: 2px; }
.ph__mega span { display: grid; gap: 2px; }
.ph__mega b { font-size: var(--ds-fs-body); font-weight: 500; color: var(--text); }
.ph__mega small { font-size: var(--ds-fs-small); line-height: 1.4; color: var(--text-2); }
.ph__mega a.ph__mega-all { grid-column: 1 / -1; justify-content: center; align-items: center; border-top: 1px solid var(--border); border-radius: 0 0 var(--r-md) var(--r-md); margin-top: 4px; font-size: var(--ds-fs-body); font-weight: 500; color: var(--text); }

/* ---------- abertura (página inicial) ---------- */
.hero { padding: clamp(56px, 9vw, 112px) 0 0; text-align: center; overflow: hidden; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 4px; margin-bottom: 28px;
    background: var(--surface); border: 1px solid var(--border); border-radius: 999px; font-size: var(--ds-fs-small); color: var(--text-2); text-decoration: none; }
.hero__badge b { background: var(--accent); color: var(--on-accent); font-size: var(--ds-fs-micro); font-weight: 600; letter-spacing: .03em; padding: 4px 8px; border-radius: 999px; }
.hero h1 { max-width: 900px; margin: 0 auto 20px; }
.hero__lead { max-width: 600px; margin: 0 auto 32px; font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); line-height: 1.55; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__cta--left { justify-content: flex-start; }
.hero__fine { margin: 18px 0 0; font-size: var(--ds-fs-small); color: var(--text-2); }
.hero__fine span + span::before { content: "·"; margin: 0 10px; color: var(--border-strong); }
.hero__shot { margin-top: clamp(48px, 7vw, 80px); position: relative; }
.hero__shot::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }

/* moldura das capturas reais do sistema */
.frame { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-frame); overflow: hidden; }
.frame__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--border); background: var(--surface); }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.frame__bar span { margin: 0 auto; font-size: var(--ds-fs-label); color: var(--text-2); padding-right: 40px; }
.frame img { width: 100%; height: auto; }
/* no celular, a captura da abertura mostra a parte da esquerda maior (legível) */
@media (max-width: 640px) { .hero__shot .frame img { aspect-ratio: 3 / 4; object-fit: cover; object-position: left top; } }

/* ofícios atendidos */
.trades { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 36px 0 0; margin: 0; list-style: none; font-size: var(--ds-fs-body); color: var(--text-2); }
.trades li { display: inline-flex; align-items: center; gap: 8px; }
.trades i { font-size: .95rem; color: var(--text); }
.trades__label { width: 100%; text-align: center; font-size: var(--ds-fs-small); color: var(--text-2); margin-bottom: -16px; }

/* ---------- vitrine do produto (abas) ---------- */
.show__tabs { display: inline-flex; gap: 2px; padding: 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); margin-bottom: 28px; overflow-x: auto; max-width: 100%; }
.show__tab { height: 34px; padding: 0 14px; border: 0; background: transparent; border-radius: var(--r-sm); font: 500 var(--ds-fs-body) var(--ds-font); color: var(--text-2); cursor: pointer; white-space: nowrap; transition: color .15s, background-color .15s; }
.show__tab:hover { color: var(--text); }
.show__tab[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm), 0 0 0 1px var(--border); }
.show__panel { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 4vw, 48px); align-items: center; }
.show__panel[hidden] { display: none; }
.show__text h3 { font-size: var(--ds-fs-title); margin-bottom: 10px; }
.show__text ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.show__text li { display: flex; gap: 10px; font-size: var(--ds-fs-body); color: var(--text); }
.show__text li i { color: var(--text-2); margin-top: 2px; }
@media (max-width: 900px) { .show__panel { grid-template-columns: 1fr; } .show__text { order: -1; } }

/* ---------- recursos em grupos ---------- */
.groups { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.group { padding: clamp(24px, 3vw, 36px); border-right: 1px solid var(--border); }
.group:last-child { border-right: 0; }
.group__n { font-size: var(--ds-fs-small); color: var(--text-2); margin-bottom: 18px; display: block; }
.group h3 { font-size: var(--ds-fs-title); margin-bottom: 8px; }
.group > p { font-size: var(--ds-fs-body); margin-bottom: 24px; }
.group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.group li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: var(--ds-fs-body); }
.group li i { color: var(--text); margin-top: 2px; }
.group li b { display: block; font-weight: 500; color: var(--text); }
.group li span { color: var(--text-2); font-size: var(--ds-fs-body); line-height: 1.5; }
@media (max-width: 900px) { .groups { grid-template-columns: 1fr; } .group { border-right: 0; border-bottom: 1px solid var(--border); } .group:last-child { border-bottom: 0; } }

/* recursos menores (lista compacta) */
.minis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--border); margin-top: 48px; }
.minis > div { display: grid; grid-template-columns: 20px 1fr; column-gap: 12px; row-gap: 2px; align-content: start; padding: 22px 20px 22px 0; border-bottom: 1px solid var(--border); }
.minis i { grid-row: span 2; color: var(--text); margin-top: 2px; }
.minis b { font-size: var(--ds-fs-body); font-weight: 500; color: var(--text); }
.minis span { font-size: var(--ds-fs-body); line-height: 1.5; color: var(--text-2); }
@media (max-width: 960px) { .minis { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .minis { grid-template-columns: 1fr; } }

/* ---------- como funciona ---------- */
.work { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: wk; }
.work__step { position: relative; display: flex; flex-direction: column; }
.work__step::before { counter-increment: wk; content: counter(wk); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: .8125rem; font-weight: 600; margin-bottom: 16px; position: relative; z-index: 1; }
.work__step::after { content: ""; position: absolute; top: 14px; left: 36px; right: -12px; height: 1px; background: var(--border-strong); }
.work__step:last-child::after { display: none; }
.work__step h3 { margin-bottom: 6px; }
.work__step p { font-size: var(--ds-fs-body); margin-bottom: 18px; }
.work__img { margin-top: auto; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm); }
.work__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; }
@media (max-width: 960px) { .work { grid-template-columns: 1fr 1fr; row-gap: 40px; } .work__step::after { display: none; } }
@media (max-width: 560px) { .work { grid-template-columns: 1fr; } }

/* ---------- preços ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border-right: 1px solid var(--border); }
.plan:last-child { border-right: 0; }
.plan--pop { background: var(--surface-2); }
.plan__pop { position: absolute; top: 28px; right: 28px; font-size: var(--ds-fs-label); font-weight: 500; color: var(--text); border: 1px solid var(--border-strong); border-radius: 999px; padding: 3px 10px; background: var(--surface); }
.plan h3 { font-size: var(--ds-fs-title); margin-bottom: 4px; }
.plan__tag { font-size: var(--ds-fs-body); min-height: 2.8em; margin-bottom: 18px; }
.plan__amt { font-size: 2.25rem; font-weight: 600; letter-spacing: var(--ds-ls-money); font-variant-numeric: tabular-nums; color: var(--text); line-height: 1; }
.plan__amt small { font-size: var(--ds-fs-body); font-weight: 400; color: var(--text-2); letter-spacing: 0; }
.plan__users { display: block; margin: 10px 0 20px; font-size: var(--ds-fs-body); color: var(--text-2); }
.plan ul { list-style: none; padding: 20px 0 0; margin: 0 0 24px; border-top: 1px solid var(--border); display: grid; gap: 10px; font-size: var(--ds-fs-body); color: var(--text); flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li i { margin-top: 1px; }
.plan li.off { color: var(--text-2); text-decoration: line-through; text-decoration-color: var(--border-strong); }
.plans__note { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 20px 0 0; font-size: var(--ds-fs-body); color: var(--text-2); text-align: center; }
.plans__note--top { margin: 0 0 24px; }
.plans-empty { text-align: center; max-width: 520px; margin: 0 auto; padding: 40px 28px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
@media (max-width: 760px) { .plan { border-right: 0; border-bottom: 1px solid var(--border); } .plan:last-child { border-bottom: 0; } }

/* ---------- perguntas ---------- */
.faq { max-width: 760px; border-top: 1px solid var(--border); }
.faq--center { margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 500; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.25rem; line-height: 1; color: var(--text-2); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 0 20px; font-size: var(--ds-fs-body); }
.faq details p a { color: var(--text); }

/* ---------- chamada final ---------- */
.cta { padding: var(--space-section) 0; text-align: center; }
.cta__in { display: grid; justify-items: center; gap: 28px; }
.cta h2 { margin-bottom: 10px; }
.cta p { margin: 0 auto; max-width: 480px; font-size: var(--ds-fs-card); }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* frase de quem fez (sobre) */
.maker { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3.5vw, 40px); align-items: start; max-width: 780px; margin-inline: auto; }
.maker blockquote { margin: 0; font-size: clamp(1.0625rem, 1.7vw, 1.25rem); line-height: 1.6; letter-spacing: -.01em; color: var(--text); font-weight: 450; text-wrap: pretty; }
.maker cite { display: block; margin-top: 16px; font-style: normal; font-size: var(--ds-fs-body); color: var(--text-2); }
.maker__mark { width: 64px; height: 64px; border-radius: var(--r-lg); background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 700; font-size: var(--ds-fs-title); letter-spacing: -.02em; }
@media (max-width: 560px) { .maker { grid-template-columns: 1fr; } }

/* ---------- rodapé ---------- */
.pf { border-top: 1px solid var(--border); background: var(--surface); padding: 56px 0 32px; font-size: var(--ds-fs-body); }
.pf__grid { display: grid; grid-template-columns: minmax(220px, 1.5fr); grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 32px; padding-bottom: 40px; }
.pf__brand p { margin: 14px 0 0; max-width: 300px; font-size: var(--ds-fs-body); }
.pf__col { display: grid; gap: 10px; align-content: start; }
.pf__col b { font-weight: 500; color: var(--text); margin-bottom: 4px; }
.pf a { color: var(--text-2); text-decoration: none; transition: color .15s; }
.pf a:hover { color: var(--text); }
.pf__copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-2); font-size: var(--ds-fs-small); }
@media (max-width: 1080px) { .pf__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row; } .pf__brand { grid-column: 1 / -1; } }
@media (max-width: 860px) { .pf__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- páginas internas ---------- */
.phero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 56px); }
.phero__in { max-width: 720px; }
.phero__in > p { font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); margin: 0; }
.phero h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.phero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.phero__lead { font-size: var(--ds-fs-card); }
@media (max-width: 900px) { .phero__grid { grid-template-columns: 1fr; } }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--ds-fs-small); color: var(--text-2); margin-bottom: 20px; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs i { font-size: .625rem; }
.crumbs span { color: var(--text); }

/* fluxo (página de recursos) */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.flow li + li { border-left: 1px solid var(--border); }
.flow a { display: grid; gap: 4px; padding: 20px; text-decoration: none; transition: background-color .15s; height: 100%; }
.flow a:hover { background: var(--surface-2); }
.flow a > i { font-size: 1.125rem; color: var(--text); margin-bottom: 8px; }
.flow b { font-weight: 500; font-size: var(--ds-fs-body); }
.flow small { font-size: var(--ds-fs-small); color: var(--text-2); }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr 1fr; } .flow li + li { border-left: 0; } .flow li { border-bottom: 1px solid var(--border); } .flow li:nth-child(even) { border-left: 1px solid var(--border); } }

/* cartões de recurso */
.fcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fcard { display: flex; flex-direction: column; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); text-decoration: none; transition: border-color .15s; }
.fcard:hover { border-color: var(--border-strong); }
.fcard .feat__ic { margin-bottom: 18px; }
.fcard__name { font-size: var(--ds-fs-small); color: var(--text-2); margin-bottom: 6px; }
.fcard h3 { font-size: var(--ds-fs-card); margin-bottom: 8px; }
.fcard p { font-size: var(--ds-fs-body); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fcard__more { font-size: var(--ds-fs-body); font-weight: 500; color: var(--text); display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 960px) { .fcards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fcards { grid-template-columns: 1fr; } }

.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--border); }
.feat { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--border); }
.feat__ic { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); color: var(--text); font-size: var(--ds-fs-card); margin-bottom: 16px; }
.feat h3 { margin-bottom: 6px; }
.feat p { margin: 0; font-size: var(--ds-fs-body); }
@media (max-width: 960px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feats { grid-template-columns: 1fr; } .feat { padding-right: 0; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: st; }
.step { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.step::before { counter-increment: st; content: counter(st); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: .8125rem; font-weight: 600; margin-bottom: 16px; }
.step p { margin: 0; color: var(--text); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ilustração da página do recurso (lista de destaques, desenhada com os textos reais) */
.fmock { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-frame); overflow: hidden; }
.fmock__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--border); }
.fmock__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.fmock__bar span { margin-left: 12px; font-size: var(--ds-fs-label); color: var(--text-2); }
.fmock__body { padding: 16px; display: grid; gap: 8px; }
.fmock__head { display: flex; align-items: center; gap: 10px; padding: 4px 4px 10px; }
.fmock__head b { font-weight: 600; }
.fmock__ic { width: 32px; height: 32px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); border-radius: var(--r-md); }
.fmock__row { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-md); }
.fmock__row span { display: grid; gap: 1px; min-width: 0; }
.fmock__row b { font-size: var(--ds-fs-body); font-weight: 500; }
.fmock__row small { font-size: var(--ds-fs-label); color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fmock__ok { color: var(--text-2); }

.guides, .hlist { display: grid; gap: 0; border-top: 1px solid var(--border); }
.guides { max-width: 760px; }
.guide, .harticle { display: grid; grid-template-columns: 24px 1fr auto; gap: 14px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--border); text-decoration: none; transition: background-color .15s; }
.guide:hover, .harticle:hover { background: var(--surface); }
.guide > i, .harticle > i { color: var(--text-2); }
.guide span, .harticle span { display: grid; gap: 2px; min-width: 0; }
.guide b, .harticle b { font-weight: 500; color: var(--text); }
.guide small, .harticle small { font-size: var(--ds-fs-body); color: var(--text-2); }
.guide em, .harticle em { font-style: normal; font-size: var(--ds-fs-small); color: var(--text-2); white-space: nowrap; }

.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: stretch; }
.pager a { text-decoration: none; }
.pager__prev, .pager__next { display: grid; gap: 2px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); transition: border-color .15s; }
.pager__prev:hover, .pager__next:hover { border-color: var(--border-strong); }
.pager__next { text-align: right; }
.pager small { font-size: var(--ds-fs-small); color: var(--text-2); }
.pager b { font-weight: 500; }
.pager__all { align-self: center; display: inline-flex; gap: 8px; align-items: center; font-size: var(--ds-fs-body); font-weight: 500; padding: 10px 14px; }
.pager--article { grid-template-columns: 1fr 1fr; margin-top: 48px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.chips a { height: 32px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--border); background: var(--surface); border-radius: 999px; font-size: var(--ds-fs-small); text-decoration: none; color: var(--text-2); }
.chips a:hover { color: var(--text); border-color: var(--border-strong); }
.chips a.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
@media (max-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } .pager__all { grid-column: 1 / -1; grid-row: 1; justify-self: center; } }

/* ---------- central de ajuda ---------- */
.hhero { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 56px); text-align: center; }
.hhero__in { max-width: 640px; margin: 0 auto; }
.hsearch { position: relative; margin: 24px auto 16px; }
.hsearch i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-2); }
.hsearch input { width: 100%; height: 52px; padding: 0 16px 0 44px; font: 400 var(--ds-fs-card) var(--ds-font); color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.hsearch input:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(23, 23, 23, .08); }
.hhero__pop { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 0; font-size: var(--ds-fs-small); }
.hhero__pop a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.hwrap { max-width: 860px; }
.hres__h { font-size: var(--ds-fs-title); margin-bottom: 16px; }
.hres__none { padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); }
.hcats { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.hcat { display: grid; gap: 4px; align-content: start; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); text-decoration: none; transition: border-color .15s; }
.hcat:hover { border-color: var(--border-strong); }
.hcat .feat__ic { margin-bottom: 12px; }
.hcat b { font-weight: 500; }
.hcat small { font-size: var(--ds-fs-body); color: var(--text-2); line-height: 1.5; }
.hcat em { font-style: normal; font-size: var(--ds-fs-small); color: var(--text-2); margin-top: 8px; }
.hgroup { margin-bottom: 48px; scroll-margin-top: calc(var(--head-h) + 48px); }
.hgroup h2 { font-size: var(--ds-fs-xl); display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.hgroup h2 i { font-size: 1.125rem; color: var(--text-2); }
.hcontact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
.hcontact h3 { margin-bottom: 4px; }
.hcontact p { margin: 0; }
.hcontact--box { margin-top: 40px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }

/* artigo */
.hart { padding: clamp(40px, 6vw, 64px) 0 var(--space-section); }
.hart__grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.hart__side { position: sticky; top: calc(var(--head-h) + 48px); display: grid; gap: 12px; font-size: var(--ds-fs-body); }
.hart__back { color: var(--text-2); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; margin-bottom: 8px; }
.hart__back:hover { color: var(--text); }
.hart__side b { font-weight: 500; display: flex; gap: 8px; align-items: center; }
.hart__side nav { display: grid; border-left: 1px solid var(--border); }
.hart__side nav a { padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--text-2); text-decoration: none; line-height: 1.45; }
.hart__side nav a:hover { color: var(--text); }
.hart__side nav a.on { border-left-color: var(--text); color: var(--text); font-weight: 500; }
.hart__main { max-width: 720px; min-width: 0; }
.hart__main h1 { font-size: clamp(1.875rem, 3.6vw, 2.5rem); }
.hart__lead { font-size: var(--ds-fs-title); margin-bottom: 8px; }
.hart__meta { display: flex; gap: 6px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--border); font-size: var(--ds-fs-small); color: var(--text-2); }
.hart__toc { display: grid; gap: 4px; margin: 24px 0 8px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); font-size: var(--ds-fs-body); }
.hart__toc b { font-size: var(--ds-fs-small); font-weight: 500; color: var(--text-2); margin-bottom: 4px; }
.hart__toc a { color: var(--text); text-decoration: none; }
.hart__toc a:hover { text-decoration: underline; }
.hpart { padding-top: 32px; scroll-margin-top: calc(var(--head-h) + 48px); }
.hpart h2 { font-size: var(--ds-fs-xl); display: flex; align-items: center; gap: 12px; }
.hpart h2 span { width: 28px; height: 28px; flex: none; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); border-radius: 50%; font-size: var(--ds-fs-small); font-weight: 600; }
.hsteps { list-style: none; margin: 0; padding: 0; counter-reset: hs; }
.hsteps li { counter-increment: hs; position: relative; padding: 12px 0 12px 40px; color: var(--text); border-bottom: 1px solid var(--border); }
.hsteps li:last-child { border-bottom: 0; }
.hsteps li::before { content: counter(hs); position: absolute; left: 0; top: 12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-strong); color: var(--text-2); font-size: .75rem; font-weight: 600; }
.hsteps b { font-weight: 500; background: var(--surface-2); border: 1px solid var(--border); padding: 0 6px; border-radius: 4px; font-size: .9375em; white-space: nowrap; }
.htip { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 0; padding: 14px 16px; background: var(--info-bg); border-radius: var(--r-md); color: var(--text); font-size: var(--ds-fs-body); }
.htip i { color: var(--info); margin-top: 2px; }
.hart__feat { display: flex; align-items: center; gap: 16px; margin-top: 48px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); text-decoration: none; transition: border-color .15s; }
.hart__feat:hover { border-color: var(--border-strong); }
.hart__feat .feat__ic { margin: 0; flex: none; }
.hart__feat span:nth-child(2) { display: grid; flex: 1; }
.hart__feat small { color: var(--text-2); font-size: var(--ds-fs-small); }
.hart__feat b { font-weight: 500; }
@media (max-width: 860px) { .hart__grid { grid-template-columns: 1fr; } .hart__side { position: static; order: 2; padding-top: 24px; border-top: 1px solid var(--border); } }

/* central de ajuda como manual: Start here, o caminho de um serviço, glossário */
.hhero__sub { margin: -4px auto 22px; color: var(--text-2); }
.hart__meta { flex-wrap: wrap; gap: 4px 16px; }
.hart__meta > span { display: inline-flex; gap: 6px; align-items: center; }
.hsec__head { max-width: 640px; margin: 0 auto 28px; text-align: center; }
.hsec__head h2 { font-size: var(--ds-fs-xl); margin-bottom: 6px; }
.hsec__head p { margin: 0; color: var(--text-2); }
.hsec__head--left { margin-inline: 0; text-align: left; }
.hstart { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.hstart a { display: grid; grid-template-columns: 32px 1fr auto; gap: 14px; align-items: start; height: 100%; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); text-decoration: none; transition: border-color .15s; }
.hstart a:hover { border-color: var(--border-strong); }
.hstart__n { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: var(--ds-fs-small); }
.hstart a > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.hstart b { font-weight: 500; color: var(--text); }
.hstart small { font-size: var(--ds-fs-body); color: var(--text-2); line-height: 1.45; }
.hstart em { font-style: normal; font-size: var(--ds-fs-small); color: var(--text-2); white-space: nowrap; padding-top: 2px; }
.hflow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.hflow li { position: relative; }
.hflow li + li::before { content: "\F138"; font-family: bootstrap-icons; position: absolute; left: -12px; top: 30px; width: 12px; text-align: center; font-size: .75rem; color: var(--text-2); }
.hflow a { display: grid; gap: 6px; align-content: start; height: 100%; padding: 18px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); text-decoration: none; transition: border-color .15s; }
.hflow a:hover { border-color: var(--border-strong); }
.hflow__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.hflow__top .feat__ic { margin: 0; }
.hflow__top em { font-style: normal; font-size: var(--ds-fs-small); color: var(--text-2); font-weight: 600; }
.hflow b { font-weight: 500; color: var(--text); }
.hflow small { font-size: var(--ds-fs-small); color: var(--text-2); line-height: 1.45; }
.hflow__more { margin: 18px 0 0; text-align: center; font-size: var(--ds-fs-body); }
.hflow__more a { color: var(--text); font-weight: 500; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.hflow__more a:hover { text-decoration: underline; }
@media (max-width: 1080px) { .hflow { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hflow li:nth-child(3n + 1)::before { display: none; } }
@media (max-width: 640px) { .hflow { grid-template-columns: 1fr 1fr; } .hflow li::before { display: none; } }
.hgroup__text { margin: -8px 0 16px; color: var(--text-2); font-size: var(--ds-fs-body); }
.hgloss { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 32px; margin: 0; border-top: 1px solid var(--border); }
.hgloss > div { padding: 14px 0; border-bottom: 1px solid var(--border); }
.hgloss dt { font-weight: 500; color: var(--text); margin-bottom: 2px; }
.hgloss dd { margin: 0; font-size: var(--ds-fs-body); color: var(--text-2); line-height: 1.5; }
/* artigo: o que é, perguntas, relacionados, índice do manual na lateral */
.hart__what { margin: 24px 0 0; padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--r-md); }
.hart__what b { display: flex; gap: 8px; align-items: center; font-weight: 500; font-size: var(--ds-fs-small); color: var(--text-2); margin-bottom: 4px; }
.hart__what p { margin: 0; color: var(--text); line-height: 1.6; }
.hart__what p b, .hpart__text b, .faq details p b { display: inline; font-size: inherit; color: var(--text); font-weight: 500; margin: 0; }
.hpart__text { margin: 4px 0 8px; color: var(--text-2); line-height: 1.6; }
.hart__faq, .hart__rel { margin-top: 48px; }
.hart__faq h2, .hart__rel h2 { font-size: var(--ds-fs-xl); margin-bottom: 12px; }
.hart__side-h { font-size: var(--ds-fs-small); color: var(--text-2); }
.hart__ch summary { list-style: none; cursor: pointer; display: flex; gap: 8px; align-items: center; padding: 6px 0; font-weight: 500; color: var(--text); }
.hart__ch summary::-webkit-details-marker { display: none; }
.hart__ch summary::after { content: "\F282"; font-family: bootstrap-icons; margin-left: auto; font-size: .7rem; color: var(--text-2); transition: transform .2s; }
.hart__ch[open] summary::after { transform: rotate(180deg); }
.hart__ch summary i { color: var(--text-2); }
.hart__ch nav { margin: 4px 0 10px 7px; }
.hart__side { max-height: calc(100vh - var(--head-h) - 72px); overflow-y: auto; overscroll-behavior: contain; padding-right: 6px; gap: 6px; }
@media (max-width: 860px) { .hart__side { max-height: none; overflow: visible; } }

/* ---------- entrar / criar conta ---------- */
.auth { min-height: calc(100vh - var(--head-h) - 200px); padding: clamp(40px, 8vw, 88px) 16px; display: grid; justify-items: center; align-content: start; gap: 20px; }
.auth__box { width: min(420px, 100%); padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.auth__box h1 { font-size: var(--ds-fs-xl); letter-spacing: -.025em; margin-bottom: 6px; }
.auth__sub { font-size: var(--ds-fs-body); margin-bottom: 22px; }
.auth__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 4px; margin-bottom: 22px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); }
.auth__tabs a { height: 34px; display: grid; place-items: center; border-radius: var(--r-sm); font-size: var(--ds-fs-body); font-weight: 500; color: var(--text-2); text-decoration: none; }
.auth__tabs a.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm), 0 0 0 1px var(--border); }
.auth__form { display: grid; gap: 16px; }
.f { display: grid; gap: 6px; font-size: var(--ds-fs-body); font-weight: 500; color: var(--text); position: relative; }
.f input, .f select, .f textarea { width: 100%; height: 44px; padding: 0 12px; font: 400 var(--ds-fs-body) var(--ds-font); color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-md); transition: border-color .15s, box-shadow .15s; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(23, 23, 23, .08); }
.auth__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth__pass input { padding-right: 44px; }
.auth__eye { position: absolute; right: 4px; bottom: 4px; width: 36px; height: 36px; border: 0; background: none; color: var(--text-2); cursor: pointer; border-radius: var(--r-sm); }
.auth__eye:hover { color: var(--text); }
.auth__line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: var(--ds-fs-body); }
.auth__check { display: flex; gap: 8px; align-items: flex-start; font-size: var(--ds-fs-body); color: var(--text-2); }
.auth__check input { margin-top: 3px; accent-color: var(--accent); }
.auth__check a { color: var(--text); }
.auth__link, .auth__alt a { color: var(--text); font-weight: 500; }
.auth__alt { margin: 20px 0 0; text-align: center; font-size: var(--ds-fs-body); }
.auth__note { margin: 0; font-size: var(--ds-fs-small); text-align: center; }
.auth__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.auth__perks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: var(--ds-fs-small); color: var(--text-2); }
.auth__perks i { margin-right: 6px; color: var(--text); }
@media (max-width: 420px) { .auth__row { grid-template-columns: 1fr; } .auth__box { padding: 24px; } }

/* avisos (situação, não destaque) */
.alert { padding: 12px 14px; margin-bottom: 16px; border-radius: var(--r-md); background: var(--danger-bg); color: var(--danger); font-size: var(--ds-fs-body); line-height: 1.5; }
.alert--ok { background: var(--info-bg); color: var(--info); }

/* ---------- baixar o app ---------- */
.dl-icon { width: 88px; height: 88px; border-radius: 20px; margin-bottom: 20px; box-shadow: var(--shadow-frame); }
.dl-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0 !important; }
.dl-meta span { border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; font-size: var(--ds-fs-small); color: var(--text-2); background: var(--surface); }
.dl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.dl-actions [hidden], .dl-under[hidden], .dl-hint[hidden] { display: none; }
.dl-under { margin: 12px 0 0 !important; font-size: var(--ds-fs-body); }
.dl-under a { color: var(--text); }
.dl-soon, .dl-hint { margin-top: 20px !important; display: inline-flex; gap: 8px; align-items: center; padding: 10px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); color: var(--text); font-size: var(--ds-fs-body); }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.dl-card { position: relative; display: grid; gap: 14px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.dl-card.is-you { border-color: var(--text); }
.dl-card__you { display: none; position: absolute; top: -11px; left: 20px; background: var(--accent); color: var(--on-accent); font-size: var(--ds-fs-label); font-weight: 500; padding: 2px 10px; border-radius: 999px; }
.dl-card.is-you .dl-card__you { display: block; }
.dl-card__head { display: flex; gap: 12px; align-items: center; }
.dl-card__head > i { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--r-md); font-size: 1.125rem; }
.dl-card__head h2 { font-size: var(--ds-fs-title); margin: 0; }
.dl-card__head small { color: var(--text-2); }
.dl-card a { color: var(--text); }
.dl-card .htip { margin: 0; }
.dl-send { border-top: 1px solid var(--border); padding-top: 14px; display: grid; gap: 8px; }
.dl-send small { color: var(--text-2); }
.dl-send div { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dl-send code { flex: 1; min-width: 0; padding: 8px 10px; background: var(--surface-2); border-radius: var(--r-sm); overflow-wrap: anywhere; }
.dl-native { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.dl-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
.dl-why li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.dl-why span { display: grid; gap: 2px; color: var(--text-2); font-size: var(--ds-fs-body); }
.dl-why b { color: var(--text); font-weight: 500; }
.dl-go__btn { height: 50px; }
.dl-sheet { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .5); display: grid; place-items: center; padding: 16px; }
.dl-sheet[hidden] { display: none; }
.dl-sheet__card { position: relative; width: min(420px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 28px 24px 22px; display: grid; gap: 14px; justify-items: center; text-align: center; background: var(--surface); border-radius: var(--r-lg); }
.dl-sheet__card > img { border-radius: 14px; }
.dl-sheet__card h2 { font-size: var(--ds-fs-title); margin: 0; }
.dl-sheet__card p { margin: 0; }
.dl-sheet__x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; background: var(--surface-2); border-radius: var(--r-sm); cursor: pointer; }
.dl-big { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; text-align: left; width: 100%; }
.dl-big li { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--border); border-radius: var(--r-md); }
.dl-big li > span { width: 36px; height: 36px; flex: none; display: grid; place-items: center; background: var(--surface-2); border-radius: var(--r-sm); }
.dl-big li div { font-size: var(--ds-fs-body); line-height: 1.45; }
@media (max-width: 900px) { .dl-native { grid-template-columns: 1fr; } }

/* ---------- aparecer ao rolar (sutil) ---------- */
.rv { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .05s; } .rv-d2 { transition-delay: .1s; } .rv-d3 { transition-delay: .15s; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rv { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
img.maker__mark { width: 64px; height: auto; background: none; border-radius: 0; margin-top: 4px; }

/* Termos de uso (/terms): texto corrido no layout dos artigos da ajuda */
.legal .hpart p, .legal .hpart li { color: var(--text-2); line-height: 1.7; }
.legal .hpart p { margin: 12px 0 0; }
.legal .hpart ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.legal .hpart b { color: var(--text); font-weight: 500; }
.legal .hpart a { color: var(--text); }
.legal .hart__side nav a { padding-top: 4px; padding-bottom: 4px; }

/* Jobs & Jots: o nome em vetor */
.jj-logo{ display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.jj-lockup{ display: block; height: 19px; width: auto; flex: none; }
.jj-lockup .jj-amp{ fill: #747C86; }
html[data-theme=dark] .jj-lockup .jj-amp{ fill: #9AA1AA; }
.jj-logo em{ font: 600 9px/1 var(--ds-font); font-style: normal; letter-spacing: .02em; color: var(--ds-text-2, var(--text-2, var(--ds-text-2))); border: 1px solid var(--ds-border-strong, var(--border-strong, var(--ds-border-strong))); border-radius: 4px; padding: 2px 4px; }
.mp-logo--lg .mp-logo--lg .jj-lockup{ height: 27px; }

/* ---------- módulos adicionados pelo admin ---------- */
.mod-text { max-width: 720px; }
.mod-text p, .mod-body { white-space: pre-line; color: var(--text-2); margin-top: 12px; }
.mod-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.mod-split img { width: 100%; height: auto; border-radius: var(--r-lg); }
.mod-split .btn { margin-top: 20px; }
.mod-split--left > img { order: -1; }
.mod-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mod-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: 280px; padding: 32px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.mod-tile--wide { grid-column: 1 / -1; }
.mod-tile h3 { font-size: var(--ds-fs-xl); letter-spacing: -.01em; }
.mod-tile p { margin-top: 8px; color: var(--text-2); }
.mod-tile img { width: 100%; max-height: 320px; object-fit: contain; }
.mod-tile--dark { background: var(--surface-inverse); border-color: var(--surface-inverse); color: var(--text-inverse); }
.mod-tile--dark p { color: var(--text-inverse); opacity: .75; }
@media (max-width: 760px) {
    .mod-split, .mod-tiles { grid-template-columns: 1fr; }
    .mod-split--left > img { order: 0; }
    .mod-tile { min-height: 200px; padding: 24px; }
}

/* ---------- balão de atendimento ---------- */
.schat { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; font-size: var(--ds-fs-body); }
.schat__open { position: relative; width: 58px; height: 58px; border: 0; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: var(--ds-fs-xl); cursor: pointer; box-shadow: 0 8px 28px rgba(0,0,0,.28); transition: transform .15s ease; }
.schat__open:hover { transform: scale(1.06); }
.schat__open[hidden], .schat__panel[hidden], .schat__err[hidden], .schat__dot[hidden] { display: none; }
.schat__dot { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--ds-danger); border: 2px solid var(--ds-border); }
.schat__panel { display: flex; flex-direction: column; width: min(400px, calc(100vw - 32px)); height: min(680px, calc(100vh - 40px)); overflow: hidden; background: var(--surface); color: var(--text); border-radius: 24px; box-shadow: 0 24px 70px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.05); animation: schat-in .18s ease-out; }
@keyframes schat-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.schat__panel.is-still { animation: none; }
.schat__veil { position: fixed; right: 0; bottom: 0; width: min(560px, 100vw); height: min(520px, 100vh); background: radial-gradient(ellipse at 100% 100%, rgba(0,0,0,.14), rgba(0,0,0,0) 70%); pointer-events: none; animation: schat-fade .3s ease-out; }
.schat__veil[hidden], .schat__teaser[hidden] { display: none; }
@keyframes schat-fade { from { opacity: 0; } }
.schat__teaser { position: relative; display: grid; justify-items: end; gap: 8px; width: min(350px, calc(100vw - 28px)); margin-bottom: 14px; animation: schat-msg .25s ease-out; }
.schat__card-msg { position: relative; display: flex; gap: 12px; width: 100%; padding: 16px 34px 16px 16px; background: var(--surface); color: var(--text); border-radius: 22px; box-shadow: 0 6px 24px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.04); }
.schat__card-text { display: grid; gap: 4px; min-width: 0; }
.schat__card-text p { margin: 0; line-height: 1.4; }
.schat__card-text small { color: var(--text-2); font-size: var(--ds-fs-small); }
.schat__dismiss { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--text-2); font-size: var(--ds-fs-micro); cursor: pointer; }
.schat__dismiss:hover { background: var(--surface-2); color: var(--text); }
.schat__pills { display: grid; justify-items: end; gap: 8px; }
.schat__pill { padding: 10px 16px; border: 0; border-radius: 99px; background: var(--surface); color: var(--text); font: inherit; font-weight: 500; text-align: right; cursor: pointer; box-shadow: 0 3px 14px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.04); transition: background .12s, color .12s; }
.schat__pill:hover { background: var(--accent); color: var(--on-accent); }
.schat__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--border); }
.schat__avatar { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 1rem; font-weight: 600; }
.schat__avatar svg { width: 26px; height: auto; }
.schat__open, .schat__avatar { overflow: visible; }
.schat__face { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.schat__open { padding: 0; background: #ECECEC; box-shadow: 0 0 0 3px #fff, 0 8px 28px rgba(0,0,0,.24); }
.schat__avatar:has(.schat__face) { background: #ECECEC; }
.schat__avatar--sm { width: 24px; height: 24px; font-size: .72rem; }
.schat__who { flex: 1; min-width: 0; display: grid; }
.schat__who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--ds-fs-card); }
.schat__who small { color: var(--text-2); font-size: var(--ds-fs-small); }
.schat__close { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; }
.schat__close:hover { background: var(--surface-2); }
.schat__log { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px; }
.schat__intro { margin: 0; text-align: center; color: var(--text-2); font-size: var(--ds-fs-body); line-height: 1.45; }
.schat__notice { display: flex; gap: 9px; margin: 0; padding: 11px 14px; border: 1px solid var(--border); border-radius: 16px; color: var(--text-2); font-size: var(--ds-fs-small); line-height: 1.4; }
.schat__msg { max-width: 84%; display: grid; gap: 4px; animation: schat-msg .16s ease-out; }
@keyframes schat-msg { from { opacity: 0; transform: translateY(5px); } }
.schat__msg p { margin: 0; padding: 11px 15px; border-radius: 20px; white-space: pre-line; overflow-wrap: anywhere; line-height: 1.42; }
.schat__msg small { padding-left: 4px; color: var(--text-2); font-size: var(--ds-fs-label); }
.schat__msg.is-them p { background: var(--surface-2); border-bottom-left-radius: 6px; }
.schat__msg.is-me { align-self: flex-end; }
.schat__msg.is-me p { background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 6px; }
.schat__sys { margin: 2px 0; text-align: center; color: var(--text-2); font-size: var(--ds-fs-label); }
.schat__joined { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 0; color: var(--text-2); font-size: var(--ds-fs-small); }
.schat__joined b { color: var(--text); }
.schat__typing { align-self: flex-start; display: flex; gap: 4px; padding: 13px 15px; border-radius: 20px; background: var(--surface-2); }
.schat__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-2); animation: schat-dot 1.1s infinite ease-in-out; }
.schat__typing span:nth-child(2) { animation-delay: .15s; }
.schat__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes schat-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.schat__foot { padding: 0 16px 16px; }
.schat__options { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.schat__option { padding: 9px 15px; border: 1.5px solid var(--accent); border-radius: 99px; background: var(--surface); color: var(--text); font: inherit; font-size: var(--ds-fs-body); font-weight: 500; cursor: pointer; transition: background .12s, color .12s; }
.schat__option:hover { background: var(--accent); color: var(--on-accent); }
.schat__note { display: block; margin-top: 10px; color: var(--text-2); font-size: var(--ds-fs-label); text-align: center; }
.schat__card { padding: 14px 16px 16px; border: 1px solid var(--border); border-radius: 18px; }
.schat__label { display: block; margin-bottom: 8px; font-size: var(--ds-fs-body); font-weight: 500; }
.schat__row { display: flex; align-items: stretch; }
.schat__row input, .schat__row textarea { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--border); border-right: 0; border-radius: 8px 0 0 8px; background: var(--surface-2); color: inherit; font: inherit; resize: none; }
.schat__row input:focus, .schat__row textarea:focus { outline: 0; border-color: var(--accent); }
.schat__send { flex: none; width: 44px; border: 0; border-radius: 0 8px 8px 0; background: var(--accent); color: var(--on-accent); cursor: pointer; }
.schat__send:disabled { opacity: .5; }
.schat__composer { display: flex; align-items: flex-end; gap: 8px; padding: 10px 10px 10px 16px; border: 1px solid var(--border); border-radius: 22px; }
.schat__composer:focus-within { border-color: var(--accent); }
.schat__composer textarea { flex: 1; min-width: 0; max-height: 120px; padding: 7px 0; border: 0; outline: 0; background: none; color: inherit; font: inherit; resize: none; }
.schat__composer .schat__send { width: 36px; height: 36px; border-radius: 50%; }
.schat__err { display: block; margin-top: 6px; color: var(--ds-danger); font-size: var(--ds-fs-label); }
.schat__skip { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--text-2); font: inherit; font-size: var(--ds-fs-small); cursor: pointer; text-decoration: underline; }
.schat__again { display: block; width: 100%; padding: 11px; border: 0; border-radius: 12px; background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 500; cursor: pointer; }
/* 16px: abaixo disso, o Safari do iPhone dá zoom ao tocar no campo e a conversa fica cortada */
.schat input, .schat textarea { font-size: var(--ds-fs-card); }
@media (prefers-reduced-motion: reduce) { .schat__panel, .schat__msg, .schat__typing span, .schat__teaser, .schat__veil { animation: none; } }
@media (max-width: 480px) {
    .schat { right: 14px; bottom: 14px; }
    .schat-open .schat { inset: 0; }
    .schat-open .schat__panel { width: 100%; height: 100%; height: 100dvh; border-radius: 0; }
    .schat__log, .schat__foot { overflow-x: hidden; }
}

/* ---------- Community (página pública) ---------- */
.cm-page { background: var(--bg, var(--ds-surface-2)); padding: 40px 0 72px; }
.cm-wrap { max-width: none; }   /* mesma largura do topo do site (.wrap), alinhado ao logo e ao menu */
.cm-page .cm-body { max-width: 80ch; }
.cm-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.cm-hero h1, .cm-title { margin: 0 0 6px; font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -.02em; }
.cm-hero p { margin: 0; max-width: 56ch; color: var(--text-2); }
.cm-hero .btn { flex: none; }
.cm-crumb { margin-bottom: 14px; color: var(--text-2); font-size: var(--ds-fs-body); }
.cm-crumb a { color: inherit; }
.cm-flash { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; background: rgba(21,128,61,.1); color: var(--ds-success); font-size: var(--ds-fs-body); }
.cm-flash.is-err { background: rgba(220,38,38,.09); color: var(--ds-danger); }
.cm-card { padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.cm-page input, .cm-page select, .cm-page textarea { padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: inherit; font: inherit; }
.cm-page input, .cm-page textarea { width: 100%; }
.cm-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; align-items: stretch; }
.cm-filters input, .cm-filters select, .cm-filters .btn { box-sizing: border-box; height: 44px; border-radius: 10px; font-size: var(--ds-fs-body); }
.cm-filters .bl-search { position: relative; display: flex; align-items: center; flex: 1 1 240px; }
.cm-filters .bl-search i { position: absolute; left: 13px; color: var(--text-2); pointer-events: none; }
.cm-filters .bl-search input { padding: 0 12px 0 38px; }
.cm-filters select { flex: 0 0 auto; width: auto; padding: 0 36px 0 13px; -webkit-appearance: none; appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m3 6 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
.cm-filters select:hover, .cm-filters input:hover { border-color: var(--border-strong); }
.cm-list { padding: 0; overflow: hidden; }
.bl-empty { display: grid; justify-items: center; gap: 6px; padding: 48px 20px; text-align: center; }
.bl-empty > i { font-size: 1.6rem; color: var(--text-2); }
.bl-empty .muted { color: var(--text-2); }
.cm-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.cm-row:last-child { border-bottom: 0; }
.cm-row.is-hidden, .cm-topic.is-hidden, .cm-comment.is-hidden { opacity: .55; }
.cm-row__main { flex: 1; min-width: 0; display: grid; gap: 3px; color: inherit; text-decoration: none; }
.cm-row__main > b { overflow-wrap: anywhere; }
.cm-row__main:hover > b { text-decoration: underline; }
.cm-row__main .muted, .cm-meta { color: var(--text-2); font-size: var(--ds-fs-small); }
.cm-vote { display: grid; justify-items: center; min-width: 46px; padding: 6px 8px; border: 1px solid var(--border); border-radius: 10px; background: none; color: inherit; font: inherit; line-height: 1.2; cursor: pointer; text-decoration: none; }
.cm-vote:hover { border-color: var(--text); }
.cm-vote.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cm-status { flex: none; padding: 3px 9px; border-radius: 99px; background: var(--surface-2); font-size: var(--ds-fs-label); font-weight: 600; white-space: nowrap; }
.cm-status.is-planned, .cm-status.is-progress, .cm-status.is-review { background: rgba(37,99,235,.12); color: var(--ds-info); }
.cm-status.is-resolved { background: rgba(21,128,61,.12); color: var(--ds-success); }
.cm-pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 16px; color: var(--text-2); }
.cm-topic { display: flex; gap: 14px; align-items: flex-start; }
.cm-topic__main { flex: 1; min-width: 0; }
.cm-topic__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cm-topic__head h2 { margin: 0 0 4px; font-size: var(--ds-fs-xl); overflow-wrap: anywhere; }
.cm-meta { margin: 0; }
.cm-body { margin: 12px 0 0; white-space: pre-line; overflow-wrap: anywhere; line-height: 1.55; }
.cm-team { margin-left: 6px; padding: 1px 7px; border-radius: 99px; background: var(--surface-2); font-size: var(--ds-fs-label); font-weight: 600; }
.cm-h { margin: 24px 0 10px; font-size: var(--ds-fs-card); }
.cm-mod { margin-top: 12px; }
.cm-mod h2 { margin: 0; font-size: var(--ds-fs-body); }
.cm-mod__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
/* moderação: aprovar antes de publicar, editar, fila e moderadores */
.cm-mod h2 { display: flex; align-items: center; gap: 10px; }
.cm-mod__queue { margin-left: auto; font-size: var(--ds-fs-label); font-weight: 500; }
.cm-pending { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, var(--ds-warning, #b45309) 12%, transparent); color: var(--text); font-size: var(--ds-fs-body); display: flex; gap: 8px; align-items: center; }
.cm-wait { color: var(--ds-warning, #b45309); font-weight: 500; }
.cm-hero > div:first-child { flex: 1 1 auto; min-width: 0; }
.cm-hero__act { display: flex; gap: 8px; flex: none; flex-wrap: nowrap; align-items: center; }
.cm-hero__act .btn { box-sizing: border-box; height: 44px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cm-hero__act .cm-count { margin-left: 2px; }
/* barra de moderação do tópico: botões, select e campo na mesma altura e alinhados */
.cm-mod__row form { margin: 0; display: flex; }
.cm-mod__row .btn, .cm-mod__row select, .cm-mod__row input[type=email] { box-sizing: border-box; height: 38px; font-size: var(--ds-fs-body); }
.cm-mod__row .btn { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cm-mod__row select { width: auto; min-width: 140px; padding: 0 34px 0 12px; -webkit-appearance: none; appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m3 6 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.cm-mod__row input[type=email] { padding: 0 12px; }
.cm-team { vertical-align: 1px; }
.cm-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; }
.cm-edit { margin-top: 12px; }
.cm-edit summary { cursor: pointer; color: var(--text-2); font-size: var(--ds-fs-label); font-weight: 500; }
.cm-edit__form { display: grid; gap: 10px; margin-top: 10px; }
.cm-edit__form label { display: grid; gap: 4px; font-size: var(--ds-fs-label); font-weight: 500; }
.cm-queue { padding: 14px 0; border-top: 1px solid var(--border); display: grid; gap: 6px; }
.cm-queue__main { display: grid; gap: 4px; }
.cm-queue .cm-body { margin: 0; }
.cm-mods { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.cm-mods li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--border); }
.cm-mod__row input[type=email] { flex: 1; min-width: 220px; }
.cm-inline { display: flex; gap: 8px; align-items: center; }
.cm-inline select { width: auto; }
.cm-comment { margin-bottom: 10px; scroll-margin-top: 90px; }
.cm-reply { display: grid; gap: 12px; justify-items: start; margin-top: 14px; }
.cm-reply label, .cm-fields label { display: grid; gap: 6px; width: 100%; font-weight: 500; }
.cm-fields { display: grid; gap: 14px; }
.cm-warn { margin: 12px 0 0; color: var(--text-2); font-size: var(--ds-fs-small); }
.cm-reply .cm-warn { margin: 0; }
.cm-actions { display: flex; gap: 8px; margin-top: 16px; }
.cm-similar { padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: var(--ds-fs-body); }
.cm-similar[hidden] { display: none; }
.cm-similar ul { margin: 6px 0 0; padding-left: 18px; }
.cm-similar small { color: var(--text-2); }
.cm-signin { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.cm-signin p { flex: 1 1 200px; margin: 0; font-weight: 500; }
@media (max-width: 600px) {
    .cm-hero { flex-direction: column; align-items: stretch; }
    .cm-hero__act { flex-wrap: wrap; }
    .cm-hero__act .btn { flex: 1 1 auto; justify-content: center; }
    .cm-filters .bl-search { flex-basis: 100%; }
    .cm-filters select { flex: 1 1 auto; }
    .cm-filters input, .cm-filters select { font-size: var(--ds-fs-card); }
    .cm-row { flex-wrap: wrap; }
    .cm-row__main { flex: 1 1 60%; }
    .cm-topic__head { flex-direction: column; }
}

/* celular estreito com login: "Open Jobs & Jots" não pode alargar a página */
@media (max-width: 400px) {
    .ph__act .btn--sm { padding: 0 10px; font-size: var(--ds-fs-small); }
    .ph__act { gap: 6px; }
    .ph__in { gap: 8px; }
}

/* Confirmação, avisos e Desfazer (confirm.js) */
.jj-dlg { width: min(440px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 14px; background: var(--ds-surface, var(--ds-surface)); color: var(--ds-text, var(--ds-text)); box-shadow: 0 24px 64px -16px rgba(0, 0, 0, .25), 0 0 0 1px rgba(0, 0, 0, .05); }
.jj-dlg::backdrop { background: rgba(0, 0, 0, .4); }
.jj-dlg h3 { margin: 0; padding: 22px 24px 8px; font-size: var(--ds-fs-card); line-height: 1.35; overflow-wrap: anywhere; }
.jj-dlg p { margin: 0; padding: 0 24px 6px; color: var(--ds-text-2, var(--ds-text)); line-height: 1.45; }
.jj-dlg footer { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; padding: 14px 20px; background: transparent; border-top: 1px solid var(--ds-border, var(--ds-border)); }
.jj-dlg footer button { padding: 9px 14px; border: 1px solid var(--ds-border, var(--ds-border-strong)); border-radius: 8px; background: transparent; color: var(--ds-text, var(--ds-text)); font: inherit; font-weight: 500; cursor: pointer; }
.jj-dlg footer .jj-yes { border-color: var(--ds-accent); background: var(--ds-accent); color: var(--ds-on-accent) !important; }
.pe-modal.jj-dlg > footer .jj-yes, .pe-modal.jj-dlg > footer .jj-yes.is-main { color: var(--ds-on-accent) !important; } /* ganha de ".pe-modal > footer .is-main" */
.pe-modal.jj-dlg > footer .jj-yes.is-danger { color: var(--ds-on-accent) !important; }
.jj-dlg footer .jj-yes.is-danger { border-color: var(--ds-danger); background: var(--ds-danger); color: var(--ds-on-accent) !important; }
.jj-toast { position: fixed; z-index: 2147483000; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; width: max-content; max-width: min(560px, calc(100vw - 24px)); box-sizing: border-box; padding: 11px 14px; overflow: hidden; border-radius: 10px; background: var(--ds-inverse); color: var(--ds-on-inverse); font-size: var(--ds-fs-body); line-height: 1.35; box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .45); }
.jj-toast a { color: inherit; text-decoration: underline; }
.jj-toast__ok { color: #4ade80; }
.jj-toast__text { min-width: 0; overflow-wrap: anywhere; }
.jj-toast button { flex: none; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.jj-toast__x { padding: 0 2px; font-size: var(--ds-fs-title); line-height: 1; opacity: .7; }
.jj-undo { padding: 5px 12px !important; border-radius: 7px; background: var(--ds-surface-2) !important; color: var(--ds-text) !important; font-weight: 600 !important; }
.jj-go { padding: 5px 4px !important; opacity: .8; }
.jj-toast__bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--ds-surface-2); transform-origin: left; animation: jj-shrink linear forwards; }
@keyframes jj-shrink { to { transform: scaleX(0); } }
body.jj-undoing .main { opacity: .5; pointer-events: none; transition: opacity .15s; }

/* links de texto no conteúdo: azul de link (menus, rodapé e botões ficam como estão) */
main :is(p, li) > a:not([class]) { color: var(--ds-link); }

/* ---------- comparação (/compare) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cmp-checked { margin-top: 14px !important; font-size: var(--ds-fs-small) !important; color: var(--text-3, var(--text-2)); }
.cmp-prices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cmp-price { display: flex; flex-direction: column; gap: 4px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg, 14px); }
.cmp-price > b { font-weight: 600; color: var(--text); }
.cmp-price strong { font-size: var(--ds-fs-xl); font-weight: 600; color: var(--text); letter-spacing: -.01em; margin-top: 6px; }
.cmp-price strong small { font-size: var(--ds-fs-small); font-weight: 400; color: var(--text-2); }
.cmp-price span { font-size: var(--ds-fs-small); color: var(--text-2); line-height: 1.4; }
.cmp-price > small { margin-top: auto; padding-top: 8px; font-size: var(--ds-fs-label); color: var(--text-2); }
.cmp-price--us { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.cmp-price--us strong { color: var(--accent); }

.cmp-legend { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: var(--ds-fs-small); color: var(--text-2); }
.cmp-legend li { display: flex; align-items: center; gap: 8px; }
.cmp-scroll { position: relative; overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg, 14px); }
.cmp-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cmp { width: 100%; min-width: 860px; border-collapse: collapse; font-size: var(--ds-fs-small); }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: center; vertical-align: top; }
.cmp thead th { position: sticky; top: 0; background: var(--surface); font-size: var(--ds-fs-body); font-weight: 600; color: var(--text); white-space: nowrap; }
.cmp th[scope=row] { text-align: left; font-weight: 500; color: var(--text); width: 30%; }
.cmp th[scope=row] small { display: block; margin-top: 3px; font-weight: 400; color: var(--text-2); }
.cmp td small { display: block; margin-top: 6px; font-size: var(--ds-fs-label); line-height: 1.35; color: var(--text-2); }
.cmp th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); }
.cmp .cmp-us { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.cmp thead .cmp-us { color: var(--accent); }
.cmp-group th { padding-top: 26px; text-align: left !important; font-size: var(--ds-fs-label); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); background: var(--surface); }
.cmp tbody:last-child tr:last-child > * { border-bottom: 0; }
.cmp-mk { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 14px; vertical-align: middle; }
.cmp-mk--yes { background: var(--ds-success-bg); color: var(--ds-success); }
.cmp-mk--plan { background: var(--ds-warning-bg); color: var(--ds-warning); }
.cmp-mk--soon { background: var(--surface-2); color: var(--text-2); }
.cmp-mk--none { width: 14px; height: 2px; border-radius: 1px; background: var(--border-strong, var(--text-3)); }
.cmp-legend .cmp-mk--none { width: 14px; }

.cmp-why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.cmp-why h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 22px; }
.cmp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.cmp-list li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--ds-fs-body); color: var(--text-2); line-height: 1.5; }
.cmp-list li > i { flex: none; margin-top: 3px; color: var(--accent); }
.cmp-list--muted li > i { color: var(--text-2); }
.cmp-list b { color: var(--text); font-weight: 600; }
.cmp-notes p { max-width: 860px; }
.cmp-notes p { font-size: var(--ds-fs-small); color: var(--text-2); margin: 0 0 10px; }
.cmp-notes a { color: var(--text); }

@media (max-width: 980px) {
    .cmp-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cmp-price--us { grid-column: 1 / -1; }
    .cmp-why { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .cmp th[scope=row] { width: 180px; min-width: 180px; }
    .cmp th, .cmp td { padding: 12px 10px; }
}

/* ---------- páginas por profissão (/for) ---------- */
.trades a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.trades a:hover { color: var(--text); border-bottom-color: var(--border-strong); }
.trd-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 5vw, 72px); align-items: center; }
.trd-hero .phero__in { max-width: none; }
.trd-hero .eyebrow { text-decoration: none; }
.trd-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trd-doc { margin: 0; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg, 14px); box-shadow: 0 18px 50px rgba(32, 30, 27, .08); }
.trd-doc figcaption { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.trd-doc figcaption span { font-size: var(--ds-fs-label); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.trd-doc figcaption b { font-size: var(--ds-fs-card); font-weight: 600; color: var(--text); }
.trd-doc table { width: 100%; border-collapse: collapse; font-size: var(--ds-fs-small); }
.trd-doc th { padding: 8px 0; border-bottom: 1px solid var(--text); font-size: var(--ds-fs-label); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); text-align: right; }
.trd-doc th:first-child, .trd-doc td:first-child { text-align: left; }
.trd-doc td { padding: 10px 0; border-bottom: 1px solid var(--border); vertical-align: top; text-align: right; color: var(--text); white-space: nowrap; }
.trd-doc td:first-child { white-space: normal; padding-right: 12px; }
.trd-doc td:nth-child(2) { padding-right: 12px; color: var(--text-2); }
.trd-doc td b { font-weight: 500; }
.trd-doc td small { display: block; margin-top: 2px; color: var(--text-2); }
.trd-doc tr.is-opt td { color: var(--text-2); }
.trd-doc tr.is-opt td b { color: var(--text-2); }
.trd-doc tfoot td { border-bottom: 0; padding-top: 14px; font-size: var(--ds-fs-card); font-weight: 600; }
.trd-doc tfoot small { display: inline; margin-left: 6px; font-size: var(--ds-fs-label); font-weight: 400; color: var(--text-2); }
.trd-doc__note { margin: 12px 0 0; font-size: var(--ds-fs-label); color: var(--text-2); }
.minis.minis--3 { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
@media (max-width: 760px) { .minis.minis--3 { grid-template-columns: 1fr; } }
.trd-other { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; font-size: var(--ds-fs-small); color: var(--text-2); }
.trd-other a { color: var(--text); }
@media (max-width: 900px) { .trd-hero { grid-template-columns: 1fr; } }

/* ---------- modelos grátis (/templates) ---------- */
.tpl-hero { padding-bottom: 24px; }
.tpl-paper { max-width: 860px; margin: 0 auto; padding: clamp(24px, 5vw, 56px); background: #fff; color: #18181B; border: 1px solid var(--border); border-radius: var(--r-lg, 14px); box-shadow: 0 18px 50px rgba(32, 30, 27, .08); font-size: 14px; line-height: 1.5; }
.tpl-paper [contenteditable] { border-radius: 4px; outline: 1px dashed transparent; outline-offset: 2px; transition: outline-color .15s, background .15s; }
.tpl-paper [contenteditable]:hover { outline-color: #D4D4D8; }
.tpl-paper [contenteditable]:focus { outline: 1px solid var(--accent); background: var(--ds-highlight-bg); }
.tpl-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid #18181B; }
.tpl-biz { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.tpl-small { color: #5F5F66; font-size: 13px; }
.tpl-title { text-align: right; }
.tpl-doc { font-size: 22px; font-weight: 600; letter-spacing: .18em; margin-bottom: 10px; }
.tpl-meta { display: grid; grid-template-columns: auto auto; justify-content: end; gap: 2px 14px; margin: 0; font-size: 13px; }
.tpl-meta dt { color: #5F5F66; }
.tpl-meta dd { margin: 0; font-weight: 500; min-width: 80px; }
.tpl-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid #ECECEF; }
.tpl-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #5F5F66; margin-bottom: 6px; }
.tpl-lines { width: 100%; border-collapse: collapse; margin-top: 18px; }
.tpl-lines th { padding: 10px 8px; border-bottom: 1px solid #18181B; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #5F5F66; text-align: right; }
.tpl-lines th:first-child, .tpl-lines td:first-child { text-align: left; padding-left: 0; }
.tpl-lines td { padding: 12px 8px; border-bottom: 1px solid #ECECEF; vertical-align: top; text-align: right; }
.tpl-lines td small { color: #5F5F66; }
.tpl-lines td.a { font-weight: 500; white-space: nowrap; }
.tpl-lines .q, .tpl-lines .r { width: 64px; }
.tpl-x { width: 28px; padding: 8px 0 !important; }
.tpl-x button { width: 24px; height: 24px; border: 0; border-radius: 50%; background: none; color: #89857F; font-size: 16px; line-height: 1; cursor: pointer; }
.tpl-x button:hover { background: var(--ds-surface-2); color: var(--ds-danger); }
.tpl-add { margin-top: 10px; display: inline-flex; gap: 6px; align-items: center; padding: 6px 10px; border: 1px dashed #D4D4D8; border-radius: 8px; background: none; color: #5F5F66; font: inherit; font-size: 13px; cursor: pointer; }
.tpl-add:hover { border-color: var(--accent); color: var(--accent); }
.tpl-totals { margin: 18px 0 0 auto; width: min(300px, 100%); }
.tpl-totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.tpl-totals span { color: #5F5F66; }
.tpl-rate { display: inline-block; min-width: 24px; text-align: right; color: #18181B; }
.tpl-total { border-top: 1px solid #18181B; margin-top: 6px; padding-top: 10px !important; font-size: 17px; }
.tpl-total span { color: #18181B !important; font-weight: 600; }
.tpl-terms { margin-top: 28px; padding-top: 18px; border-top: 1px solid #ECECEF; color: #3F3F46; font-size: 13px; }
.tpl-sign { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; margin-top: 40px; }
.tpl-sign span { display: block; height: 28px; border-bottom: 1px solid #18181B; }
.tpl-sign small { color: #5F5F66; font-size: 12px; }
@media (max-width: 640px) {
    .tpl-title { text-align: left; } .tpl-meta { justify-content: start; }
    .tpl-parties { grid-template-columns: 1fr; }
    .tpl-lines th, .tpl-lines td { padding-inline: 4px; }
}
@media print {
    @page { margin: 14mm; }
    body { background: #fff !important; }
    .ph, .pf, footer, .tpl-hero, .tpl-why, .cta, .schat, main > section:not(.tpl-sec) { display: none !important; }
    .tpl-sec { padding: 0 !important; }
    .tpl-sec .wrap { width: 100%; }
    .tpl-paper { max-width: none; padding: 0; border: 0; box-shadow: none; }
    .tpl-paper [contenteditable] { outline: none !important; background: none !important; }
    .tpl-x, .tpl-add { display: none !important; }
}

/* Fotografia de marketing com tratamento cinematográfico (só onde o editor marca "It is a photograph").
   Não vale para capturas de tela, documentos, logos, ícones, avatares ou fotos enviadas pelos clientes. */
.cine { filter: contrast(1.06) saturate(.9); }
/* para foto com texto branco por cima: o degradê fica num pseudo-elemento que não bloqueia cliques */
.cine-wrap { position: relative; isolation: isolate; overflow: hidden; }
.cine-wrap > img { filter: contrast(1.06) saturate(.9); }
.cine-wrap::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.04) 0%, rgba(0,0,0,.14) 35%, rgba(0,0,0,.48) 70%, rgba(0,0,0,.82) 100%); }
.cine-wrap > :not(img) { position: relative; z-index: 1; }
