/* =========================================================
   BuscAqui — estilos
   Cores da marca (tiradas da logo)
   ========================================================= */
:root {
  --green: #0EAC40;
  --green-600: #0a8f35;
  --green-50: #e8f7ed;
  --forest: #003515;
  --yellow: #FDB904;
  --yellow-50: #fff6dc;
  --ink: #142019;
  --muted: #5e6b63;
  --line: #e3e8e4;
  --bg: #f4f7f4;
  --card: #ffffff;
  --red: #d93b3b;
  --red-50: #fdecec;
  --blue: #2563eb;
  --blue-50: #e8effd;
  --whats: #25D366;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(0, 53, 21, .06), 0 4px 16px rgba(0, 53, 21, .06);
  --top: 64px;
  --side: 240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.5 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
img { max-width: 100%; }
a { color: var(--green-600); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; color: var(--forest); letter-spacing: -.01em; }
h1 { font-size: 1.6rem; font-weight: 800; }
h2 { font-size: 1.2rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 .75rem; }
svg { width: 20px; height: 20px; flex: none; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.hl { color: var(--green); }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; gap: .5rem; }
.row.wrap { flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.row-end { display: flex; justify-content: flex-end; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.narrow { max-width: 720px; margin-inline: auto; width: 100%; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: 1.5px solid transparent; border-radius: 12px; padding: .65rem 1.1rem;
  font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; text-decoration: none !important;
  transition: background .15s, border-color .15s, transform .05s; min-height: 44px; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-600); }
.btn-secondary { background: var(--yellow); color: var(--forest); }
.btn-secondary:hover { background: #f0ad00; }
.btn-outline { background: #fff; color: var(--green-600); border-color: var(--green); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-600); }
.btn-ghost.danger, .danger { color: var(--red) !important; }
.btn-ghost.ok { color: var(--green-600); }
.btn-danger { background: var(--red); color: #fff; }
.btn-whats { background: var(--whats); color: #fff; }
.btn-whats:hover { background: #1fb956; }
.btn-lg { padding: .85rem 1.4rem; font-size: 1.02rem; min-height: 52px; }
.btn-sm { padding: .4rem .75rem; font-size: .85rem; min-height: 38px; border-radius: 10px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--green-600); font: inherit; font-weight: 600; cursor: pointer; padding: .25rem 0; display: inline-flex; align-items: center; gap: .3rem; }
.icon-btn { background: none; border: 0; padding: .5rem; border-radius: 10px; cursor: pointer; color: var(--muted); display: inline-flex; }
.icon-btn:hover { background: var(--green-50); color: var(--green-600); }
.fav.on { color: #e5484d; }
.fav.on svg { fill: #e5484d; }
.file-btn { cursor: pointer; }
.spinner { width: 20px; height: 20px; border: 3px solid var(--green-50); border-top-color: var(--green); border-radius: 50%; display: inline-block; animation: spin .7s linear infinite; }
.spinner.sm { width: 16px; height: 16px; border-width: 2px; border-color: rgba(255,255,255,.4); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { display: flex; gap: .75rem; align-items: center; justify-content: center; padding: 3rem 1rem; color: var(--muted); }

/* ---------- Formulários ---------- */
form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .9rem; color: var(--ink); }
input, select, textarea {
  display: block; width: 100%; margin-top: .35rem; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: .7rem .85rem; min-height: 46px;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus, .btn:focus-visible { outline: 3px solid rgba(14, 172, 64, .25); border-color: var(--green); }
input:disabled { background: var(--bg); color: var(--muted); }
label.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
label.check input { width: 20px; min-height: 20px; height: 20px; margin: .15rem 0 0; flex: none; accent-color: var(--green); }
.check-grid { display: flex; flex-wrap: wrap; gap: .5rem; margin: .25rem 0 1rem; }
.check-chip { display: inline-flex; margin: 0; cursor: pointer; }
.check-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-chip span { display: inline-block; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .9rem; color: var(--ink); }
.check-chip input:checked + span { background: var(--green-50); border-color: var(--green); color: var(--green-600); }
.check-chip input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.tag-company { display: inline-flex; align-items: center; gap: .3rem; background: var(--yellow-50); color: #8a6300; }
.tag-company svg { width: 14px; height: 14px; flex: none; }
.seg { display: inline-flex; gap: .25rem; background: var(--bg); border-radius: 999px; padding: .25rem; }
.seg button { border: 0; background: none; padding: .4rem .9rem; border-radius: 999px; font: inherit; font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer; }
.seg button.on { background: #fff; color: var(--green-600); box-shadow: var(--shadow); }
.two, .three { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } .three { grid-template-columns: 2fr 2fr 1fr; } }
.repeat { border: 1.5px dashed var(--line); border-radius: 12px; padding: 1rem 1rem .5rem; margin-bottom: 1rem; background: #fbfcfb; }
.photo-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.photo-row .badge { margin-bottom: .5rem; }
.file-ok { display: flex; gap: .4rem; align-items: center; color: var(--green-600); font-weight: 600; }
.sticky-save { position: sticky; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 5; }
@media (min-width: 900px) { .sticky-save { bottom: 1rem; } }

/* ---------- Cartões e etiquetas ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; border: 1px solid rgba(0,53,21,.04); }
.tag { display: inline-block; background: var(--green-50); color: var(--green-600); border-radius: 999px; padding: .15rem .65rem; font-size: .8rem; font-weight: 600; }
.badge { display: inline-flex; align-items: center; gap: .3rem; border-radius: 999px; padding: .2rem .7rem; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.badge svg { width: 14px; height: 14px; }
.b-green { background: var(--green-50); color: var(--green-600); }
.b-yellow { background: var(--yellow-50); color: #8a6200; }
.b-red { background: var(--red-50); color: var(--red); }
.b-blue { background: var(--blue-50); color: var(--blue); }
.b-gray { background: #eef1ef; color: var(--muted); }
.big-badge { padding: .6rem 1rem; font-size: .95rem; width: 100%; justify-content: center; margin-bottom: .75rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .4rem .9rem; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; color: var(--ink); min-height: 38px; }
.chip svg { width: 16px; height: 16px; }
.chip.on { background: var(--forest); border-color: var(--forest); color: #fff; }
.avatar { object-fit: cover; flex: none; background: #fff; border: 1px solid var(--line); }
.avatar-logo { object-fit: contain; }
.avatar-fallback { display: inline-flex; align-items: center; justify-content: center; background: var(--green-50); color: var(--green-600); font-weight: 800; border: 0; }
.empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); grid-column: 1 / -1; }
.empty svg { width: 44px; height: 44px; color: var(--green); background: var(--green-50); border-radius: 50%; padding: 10px; margin-bottom: .5rem; }
.empty h3 { color: var(--ink); }
.soon { display: flex; gap: .9rem; align-items: flex-start; background: linear-gradient(135deg, #fff, var(--yellow-50)); }
.soon svg { color: #b88400; margin-top: 2px; }
.soon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.soon-list li { display: flex; gap: .6rem; align-items: center; color: var(--muted); }
.soon-list svg { color: var(--green); }

/* ---------- Telas públicas ---------- */
.public { min-height: 100vh; padding: 1rem; display: flex; flex-direction: column; }
.hero { max-width: 1100px; margin: auto; width: 100%; display: grid; gap: 2rem; align-items: center; padding: 1.5rem 0; }
.hero-logo { display: block; width: 220px; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
.hero .hl { white-space: nowrap; color: var(--green); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 520px; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-cta .btn { flex: 1 1 160px; }
.hero-cards { display: grid; gap: .9rem; }
.feature { display: flex; gap: 1rem; background: #fff; border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.feature > svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--green-50); color: var(--green-600); }
.feature:nth-child(2) > svg, .feature:nth-child(4) > svg { background: var(--yellow-50); color: #b88400; }
.feature p { margin: 0; color: var(--muted); font-size: .92rem; }
.public-foot { text-align: center; color: var(--muted); font-size: .85rem; padding: 1rem; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr 1fr; gap: 3rem; } .hero-cards { grid-template-columns: 1fr 1fr; } .feature { flex-direction: column; } }

.auth-wrap { display: flex; align-items: center; justify-content: center; flex: 1; padding: 1rem 0; }
.auth-card { width: 100%; max-width: 440px; padding: 1.5rem; }
.auth-card > svg { width: 48px; height: 48px; color: var(--green); }
.auth-logo { display: block; width: 140px; margin: 0 auto 1rem; }
.auth-card h1 { text-align: center; }
.back-link { display: inline-flex; align-items: center; gap: .25rem; margin-bottom: 1rem; font-size: .9rem; }
.back-link svg { width: 18px; height: 18px; }
.role-pick { display: grid; gap: .75rem; margin: 1rem 0 1.25rem; }
.role-card { display: flex; align-items: center; gap: 1rem; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 1rem; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, background .15s; }
.role-card:hover, .role-card:focus-visible { border-color: var(--green); background: var(--green-50); }
.role-card svg { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--green-50); color: var(--green-600); }
.role-card b { display: block; font-size: 1.05rem; }
.role-card small { color: var(--muted); font-size: .88rem; }
.chip-role { display: inline-flex; gap: .4rem; align-items: center; background: var(--yellow-50); color: #8a6200; border-radius: 999px; padding: .3rem .8rem; font-weight: 700; font-size: .85rem; margin-bottom: .75rem; }
.setup { max-width: 560px; margin: auto; }
.setup-logo { width: 160px; display: block; margin-bottom: 1rem; }
.setup li { margin-bottom: .5rem; }

/* ---------- Moldura do app ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; height: var(--top); background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; padding: 0 1rem; padding-top: env(safe-area-inset-top);
}
.brand img { height: 44px; display: block; }
.topbar-actions { display: flex; align-items: center; gap: .25rem; }
.me { display: flex; align-items: center; gap: .5rem; color: var(--ink); padding: .25rem .5rem; border-radius: 999px; }
.me:hover { background: var(--green-50); text-decoration: none; }
.me-name { display: none; }
.shell { display: block; }
.view { padding: 1rem 1rem calc(96px + env(safe-area-inset-bottom)); max-width: 1180px; margin: 0 auto; }
.sidenav { display: none; }
.bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; background: #fff; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr); padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 16px rgba(0,53,21,.06);
}
.bottomnav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .55rem .15rem .5rem; color: var(--muted); font-size: .68rem; font-weight: 600; text-align: center; line-height: 1.15; }
.bottomnav a svg { width: 22px; height: 22px; }
.bottomnav a.active { color: var(--green-600); }
.bottomnav a.active svg { background: var(--green-50); border-radius: 999px; width: 44px; padding: 0 11px; }
.bottomnav a:hover { text-decoration: none; }

@media (min-width: 900px) {
  .me-name { display: inline; font-weight: 600; }
  .bottomnav { display: none; }
  .shell { display: grid; grid-template-columns: var(--side) 1fr; }
  .sidenav {
    display: flex; flex-direction: column; gap: .25rem; position: sticky; top: var(--top); height: calc(100vh - var(--top));
    padding: 1.25rem .75rem; background: #fff; border-right: 1px solid var(--line);
  }
  .sidenav a, .sidenav-logout { display: flex; align-items: center; gap: .75rem; padding: .7rem .9rem; border-radius: 12px; color: var(--ink); font-weight: 600; font: inherit; font-weight: 600; background: none; border: 0; cursor: pointer; text-align: left; }
  .sidenav a:hover, .sidenav-logout:hover { background: var(--bg); text-decoration: none; }
  .sidenav a.active { background: var(--green); color: #fff; }
  .sidenav-sep { height: 1px; background: var(--line); margin: .75rem .5rem; }
  .sidenav-logout { color: var(--muted); }
  .sidenav-foot { margin-top: auto; font-size: .78rem; color: var(--muted); padding: .5rem .9rem; font-weight: 600; }
  .view { padding: 1.75rem 2rem 3rem; }
}

/* ---------- Páginas ---------- */
.page-head { margin-bottom: 1.25rem; }
.page-head p { margin: 0; }
.section-title { margin: 1.5rem 0 .75rem; }
.filters { margin-bottom: 1rem; }
.search-box { display: flex; align-items: center; gap: .5rem; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 .85rem; background: #fff; }
.search-box:focus-within { border-color: var(--green); outline: 3px solid rgba(14,172,64,.2); }
.search-box svg { color: var(--muted); }
.search-box input { border: 0; margin: 0; outline: 0 !important; padding-left: 0; }
.filter-row { display: grid; gap: .6rem; margin: .75rem 0; }
.filter-row select { margin: 0; }
@media (min-width: 640px) { .filter-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .filter-row.cols-2 { grid-template-columns: repeat(2, 1fr); } }
.filters .chips { margin-bottom: 0; }
.filters > select { margin: 0; }

.job-card { display: flex; flex-direction: column; gap: .75rem; transition: box-shadow .15s, transform .15s; }
.job-card:hover { box-shadow: 0 6px 24px rgba(0,53,21,.10); }
.job-top { display: flex; gap: .85rem; align-items: flex-start; }
.job-head { flex: 1; min-width: 0; }
.job-head h3 { margin: 0 0 .1rem; }
.job-head h3 a { color: var(--forest); }
.job-head h1 { margin-bottom: .2rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--muted); font-size: .88rem; align-items: center; margin-bottom: .5rem; }
.job-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.job-meta svg { width: 16px; height: 16px; }
.job-bottom { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; flex-wrap: wrap; }
.salary { color: var(--forest); font-weight: 800; }
.salary.big { font-size: 1.35rem; margin: .5rem 0 1rem; }
.detail { display: grid; gap: 1rem; align-items: start; }
.detail h3 { margin-top: 1.25rem; }
@media (min-width: 900px) { .detail { grid-template-columns: 1fr 320px; } .side-cta { position: sticky; top: calc(var(--top) + 1.5rem); } }
.side-cta .btn { margin-bottom: .75rem; }
.company-mini { display: flex; gap: .75rem; align-items: center; padding: .75rem 0; border-top: 1px solid var(--line); margin-top: .5rem; }
.company-hero { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.company-hero h1 { margin: 0; }
.links { display: flex; gap: 1rem; flex-wrap: wrap; }
.links a { display: inline-flex; gap: .3rem; align-items: center; }

.app-row { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.app-row h3 { margin: 0; }
.app-row p { margin: .15rem 0 0; }
.app-side { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; }
.interview { display: flex; gap: .4rem; align-items: center; background: var(--yellow-50); color: #6b4c00; padding: .45rem .7rem; border-radius: 10px; font-size: .9rem; margin-top: .5rem !important; flex-wrap: wrap; }
.interview svg { width: 16px; height: 16px; }

.big-actions { display: grid; gap: 1rem; margin-bottom: .5rem; }
@media (min-width: 700px) { .big-actions { grid-template-columns: 1fr 1fr; } }
.big-action { display: flex; gap: 1rem; align-items: center; background: var(--green); color: #fff; padding: 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.big-action.alt { background: var(--forest); }
.big-action:hover { text-decoration: none; filter: brightness(1.05); }
.big-action svg { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: rgba(255,255,255,.18); }
.big-action.alt svg { color: var(--yellow); }
.big-action b { display: block; font-size: 1.1rem; }
.big-action small { opacity: .85; font-weight: 500; }
.cta-band { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 1.5rem 0 1rem; border-left: 5px solid var(--yellow); }
.cta-band h3, .cta-band p { margin: 0; }
.my-reqs { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin: 1rem 0 0; color: inherit; border-left: 5px solid var(--green); }
.my-reqs:hover { text-decoration: none; box-shadow: var(--shadow); }
.my-reqs > svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--green-50); color: var(--green-600); flex: none; }
.my-reqs b { display: block; }
.pro-card { display: flex; flex-direction: column; gap: .6rem; }
.pro-top { display: flex; gap: .85rem; align-items: center; color: inherit; }
.pro-top:hover { text-decoration: none; }
.pro-top h3, .pro-top h1 { margin: 0; }
.pro-top p { margin: 0; display: flex; align-items: center; gap: .25rem; }
.pro-top p svg { width: 15px; height: 15px; }
.pro-card .chips { margin: 0; }
.pro-bottom { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: auto; flex-wrap: wrap; }
.link-more { font-weight: 700; }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: .92rem; margin: 0; }
.svc-list { list-style: none; padding: 0; display: grid; gap: .5rem; }
.req-card h3 { margin-top: .6rem; }
.req-card .muted { display: flex; gap: .3rem; align-items: center; }
.req-card .muted svg { width: 15px; height: 15px; }

.stepper { display: flex; list-style: none; padding: 0; margin: 0 0 1.5rem; gap: .25rem; }
.stepper li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 600; color: var(--muted); position: relative; text-align: center; }
.stepper li span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--line); font-weight: 800; z-index: 1; }
.stepper li:not(:last-child)::after { content: ''; position: absolute; top: 16px; left: calc(50% + 18px); right: calc(-50% + 18px); height: 2px; background: var(--line); }
.stepper li.on { color: var(--forest); }
.stepper li.on span { background: var(--yellow); border-color: var(--yellow); color: var(--forest); }
.stepper li.done span { background: var(--green); border-color: var(--green); color: #fff; }
.stepper li.done::after { background: var(--green) !important; }
.step-nav { margin-top: 1rem; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.1rem; display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center; }
.stat svg { grid-row: span 2; width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--green-50); color: var(--green-600); }
.stat:nth-child(2n) svg { background: var(--yellow-50); color: #b88400; }
.stat b { font-size: 1.6rem; color: var(--forest); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .85rem; font-weight: 600; }
.two-col { margin-top: 1rem; }
.table-wrap { overflow-x: auto; margin: 0 -1.25rem; padding: 0 1.25rem; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.table th { text-align: left; color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; padding: .5rem; border-bottom: 1px solid var(--line); }
.table td { padding: .7rem .5rem; border-bottom: 1px solid var(--line); }
.myjob { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.myjob h3 { margin: 0; }
.myjob p { margin: .3rem 0 0; display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.myjob p svg { width: 15px; height: 15px; }
.myjob-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cand-top { display: flex; gap: .9rem; align-items: flex-start; flex-wrap: wrap; }
.cand-top h3 { margin: 0; }
.cand-top p { margin: .15rem 0 0; }
.cand-top p.small { display: flex; gap: .3rem; align-items: center; flex-wrap: wrap; }
.cand-top p.small svg { width: 15px; height: 15px; }
.cand-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }

/* ---------- Currículo (prévia / PDF) ---------- */
.paper { background: #fff; box-shadow: var(--shadow); border-radius: 8px; max-width: 800px; margin: 0 auto 1rem; overflow: hidden; }
.cv { padding: 2rem; color: #1b2620; font-size: 14px; line-height: 1.5; background: #fff; }
.cv-head { display: flex; gap: 1.25rem; align-items: center; border-bottom: 4px solid var(--green); padding-bottom: 1rem; margin-bottom: 1rem; }
.cv-head img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 3px solid var(--yellow); }
.cv-head h2 { font-size: 1.6rem; margin: 0; }
.cv-role { color: var(--green-600); font-weight: 700; margin: .1rem 0; font-size: 1.05rem; }
.cv-contact { color: var(--muted); margin: 0; font-size: 13px; }
.cv section { margin-bottom: 1rem; }
.cv-item, .cv-head { page-break-inside: avoid; break-inside: avoid; }
.cv section h3 { page-break-after: avoid; break-after: avoid; }
.cv section h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--green-600); border-bottom: 1px solid var(--line); padding-bottom: .25rem; margin: 0 0 .5rem; }
.cv-item { margin-bottom: .6rem; }
.cv-item p { margin: .15rem 0 0; color: #3d4a42; }
.cv-date { display: block; color: var(--muted); font-size: 12.5px; }
.cv-skills { display: flex; flex-wrap: wrap; gap: .35rem; }
.cv-skills span { background: var(--green-50); color: var(--green-600); border-radius: 6px; padding: .1rem .5rem; font-weight: 600; font-size: 12.5px; }
.cv-foot { display: flex; gap: .6rem; align-items: center; justify-content: center; margin-top: 1.75rem; padding-top: .75rem; border-top: 1px solid var(--line); color: #5e6b63; font-size: 11.5px; line-height: 1.45; text-align: left; page-break-inside: avoid; }
.cv-foot img { width: 28px; height: 28px; flex: none; }
.cv.pdf-mode .cv-foot { display: none; }
.cv-foot b { color: var(--forest); }
@media (max-width: 600px) { .cv { padding: 1.25rem; } .cv-head { flex-direction: column; align-items: flex-start; } }

/* ---------- Modal e aviso ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0, 30, 12, .45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.modal { background: #fff; width: 100%; max-width: 480px; max-height: 90vh; overflow: auto; border-radius: 20px 20px 0 0; padding: 1.25rem; padding-bottom: calc(1.25rem + env(safe-area-inset-bottom)); animation: up .2s; }
.modal-wide { max-width: 820px; }
.modal-wide .cv { padding: .5rem 0; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.modal-head h3 { margin: 0; }
@media (min-width: 640px) { .modal-backdrop { align-items: center; } .modal { border-radius: 20px; } }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(30px); opacity: .5; } }
#toast {
  position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 60;
  background: var(--forest); color: #fff; padding: .8rem 1.2rem; border-radius: 12px; font-weight: 600; font-size: .95rem;
  opacity: 0; pointer-events: none; transition: .25s; max-width: calc(100% - 2rem); width: max-content; box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.err { background: var(--red); }
#toast.info { background: #31413a; }
@media (min-width: 900px) { #toast { bottom: 2rem; } }

/* ---------- Impressão (alternativa ao PDF) ---------- */
@media print {
  .topbar, .sidenav, .bottomnav, .page-head, #toast, .center { display: none !important; }
  .shell, .view { display: block; padding: 0; }
  body { background: #fff; }
  .paper { box-shadow: none; }
}

/* Logo sem "caixa branca" sobre o fundo */
.hero-logo, .auth-logo, .setup-logo { mix-blend-mode: multiply; }

/* ---------- Planos ---------- */
.plan-status { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; color: inherit; border-left: 5px solid var(--line); }
.plan-status:hover { text-decoration: none; }
.plan-status > svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--bg); flex: none; }
.plan-status p { margin: .15rem 0 0; }
.plan-status.ok { border-left-color: var(--green); } .plan-status.ok > svg { background: var(--green-50); color: var(--green-600); }
.plan-status.trial { border-left-color: var(--yellow); } .plan-status.trial > svg { background: var(--yellow-50); color: #b88400; }
.plan-status.warn { border-left-color: var(--red); } .plan-status.warn > svg { background: var(--red-50); color: var(--red); }
.plans { margin-top: 1rem; }
.plan { display: flex; flex-direction: column; gap: .5rem; }
.plan h2 { margin: 0; }
.plan-top { border: 2px solid var(--green); }
.plan-price { font-size: 2rem; font-weight: 800; color: var(--forest); margin: 0; }
.plan-price small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.plan-items { list-style: none; padding: 0; margin: .25rem 0 .75rem; display: grid; gap: .45rem; }
.plan-items li { display: flex; gap: .5rem; align-items: flex-start; }
.plan-items svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.pend { border-left: 5px solid var(--yellow); }
.pend h3 { display: flex; gap: .5rem; align-items: center; margin-top: 0; }
.pend h3 svg { width: 20px; height: 20px; color: #b88400; }
.pix-box { background: var(--bg); border-radius: 12px; padding: .9rem 1rem; margin: .75rem 0; }
.pix-key { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin: .5rem 0; }
.pix-key code { background: #fff; border: 1px dashed var(--green); border-radius: 8px; padding: .5rem .75rem; font-size: 1rem; word-break: break-all; }
.pro-card { position: relative; }
.pro-card.is-featured { border: 2px solid var(--yellow); }
.featured-flag { position: absolute; top: -11px; right: 14px; display: inline-flex; gap: .25rem; align-items: center; background: var(--yellow); color: var(--forest); font-size: .75rem; font-weight: 800; padding: .15rem .6rem; border-radius: 999px; }
.featured-flag svg { width: 13px; height: 13px; }

/* ---------- Admin ---------- */
.alert-band { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; color: inherit; border-left: 5px solid var(--yellow); }
.alert-band:hover { text-decoration: none; }
.alert-band > svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--yellow-50); color: #b88400; flex: none; }
.alert-band b, .alert-band small { display: block; }
.user-row, .pay-row, .mod-row { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.user-row p, .pay-row p, .mod-row p { margin: .15rem 0; }
.user-row .chips { margin: .35rem 0 0; }
.user-row.is-blocked { opacity: .7; border-left: 5px solid var(--red); }
.tag svg { width: 13px; height: 13px; vertical-align: -2px; }

.pix-code { font-size: 1.05rem; letter-spacing: .05em; color: var(--forest); background: var(--yellow-50); padding: .1rem .45rem; border-radius: 6px; }
input[readonly] { background: var(--bg); color: var(--muted); }
a.badge:hover { text-decoration: none; filter: brightness(.97); }

.tag-on { background: var(--green); color: #fff; }
.owner-edit { margin: .25rem 0 .5rem; }
.svc-offer { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .75rem; }
.svc-offer li { display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.svc-offer li:last-child { border-bottom: 0; padding-bottom: 0; }

/* ---------- Sugestões ---------- */
.fb-row .fb-msg { font-size: 1.02rem; margin: .6rem 0; white-space: normal; }
.fb-row textarea { min-height: 0; }
.alert-band.quiet { border-left-color: var(--line); }
.alert-band.quiet > svg { background: var(--bg); color: var(--muted); }
.thanks > svg { width: 56px; height: 56px; padding: 12px; border-radius: 50%; background: var(--green-50); color: var(--green-600); }
.center-row { justify-content: center; }
.cta-band h3 svg { width: 20px; height: 20px; vertical-align: -3px; color: var(--green-600); }
