/* Visual do app — pensado primeiro para telemóvel, letras grandes e botões fáceis de tocar. */
:root {
  --blue: #1d4ed8; --blue-d: #1e3a8a; --blue-l: #eff6ff;
  --ink: #111827; --mut: #6b7280; --line: #e5e7eb; --bg: #f6f7fb; --card: #fff;
  --ok: #047857; --ok-l: #ecfdf5; --warn: #b45309; --warn-l: #fffbeb; --err: #b91c1c; --err-l: #fef2f2;
  --r: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--blue); }
h1 { font-size: 1.55rem; line-height: 1.25; margin: 0 0 .5rem; }
h2 { font-size: 1.25rem; margin: 0 0 .75rem; }
h3 { font-size: 1.05rem; margin: 1.4rem 0 .5rem; }
p { margin: 0 0 .9rem; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
main.wrap { padding-top: 20px; padding-bottom: 40px; min-height: 70vh; }
main.narrow { max-width: 560px; }
.hidden { display: none !important; }
.muted { color: var(--mut); }
.small, small { font-size: .88rem; }
.center { text-align: center; }
.ok { color: var(--ok); } .warn { color: var(--warn); }

/* Topo */
.topbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 1.1rem; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: .95rem; }
.nav a.on { background: var(--blue-l); color: var(--blue); font-weight: 600; }
.credits-pill { background: var(--ok-l); color: var(--ok) !important; font-weight: 700; }
@media (max-width: 560px) {
  .topbar-inner { padding-top: 6px; padding-bottom: 6px; }
  .nav { width: 100%; justify-content: space-between; }
  .nav a { padding: 8px 6px; font-size: .9rem; }
}

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 12px; background: var(--blue); color: #fff; font: inherit; font-weight: 650; padding: 11px 18px; min-height: 46px; cursor: pointer; text-decoration: none; transition: background .15s; }
.btn:hover { background: var(--blue-d); }
.btn:disabled { background: #9ca3af; cursor: not-allowed; }
.btn-big { font-size: 1.08rem; padding: 14px 24px; min-height: 54px; }
.btn-block { width: 100%; }
.btn-small { padding: 7px 14px; min-height: 38px; font-size: .92rem; color: #fff !important; }
.btn-ghost { background: #fff; color: var(--blue); border: 1.5px solid #c7d2fe; }
.btn-ghost:hover { background: var(--blue-l); }
.btn-danger { background: var(--err); }
.link-btn { background: none; border: 0; color: var(--blue); font: inherit; cursor: pointer; padding: 4px; text-decoration: underline; }
.link-btn.danger { color: var(--err); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin: .5rem 0 1rem; }

/* Cartões e formulários */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-bottom: 18px; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.auth-card { margin-top: 10px; }
.form label { display: block; font-weight: 600; margin: 0 0 14px; font-size: .95rem; }
.form label small { font-weight: 400; color: var(--mut); display: block; margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input:not([type]), textarea {
  display: block; width: 100%; margin-top: 6px; font: inherit; font-weight: 400; color: var(--ink);
  border: 1.5px solid #d1d5db; border-radius: 10px; padding: 11px 12px; background: #fff;
}
input:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,78,216,.15); }
textarea { resize: vertical; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex-shrink: 0; }
.hp { position: absolute; left: -9999px; }
.grid2 { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 700px) { .grid2 { grid-template-columns: 1fr 1fr; } }

.alert { padding: 12px 14px; border-radius: 12px; margin-bottom: 16px; border: 1px solid; }
.alert-ok { background: var(--ok-l); border-color: #a7f3d0; color: #065f46; }
.alert-erro { background: var(--err-l); border-color: #fecaca; color: #991b1b; }
.alert-aviso { background: var(--warn-l); border-color: #fde68a; color: #92400e; }

/* Passos 1-2-3 */
.steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 16px; }
.steps li { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; font-size: .9rem; color: var(--mut); display: flex; align-items: center; gap: 8px; }
.steps span { width: 24px; height: 24px; border-radius: 50%; background: #e5e7eb; color: var(--mut); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.steps li.now { border-color: var(--blue); color: var(--ink); font-weight: 600; }
.steps li.now span { background: var(--blue); color: #fff; }
.steps li.done span { background: var(--ok); color: #fff; }
@media (max-width: 480px) { .steps li { flex-direction: column; text-align: center; gap: 4px; font-size: .8rem; } }
.hero-card { text-align: center; padding: 30px 20px; }

/* Juntar vagas */
.entry { position: relative; margin-bottom: 12px; }
.entry-label { font-weight: 700; font-size: .9rem; }
.entry-rm { position: absolute; right: 0; top: -4px; font-size: .85rem; color: var(--err); text-decoration: none; }
.add-footer { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
@media (min-width: 700px) { .add-footer { flex-direction: row; align-items: center; gap: 16px; } .add-footer p { margin: 0; } }

/* Lista estilo caixa de entrada */
.inbox-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.inbox-head h2 { margin: 0; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
@media (max-width: 600px) { .inbox-head { flex-direction: column; align-items: stretch; } }
.tabs button { border: 0; background: #f3f4f6; border-radius: 999px; padding: 8px 12px; font: inherit; font-size: .9rem; cursor: pointer; white-space: nowrap; color: var(--ink); }
.tabs button.on { background: var(--blue); color: #fff; font-weight: 600; }
.tabs i { font-style: normal; font-weight: 700; margin-left: 2px; }
.tabs i:empty { display: none; }
.inbox { list-style: none; margin: 0 -20px; padding: 0; }
.job { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); }
.job[data-href] { cursor: pointer; }
.job[data-href]:hover { background: #f9fafb; }
.job-pronto { background: #fbfdff; }
.job-pronto .job-title b { color: var(--ink); }
.job-enviado .job-title b { font-weight: 500; color: #374151; }
.avatar { width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .9rem; }
.job-main { flex: 1; min-width: 0; }
.job-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-sub { font-size: .9rem; margin-top: 2px; }
.job-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 600px) {
  .job { flex-wrap: wrap; }
  .job-actions { width: 100%; justify-content: flex-start; padding-left: 52px; }
  .job-title { white-space: normal; }
}
.inbox-empty { padding: 18px 0 4px; margin: 0; }
.st-wait { color: var(--mut); } .st-run { color: var(--blue); } .st-ok { color: var(--ok); font-weight: 600; }
.st-sent { color: var(--mut); } .st-err { color: var(--err); }
.score { display: inline-block; font-size: .8rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; margin-left: 4px; }
.score-hi { background: var(--ok-l); color: var(--ok); } .score-mid { background: var(--warn-l); color: var(--warn); } .score-lo { background: #f3f4f6; color: var(--mut); }
.spin { display: inline-block; width: 14px; height: 14px; border: 2px solid #c7d2fe; border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: -2px; }
.spin.big { width: 40px; height: 40px; border-width: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Meu CV */
.cv-summary { background: var(--blue-l); border-radius: 12px; padding: 14px; margin: 10px 0 14px; }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 2px dashed #a5b4fc; border-radius: 14px; padding: 28px 16px; text-align: center; cursor: pointer; background: #fafbff; margin-bottom: 14px; position: relative; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dz-icon { font-size: 2.2rem; }
.dz-text { font-weight: 600; color: var(--blue); }
.cv-editor h3 { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.block { border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 2px; margin: 0 0 12px; position: relative; }
.block-rm { position: absolute; right: 10px; top: 6px; font-size: .85rem; text-decoration: none; }
.block .grid2 { margin-top: 18px; }
.sticky-save { position: sticky; bottom: 0; background: linear-gradient(transparent, #fff 30%); padding: 18px 0 4px; margin-top: 10px; }
.overlay { position: fixed; inset: 0; background: rgba(17,24,39,.55); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 16px; }
.overlay-box { background: #fff; border-radius: 16px; padding: 28px; text-align: center; max-width: 360px; }
.overlay-box p { margin: 14px 0 0; }

/* Página da vaga */
.job-h1 { margin-bottom: .2rem; }
.meter { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.meter-bar { flex: 1; min-width: 140px; height: 10px; background: #e5e7eb; border-radius: 999px; overflow: hidden; }
.meter-bar i { display: block; height: 100%; border-radius: 999px; }
.meter-bar i.hi { background: #10b981; } .meter-bar i.mid { background: #f59e0b; } .meter-bar i.lo { background: #9ca3af; }
.two-col { display: grid; grid-template-columns: 1fr; gap: 0 18px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.pdf-preview { width: 100%; height: 520px; border: 1px solid var(--line); border-radius: 10px; display: none; }
@media (min-width: 900px) { .pdf-preview { display: block; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 4px 10px; border-radius: 999px; font-size: .85rem; }
.chip-ok { background: var(--ok-l); color: #065f46; }
.gaps { margin: 0 0 6px; padding-left: 20px; color: #92400e; }
.mail-preview { white-space: pre-wrap; font: inherit; font-size: .92rem; background: #f9fafb; padding: 12px; border-radius: 10px; }
.alt-send { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.alt-send summary { cursor: pointer; font-weight: 600; color: var(--blue); }
.alt-send .btn { margin: 4px 0 8px; }
details summary { cursor: pointer; }

/* Créditos / preços */
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 10px; }
.pack { text-align: center; position: relative; display: flex; flex-direction: column; gap: 4px; }
.pack .btn { margin-top: 10px; }
.pack-hot { border: 2px solid var(--blue); }
.badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pack-n { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.pack-l { color: var(--mut); }
.pack-p { font-size: 1.3rem; font-weight: 700; margin-top: 6px; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table td { padding: 8px 4px; border-top: 1px solid var(--line); }
.table .plus { color: var(--ok); font-weight: 700; text-align: right; } .table .minus { color: var(--mut); text-align: right; }
.danger-zone summary { color: var(--err); font-weight: 600; }

/* Página inicial */
.landing-hero { text-align: center; padding: 34px 4px 22px; }
.landing-hero h1 { font-size: 2rem; letter-spacing: -.01em; }
@media (min-width: 700px) { .landing-hero h1 { font-size: 2.7rem; } }
.hl { color: var(--blue); }
.lead { font-size: 1.12rem; max-width: 680px; margin: 0 auto 1.4rem; color: #374151; }
.how { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 10px 0 24px; }
@media (min-width: 700px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how-step { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.how-step h3 { margin: .5rem 0 .25rem; }
.how-step p { margin: 0; color: var(--mut); }
.how-n { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 8px 0 8px 32px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 4px; top: 7px; color: var(--ok); font-weight: 800; }
.pricing { margin: 26px 0; }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq summary { font-weight: 600; }
.faq details p { margin: 8px 0 0; color: #374151; }
.final-cta { padding: 20px 0 10px; }
.prose h2 { margin-top: 1.4rem; }
.prose li { margin-bottom: 6px; }

/* Rodapé */
.footer { border-top: 1px solid var(--line); background: #fff; padding: 18px 0; font-size: .88rem; color: var(--mut); }
.footer .wrap { display: flex; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--mut); }

/* =====================================================================
   Melhorias (out/2026) — mesmo visual, mais acabamento e animações.
   ===================================================================== */
html { scroll-behavior: smooth; }
::selection { background: #dbeafe; }
:focus-visible { outline: 3px solid rgba(29,78,216,.35); outline-offset: 2px; }

/* Botões: leve elevação ao passar o rato */
.btn { transition: background .15s, transform .12s ease, box-shadow .15s ease; box-shadow: 0 1px 2px rgba(29,78,216,.25); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(29,78,216,.25); }
.btn:active { transform: none; box-shadow: 0 1px 2px rgba(29,78,216,.25); }
.btn:disabled { transform: none; box-shadow: none; }
.btn-ghost { box-shadow: none; }
.btn-ghost:hover { box-shadow: 0 4px 12px rgba(29,78,216,.10); }

/* Cartões e cabeçalho */
.card { box-shadow: 0 1px 2px rgba(17,24,39,.04), 0 6px 20px rgba(17,24,39,.04); }
.topbar { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.5) blur(10px); -webkit-backdrop-filter: saturate(1.5) blur(10px); }
.in-app main > .card, .in-app main > .steps, .in-app main > .two-col { animation: fadeUp .35s ease both; }
.in-app main > .card:nth-of-type(2) { animation-delay: .05s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Lista de vagas: transições suaves */
.job { transition: background .15s; }
.job-pronto { box-shadow: inset 3px 0 0 var(--blue); }
.avatar { box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.tabs button { transition: background .15s, color .15s; }
.tabs button:not(.on):hover { background: #e5e7eb; }
textarea, input { transition: border-color .15s, box-shadow .15s; }
.dropzone { transition: border-color .15s, background .15s; }
.dropzone:hover { border-color: var(--blue); background: var(--blue-l); }
.pack { transition: transform .15s ease, box-shadow .15s ease; }
.pack:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(17,24,39,.08); }
.faq summary { transition: color .15s; }
.faq summary:hover { color: var(--blue); }
.faq details[open] p { animation: fadeUp .25s ease both; }

/* ---------- Página inicial ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

.lp main.wrap { overflow-x: hidden; }
.lp .landing-hero { position: relative; }
.lp .landing-hero::before { content: ""; position: absolute; inset: -40px -200px auto; height: 520px; z-index: -1;
  background: radial-gradient(600px 300px at 30% 30%, rgba(59,130,246,.12), transparent 70%), radial-gradient(500px 280px at 80% 20%, rgba(16,185,129,.08), transparent 70%); }
.pill { display: inline-block; background: var(--blue-l); color: var(--blue); font-weight: 600; font-size: .85rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.hero-cta .btn-big { padding: 14px 20px; }
.hero-split { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }
@media (min-width: 940px) {
  .hero-split { grid-template-columns: 1.1fr 1fr; gap: 44px; text-align: left; padding-top: 56px; padding-bottom: 48px; }
  .hero-split .lead { margin-left: 0; }
  .hero-split .hero-cta { justify-content: flex-start; }
  .landing-hero h1 { font-size: 2.5rem; line-height: 1.15; }
}

/* Demonstração animada */
.demo { text-align: left; max-width: 480px; margin: 0 auto; width: 100%; }
.demo-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: 0 10px 30px rgba(17,24,39,.08); font-size: .93rem; }
.demo-card h3 { margin: 6px 0 6px; font-size: 1.05rem; }
.demo-card p { margin: 0; color: #374151; line-height: 1.65; }
.demo-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.demo-tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--mut); background: #f3f4f6; padding: 3px 8px; border-radius: 6px; }
.demo-tag-ok { background: var(--blue-l); color: var(--blue); }
.demo-name { font-weight: 700; margin: 8px 0 6px; }
.demo mark { background: linear-gradient(#fde68a, #fde68a) no-repeat 0 100% / 0% 100%; color: inherit; border-radius: 4px; padding: 0 2px; }
.demo-flow { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--mut); font-size: .85rem; margin: 12px 0; }
.demo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(29,78,216,.5); }
.demo-cv { margin-left: 22px; }
@media (max-width: 520px) { .demo-cv { margin-left: 0; } }
.demo-bar { height: 6px; background: #e5e7eb; border-radius: 999px; margin-top: 12px; overflow: hidden; }
.demo-bar i { display: block; height: 100%; width: 0; background: #10b981; border-radius: 999px; }

.play .demo-card:first-child mark { animation: hl .45s ease forwards; }
.play .demo-card:first-child mark:nth-of-type(1) { animation-delay: .3s; }
.play .demo-card:first-child mark:nth-of-type(2) { animation-delay: .65s; }
.play .demo-card:first-child mark:nth-of-type(3) { animation-delay: 1s; }
.play .demo-card:first-child mark:nth-of-type(4) { animation-delay: 1.35s; }
.play .demo-dot { animation: pulse 1.2s ease-out 1.5s 2; }
.play .demo-cv { animation: cvIn .6s cubic-bezier(.2,.7,.2,1) 1.8s both; }
.play .demo-cv mark { animation: hl .45s ease forwards; }
.play .demo-cv mark:nth-of-type(1) { animation-delay: 2.5s; }
.play .demo-cv mark:nth-of-type(2) { animation-delay: 2.8s; }
.play .demo-cv mark:nth-of-type(3) { animation-delay: 3.1s; }
.play .demo-bar i { animation: bar 1.1s ease-out 2.3s forwards; }
@keyframes hl { to { background-size: 100% 100%; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(29,78,216,.45); } 100% { box-shadow: 0 0 0 12px rgba(29,78,216,0); } }
@keyframes cvIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes bar { to { width: 82%; } }
@media (prefers-reduced-motion: reduce) {
  .demo mark { background-size: 100% 100%; }
  .demo-bar i { width: 82%; }
  .play .demo-card mark, .play .demo-cv, .play .demo-bar i, .play .demo-dot { animation: none; }
}

.sources { text-align: center; color: var(--mut); font-size: .92rem; margin: 6px 0 26px; }
.sources b { color: #374151; font-weight: 600; }
.how-step { transition: transform .15s ease, box-shadow .15s ease; }
.how-step:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(17,24,39,.07); }

.compare { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 0 0 24px; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare-col { border-radius: var(--r); padding: 20px; border: 1px solid var(--line); }
.compare-col h3 { margin: 0 0 10px; font-size: 1.05rem; }
.compare-col ul { list-style: none; padding: 0; margin: 0; }
.compare-col li { padding: 7px 0 7px 28px; position: relative; }
.compare-bad { background: #f9fafb; color: #4b5563; }
.compare-bad li::before { content: "✕"; position: absolute; left: 4px; color: #9ca3af; font-weight: 700; }
.compare-good { background: var(--blue-l); border-color: #bfdbfe; }
.compare-good li::before { content: "✓"; position: absolute; left: 4px; color: var(--ok); font-weight: 800; }

.final-cta-band { text-align: center; color: #fff; border-radius: 20px; padding: 40px 22px; margin: 30px 0 10px;
  background: radial-gradient(500px 200px at 20% 0%, rgba(255,255,255,.15), transparent 60%), linear-gradient(135deg, #1d4ed8, #1e3a8a); box-shadow: 0 18px 40px rgba(29,78,216,.25); }
.final-cta-band h2 { color: #fff; font-size: 1.6rem; margin-bottom: .4rem; }
.final-cta-band p { color: #dbeafe; }
.btn-white { background: #fff; color: var(--blue); box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.btn-white:hover { background: #f8fafc; }

/* =====================================================================
   Escala mais compacta (out/2026): tudo um pouco menor, mesmo layout.
   ===================================================================== */
html { font-size: 15px; }
body { font-size: 15px; line-height: 1.55; }
h1 { font-size: 1.45rem; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; }
main.wrap { padding-top: 18px; }
.card { padding: 18px; border-radius: 12px; margin-bottom: 14px; }
.topbar-inner { min-height: 54px; }
.brand { font-size: 1rem; }
.brand-mark { width: 24px; height: 24px; border-radius: 7px; font-size: 14px; }
.nav a { padding: 6px 10px; font-size: .9rem; border-radius: 8px; }
.btn { min-height: 40px; padding: 8px 16px; border-radius: 10px; font-weight: 600; font-size: .95rem; }
.btn-big { min-height: 46px; padding: 10px 20px; font-size: 1rem; }
.btn-small { min-height: 34px; padding: 6px 12px; font-size: .88rem; }
input[type=text], input[type=email], input[type=password], input:not([type]), textarea { padding: 9px 11px; border-radius: 9px; border-width: 1px; margin-top: 5px; }
.form label { font-size: .9rem; margin-bottom: 12px; }
.check input { width: 18px; height: 18px; }
.alert { padding: 10px 12px; border-radius: 10px; font-size: .93rem; }
.steps { margin-bottom: 12px; gap: 6px; }
.steps li { padding: 6px 10px; font-size: .85rem; border-radius: 10px; }
.steps span { width: 22px; height: 22px; font-size: .78rem; }
.hero-card { padding: 26px 18px; }
.entry textarea { min-height: 84px; }
.inbox { margin: 0 -18px; }
.job { padding: 11px 18px; gap: 10px; }
.avatar { width: 36px; height: 36px; font-size: .82rem; }
.job-sub { font-size: .85rem; }
.tabs button { padding: 6px 11px; font-size: .85rem; }
.score { font-size: .75rem; }
.dropzone { padding: 22px 14px; }
.dz-icon { font-size: 1.8rem; }
.block { padding: 12px 12px 0; border-radius: 10px; }
.pack-n { font-size: 1.8rem; }
.pack-p { font-size: 1.15rem; }
.meter-bar { height: 8px; }
.pdf-preview { height: 480px; }
@media (max-width: 640px) {
  .job-actions { padding-left: 46px; }
  /* No iPhone, campos com letra abaixo de 16px fazem zoom ao tocar */
  input[type=text], input[type=email], input[type=password], input:not([type]), textarea { font-size: 16px; }
}

/* Página inicial, na mesma proporção */
.landing-hero h1 { font-size: 1.8rem; }
.lead { font-size: 1.02rem; }
.pill { font-size: .8rem; padding: 5px 11px; }
.how-step { padding: 16px; }
.how-n { width: 30px; height: 30px; font-size: .95rem; }
.demo-card { font-size: .88rem; padding: 14px 16px; }
.final-cta-band { padding: 32px 20px; }
.final-cta-band h2 { font-size: 1.4rem; }
@media (min-width: 700px) { .landing-hero h1 { font-size: 2.1rem; } }
@media (min-width: 940px) { .landing-hero h1 { font-size: 2.3rem; } }
/* ---------- Mais verde na página inicial (out/2026) ---------- */
:root { --green: #10b981; --green-d: #047857; --green-l: #ecfdf5; }
.lp .landing-hero::before { background: radial-gradient(600px 300px at 25% 30%, rgba(59,130,246,.12), transparent 70%), radial-gradient(520px 300px at 85% 25%, rgba(16,185,129,.16), transparent 70%); }
.underline-green { position: relative; z-index: 0; white-space: nowrap; }
.underline-green::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .22em; border-radius: 999px; background: var(--green); opacity: .35; z-index: -1; transform-origin: left; transform: scaleX(1); }
.js .underline-green::after { transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.7,.2,1) .6s; }
.js .in .underline-green::after, .js h1.in .underline-green::after { transform: scaleX(1); }
.checks { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
@media (min-width: 940px) { .hero-split .checks { justify-content: flex-start; } }
.checks span { display: inline-flex; align-items: center; gap: 6px; background: var(--green-l); color: var(--green-d); font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.checks span::before { content: "✓"; font-weight: 800; }
.how-n-green { background: var(--green); }
.compare-good { background: var(--green-l); border-color: #a7f3d0; }
.compare-good h3 { color: var(--green-d); }
.pack-free { border: 1.5px solid #a7f3d0; background: linear-gradient(180deg, #f0fdf8, #fff 60%); }
.pack-free .pack-p { color: var(--green-d); }
.badge-green { background: var(--green); }
.per-vaga { display: inline-block; margin-top: 2px; font-size: .8rem; font-weight: 600; color: var(--green-d); background: var(--green-l); padding: 2px 8px; border-radius: 999px; }
.sources b { color: var(--green-d); }
.ticks li::before { color: var(--green); }
.final-cta-band { background: radial-gradient(500px 200px at 15% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(120deg, #1d4ed8 0%, #1e40af 45%, #059669 100%); box-shadow: 0 18px 40px rgba(5,150,105,.22); }
.final-cta-band .btn-white { color: #047857; }
/* "Porque é que funciona" em blocos curtos */
.why-section { margin: 8px 0 26px; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .why-grid { grid-template-columns: repeat(5, 1fr); } }
.why-tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; transition: transform .15s ease, box-shadow .15s ease; }
.why-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17,24,39,.07); }
.why-tile b { font-size: .92rem; line-height: 1.3; }
.why-tile span:last-child { font-size: .82rem; color: var(--mut); line-height: 1.35; }
.why-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-l); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 4px; }
.why-ic.ic-green { background: var(--green-l); }
@media (max-width: 759px) { .why-tile:last-child { grid-column: 1 / -1; } }
/* ---------- Planos (preços) ---------- */
.pricing { margin: 36px 0 30px; }
.pricing-title { font-size: 1.6rem; margin: 2px 0 6px; }
.plans { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 22px; align-items: stretch; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px 20px; display: flex; flex-direction: column; text-align: left; box-shadow: 0 1px 2px rgba(17,24,39,.04), 0 8px 24px rgba(17,24,39,.05); transition: transform .18s ease, box-shadow .18s ease; }
.plan:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(17,24,39,.10); }
.plan-name { font-weight: 700; font-size: 1.02rem; }
.plan-for { color: var(--mut); font-size: .84rem; min-height: 2.5em; margin-top: 2px; }
.plan-price { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; margin-top: 12px; line-height: 1.1; }
.plan-sub { color: var(--mut); font-size: .84rem; margin: 2px 0 8px; }
.plan .per-vaga { align-self: flex-start; }
.plan-list { list-style: none; padding: 0; margin: 14px 0 18px; flex: 1; border-top: 1px solid var(--line); padding-top: 14px; }
.plan-list li { position: relative; padding: 4px 0 4px 24px; font-size: .9rem; }
.plan-list li::before { content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 800; }
.plan .btn { margin-top: auto; }
.plan-hot { background: linear-gradient(160deg, #1d4ed8 0%, #1e3a8a 100%); color: #fff; border-color: transparent; box-shadow: 0 18px 40px rgba(29,78,216,.30); }
@media (min-width: 1000px) { .plan-hot { transform: scale(1.04); } .plan-hot:hover { transform: scale(1.04) translateY(-3px); } }
.plan-hot .plan-for, .plan-hot .plan-sub { color: #c7d2fe; }
.plan-hot .plan-list { border-top-color: rgba(255,255,255,.18); }
.plan-hot .plan-list li::before { color: #6ee7b7; }
.plan-hot .per-vaga { background: rgba(110,231,183,.18); color: #a7f3d0; }
.plan-badge { position: absolute; top: -12px; left: 20px; background: var(--green); color: #fff; font-size: .74rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; box-shadow: 0 4px 12px rgba(16,185,129,.35); }
.plan-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-top: 22px; color: var(--mut); font-size: .86rem; }
/* ---------- Topo mais limpo (out/2026) ---------- */
.lp .landing-hero::before { display: none; }
body.lp { background:
  radial-gradient(900px 420px at 15% -80px, rgba(59,130,246,.13), transparent 70%),
  radial-gradient(800px 420px at 90% -40px, rgba(16,185,129,.13), transparent 70%),
  var(--bg); background-repeat: no-repeat; }
.lp .landing-hero h1 { margin-bottom: .6rem; }
.lp .lead { font-size: 1.15rem; color: #374151; max-width: 460px; margin-left: auto; margin-right: auto; margin-bottom: 1.4rem; }
@media (min-width: 940px) { .lp .hero-split .lead { margin-left: 0; } .lp .landing-hero h1 { font-size: 2.6rem; } }

/* Demonstração: etiqueta de estado + anexo final */
.demo-chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .82rem; color: var(--mut); box-shadow: 0 4px 12px rgba(17,24,39,.06); transition: background .3s, color .3s, border-color .3s; }
.demo-chip.done { background: var(--green-l); color: var(--green-d); border-color: #a7f3d0; font-weight: 600; }
.demo-chip.done .demo-dot { display: none; }
.demo-attach { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); opacity: 0; transform: translateY(6px); }
.demo-file { font-size: .82rem; font-weight: 600; color: #374151; background: #f3f4f6; padding: 4px 10px; border-radius: 8px; }
.demo-send { font-size: .8rem; font-weight: 700; color: #fff; background: var(--blue); padding: 5px 12px; border-radius: 8px; }
.play .demo-attach { animation: attachIn .5s cubic-bezier(.2,.7,.2,1) 3.6s forwards; }
.play .demo-send { animation: sendPulse 1s ease 4.3s 2; }
@keyframes attachIn { to { opacity: 1; transform: none; } }
@keyframes sendPulse { 50% { box-shadow: 0 0 0 6px rgba(29,78,216,.18); } }
@media (prefers-reduced-motion: reduce) { .demo-attach { opacity: 1; transform: none; } .play .demo-attach, .play .demo-send { animation: none; } }
/* Demonstração com vários exemplos: a barra é controlada pelo JS; troca com esmaecer */
.play .demo-bar i { animation: none; }
.demo .demo-card, .demo .demo-flow { transition: opacity .3s ease; }
.demo.swap .demo-card, .demo.swap .demo-flow { opacity: 0; }
.demo-card h3, .demo-card p { min-height: 1em; }
.demo-card:first-child p { min-height: 4.95em; }
.demo-cv p { min-height: 3.3em; }
/* =====================================================================
   Formulários v2 (out/2026)
   ===================================================================== */
input[type=text], input[type=email], input[type=password], input:not([type]), textarea {
  background-color: #f9fafb; border: 1px solid #e5e7eb; border-radius: 11px; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
input[type=text]:hover, input[type=email]:hover, input[type=password]:hover, input:not([type]):hover, textarea:hover { border-color: #cbd5e1; }
input[type=text]:focus, input[type=email]:focus, input[type=password]:focus, input:not([type]):focus, textarea:focus {
  background-color: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,78,216,.12);
}
::placeholder { color: #9ca3af; opacity: 1; }
.form label { color: #374151; font-weight: 600; font-size: .86rem; letter-spacing: .01em; }
.form label small { font-weight: 400; color: var(--mut); font-size: .8rem; margin-top: 5px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.label-row a { font-weight: 500; }
input[type=checkbox] { accent-color: var(--blue); }
.check { background: #f9fafb; border: 1px solid #eef0f3; border-radius: 10px; padding: 10px 12px; font-size: .88rem !important; }

/* Ícones dentro dos campos de entrar/criar conta */
.form-auth input.ic-user, .form-auth input.ic-mail, .form-auth input.ic-lock { padding-left: 38px; background-repeat: no-repeat; background-position: 12px 50%; background-size: 17px; }
.form-auth input.ic-user { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.form-auth input.ic-mail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='3'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
.form-auth input.ic-lock { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); }

/* Mostrar/esconder senha */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 44px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); margin-top: 2px; border: 0; background: none; cursor: pointer; padding: 6px 8px; border-radius: 8px; font-size: .78rem; font-weight: 600; color: var(--mut); }
.pw-toggle:hover { background: #eef2ff; color: var(--blue); }

/* Páginas de entrar / criar conta */
.auth-card { padding: 28px 24px 22px; border-radius: 16px; box-shadow: 0 1px 2px rgba(17,24,39,.04), 0 16px 40px rgba(17,24,39,.08); margin-top: 22px; }
@media (min-width: 520px) { .auth-card { padding: 34px 34px 26px; } }
.auth-head { text-align: center; margin-bottom: 18px; }
.auth-head h1 { margin: 10px 0 4px; font-size: 1.45rem; }
.auth-head p { margin: 0; }
.auth-mark { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; font-weight: 800; background: linear-gradient(135deg, #1d4ed8, #059669); box-shadow: 0 8px 20px rgba(29,78,216,.25); }
.auth-perks { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.auth-perks span { background: #ecfdf5; color: #047857; font-size: .76rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.auth-perks span::before { content: "✓ "; }
.auth-foot { text-align: center; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; font-size: .9rem; color: var(--mut); }
.form-auth .btn-big { margin-top: 4px; }

/* Botão a processar */
.btn.is-loading { opacity: .85; pointer-events: none; }
.btn.is-loading::before { content: ""; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn-ghost.is-loading::before { border-color: #c7d2fe; border-top-color: var(--blue); }

/* Enviar candidatura: caixa estilo "novo e-mail" */
.compose { border: 1px solid #e5e7eb; border-radius: 14px; background: #fff; overflow: hidden; margin-bottom: 10px; transition: box-shadow .15s, border-color .15s; }
.compose:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,78,216,.10); }
.compose-row { display: flex !important; align-items: center; gap: 10px; margin: 0 !important; padding: 2px 14px; border-bottom: 1px solid #f0f1f3; }
.compose-row span { width: 58px; flex-shrink: 0; color: var(--mut); font-weight: 500; font-size: .85rem; }
.compose-row input, .compose textarea { border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0; margin: 0; padding-left: 0; padding-right: 0; }
.compose textarea { padding: 12px 14px; min-height: 240px; line-height: 1.6; }
.compose-attach { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; background: #f9fafb; border-top: 1px solid #f0f1f3; }
.attach-chip { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 4px 10px; font-size: .82rem; font-weight: 600; color: #374151; }
.compose-note { margin: 4px 0 12px; }

/* Juntar vagas */
.entry textarea { border-style: dashed; border-width: 1.5px; background-color: #fbfcff; }
.entry textarea:focus { border-style: solid; }
.entry-label { display: inline-block; background: var(--blue-l); color: var(--blue); border-radius: 999px; padding: 2px 10px; font-size: .78rem; margin-bottom: 2px; }
.entry-rm { text-decoration: none; font-size: .8rem; color: var(--mut); }
.entry-rm:hover { color: #b91c1c; }

/* Editor do CV: blocos numerados */
#expList, #formList { counter-reset: blk; }
.block { counter-increment: blk; background: #fcfcfd; border-color: #eceef2; padding-top: 30px; }
#expList .block::before { content: "Experiência " counter(blk); }
#formList .block::before { content: "Formação " counter(blk); }
.block::before { position: absolute; top: 9px; left: 14px; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--blue); }
.block .grid2 { margin-top: 6px; }
.block-rm { text-decoration: none; font-size: .78rem; top: 7px; padding: 2px 9px; border-radius: 999px; background: #fff; border: 1px solid #f1d4d4; color: #b91c1c; }
.block-rm:hover { background: #fef2f2; }
.cv-editor h3 { display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 22px; }
/* Gmail */
.btn-gmail { background: #fff; color: #1f2937; box-shadow: inset 0 0 0 1.5px #dadce0, 0 1px 2px rgba(0,0,0,.05); }
.btn-gmail:hover { background: #f8fafc; box-shadow: inset 0 0 0 1.5px #c6cbd2, 0 4px 12px rgba(0,0,0,.08); }
.btn-big.btn-gmail { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(29,78,216,.25); }
.btn-big.btn-gmail:hover { background: var(--blue-d); }
.g-logo { width: 20px; height: 20px; border-radius: 50%; background: #fff; color: #4285f4; font-weight: 800; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1.5px #e5e7eb; }
.gmail-cta { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 12px; padding: 12px 14px; margin: 4px 0 12px; }
.gmail-status { display: flex; gap: 12px; align-items: center; background: var(--green-l); border: 1px solid #a7f3d0; border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; }
.send-alt { display: block; margin: 8px auto 0; font-size: .85rem; }
/* Vaga com resposta da empresa */
.st-reply { display: inline-block; background: #ecfdf5; color: #047857; font-weight: 700; font-size: .78rem; padding: 2px 9px; border-radius: 999px; margin-left: 4px; }
.reply-note { display: flex; gap: 10px; align-items: center; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; font-size: .92rem; }
/* ---------- Painel de administração ---------- */
.nav-admin { background: #111827; color: #fff !important; font-weight: 600; }
.nav-admin.on, .nav-admin:hover { background: #374151 !important; color: #fff !important; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.admin-head h1, .admin-head h2 { margin: 0; }
.admin-tabs { display: flex; gap: 4px; background: #f3f4f6; padding: 3px; border-radius: 999px; }
.admin-tabs a { padding: 6px 14px; border-radius: 999px; text-decoration: none; color: var(--mut); font-size: .88rem; font-weight: 600; }
.admin-tabs a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
@media (min-width: 760px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-grid-sm { margin: 12px 0 6px; }
@media (min-width: 760px) { .stat-grid-sm { grid-template-columns: repeat(5, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.stat span { font-size: .78rem; color: var(--mut); font-weight: 600; }
.stat b { font-size: 1.45rem; line-height: 1.2; }
.stat small { color: var(--mut); font-size: .76rem; }
.stat-green { background: #ecfdf5; border-color: #a7f3d0; }
.stat-green b { color: #047857; }
.stat-warn { background: #fffbeb; border-color: #fde68a; }
.ai-card .ai-top { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.big-num { font-size: 1.8rem; font-weight: 800; line-height: 1.2; }
.ai-meter { flex: 1; min-width: 180px; max-width: 360px; height: 12px; background: #e5e7eb; border-radius: 999px; overflow: hidden; }
.ai-meter i { display: block; height: 100%; background: linear-gradient(90deg, #10b981, #059669); border-radius: 999px; }
.ai-meter i.low { background: linear-gradient(90deg, #f59e0b, #dc2626); }
.inline-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin: 10px 0; }
.inline-form label { margin: 0; flex: 1; min-width: 160px; }
.search-row { display: flex; gap: 8px; align-items: center; }
.search-row input { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 -4px; }
.admin-table th { text-align: left; font-size: .76rem; color: var(--mut); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 8px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 10px 6px; vertical-align: top; }
.admin-table tbody tr { cursor: pointer; }
.admin-table tbody tr:hover { background: #f9fafb; }
.admin-table .num { text-align: right; }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: #f3f4f6; color: var(--mut); margin: 3px 3px 0 0; }
.tag-warn { background: #fffbeb; color: #b45309; }
.tag-ok { background: #ecfdf5; color: #047857; }
/* Vagas novas e "Já enviei" */
.st-new { display: inline-block; background: #eff6ff; color: #1d4ed8; font-weight: 700; font-size: .76rem; padding: 2px 8px; border-radius: 999px; }
.job-actions .mark-sent { font-size: .85rem; text-decoration: none; color: #047857; font-weight: 600; white-space: nowrap; }
.job-actions .mark-sent:hover { text-decoration: underline; }
.mark-sent-box { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 12px 14px; background: #f9fafb; border: 1px solid var(--line); border-radius: 12px; }
.mark-sent-box > div { flex: 1; min-width: 200px; font-size: .92rem; }
/* Confirmação de candidatura enviada */
.sent-card { text-align: center; padding: 32px 22px 26px; }
.sent-check { width: 76px; height: 76px; margin: 0 auto 14px; }
.sent-check svg { width: 100%; height: 100%; }
.sent-check circle { fill: #ecfdf5; stroke: #10b981; stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: drawc .6s ease-out forwards; }
.sent-check path { fill: none; stroke: #059669; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: drawc .4s ease-out .5s forwards; }
@keyframes drawc { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .sent-check circle, .sent-check path { animation: none; stroke-dashoffset: 0; } }
.sent-card h1 { margin-bottom: 4px; }
.sent-facts { list-style: none; padding: 14px 16px; margin: 16px 0; background: #f9fafb; border: 1px solid var(--line); border-radius: 12px; text-align: left; font-size: .92rem; }
.sent-facts li { padding: 4px 0; word-break: break-word; }
.sent-next-info { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: 12px; padding: 12px 14px; text-align: left; font-size: .9rem; margin-bottom: 14px; }
.sent-count { font-size: .95rem; margin: 6px 0 18px; }
.sent-actions .btn-big { flex-direction: column; gap: 2px; line-height: 1.25; }
.next-sub { font-weight: 500; opacity: .85; font-size: .8rem; }
.center-row { justify-content: center; margin-top: 10px; }
/* Respostas da empresa na página da vaga */
.reply-box { border: 1px solid #a7f3d0; border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; background: #fff; }
.reply-box summary { cursor: pointer; }
.reply-box .mail-preview { margin: 10px 0; max-height: 360px; overflow: auto; }

/* Desfazer e avisos rápidos */
.job-actions .mark-undo { font-size: .85rem; text-decoration: none; color: var(--mut); white-space: nowrap; }
.job-actions .mark-undo:hover { color: var(--ink); text-decoration: underline; }
.inline-undo { display: inline; }
.inline-undo .link-btn { font-size: .85rem; padding: 0 0 0 4px; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 140%); background: #111827; color: #fff; padding: 12px 16px; border-radius: 12px; display: flex; gap: 16px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 60; transition: transform .25s ease; max-width: calc(100% - 32px); font-size: .92rem; }
.toast.show { transform: translate(-50%, 0); }
.toast button { background: none; border: 0; color: #93c5fd; font: inherit; font-weight: 700; cursor: pointer; padding: 0; white-space: nowrap; }
/* Funil (admin) */
.funnel { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.funnel-row { display: grid; grid-template-columns: minmax(130px, 200px) 1fr 70px; gap: 10px; align-items: center; font-size: .9rem; }
.funnel-bar { height: 14px; background: #f3f4f6; border-radius: 999px; overflow: hidden; }
.funnel-bar i { display: block; height: 100%; background: linear-gradient(90deg, #3b82f6, #1d4ed8); border-radius: 999px; }
.funnel-row:nth-last-child(-n+2) .funnel-bar i { background: linear-gradient(90deg, #34d399, #059669); }
.funnel-n { text-align: right; }
.funnel-n small { color: var(--mut); }
.funnel-worst .funnel-label { color: #b45309; font-weight: 700; }
.funnel-worst .funnel-bar i { background: linear-gradient(90deg, #fbbf24, #d97706); }
@media (max-width: 520px) { .funnel-row { grid-template-columns: 1fr 64px; } .funnel-bar { grid-column: 1 / -1; grid-row: 2; } }
/* Selecionar várias vagas / lixeira */
.bulk-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 34px; margin: -4px 0 6px; }
.bulk-bar .link-btn { text-decoration: none; font-size: .88rem; }
.bulk-on { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bulk-on.hidden { display: none; }
.check-all { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; cursor: pointer; }
.check-all input, .sel-box { width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; cursor: pointer; }
.sel-off { display: inline-block; }
.job[data-pick-row] { cursor: pointer; }
.job-picked { background: #eff6ff !important; }
.st-trash { color: var(--mut); }
/* Continuar com Google */
.btn-google { background: #fff; color: #1f2937; box-shadow: inset 0 0 0 1.5px #dadce0; gap: 10px; margin-bottom: 4px; }
.btn-google:hover { background: #f8fafc; box-shadow: inset 0 0 0 1.5px #c6cbd2, 0 4px 12px rgba(0,0,0,.06); }
.or-sep { display: flex; align-items: center; gap: 10px; color: var(--mut); font-size: .8rem; margin: 14px 0; }
.or-sep::before, .or-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
/* Botões pequenos de contorno: texto azul (o btn-small força branco para os botões cheios) */
.btn-ghost.btn-small, .btn-gmail.btn-small { color: var(--blue) !important; }
.btn-google.btn-small { color: #1f2937 !important; }
/* Gerador estilo Europass */
.ep-hero { text-align: center; padding: 26px 0 18px; }
.ep-hero h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin: 10px 0 8px; }
.ep-badge { display: inline-block; background: var(--green-l); color: var(--green-d); font-weight: 700; font-size: .8rem; padding: 5px 12px; border-radius: 99px; }
.ep-lang { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 18px 0 4px; font-weight: 600; font-size: .9rem; }
.form .ep-radio { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 500; cursor: pointer; }
.ep-radio input { accent-color: var(--blue); }
.ep-next { border: 2px solid var(--green); }
.ep-next h2 { margin-top: 0; }
/* Logo */
.brand { gap: 8px; }
.brand-logo { width: 32px; height: 32px; flex: none; }
.brand-word { font-weight: 800; font-size: 1.2rem; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.brand-word b { color: var(--green); font-weight: 800; }
@media (max-width: 420px) { .brand-logo { width: 28px; height: 28px; } .brand-word { font-size: 1.05rem; } }
.cv-choice { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 10px; }
.cv-choice .btn { flex: 1 1 220px; justify-content: center; }
.ep-promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.ep-promo h2 { margin: 0 0 4px; font-size: 1.2rem; }
.ep-promo p { margin: 0; }
