/* ==========================================================================
   SXS Group Talentos — estilos do site
   1. Tokens (claro/escuro)   2. Base   3. Cabeçalho   4. Botões e etiquetas
   5. Seções (hero, cards, faixas, vídeo, FAQ)   6. Detalhe da vaga
   7. Formulário em etapas   8. Sucesso/404   9. Rodapé   10. Responsivo
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
	--ink: #0E1C36; --ink-soft: #17294A;
	--paper: #F2F4F8; --surface: #FFFFFF; --surface-2: #E9EDF4;
	--line: #DDE3EC; --line-strong: #C4CDDB;
	--text: #15243B; --text-2: #54607A; --text-3: #6E7890;
	--accent: #2E5BD6; --accent-deep: #1E44A8; --accent-2: #8FB6FF; --accent-ink: #FFFFFF;
	--on-ink: #EEF2F8; --on-ink-2: #9DAAC1;
	--good: #2F7D6B; --danger: #C0492F; --warn: #B9852B;
	--a-mkt: #C7623E; --a-ven: #2F7D6B; --a-tec: #3B6EA5; --a-fil: #7A5AA6; --a-imp: #A9812A;
	--radius: 14px; --radius-sm: 10px; --radius-lg: 22px;
	--shadow: 0 1px 2px rgba(20,22,26,.04), 0 8px 26px -14px rgba(20,22,26,.22);
	--shadow-soft: 0 1px 0 rgba(20,22,26,.03), 0 2px 10px -6px rgba(20,22,26,.12);
	--maxw: 1140px;
	--ff-display: "Bricolage Grotesque", Georgia, serif;
	--ff-body: Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ff-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--ink: #0A1424; --ink-soft: #152747;
		--paper: #0A1322; --surface: #111D34; --surface-2: #182946;
		--line: #26375A; --line-strong: #375080;
		--text: #E7ECF5; --text-2: #A7B4CC; --text-3: #8592AA;
		--accent: #5A86EE; --accent-deep: #7FA2F3; --accent-2: #9DBEFF; --accent-ink: #0A1424;
		--on-ink: #EEF2F8; --on-ink-2: #93A2BE;
		--good: #4FB49C; --danger: #E0765C; --warn: #E3B968;
		--a-mkt: #E08A63; --a-ven: #4FB49C; --a-tec: #6FA0D8; --a-fil: #A88AD4; --a-imp: #D3AE58;
		--shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 34px -18px rgba(0,0,0,.6);
		--shadow-soft: 0 1px 0 rgba(0,0,0,.25), 0 4px 14px -8px rgba(0,0,0,.5);
		color-scheme: dark;
	}
}

:root[data-theme="dark"] {
	--ink: #0A1424; --ink-soft: #152747;
	--paper: #0A1322; --surface: #111D34; --surface-2: #182946;
	--line: #26375A; --line-strong: #375080;
	--text: #E7ECF5; --text-2: #A7B4CC; --text-3: #8592AA;
	--accent: #5A86EE; --accent-deep: #7FA2F3; --accent-2: #9DBEFF; --accent-ink: #0A1424;
	--on-ink: #EEF2F8; --on-ink-2: #93A2BE;
	--good: #4FB49C; --danger: #E0765C; --warn: #E3B968;
	--a-mkt: #E08A63; --a-ven: #4FB49C; --a-tec: #6FA0D8; --a-fil: #A88AD4; --a-imp: #D3AE58;
	--shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 34px -18px rgba(0,0,0,.6);
	--shadow-soft: 0 1px 0 rgba(0,0,0,.25), 0 4px 14px -8px rgba(0,0,0,.5);
	color-scheme: dark;
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--ff-body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 700; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
img, video { max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--ff-mono); }
.eyebrow { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.muted { color: var(--text-3); font-size: 14px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
html:not(.js) .js-only { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 3. Cabeçalho (sempre escuro) ----------------------------------------- */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--ink); color: var(--on-ink); border-bottom: 1px solid rgba(255,255,255,.06); }
.admin-bar .topbar { top: 32px; }
.topbar .row { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--on-ink); text-decoration: none; flex: none; }
.brand .mark { width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--ff-display); font-weight: 800; font-size: 16px; letter-spacing: -.03em; }
.brand .wm { font-family: var(--ff-display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; line-height: 1; }
.brand .wm small { display: block; font-family: var(--ff-mono); font-weight: 500; font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--on-ink-2); margin-top: 3px; }
.brand-logo { display: block; max-height: 40px; width: auto; }
.nav { margin-left: auto; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: block; color: var(--on-ink-2); font-size: 14px; font-weight: 500; padding: 9px 13px; border-radius: 9px; text-decoration: none; white-space: nowrap; }
.nav-list a:hover { color: var(--on-ink); background: rgba(255,255,255,.06); }
.nav-list .current-menu-item > a, .nav-list a[aria-current="page"] { color: var(--accent-ink); background: var(--accent); }
.theme-btn { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: var(--on-ink); width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 15px; flex: none; }
.theme-btn:hover { background: rgba(255,255,255,.14); }

/* 4. Botões, etiquetas, pílulas ---------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 9px; border: 0; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.2; padding: 13px 22px; text-decoration: none; transition: transform .08s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-deep); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-dark { background: var(--ink); color: var(--on-ink); }
.btn-dark:hover { background: var(--ink-soft); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.linkback { background: none; border: 0; color: var(--text-2); font-size: 14px; font-weight: 500; padding: 8px 0; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.linkback:hover { color: var(--accent-deep); }

.tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--area, #888); }
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--area, #888); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; }

/* 5. Seções -------------------------------------------------------------- */
.hero { background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -12%; top: -40%; width: 60%; height: 180%; background: radial-gradient(closest-side, rgba(90,134,238,.24), transparent 70%); pointer-events: none; }
.hero .inner { position: relative; z-index: 1; padding-top: 82px; padding-bottom: 88px; }
.hero .inner > * { max-width: 760px; }
.hero .eyebrow { color: var(--accent-2); }
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; letter-spacing: -.025em; margin: 20px 0 0; }
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero .lead { color: var(--on-ink-2); font-size: clamp(17px, 2.1vw, 20px); max-width: 56ch; margin: 22px 0 34px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-ghost { color: var(--on-ink); border-color: rgba(255,255,255,.22); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.08); }
.hero .btn-primary { background: #2E5BD6; color: #fff; }
.hero .btn-primary:hover { background: #1E44A8; }
.hero .stats { display: flex; gap: 38px; margin: 52px 0 0; flex-wrap: wrap; }
.hero .stats .s { display: flex; flex-direction: column-reverse; }
.hero .stats .n { font-family: var(--ff-display); font-weight: 700; font-size: 30px; color: var(--on-ink); margin: 0; line-height: 1.2; }
.hero .stats .l { font-size: 13px; color: var(--on-ink-2); }
.hero .areasrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; padding: 0; list-style: none; }
.hero .areasrow li, .hero .areasrow a { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .08em; color: var(--on-ink); text-decoration: none; }
.hero .areasrow li { border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 6px 12px; }
.hero .areasrow li:hover { border-color: rgba(255,255,255,.4); }

.block { padding: 64px 0; }
.block--tight { padding-top: 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-head h1, .sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; margin-top: 4px; }
.sec-head p:not(.eyebrow) { color: var(--text-2); margin: 8px 0 0; max-width: 52ch; }

/* Filtros */
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-soft); position: sticky; top: 76px; z-index: 20; }
.admin-bar .filters { top: 108px; }
.selectwrap { position: relative; flex: 1; min-width: 170px; }
.selectwrap label { display: block; font-family: var(--ff-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin: 2px 4px 5px; }
.selectwrap select { -webkit-appearance: none; appearance: none; width: 100%; font-family: inherit; font-size: 14.5px; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 11px 34px 11px 13px; }
.selectwrap::after { content: "▾"; position: absolute; right: 14px; bottom: 12px; color: var(--text-3); pointer-events: none; }
.count { font-family: var(--ff-mono); font-size: 12.5px; color: var(--text-2); white-space: nowrap; padding: 0 4px; }

/* Cards de vaga */
.jobgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 16px; margin-top: 20px; }
.jobcard { text-align: left; color: var(--text); text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-soft); transition: border-color .15s, transform .1s, box-shadow .2s; }
.jobcard:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.jobcard .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.jobcard h3 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; margin-top: 10px; }
.jobcard .lvl { font-size: 13.5px; color: var(--text-2); font-weight: 500; margin-top: 3px; }
.jobcard .meta { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; color: var(--text-2); }
.jobcard .meta div { display: flex; gap: 8px; align-items: center; }
.jobcard .foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; }
.jobcard .code { font-size: 11px; color: var(--text-3); }
.jobcard .go { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-deep); font-weight: 600; font-size: 14px; transition: gap .15s; }
.jobcard:hover .go { gap: 10px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 56px 20px; color: var(--text-2); border: 1px dashed var(--line-strong); border-radius: var(--radius); }

/* Faixa banco de talentos */
.talentband { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px; display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: var(--shadow-soft); position: relative; overflow: hidden; }
.talentband::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--accent); }
.talentband h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 6px; }
.talentband .t p:not(.eyebrow) { color: var(--text-2); margin: 10px 0 0; max-width: 48ch; }

/* Vídeo convite */
.videoband { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.videoband .eyebrow { color: var(--accent-deep); }
.videoband h2 { font-size: clamp(24px, 3vw, 34px); margin: 10px 0 12px; }
.videoband .vt > p:not(.eyebrow) { color: var(--text-2); margin: 0 0 10px; max-width: 46ch; }
.host { display: flex; align-items: center; gap: 12px; margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-soft); }
.host .av { width: 44px; height: 44px; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--ink), var(--accent)); display: grid; place-items: center; color: var(--on-ink); font-family: var(--ff-display); font-weight: 800; font-size: 16px; }
.host .hn { font-weight: 600; font-size: 14.5px; color: var(--text); }
.host .hr { font-size: 12.5px; color: var(--text-3); }
.videoframe { aspect-ratio: 16 / 9; border-radius: 18px; position: relative; overflow: hidden; border: 1px solid var(--line-strong); background: radial-gradient(120% 120% at 20% 0%, var(--ink-soft), var(--ink) 70%); display: grid; place-items: center; box-shadow: var(--shadow); }
.videoframe::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 40px); opacity: .6; }
.videoframe .poster, .videoframe video, .videoframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; z-index: 1; }
.videoframe .play { width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 26px; z-index: 2; box-shadow: 0 8px 30px -8px rgba(0,0,0,.5); transition: transform .12s; }
.videoframe button.play:hover { transform: scale(1.06); }
.videoframe .soon { position: absolute; left: 16px; bottom: 16px; z-index: 2; font-family: var(--ff-mono); font-size: 11px; letter-spacing: .06em; color: var(--on-ink); background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 12px; backdrop-filter: blur(4px); }
.videoframe .brandwm { position: absolute; right: 18px; top: 16px; z-index: 2; font-family: var(--ff-display); font-weight: 800; color: var(--on-ink); opacity: .5; letter-spacing: -.02em; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faqitem { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.faqitem summary { cursor: pointer; list-style: none; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faqitem summary::-webkit-details-marker { display: none; }
.faqitem summary::after { content: "+"; font-family: var(--ff-mono); font-size: 20px; color: var(--accent-deep); flex: none; transition: transform .15s; }
.faqitem[open] summary::after { transform: rotate(45deg); }
.faqitem h3 { font-size: 17px; font-weight: 600; letter-spacing: -.005em; line-height: 1.3; }
.faqitem p { color: var(--text-2); padding: 0 22px 20px; max-width: 75ch; }

/* 6. Detalhe da vaga ---------------------------------------------------- */
.detail { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; margin-top: 26px; }
.detail .head h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin: 14px 0 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.notice { background: color-mix(in srgb, var(--warn) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); color: var(--text); border-radius: 12px; padding: 14px 16px; margin-top: 18px; font-size: 14.5px; }
.prose h2, .prose h3 { font-family: var(--ff-display); font-size: 15px; letter-spacing: .02em; text-transform: uppercase; color: var(--text); margin: 32px 0 14px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.prose > p { color: var(--text-2); margin: 0 0 4px; }
.prose ul { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 10px; }
.prose li { display: flex; gap: 12px; color: var(--text); font-size: 15px; }
.prose li .b { color: var(--accent-deep); font-family: var(--ff-mono); font-weight: 600; flex: none; line-height: 1.5; }
.prose li.plus .b { color: var(--good); }
.prose .about { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 34px; }
.prose .about h2 { border: 0; margin: 0 0 8px; padding: 0; }
.prose .about p { color: var(--text-2); font-size: 14.5px; }
.aside { position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-soft); }
.aside h2 { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); font-weight: 600; margin-bottom: 16px; }
.aside dl { margin: 0; display: flex; flex-direction: column; gap: 15px; }
.aside .r { display: flex; flex-direction: column; gap: 2px; }
.aside dt { font-size: 12px; color: var(--text-3); }
.aside dd { margin: 0; font-size: 14.5px; font-weight: 500; color: var(--text); }
.aside dd.mono { font-family: var(--ff-mono); font-size: 13px; font-weight: 600; }
.aside .btn { width: 100%; justify-content: center; margin-top: 22px; }

/* Página de texto (ex.: política de privacidade) */
.page-text { max-width: 760px; }
.page-text h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 24px; }
.entry { color: var(--text-2); }
.entry h2, .entry h3 { color: var(--text); margin: 32px 0 12px; }
.entry p, .entry ul, .entry ol { margin: 0 0 16px; }
.entry a { color: var(--accent-deep); }

/* 7. Formulário em etapas ----------------------------------------------- */
.wizhead { background: var(--ink); color: var(--on-ink); padding: 26px 0 22px; }
.wizhead .linkback { color: var(--on-ink-2); }
.wizhead .linkback:hover { color: var(--on-ink); }
.wizhead .eyebrow { color: var(--accent-2); margin-top: 6px; }
.wizhead h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin: 8px 0 4px; }
.wizhead .sub { color: var(--on-ink-2); font-size: 14.5px; }
.wizhead .jid { font-family: var(--ff-mono); font-size: 12px; color: var(--accent-2); margin-top: 2px; }
.progress { display: flex; gap: 7px; margin-top: 20px; }
.progress .dot { height: 6px; border-radius: 999px; background: rgba(255,255,255,.16); flex: 1; transition: background .3s; }
.progress .dot.done, .progress .dot.cur { background: var(--accent-2); }
.steplabel { font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--on-ink-2); margin-top: 14px; }

.form { max-width: 640px; margin: 0 auto; padding: 36px 0 70px; }
.step { border: 0; margin: 0 0 48px; padding: 0; min-width: 0; }
.js .step { margin-bottom: 0; }
.js .step:not(.is-active) { display: none; }
.stepnum { font-family: var(--ff-mono); font-size: 12px; color: var(--accent-deep); letter-spacing: .04em; }
.form h2 { font-size: 27px; font-weight: 700; margin: 6px 0 26px; }
.stepintro { color: var(--text-2); font-size: 14.5px; margin: -6px 0 22px; max-width: 62ch; }
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field--spaced { margin-top: 24px; }
.field > label, .field > legend, .field > .label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.req { color: var(--accent-deep); }
.opt { color: var(--text-3); font-weight: 500; font-size: 12.5px; }
.hint { font-size: 12.5px; color: var(--text-3); margin: -3px 0 9px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea {
	width: 100%; font-family: inherit; font-size: 15px; color: var(--text); background: var(--surface);
	border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,91,214,.18); }
.form input::placeholder, .form textarea::placeholder { color: var(--text-3); }
.form textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.form .is-invalid { border-color: var(--danger) !important; }
.field-after { margin-top: 12px; }
.charc { text-align: right; font-family: var(--ff-mono); font-size: 11px; color: var(--text-3); margin-top: 5px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.grid2 .field { margin-bottom: 0; }

.vagabox { border: 1px solid var(--line); background: var(--surface-2); border-radius: 14px; padding: 16px 18px; margin-bottom: 24px; }
.vagabox .vbh { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 4px; }
.vdetails { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 6px; }
.vdetails > summary { cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--accent-deep); padding: 6px 0; list-style: none; }
.vdetails > summary::-webkit-details-marker { display: none; }
.vdetails > summary::before { content: "▸  "; }
.vdetails[open] > summary::before { content: "▾  "; }
.prose-compact h3 { margin-top: 18px; font-size: 12.5px; }
.prose-compact li { font-size: 13.5px; }
.prose-compact > p { font-size: 14px; }

/* Anexos */
.uploadbox { display: block; border: 1.5px dashed var(--line-strong); border-radius: 12px; padding: 20px; text-align: center; background: var(--surface-2); cursor: pointer; transition: border-color .15s; }
.uploadbox:hover, .uploadbox:has(input:focus-visible) { border-color: var(--accent); }
.uploadbox:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.uploadbox.has-file { border-style: solid; border-color: var(--good); }
.uploadbox span { display: block; }
.uploadbox .ic { font-size: 26px; }
.uploadbox .t { font-weight: 600; font-size: 14.5px; margin-top: 6px; word-break: break-word; }
.uploadbox .s { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.uploadbox .fakebtn { display: inline-block; margin-top: 12px; background: var(--ink); color: var(--on-ink); border-radius: 9px; padding: 8px 16px; font-size: 13px; font-weight: 600; }
.orsep { text-align: center; font-size: 12px; color: var(--text-3); margin: 12px 0 10px; font-family: var(--ff-mono); }
.mininote { font-size: 12px; color: var(--text-3); margin-top: 8px; }

/* Opções (chips, cards, likert) — inputs reais, visualmente ocultos */
.chips .chip { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 16px; font-size: 14px; color: var(--text); cursor: pointer; transition: .12s; }
.chip:hover { border-color: var(--accent); }
.chip:has(input:checked) { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.chip:has(input:focus-visible), .copt:has(input:focus-visible), .lk:has(input:focus-visible), .consent:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.cardopts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.optlist { display: flex; flex-direction: column; gap: 10px; }
.copt { display: flex; align-items: center; gap: 11px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; color: var(--text); cursor: pointer; transition: .12s; }
.copt:hover { border-color: var(--accent); }
.copt .box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line-strong); flex: none; display: grid; place-items: center; transition: .12s; }
.copt .box.radio { border-radius: 50%; }
.copt:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
.copt:has(input:checked) .box { border-color: var(--accent); background: var(--accent); }
.copt:has(input:checked) .box::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent-ink); }
.copt:has(input:checked) .box.radio::after { border-radius: 50%; }

.testcard { border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 20px 22px; box-shadow: var(--shadow-soft); }
.testcard .klbl { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); font-weight: 600; }
.testcard h3 { font-size: 19px; margin: 6px 0 8px; }
.testcard p:not(.klbl) { color: var(--text-2); font-size: 14.5px; }
.testrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.dlnote { font-size: 12.5px; color: var(--text-3); }

.qcard { border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 18px; margin: 0 0 14px; box-shadow: var(--shadow-soft); min-width: 0; }
.qcard legend { display: contents; }
.qcard .qh { display: flex; justify-content: space-between; align-items: center; }
.qcard .qdim { font-family: var(--ff-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.qcard .qq { display: block; font-size: 15.5px; font-weight: 600; margin: 6px 0 14px; line-height: 1.4; }
.qcard.is-invalid { border-color: var(--danger); }
.likert { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.lk { display: flex; flex-direction: column; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 5px; color: var(--text-2); cursor: pointer; transition: .12s; }
.lk:hover { border-color: var(--accent); }
.lk .lkn { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--surface-2); color: var(--text-2); }
.lk .lkl { font-size: 10px; text-align: center; line-height: 1.25; }
.lk:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.lk:has(input:checked) .lkn { background: var(--accent); color: var(--accent-ink); }
.lk:has(input:checked) .lkl { color: var(--accent-deep); font-weight: 600; }

.consent { display: flex; gap: 13px; align-items: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: 13.5px; color: var(--text-2); line-height: 1.5; cursor: pointer; }
.consent a { color: var(--accent-deep); }
.cbox { width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; border: 2px solid var(--line-strong); display: grid; place-items: center; flex: none; transition: .12s; }
.consent:has(input:checked) .cbox { border-color: var(--accent); background: var(--accent); }
.consent:has(input:checked) .cbox::after { content: "✓"; color: var(--accent-ink); font-size: 14px; font-weight: 800; }

.summary { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-top: 20px; }
.summary h3 { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; font-weight: 600; }
.summary dl { margin: 0; }
.summary .r { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.summary .r:first-child { border-top: 0; }
.summary dt { color: var(--text-3); }
.summary dd { margin: 0; color: var(--text); font-weight: 500; text-align: right; }

.werr { display: none; color: var(--danger); font-size: 13px; font-weight: 500; margin-top: 14px; }
.werr.show { display: block; }
[data-form-error] { background: color-mix(in srgb, var(--danger) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent); border-radius: 10px; padding: 12px 14px; margin: 0 0 24px; }
.wnav { display: flex; justify-content: space-between; align-items: center; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
html:not(.js) .wnav { justify-content: flex-end; }

/* 8. Sucesso / 404 ------------------------------------------------------ */
.success { max-width: 560px; margin: 0 auto; padding: 70px 24px; text-align: center; }
.success .badge { width: 74px; height: 74px; border-radius: 50%; background: color-mix(in srgb, var(--good) 16%, var(--surface)); color: var(--good); display: grid; place-items: center; margin: 0 auto 22px; font-size: 34px; border: 1px solid color-mix(in srgb, var(--good) 40%, transparent); }
.success h1 { font-size: 32px; font-weight: 800; margin: 8px 0 12px; }
.success p { color: var(--text-2); margin: 0 auto 8px; max-width: 44ch; }
.success .prot { font-family: var(--ff-mono); font-size: 13px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; display: inline-block; margin: 18px 0 26px; color: var(--text); }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.success .prot + .actions { margin-top: 0; }

/* 9. Rodapé ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-ink-2); margin-top: 20px; }
.footmain { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding: 56px 0 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footabout .wm { font-family: var(--ff-display); font-weight: 800; font-size: 22px; color: var(--on-ink); letter-spacing: -.02em; }
.footabout p:not(.wm) { font-size: 13.5px; line-height: 1.6; margin: 14px 0 0; max-width: 38ch; }
.footcol h2 { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink); font-weight: 600; margin: 4px 0 16px; }
.footcol ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footcol a { color: var(--on-ink-2); text-decoration: none; font-size: 13.5px; }
.footcol a:hover { color: var(--on-ink); }
.footbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12.5px; padding: 22px 0; }
.footlinks { display: flex; gap: 18px; flex-wrap: wrap; }
.footbar a { color: var(--on-ink-2); text-decoration: none; }
.footbar a:hover { color: var(--on-ink); }

/* 10. Responsivo -------------------------------------------------------- */
@media (max-width: 860px) {
	.detail { grid-template-columns: 1fr; }
	.aside { position: static; }
	.videoband { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 820px) {
	.footmain { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 782px) {
	.admin-bar .topbar { top: 46px; }
	.admin-bar .filters { top: 122px; }
}
@media (max-width: 600px) {
	.topbar .row { gap: 10px; }
	.brand .wm { font-size: 16px; }
	.nav-list a { padding: 8px 9px; font-size: 13px; }
	.filters { position: static; }
	.talentband { padding: 30px 24px; }
	.hero .inner { padding-top: 56px; padding-bottom: 64px; }
	.block { padding: 48px 0; }
	.block--tight { padding-top: 0; }
}
@media (max-width: 520px) {
	.footmain { grid-template-columns: 1fr; }
	.grid2, .cardopts { grid-template-columns: 1fr; }
	.likert { gap: 5px; }
	.brand .wm small { display: none; }
}
@media (max-width: 480px) {
	.brand .wm { display: none; }
	.hero .stats { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
