/*
 * Recrutei Empregos · redesign D2
 * Tokens do DESIGN.md do front-manager (Recrutei Design System) e medidas do Figma
 * "Recrutei Empregos · Nova home (proposta ousada)", aba "Proposta D2".
 */

:root {
    --primary: #4169e1;
    --primary-dark: #091f5d;
    --hover-primary: #2854c5;
    --secondary: #071742;
    --secondary-dark: #06152b;
    --tertiary: #ecf0fc;
    --tertiary-purple: #eadeff;
    --brand-roxo: #763ddb;
    --canvas: #e7edf0;
    --white: #ffffff;
    --subtle: #fafbfc;
    --muted: #ececec;
    --fg: #333333;
    --fg-muted: #4f4f4f;
    --fg-subtle: #767676;
    --fg-disabled: #949494;
    --border: #ececec;
    --border-100: #818181;
    --border-200: #d5d5d5;
    --border-300: #dfe1e6;
    --input: #9b9ea0;
    --primary-50: #d8e7ff;
    --primary-100: #86a9ff;
    --icon-muted: #757d8a;
    --neutral-100: #f3f3f3;
    --segmented-track: #f5f7fb;
    --segmented-fg: #272727;
    --success: #12771a;
    --success-fg: #e5f0e6;
    --alert-success: #006d08;
    --alert-warning: #a46101;
    --alert-bg-warning: #fffbe6;
    --alert-info: #3b66d3;
    --alert-bg-info: #e5efff;
    --tag-blue: #061542;
    --tag-bg-blue: #ebeef5;
    --tag-pink: #db3d78;
    --tag-bg-pink: #ffccdf;

    --radius-card: 24px;
    --radius-field: 17px;
    --radius-pill: 999px;
    --shadow-popover: 0 4px 14px rgba(0, 0, 0, .12);
    --container: 1404px;
    --font: 'Roboto', 'Roboto Variable', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.d2 {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--fg);
    background: var(--canvas);
    -webkit-font-smoothing: antialiased;
}
:where(.d2) img { max-width: 100%; display: block; }
:where(.d2) a { color: inherit; text-decoration: none; }
:where(.d2) :where(h1, h2, h3, h4, p) { margin: 0; }
:where(.d2) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.d2) button { font-family: inherit; cursor: pointer; }
:where(.d2) :where(input, select) { font-family: inherit; color: var(--fg); }
.d2 :focus-visible { outline: 3px solid rgba(65, 105, 225, .45); outline-offset: 2px; }
.d2-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.d2-icon { flex-shrink: 0; display: inline-block; vertical-align: middle; }

.d2-container { width: 100%; max-width: calc(var(--container) + 32px); margin: 0 auto; padding: 0 16px; }
.d2-main { padding-bottom: 72px; }
.d2-stack { display: flex; flex-direction: column; gap: 24px; }
.d2-section { margin-top: 72px; }
.d2-section--tight { margin-top: 24px; }
.d2-card { background: var(--white); border-radius: var(--radius-card); }
.d2-muted { color: var(--fg-subtle); }
.d2-grow { flex: 1 1 auto; min-width: 0; }

/* ---------- tipografia ---------- */
.d2-h1 { font-size: 60px; font-weight: 700; line-height: 1.1; color: var(--fg); }
.d2-h1 em { font-style: normal; color: var(--primary); }
.d2-h2 { font-size: 32px; font-weight: 700; line-height: 1.2; }
.d2-h3 { font-size: 24px; font-weight: 700; line-height: 1.25; }
.d2-h4 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.d2-lead { font-size: 18px; color: var(--fg-muted); line-height: 1.5; }
.d2-small { font-size: 12px; }

/* ---------- botões (Button do DS) ---------- */
.d2-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 36px; padding: 0 20px; border-radius: var(--radius-pill);
    border: 1px solid transparent; font-size: 14px; font-weight: 500; line-height: 1;
    white-space: nowrap; transition: background .15s, color .15s, border-color .15s;
    text-decoration: none; cursor: pointer; background: transparent;
}
.d2-btn--lg { height: 39px; font-size: 16px; }
.d2-btn--xl { height: 48px; font-size: 16px; padding: 0 28px; }
.d2-btn--44 { height: 44px; font-size: 16px; }
.d2-btn--primary { background: var(--primary); color: var(--white); }
.d2-btn--primary:hover { background: var(--white); color: var(--primary); border-color: var(--primary); }
.d2-btn--secondary { background: var(--white); color: var(--primary); border-color: var(--primary); }
.d2-btn--secondary:hover { color: var(--secondary); border-color: var(--secondary); }
.d2-btn--outline { color: var(--fg-muted); border-color: var(--input); }
.d2-btn--outline:hover { background: rgba(65, 105, 225, .1); color: var(--primary); border-color: var(--primary); }
.d2-btn--contrast { background: var(--white); color: var(--fg); }
.d2-btn--contrast:hover { color: var(--primary); }
.d2-btn--outline-contrast { color: var(--white); border-color: var(--white); }
.d2-btn--outline-contrast:hover { background: rgba(255, 255, 255, .1); }
.d2-btn--subtle { padding: 0; height: auto; color: var(--primary); }
.d2-btn--subtle:hover { color: var(--secondary); text-decoration: underline; }
.d2-btn--export { background: var(--success-fg); color: var(--alert-success); border-color: var(--alert-success); }
.d2-btn--export:hover { background: rgba(0, 109, 8, .18); }
.d2-btn--block { width: 100%; }
.d2-iconbtn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--primary);
    color: var(--primary); background: var(--white); flex-shrink: 0; transition: background .15s;
}
.d2-iconbtn:hover { background: var(--tertiary); }
.d2-iconbtn--muted { border-color: var(--input); color: var(--fg-muted); }

/* ---------- badge / chip ---------- */
.d2-badge {
    display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px;
    border-radius: 4px; border: 1px solid; font-size: 12px; font-weight: 600; line-height: 16px; white-space: nowrap;
}
.d2-badge--default { background: var(--neutral-100); color: var(--fg-muted); border-color: var(--fg-muted); }
.d2-badge--success { background: var(--success-fg); color: var(--alert-success); border-color: var(--alert-success); }
.d2-badge--info { background: var(--primary-50); color: var(--alert-info); border-color: var(--alert-info); }
.d2-badge--blue { background: var(--tag-bg-blue); color: var(--tag-blue); border-color: var(--tag-blue); }
.d2-badge--warning { background: var(--alert-bg-warning); color: var(--alert-warning); border-color: var(--alert-warning); }
.d2-badge--pill { border-radius: var(--radius-pill); border: 0; padding: 4px 12px; font-size: 14px; }
.d2-badge--soft-primary { background: var(--primary-50); color: var(--primary); }
.d2-badge--contrast { background: rgba(255, 255, 255, .2); color: var(--white); border: 1px solid rgba(255, 255, 255, .5); }
.d2-badges { display: flex; flex-wrap: wrap; gap: 6px; }

.d2-chip {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
    border-radius: var(--radius-pill); border: 1px solid var(--input); background: var(--white);
    font-size: 14px; color: var(--fg-muted); line-height: 20px; transition: all .15s; white-space: nowrap;
}
.d2-chip:hover, .d2-chip.is-selected { background: rgba(65, 105, 225, .1); border-color: var(--primary); color: var(--primary); }
.d2-chip--link { color: var(--primary); }
.d2-chip--soft { background: rgba(65, 105, 225, .1); border-color: var(--primary); color: var(--primary); }
.d2-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

/* ---------- campos ---------- */
.d2-field {
    display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px;
    border-radius: var(--radius-pill); border: 1px solid var(--input); background: var(--white);
    color: var(--icon-muted); transition: border-color .15s;
}
.d2-field:hover, .d2-field:focus-within { border-color: var(--primary); }
.d2-field input, .d2-field select {
    flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent;
    font-size: 14px; color: var(--fg); height: 100%; appearance: none; -webkit-appearance: none;
}
.d2-field input::placeholder { color: var(--fg-subtle); }
.d2-field--38 { height: 38px; padding: 0 16px; }
.d2-field--44 { height: 44px; }
.d2-field--filled { background: var(--subtle); border-color: var(--primary); }
.d2-field select { cursor: pointer; padding-right: 4px; }
.d2-field select:invalid, .d2-field select.is-placeholder { color: var(--fg-subtle); }
.d2-label { display: block; font-size: 14px; font-weight: 500; color: var(--fg-muted); margin-bottom: 6px; }

/* ---------- navbar (padrão GlobalHeader) ---------- */
.d2-nav-wrap { position: relative; z-index: 50; padding: 16px 16px 0; }
.d2-nav {
    max-width: 1480px; margin: 0 auto; height: 80px; padding: 0 16px;
    background: var(--white); border-radius: 16px; box-shadow: var(--shadow-popover);
    display: flex; align-items: center; gap: 14px;
}
.d2-nav__logo img { height: 32px; width: auto; }
.d2-nav__menu { display: flex; align-items: center; gap: 18px; }
.d2-nav__item { position: relative; }
.d2-nav__link {
    display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500;
    color: var(--fg); background: none; border: 0; padding: 8px 0; white-space: nowrap;
}
.d2-nav__link:hover, .d2-nav__link.is-active { color: var(--primary); }
.d2-nav__link.is-active { font-weight: 700; color: var(--fg); }
.d2-nav__search { width: 170px; height: 38px; padding: 0 16px; border-color: var(--border-300); }
.d2-nav__search input { font-size: 12px; }
.d2-nav__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.d2-nav__toggle { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: none; color: var(--fg); }

.d2-dropdown {
    position: absolute; top: calc(100% + 8px); left: -16px; min-width: 260px; max-height: 70vh; overflow-y: auto;
    background: var(--white); border-radius: var(--radius-field); border: 1px solid var(--border-300);
    box-shadow: var(--shadow-popover); padding: 8px; display: none; z-index: 60;
}
.d2-nav__item.is-open > .d2-dropdown { display: block; }
.d2-dropdown a, .d2-dropdown summary {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 8px 12px; border-radius: 10px; font-size: 14px; color: var(--fg); cursor: pointer; list-style: none;
}
.d2-dropdown summary::-webkit-details-marker { display: none; }
.d2-dropdown a:hover, .d2-dropdown summary:hover { background: rgba(65, 105, 225, .1); color: var(--primary); }
.d2-dropdown details[open] > summary { color: var(--primary); font-weight: 500; }
.d2-dropdown details > div { padding-left: 12px; border-left: 2px solid var(--tertiary); margin: 2px 0 6px 12px; }
.d2-dropdown details > div a { font-size: 13px; color: var(--fg-muted); padding: 6px 10px; }
.d2-dropdown__all { font-weight: 500; color: var(--primary) !important; }

/* ---------- hero da home ---------- */
.d2-hero { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) 628px; gap: 0; padding: 16px; position: relative; overflow: visible; }
.d2-hero__content { padding: 48px 32px 48px 32px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.d2-hero__h1 { max-width: 640px; }
.d2-hero__lead { max-width: 600px; }
.d2-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.d2-hero__search { display: flex; gap: 8px; width: 100%; max-width: 660px; }
.d2-hero__search .d2-field:first-child { flex: 1 1 auto; }
.d2-hero__search .d2-field:nth-child(2) { flex: 0 0 210px; width: 210px; }
.d2-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 568px; border-radius: var(--radius-field); overflow: hidden; }
.d2-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.d2-mosaic img:first-child { grid-row: 1 / span 2; }
.d2-hero__float {
    position: absolute; left: calc(100% - 628px - 16px - 60px); bottom: 40px; z-index: 2;
    display: flex; align-items: center; gap: 12px; padding: 12px 16px; max-width: 420px;
    background: var(--white); border-radius: var(--radius-field); box-shadow: var(--shadow-popover);
}
.d2-hero__float-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--success-fg); color: var(--alert-success); display: flex; align-items: center; justify-content: center; }
.d2-hero__float strong { display: block; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d2-hero__float .d2-grow > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d2-hero__float .d2-grow { min-width: 0; }
.d2-hero__float .d2-grow > span { display: block; font-size: 12px; color: var(--fg-muted); }

/* ---------- cabeçalhos de seção ---------- */
.d2-section-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.d2-section-head__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.d2-section-head__sub { font-size: 16px; color: var(--fg-subtle); }
.d2-section-head--inline { align-items: center; }

/* ---------- empresas ---------- */
.d2-companies { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.d2-company { display: flex; flex-direction: column; gap: 12px; padding: 16px; transition: box-shadow .15s; }
.d2-company:hover { box-shadow: var(--shadow-popover); }
.d2-company__name { font-size: 15px; font-weight: 700; line-height: 1.3; }
.d2-company__job { font-size: 13px; color: var(--primary); line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ---------- logo de empresa (Avatar) ---------- */
.d2-logo {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--white);
    overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
}
.d2-logo img { width: 72%; height: 72%; object-fit: contain; }
.d2-logo--48 { width: 48px; height: 48px; }
.d2-logo--56 { width: 56px; height: 56px; }
.d2-logo--64 { width: 64px; height: 64px; }
.d2-logo--80 { width: 80px; height: 80px; }
/* Formato da logo (App\Services\LogoShape). A imagem é recortada na área com conteúdo:
   --w/--l/--t são largura e posição em % de uma caixa --box centralizada no avatar. */
.d2-logo[class*="d2-logo--"] { position: relative; }
.d2-logo img[style*="--w"] {
    position: absolute; max-width: none; height: auto; object-fit: fill;
    width: calc(var(--box, 76%) * var(--w) / 100);
    left: calc((100% - var(--box, 76%)) / 2 + var(--box, 76%) * var(--l) / 100);
    top: calc((100% - var(--box, 76%)) / 2 + var(--box, 76%) * var(--t) / 100);
}
.d2-logo--mark { --box: 74%; }
.d2-logo--circle { --box: 100%; }
.d2-logo--square { --box: 100%; border-radius: 22%; }
.d2-logo--fill { border-radius: 22%; background: var(--logo-bg, var(--white)); border-color: transparent; }
.d2-logo--fill img { width: 100%; height: 100%; }
.d2-logo--initials { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); font-weight: 700; font-size: 14px; }

/* ---------- toolbar + tabs ---------- */
.d2-toolbar { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--radius-pill); background: var(--white); margin-bottom: 24px; }
.d2-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--radius-pill); background: var(--segmented-track); flex-wrap: wrap; }
.d2-tab {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: var(--radius-pill);
    border: 0; background: transparent; font-size: 14px; font-weight: 500; color: var(--segmented-fg); white-space: nowrap;
}
.d2-tab:hover { color: var(--primary); }
.d2-tab.is-active { background: var(--primary-dark); color: var(--white); }
.d2-tab__count { padding: 1px 6px; border-radius: var(--radius-pill); background: var(--primary-50); color: var(--primary); font-size: 12px; font-weight: 600; }
.d2-tab.is-active .d2-tab__count { background: rgba(255, 255, 255, .2); color: var(--white); }
.d2-tabpanel[hidden] { display: none; }

/* ---------- card de vaga (grade) ---------- */
.d2-jobgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.d2-jobcard { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 16px; position: relative; transition: box-shadow .15s; }
.d2-jobcard:hover { box-shadow: var(--shadow-popover); }
.d2-jobcard__head { display: flex; gap: 12px; align-items: flex-start; }
.d2-jobcard__title { font-size: 16px; font-weight: 700; line-height: 1.3; }
.d2-jobcard__title a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius-card); }
.d2-jobcard__meta { font-size: 14px; color: var(--fg-muted); margin-top: 2px; }
.d2-jobcard__foot { display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; }
.d2-jobcard__foot .d2-btn { margin-left: auto; }

.d2-datablock { display: flex; border: 1px solid var(--border-300); border-radius: var(--radius-field); padding: 12px 8px; }
.d2-datablock__cell { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 0 6px; }
.d2-datablock__cell + .d2-datablock__cell { border-left: 1px solid var(--border); }
.d2-datablock__label { font-size: 14px; color: var(--fg); }
.d2-datablock__value { font-size: 16px; font-weight: 700; color: var(--fg); line-height: 1.3; overflow-wrap: anywhere; }
.d2-datablock__value.is-money { color: var(--primary); }
.d2-datablock__value.is-empty { color: var(--fg-subtle); }
.d2-datablock--sm { padding: 10px 8px; }
.d2-datablock--sm .d2-datablock__label { font-size: 12px; }
.d2-datablock--sm .d2-datablock__value { font-size: 14px; }
.d2-datablock--lg { padding: 14px 8px; }
.d2-datablock--lg .d2-datablock__value { font-size: 18px; }

/* ---------- card de vaga (lista) ---------- */
.d2-joblist { display: flex; flex-direction: column; gap: 12px; }
.d2-jobrow { display: flex; gap: 16px; align-items: flex-start; padding: 20px; position: relative; transition: box-shadow .15s; }
.d2-jobrow:hover { box-shadow: var(--shadow-popover); }
.d2-jobrow__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.d2-jobrow__title { font-size: 17px; font-weight: 700; line-height: 1.3; }
.d2-jobrow__title a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius-card); }
.d2-jobrow__meta { font-size: 14px; color: var(--fg-muted); }
.d2-jobrow__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; position: relative; z-index: 1; text-align: right; flex-shrink: 0; }
.d2-jobrow__salary { font-size: 16px; font-weight: 700; color: var(--primary); }
.d2-jobrow__salary.is-empty { color: var(--fg-subtle); }
.d2-jobrow__time { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--fg-muted); }
.d2-jobrow__actions { display: flex; gap: 8px; }

/* ---------- vagas perto de você (lista + prévia) ---------- */
.d2-near-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.d2-near-select { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--radius-pill); border: 1px solid var(--primary); background: var(--white); color: var(--primary); }
.d2-near-select select { border: 0; background: transparent; appearance: none; -webkit-appearance: none; font-size: 20px; font-weight: 700; color: var(--primary); padding-right: 22px; cursor: pointer; outline: 0; }
.d2-near-select .d2-icon:last-child { position: absolute; right: 12px; pointer-events: none; }
[data-near-section].is-loading .d2-near { opacity: .55; transition: opacity .2s; }
.d2-near { display: grid; grid-template-columns: 500px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); overflow: hidden; height: 600px; }
.d2-near__list { border-right: 1px solid var(--border); display: flex; flex-direction: column; min-height: 0; }
.d2-near__rows { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.d2-near__listhead { display: flex; align-items: center; gap: 8px; padding: 16px 20px; font-size: 14px; }
.d2-near__listhead strong { font-weight: 500; color: var(--fg-muted); }
.d2-near__row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-top: 1px solid var(--border); background: var(--white); text-align: left; width: 100%; border-left: 3px solid transparent; }
.d2-near__row:hover { background: var(--subtle); }
.d2-near__row.is-active { background: var(--tertiary); border-top-color: var(--primary); border-left-color: var(--primary); }
.d2-near__row.is-active .d2-near__title { color: var(--primary); }
.d2-near__title { font-size: 15px; font-weight: 700; line-height: 1.3; }
.d2-near__meta { font-size: 13px; color: var(--fg-muted); margin-top: 4px; }
.d2-near__salary { font-size: 13px; font-weight: 700; color: var(--primary); }
.d2-near__salary.is-empty { color: var(--fg-subtle); }
.d2-near__age { font-size: 12px; color: var(--fg-subtle); white-space: nowrap; margin-left: auto; }
.d2-near__foot { padding: 16px 20px; border-top: 1px solid var(--border); margin-top: auto; }
.d2-near__preview { padding: 28px 32px; display: flex; flex-direction: column; gap: 20px; min-width: 0; min-height: 0; }
.d2-near__preview[hidden] { display: none; }
.d2-near__ph { display: flex; gap: 16px; align-items: flex-start; }
.d2-near__pt { font-size: 24px; font-weight: 700; line-height: 1.25; }
.d2-near__pm { font-size: 15px; color: var(--fg-muted); margin-top: 4px; }
.d2-near__desc { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-right: 8px; }
/* Degradê no pé enquanto tem texto abaixo: avisa que a descrição rola. */
.d2-near__desc.has-more { -webkit-mask-image: linear-gradient(#000 calc(100% - 48px), transparent); mask-image: linear-gradient(#000 calc(100% - 48px), transparent); }
.d2-near__pf { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.d2-near__pf .d2-near__stamp { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--fg-muted); }

/* ---------- alerta por e-mail ---------- */
.d2-alert { display: flex; align-items: center; gap: 32px; padding: 32px 40px; border-radius: var(--radius-card); background: var(--primary-dark); color: var(--white); }
.d2-alert__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.d2-alert__text { width: 430px; display: flex; flex-direction: column; gap: 6px; }
.d2-alert__text p { font-size: 15px; opacity: .75; line-height: 1.5; }
.d2-alert__form { margin-left: auto; display: flex; gap: 16px; align-items: center; }
.d2-alert__form .d2-field { border: 0; }
.d2-alert__form .d2-field:first-child { width: 260px; }
.d2-alert__form .d2-field:nth-child(2) { width: 200px; }
.d2-alert--inline { padding: 20px 24px; gap: 16px; }
.d2-alert--inline .d2-alert__icon { width: 44px; height: 44px; }
.d2-alert--inline .d2-alert__text { width: auto; flex: 1 1 auto; gap: 2px; }
.d2-alert--inline .d2-alert__text p { font-size: 14px; }

/* ---------- áreas (bento) ---------- */
.d2-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.d2-area { overflow: hidden; display: flex; flex-direction: column; position: relative; transition: box-shadow .15s; }
.d2-area:hover { box-shadow: var(--shadow-popover); }
.d2-area img { width: 100%; height: 180px; object-fit: cover; }
.d2-area--big img { height: 300px; }
.d2-area--wide { grid-column: span 2; }
.d2-area__body { display: flex; align-items: center; gap: 12px; padding: 16px; }
.d2-area__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.d2-area__name { font-size: 20px; font-weight: 700; line-height: 1.3; }
.d2-area__name a::after { content: ''; position: absolute; inset: 0; }
.d2-area__count { font-size: 14px; color: var(--fg-muted); }
.d2-area__count strong { color: var(--primary); }
.d2-area__more { grid-column: span 2; padding: 24px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.d2-area__more-head { display: flex; align-items: center; gap: 10px; }
.d2-area__more-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--tertiary); color: var(--primary); display: flex; align-items: center; justify-content: center; }

/* ---------- radar ---------- */
.d2-radar { display: grid; grid-template-columns: 460px minmax(0, 1fr); overflow: hidden; }
.d2-radar__side { background: var(--secondary-dark); color: var(--white); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.d2-radar__side p { font-size: 15px; opacity: .75; line-height: 1.5; }
.d2-radar__side .d2-label { color: rgba(255,255,255,.7); font-size: 13px; }
.d2-radar__side .d2-field { border: 0; height: 44px; }
.d2-radar__main { padding: 40px; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.d2-bars { display: flex; flex-direction: column; gap: 12px; }
.d2-bar { display: flex; align-items: center; gap: 12px; }
.d2-bar__label { width: 220px; font-size: 14px; flex-shrink: 0; }
.d2-bar__track { flex: 1 1 auto; height: 10px; border-radius: 99px; background: var(--muted); overflow: hidden; }
.d2-bar__fill { height: 100%; border-radius: 99px; background: var(--primary); }
.d2-bar__pct { font-size: 14px; font-weight: 700; color: var(--primary); width: 44px; text-align: right; }
.d2-stack-bar { display: flex; height: 16px; border-radius: 99px; overflow: hidden; background: var(--muted); }
.d2-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--fg-muted); }
.d2-legend span { display: inline-flex; align-items: center; gap: 6px; }
.d2-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.d2-salary { display: flex; align-items: center; gap: 32px; padding: 16px 20px; border-radius: var(--radius-field); background: var(--tertiary); flex-wrap: wrap; }
.d2-salary__label { font-size: 12px; color: var(--fg-muted); }
.d2-salary__value { font-size: 20px; font-weight: 700; color: var(--primary); }

/* ---------- como funciona ---------- */
.d2-how { background: var(--tertiary); border-radius: var(--radius-card); display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 40px; padding: 40px 48px; align-items: center; }
.d2-how__content { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; padding: 16px 0; }
.d2-how__title { font-size: 48px; font-weight: 700; line-height: 1.12; }
.d2-how img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius-card); }
.d2-stepper { display: flex; }
.d2-step { width: 200px; display: flex; flex-direction: column; gap: 8px; }
.d2-step__top { display: flex; align-items: center; }
.d2-step__circle { width: 29px; height: 29px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; flex-shrink: 0; }
.d2-step__circle--done { background: var(--primary); color: var(--white); }
.d2-step__circle--active { background: var(--primary-50); color: var(--primary); }
.d2-step__circle--todo { background: var(--white); color: #a8a8a8; border: 1px solid var(--border-200); }
.d2-step__line { flex: 1 1 auto; height: 2px; background: var(--border-200); }
.d2-step__line--done { background: var(--primary); }
.d2-step strong { font-size: 16px; }
.d2-step p { font-size: 14px; color: var(--fg-muted); width: 180px; line-height: 1.45; }

/* ---------- avaliação + cursos ---------- */
.d2-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.d2-eval { position: relative; background: var(--secondary-dark); border-radius: var(--radius-card); overflow: hidden; min-height: 440px; color: var(--white); }
.d2-eval img { position: absolute; right: 0; top: 0; width: 50%; height: 100%; object-fit: cover; }
.d2-eval::after { content: ''; position: absolute; right: 0; top: 0; width: 50%; height: 100%; background: linear-gradient(90deg, #06152b 0%, rgba(6,21,43,0) 50%); }
.d2-eval__content { position: relative; z-index: 1; padding: 40px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; max-width: 380px; }
.d2-eval__content h3 { font-size: 32px; line-height: 1.2; font-weight: 700; }
.d2-eval__content p { font-size: 16px; opacity: .8; line-height: 1.5; }
.d2-courses { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.d2-course { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: var(--radius-field); border: 1px solid rgba(155, 158, 160, .3); position: relative; transition: border-color .15s; }
.d2-course:hover { border-color: var(--primary); }
.d2-course img { width: 130px; height: 70px; object-fit: cover; border-radius: 12px; flex-shrink: 0; background: var(--primary-50); }
.d2-course__title { font-size: 15px; font-weight: 700; }
.d2-course__title a::after { content: ''; position: absolute; inset: 0; }
.d2-course__desc { font-size: 13px; color: var(--fg-muted); }

/* ---------- estados ---------- */
.d2-states { padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.d2-states__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.d2-state { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: var(--radius-field); border: 1px solid rgba(155, 158, 160, .3); transition: border-color .15s; color: var(--primary); }
.d2-state:hover { border-color: var(--primary); }
.d2-state img { width: 96px; height: 72px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.d2-state__name { font-size: 16px; font-weight: 700; color: var(--fg); }
.d2-state__count { font-size: 14px; color: var(--fg-muted); }
.d2-state__count strong { color: var(--primary); }

/* ---------- buscas populares / faq ---------- */
.d2-popular { padding: 28px 32px; display: flex; flex-direction: column; gap: 20px; }
.d2-underline-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.d2-underline-tab { padding: 10px 0; border: 0; background: none; font-size: 15px; font-weight: 500; color: var(--fg-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.d2-underline-tab.is-active { color: var(--primary-dark); font-weight: 700; border-bottom-color: var(--primary-dark); }
.d2-linkcols { columns: 4; column-gap: 24px; }
.d2-linkcols a { display: block; font-size: 14px; color: var(--primary); padding: 5px 0; break-inside: avoid; }
.d2-linkcols a:hover { text-decoration: underline; }
.d2-faq { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 48px; padding: 32px; }
.d2-faq__intro { display: flex; flex-direction: column; gap: 8px; }
.d2-faq__intro p { font-size: 15px; color: var(--fg-muted); line-height: 1.5; }
.d2-acc details { border-bottom: 1px solid var(--border); padding: 16px 0; }
.d2-acc summary { display: flex; align-items: center; gap: 12px; list-style: none; cursor: pointer; font-size: 16px; font-weight: 500; }
.d2-acc summary::-webkit-details-marker { display: none; }
.d2-acc summary .d2-icon { margin-left: auto; transition: transform .2s; color: var(--fg-muted); }
.d2-acc details[open] summary .d2-icon { transform: rotate(180deg); }
.d2-acc__body { font-size: 14px; color: var(--fg-muted); line-height: 1.6; padding-top: 8px; }
.d2-acc__body p + p { margin-top: 8px; }

/* ---------- telegram + bancos ---------- */
.d2-telegram { background: var(--primary); color: var(--white); padding: 32px; border-radius: var(--radius-card); display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.d2-telegram__icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; }
.d2-telegram p { font-size: 16px; opacity: .85; line-height: 1.5; }
.d2-banks { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.d2-banks p { font-size: 16px; color: var(--fg-muted); line-height: 1.5; }
.d2-banks .d2-chip .d2-icon { color: var(--primary); }

/* ---------- rodapé ---------- */
.d2-footer { background: var(--secondary-dark); color: var(--white); padding: 56px 0 24px; }
.d2-footer__top { display: grid; grid-template-columns: 506px repeat(4, minmax(0, 1fr)); gap: 24px; }
.d2-footer__brand img { width: 338px; max-width: 100%; height: auto; }
.d2-footer__brand p { font-size: 14px; opacity: .7; max-width: 300px; margin-top: 20px; line-height: 1.5; }
.d2-footer__social { display: flex; gap: 16px; margin-top: 20px; font-size: 13px; }
.d2-footer__social a { opacity: .7; }
.d2-footer__social a:hover { opacity: 1; }
.d2-footer h4 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.d2-footer__col a, .d2-footer__col span { display: block; font-size: 14px; opacity: .7; padding: 5px 0; }
.d2-footer__col a:hover { opacity: 1; }
.d2-footer__seo { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.d2-footer__seo h4 { font-size: 13px; opacity: .9; }
.d2-footer__seo div div { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.d2-footer__seo a { font-size: 13px; opacity: .6; }
.d2-footer__seo a:hover { opacity: 1; }
.d2-footer__bottom { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; opacity: .5; }

/* ---------- breadcrumb ---------- */
.d2-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; margin: 24px 0; }
.d2-breadcrumb a { color: var(--primary); }
.d2-breadcrumb a:hover { text-decoration: underline; }
.d2-breadcrumb span { font-weight: 500; color: var(--fg-muted); }
.d2-breadcrumb .d2-icon { color: var(--icon-muted); }

/* ---------- listagens ---------- */
.d2-pagehero { display: grid; grid-template-columns: minmax(0, 1fr) 520px; overflow: hidden; }
.d2-pagehero__search { display: flex; gap: 8px; width: 100%; max-width: 560px; margin-top: 4px; align-self: stretch; }
.d2-pagehero__search .d2-field { flex: 1 1 auto; height: 44px; }
.d2-pagehero--noimg { grid-template-columns: minmax(0, 1fr); }
.d2-pagehero__content { padding: 40px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.d2-pagehero__title { font-size: 44px; font-weight: 700; line-height: 1.15; }
.d2-pagehero img { width: 100%; height: 100%; min-height: 320px; max-height: 420px; object-fit: cover; }
.d2-searchbar { display: flex; gap: 12px; padding: 16px; border-radius: var(--radius-pill); background: var(--white); align-items: center; }
.d2-searchbar .d2-field:first-child { flex: 1 1 auto; height: 44px; }
.d2-searchbar .d2-field:nth-child(2) { flex: 0 0 260px; height: 44px; }
.d2-results-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.d2-results-head h1, .d2-results-head h2 { font-size: 28px; font-weight: 700; line-height: 1.25; }
.d2-applied { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; font-weight: 500; }
.d2-applied .d2-badge { gap: 6px; }
.d2-listing { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
.d2-listing--full { grid-template-columns: minmax(0, 1fr); }

.d2-filters { padding: 24px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
.d2-filters__head { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; }
.d2-filters__head .d2-icon { color: var(--primary); }
.d2-fgroup { border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.d2-fgroup > summary { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; }
.d2-fgroup > summary::-webkit-details-marker { display: none; }
.d2-fgroup[open] > summary .d2-icon { transform: rotate(180deg); }
.d2-fgroup__body { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.d2-radio { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.d2-radio input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--border-300); background: var(--white) center / 12px no-repeat; margin: 0; flex-shrink: 0; transition: background-color .15s, border-color .15s; cursor: pointer; }
.d2-radio input:checked { background-color: var(--primary); border-color: var(--primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.d2-radio:hover input { border-color: var(--primary); }
.d2-radio em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--fg-subtle); }
.d2-switch { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; cursor: pointer; }
.d2-switch .d2-icon { color: var(--primary); }
.d2-switch input { appearance: none; -webkit-appearance: none; width: 36px; height: 20px; border-radius: 99px; background: var(--subtle); border: 1px solid var(--border-300); position: relative; margin: 0 0 0 auto; transition: background .15s; flex-shrink: 0; }
.d2-switch input::after { content: ''; position: absolute; top: 1px; left: 1px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 1px solid var(--border-300); transition: transform .15s; }
.d2-switch input:checked { background: var(--primary); border-color: var(--primary); }
.d2-switch input:checked::after { transform: translateX(16px); border-color: var(--primary); }
.d2-filters__pair { display: flex; gap: 8px; }
.d2-filters__pair .d2-field { flex: 1 1 0; }
.d2-filters__remove { font-size: 13px; color: var(--primary); }

.d2-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 8px; font-size: 14px; color: var(--fg-muted); }
.d2-pagination a, .d2-pagination span.is-disabled { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; color: var(--fg-muted); }
.d2-pagination span.is-disabled { color: #bebebe; }
.d2-pagination input { width: 54px; height: 38px; border-radius: var(--radius-pill); border: 1px solid var(--border-100); background: var(--subtle); text-align: center; font-size: 14px; }

.d2-empty { padding: 56px 40px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.d2-empty__icon { width: 88px; height: 88px; border-radius: 50%; background: var(--tertiary); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.d2-empty p { max-width: 620px; font-size: 17px; color: var(--fg-muted); line-height: 1.5; }
.d2-empty__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.d2-summary-strip { display: grid; grid-template-columns: 330px minmax(0, 1fr); background: var(--secondary-dark); color: var(--white); border-radius: var(--radius-card); overflow: hidden; }
.d2-summary-strip__side > .d2-badge { align-self: flex-start; }
.d2-kpi[hidden] { display: none; }
.d2-summary-strip__side { padding: 28px 32px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.d2-summary-strip__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 24px; }
.d2-kpi { padding: 18px 20px; border-radius: var(--radius-field); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); display: flex; flex-direction: column; gap: 6px; }
.d2-kpi .d2-icon { color: var(--primary-100); }
.d2-kpi__label { font-size: 13px; opacity: .7; }
.d2-kpi__value { font-size: 24px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.d2-kpi__sub { font-size: 12px; opacity: .65; line-height: 1.4; }

.d2-prose { font-size: 16px; color: var(--fg-muted); line-height: 1.6; overflow-wrap: anywhere; }
.d2-prose p { margin: 0 0 12px; }
.d2-prose strong, .d2-prose b { color: var(--fg); }
.d2-prose h1, .d2-prose h2, .d2-prose h3, .d2-prose h4 { color: var(--fg); font-size: 18px; font-weight: 700; margin: 20px 0 10px; line-height: 1.35; }
.d2-prose ul, .d2-prose ol { margin: 0 0 12px; padding: 0; list-style: none; }
.d2-prose li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.d2-prose li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234169e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat; }
.d2-prose a { color: var(--primary); text-decoration: underline; }
.d2-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.d2-article { padding: 40px; }
.d2-article .d2-prose h1 { font-size: 28px; margin-top: 0; }
.d2-article .d2-prose h2 { font-size: 22px; }
.d2-article figure { margin: 0 0 16px; }
.d2-article__figure { float: right; width: 45%; margin: 0 0 16px 32px !important; }
.d2-article__figure img { width: 100%; border-radius: var(--radius-field); }
.d2-article figcaption { font-size: 12px; color: var(--fg-subtle); margin-top: 6px; }

/* ---------- vaga ---------- */
.d2-job-head { padding: 28px 32px; display: flex; flex-direction: column; gap: 20px; }
.d2-job-head__row { display: flex; gap: 20px; align-items: flex-start; }
.d2-job-head__title { font-size: 32px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.d2-job-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 16px; color: var(--fg-muted); margin-top: 8px; }
.d2-job-head__meta .d2-icon { color: var(--icon-muted); }
.d2-job-head__meta a { color: var(--primary); font-weight: 500; }
.d2-job-head__actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.d2-job-body { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 24px; align-items: start; }
.d2-job-desc { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.d2-callout { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius-field); background: var(--tertiary); flex-wrap: wrap; }
.d2-callout p { font-size: 14px; color: var(--fg-muted); }
.d2-side { display: flex; flex-direction: column; gap: 24px; }
.d2-sidecard { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.d2-sidecard__head { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.d2-sidecard__head .d2-icon { color: var(--primary); }
.d2-note { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--success-fg); color: var(--alert-success); font-size: 13px; font-weight: 500; }
.d2-via { font-size: 13px; color: var(--fg-subtle); }
.d2-via a { color: var(--primary); }

/* ---------- avaliação comportamental ---------- */
.d2-evalhero { display: grid; grid-template-columns: minmax(0, 1fr) 520px; overflow: hidden; }
.d2-evalhero__content { padding: 48px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.d2-evalhero img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; }
.d2-disc { padding: 18px 20px; border-radius: var(--radius-field); background: var(--tertiary); width: 100%; display: flex; flex-direction: column; gap: 10px; }
.d2-disc__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.d2-disc__row div { display: flex; flex-direction: column; gap: 6px; }
.d2-disc__row span { display: flex; justify-content: space-between; font-size: 12px; color: var(--fg-muted); }
.d2-disc__row b { color: var(--primary); }
.d2-disc__track { height: 6px; border-radius: 99px; background: var(--white); overflow: hidden; }
.d2-disc__track i { display: block; height: 100%; background: var(--primary); border-radius: 99px; }
.d2-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.d2-feature { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.d2-feature__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--tertiary); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.d2-feature p { font-size: 15px; color: var(--fg-muted); line-height: 1.5; }
.d2-cta { display: flex; align-items: center; gap: 16px; padding: 28px 32px; border-radius: var(--radius-card); background: var(--secondary-dark); color: var(--white); flex-wrap: wrap; }
.d2-cta__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.d2-cta p { font-size: 15px; opacity: .75; }
.d2-cta--blue { background: var(--primary-dark); }

/* ---------- modal (Dialog md) ---------- */
.d2-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .5); backdrop-filter: blur(4px); }
.d2-modal.is-open { display: flex; }
.d2-dialog { width: 527px; max-width: 100%; background: var(--white); border-radius: 30px; padding: 28px 32px; display: flex; flex-direction: column; gap: 20px; box-shadow: 0 8px 30px rgba(0, 0, 0, .15); }
.d2-dialog__head { display: flex; align-items: flex-start; }
.d2-dialog__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--tertiary); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.d2-dialog__close { margin-left: auto; border: 0; background: none; color: var(--fg-muted); padding: 4px; }
.d2-dialog p { font-size: 16px; color: var(--fg-muted); line-height: 1.5; }
.d2-dialog__list { padding: 16px 20px; border-radius: var(--radius-field); background: var(--tertiary); display: flex; flex-direction: column; gap: 10px; }
.d2-dialog__list li { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.d2-dialog__list .d2-icon { color: var(--primary); }
.d2-share { width: 480px; gap: 18px; }
.d2-share .d2-dialog__head { align-items: center; }
.d2-share__job { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-field); }
.d2-share__job strong { display: block; font-size: 15px; line-height: 1.3; }
.d2-share__job span { display: block; font-size: 13px; color: var(--fg-muted); margin-top: 2px; }
.d2-dialog .d2-share__hint { font-size: 14px; color: var(--fg-muted); margin: 0 0 -6px; }
.d2-share__targets { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.d2-share__target { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--fg); padding: 8px 0; border-radius: 14px; }
.d2-share__target:hover { background: var(--subtle); }
.d2-share__icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); background: var(--brand); transition: transform .15s; }
.d2-share__target:hover .d2-share__icon { transform: translateY(-2px); }
.d2-share__link { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border: 1px solid var(--border-300); border-radius: var(--radius-pill); color: var(--icon-muted); }
.d2-share__link input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 14px; color: var(--fg-muted); text-overflow: ellipsis; }
.d2-share__link .d2-btn { height: 36px; padding: 0 16px; }
.d2-share__more { align-self: center; }
@media (max-width: 480px) { .d2-share__targets { grid-template-columns: repeat(3, 1fr); } }
.d2-dialog__actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }

/* ---------- banners do admin ---------- */
.d2-banner-fixed { position: fixed; top: 112px; right: 0; z-index: 40; width: 200px; height: 400px; border-radius: 12px 0 0 12px; overflow: hidden; box-shadow: var(--shadow-popover); }
.d2-banner-fixed button { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(255,255,255,.8); display: flex; align-items: center; justify-content: center; }

/* ---------- home: complementos ---------- */
.d2-center { display: flex; justify-content: center; }
.d2-hero__shortcuts { gap: 8px; }
.d2-hero__shortcuts-label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--fg); margin-right: 2px; }
.d2-hero__shortcuts-label .d2-icon { color: var(--primary); }
.d2-hero__float { color: var(--fg); }
.d2-hero__float .d2-badge { align-self: flex-start; }
.d2-near__salaryline { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.d2-near__desc :where(h1, h2, h3, h4) { font-size: 16px; margin-top: 0; }
.d2-near-select select { field-sizing: content; }
.d2-radar__side > .d2-badge, .d2-eval__content > .d2-badge, .d2-how__content > .d2-badge { align-self: flex-start; }
.d2-area .d2-iconbtn { width: 36px; height: 36px; }
.d2-area .d2-area__body a::after { z-index: 1; }
.d2-radar__duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.d2-radar__main [data-radar-content] { display: flex; flex-direction: column; gap: 28px; }
.d2-radar__main [data-radar-content][hidden] { display: none; }
.d2-radar__side .d2-field select { color: var(--fg); font-size: 15px; }
.d2-radar__loading { display: flex; flex-direction: column; gap: 16px; }
.d2-radar__loading[hidden] { display: none; }
.d2-skeleton { display: block; height: 14px; border-radius: 99px; background: linear-gradient(90deg, var(--neutral-100) 0%, var(--muted) 50%, var(--neutral-100) 100%); background-size: 200% 100%; animation: d2-shimmer 1.2s linear infinite; }
@keyframes d2-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.d2-salary__head { margin-right: 8px; }
.d2-salary__head strong { display: block; font-size: 16px; }
.d2-salary__head span { font-size: 12px; color: var(--fg-muted); }
.d2-chip--tool { border-color: var(--primary); color: var(--primary); background: var(--tertiary); padding: 4px 14px; }
.d2-how__banner { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--radius-field); background: var(--white); max-width: 540px; color: var(--fg); }
.d2-how__banner img { width: 44px; height: 44px; object-fit: contain; }
.d2-how__banner strong { display: block; font-size: 14px; }
.d2-how__banner span span { font-size: 13px; color: var(--fg-muted); }
.d2-how__banner .d2-icon { margin-left: auto; color: var(--primary); }
.d2-step a:hover { color: var(--primary); }
.d2-course .d2-iconbtn { position: relative; z-index: 0; }
.d2-faq a, .d2-acc a { color: var(--primary); }
@media (max-width: 767px) {
    .d2-pagehero__search { flex-direction: column; }
    .d2-radar__duo { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .d2-hero__float { display: none; }
}

/* ---------- vaga: complementos ---------- */
.d2-sidecard__company { display: flex; align-items: center; gap: 14px; }
.d2-note--info { background: var(--tertiary); color: var(--fg-muted); font-weight: 400; }
.d2-note--info .d2-icon { color: var(--primary); }
.d2-callout strong { display: block; font-size: 16px; }
.d2-job-desc .d2-prose { font-size: 15px; }
.d2-sidecard .d2-chip { padding: 4px 14px; }
.d2-job-head__meta span[aria-hidden] { color: var(--fg-subtle); }

/* ---------- radar do mercado (página) ---------- */
.d2-rhero { background: var(--secondary-dark); color: var(--white); border-radius: var(--radius-card); padding: 36px 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 674px); gap: 32px; align-items: end; }
.d2-rhero__text { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.d2-rhero__text p { font-size: 16px; opacity: .8; line-height: 1.6; max-width: 600px; }
.d2-rhero__controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.d2-rhero__controls .d2-label { color: rgba(255,255,255,.75); font-size: 13px; }
.d2-rhero__controls .d2-field { border: 0; }
.d2-rhero__controls select:disabled { cursor: not-allowed; }
.d2-rhero__controls .d2-field:has(select:disabled) { background: rgba(255,255,255,.45); }
.d2-rgrid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; margin-top: 24px; align-items: start; }
.d2-rnav { padding: 20px 24px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 16px; }
.d2-rnav__title { font-size: 12px; font-weight: 600; color: var(--fg-muted); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 8px; }
.d2-rnav a { padding: 9px 12px; border-radius: var(--radius-pill); font-size: 14px; color: var(--fg); }
.d2-rnav a:hover { color: var(--primary); }
.d2-rnav a.is-active { background: var(--tertiary); color: var(--primary); font-weight: 500; }
.d2-rnav a[hidden] { display: none; }
.d2-rnav__soon { margin-top: 10px; padding: 12px 12px 0; border-top: 1px solid var(--border); font-size: 14px; color: var(--fg-muted); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.d2-rmain { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
#radar-page.is-loading .d2-rmain { opacity: .6; transition: opacity .2s; }
.d2-rerror { padding: 16px 20px; color: var(--alert-warning); background: var(--alert-bg-warning); }
.d2-rerror[hidden] { display: none; }
.d2-rpanorama { padding: 28px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; scroll-margin-top: 120px; }
.d2-rpanorama__count { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 2px; flex-wrap: wrap; }
.d2-rpanorama__count strong { font-size: 48px; font-weight: 700; color: var(--primary); line-height: 1.1; }
.d2-rpanorama__count span { font-size: 16px; color: var(--fg-muted); }
.d2-rsalary { background: var(--tertiary); border-radius: var(--radius-field); padding: 18px 24px; display: flex; flex-direction: column; gap: 6px; scroll-margin-top: 120px; }
.d2-rsalary[hidden] { display: none; }
.d2-rsalary > strong { font-size: 14px; }
.d2-rsalary__row { display: flex; gap: 28px; }
.d2-rsalary__row span { display: block; font-size: 12px; color: var(--fg-muted); }
.d2-rsalary__row b { font-size: 22px; color: var(--primary); }
.d2-rsalary__row > div[hidden] { display: none; }
.d2-rsalary small { font-size: 12px; color: var(--fg-muted); }
.d2-rcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.d2-rcard { padding: 28px; display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 120px; }
.d2-rcard[hidden] { display: none; }
.d2-rcard--wide { grid-column: 1 / -1; }
.d2-rcard--wide .d2-rbars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; grid-auto-flow: column; grid-template-rows: repeat(5, auto); }
.d2-rcard__head { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; }
.d2-rcard__head .d2-icon { color: var(--primary); }
.d2-rcard__sub { font-size: 14px; margin-bottom: 6px; }
.d2-rbar { padding: 4px 0; }
.d2-rbar__top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 6px; }
.d2-rbar__top a:hover { color: var(--primary); text-decoration: underline; }
.d2-rbar__top b { font-size: 12px; color: var(--primary); white-space: nowrap; }
.d2-rbar__track { display: block; height: 8px; border-radius: 99px; background: var(--muted); overflow: hidden; }
.d2-rbar__track span { display: block; height: 100%; border-radius: 99px; background: var(--primary); }
@media (max-width: 1180px) {
    .d2-rhero { grid-template-columns: minmax(0, 1fr); }
    .d2-rgrid { grid-template-columns: minmax(0, 1fr); }
    .d2-rnav { display: none; }
}
@media (max-width: 767px) {
    .d2-rhero { padding: 24px; }
    .d2-rhero__controls { grid-template-columns: minmax(0, 1fr); }
    .d2-rcards { grid-template-columns: minmax(0, 1fr); }
    .d2-rcard--wide .d2-rbars { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; grid-template-rows: none; }
    .d2-rsalary__row { gap: 16px; }
    .d2-rsalary__row b { font-size: 18px; }
}

/* ---------- celular: complementos ---------- */
.d2-filters__toggle { display: none; }
.d2-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.d2-filters__pair .d2-field { min-width: 0; padding: 0 12px; }
@media (max-width: 1180px) {
    .d2-filters { padding: 16px 20px; }
    .d2-filters__toggle { display: inline-flex; margin-left: auto; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: var(--primary); background: none; border: 0; padding: 0; }
    .d2-filters:not(.is-open) form > :not(.d2-filters__head) { display: none !important; }
    .d2-filters.is-open .d2-filters__toggle .d2-icon { transform: rotate(180deg); }
}
@media (max-width: 767px) {
    .d2-hero__search .d2-field:nth-child(2) { width: 100%; }
    .d2-jobcard .d2-datablock { flex-wrap: nowrap; }
    .d2-jobcard .d2-datablock__cell { flex: 1 1 0; padding: 0 4px; }
    .d2-jobcard .d2-datablock__cell + .d2-datablock__cell { border-left: 1px solid var(--border); }
    .d2-jobcard .d2-datablock__label { font-size: 12px; }
    .d2-jobcard .d2-datablock__value { font-size: 14px; }
    .d2-jobrow__main { flex: 1 1 0; }
    .d2-area--big img { height: 200px; }
    .d2-job-head__meta { gap: 6px 12px; }
    .d2-job-head__meta > span[aria-hidden] { display: none; }
}

/* ---------- foco dos campos: o anel segue o campo arredondado ---------- */
.d2-field { position: relative; }
.d2-field :where(input, select, button):focus,
.d2-field :where(input, select, button):focus-visible { outline: none; box-shadow: none; }
.d2-field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(65, 105, 225, .18); }
.d2-near-select:focus-within { box-shadow: 0 0 0 3px rgba(65, 105, 225, .18); }
.d2-near-select select:focus-visible, .d2-near-select button:focus-visible { outline: none; }
.d2 input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/* ---------- select com lista própria (substitui a lista nativa no desktop) ---------- */
.d2-select-native { position: absolute !important; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.d2-select__btn {
    flex: 1 1 auto; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0;
    text-align: left; font: inherit; font-size: inherit; color: var(--fg); cursor: pointer;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.d2-select__btn.is-placeholder { color: var(--fg-subtle); }
.d2-select__btn:disabled { cursor: not-allowed; color: var(--fg-subtle); }
.d2-near-select .d2-select__btn { font-size: 20px; font-weight: 700; color: var(--primary); padding-right: 22px; }
.d2-field--38 .d2-select__btn, .d2-field .d2-select__btn { font-size: 14px; }
.d2-radar__side .d2-select__btn, .d2-rhero__controls .d2-select__btn { font-size: 15px; }
.d2-menu {
    position: fixed; z-index: 120; min-width: 200px; max-height: 320px; overflow-y: auto; overscroll-behavior: contain;
    background: var(--white); border: 1px solid var(--border-300); border-radius: 16px;
    box-shadow: 0 10px 30px rgba(6, 21, 43, .14); padding: 6px; margin: 0; list-style: none;
    font-family: var(--font); font-size: 14px; color: var(--fg);
}
.d2-menu[hidden] { display: none; }
.d2-menu__item {
    display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px;
    cursor: pointer; line-height: 1.3;
}
.d2-menu__item .d2-icon { color: var(--icon-muted); flex-shrink: 0; }
.d2-menu__item.is-active { background: rgba(65, 105, 225, .1); color: var(--primary); }
.d2-menu__item.is-active .d2-icon { color: var(--primary); }
.d2-menu__item[aria-selected="true"] { font-weight: 600; color: var(--primary); }
.d2-menu__item[aria-selected="true"]::after {
    content: ''; margin-left: auto; width: 16px; height: 16px; flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234169e1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.d2-menu__item[aria-disabled="true"] { color: var(--fg-disabled); cursor: default; }
.d2-menu__item mark { background: none; color: inherit; font-weight: 700; }
.d2-menu__hint { padding: 9px 12px; color: var(--fg-subtle); font-size: 13px; }

/* ---------- vagas parecidas (busca) ---------- */
.d2-similar { display: flex; flex-direction: column; gap: 12px; padding-top: 28px; }
.d2-similar__head { display: flex; flex-direction: column; gap: 4px; padding-bottom: 4px; }
.d2-similar__head p { font-size: 16px; color: var(--fg-subtle); line-height: 1.5; }
.d2-suggest .d2-chip { font-weight: 400; }

/* ---------- responsivo ---------- */
@media (max-width: 1360px) {
    .d2-nav__search { display: none; }
    .d2-hero { grid-template-columns: minmax(0, 1fr) 480px; }
    .d2-hero__float { left: calc(100% - 480px - 16px - 60px); }
    .d2-alert { flex-wrap: wrap; }
    .d2-alert__form { margin-left: 0; width: 100%; }
    .d2-alert__form .d2-field:first-child, .d2-alert__form .d2-field:nth-child(2) { flex: 1 1 0; width: auto; }
    .d2-footer__top { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
    .d2-nav__menu, .d2-nav__actions { display: none; }
    .d2-nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
    .d2-nav.is-open { flex-wrap: wrap; height: auto; padding: 16px; }
    .d2-nav.is-open .d2-nav__menu, .d2-nav.is-open .d2-nav__actions { display: flex; flex-direction: column; align-items: flex-start; width: 100%; gap: 4px; }
    .d2-nav.is-open .d2-nav__actions { flex-direction: row; flex-wrap: wrap; margin: 8px 0 0; }
    .d2-nav.is-open .d2-nav__item { width: 100%; }
    .d2-nav.is-open .d2-dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; max-height: none; }
    .d2-hero { grid-template-columns: minmax(0, 1fr); }
    .d2-hero__float { display: none; }
    .d2-mosaic { height: 360px; }
    .d2-companies { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .d2-jobgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .d2-near { grid-template-columns: minmax(0, 1fr); height: auto; }
    .d2-near__rows { max-height: 520px; }
    .d2-near__list { border-right: 0; }
    .d2-near__preview { display: none; }
    .d2-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .d2-radar { grid-template-columns: minmax(0, 1fr); }
    .d2-how { grid-template-columns: minmax(0, 1fr); }
    .d2-how img { height: 360px; }
    .d2-duo { grid-template-columns: minmax(0, 1fr); }
    .d2-states__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .d2-linkcols { columns: 2; }
    .d2-faq { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .d2-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .d2-footer__brand { grid-column: span 2; }
    .d2-footer__seo { grid-template-columns: minmax(0, 1fr); }
    .d2-pagehero, .d2-evalhero { grid-template-columns: minmax(0, 1fr); }
    .d2-pagehero img, .d2-evalhero img { max-height: 280px; min-height: 0; }
    .d2-listing { grid-template-columns: minmax(0, 1fr); }
    .d2-filters { position: static; max-height: none; }
    .d2-summary-strip { grid-template-columns: minmax(0, 1fr); }
    .d2-summary-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .d2-job-body { grid-template-columns: minmax(0, 1fr); }
    .d2-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .d2-section { margin-top: 48px; }
    .d2-h1 { font-size: 38px; }
    .d2-h2, .d2-results-head h1, .d2-results-head h2 { font-size: 24px; }
    .d2-how__title { font-size: 34px; }
    .d2-pagehero__title, .d2-job-head__title { font-size: 28px; }
    .d2-nav__logo img { height: 27px; }
    .d2-hero { padding: 12px; }
    .d2-hero__content { padding: 16px 8px 24px; }
    .d2-hero__search, .d2-searchbar { flex-direction: column; align-items: stretch; border-radius: var(--radius-card); }
    .d2-hero__search .d2-field, .d2-searchbar .d2-field { flex: 0 0 auto !important; width: 100%; }
    .d2-mosaic { height: 260px; }
    .d2-section-head { flex-direction: column; align-items: flex-start; }
    .d2-companies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .d2-toolbar { border-radius: var(--radius-card); flex-direction: column; align-items: stretch; }
    .d2-tabs { overflow-x: auto; flex-wrap: nowrap; }
    .d2-jobgrid, .d2-bento, .d2-states__grid, .d2-features, .d2-summary-strip__grid { grid-template-columns: minmax(0, 1fr); }
    .d2-area--wide, .d2-area__more { grid-column: auto; }
    .d2-alert, .d2-cta { padding: 24px; }
    .d2-alert__form { flex-direction: column; align-items: stretch; }
    .d2-alert__form .d2-field { width: 100% !important; }
    .d2-radar__side, .d2-radar__main { padding: 24px; }
    .d2-bar__label { width: 130px; }
    .d2-stepper { flex-direction: column; gap: 16px; }
    .d2-step__line { display: none; }
    .d2-how { padding: 24px; }
    .d2-eval img, .d2-eval::after { display: none; }
    .d2-course img { width: 88px; height: 56px; }
    .d2-linkcols { columns: 1; }
    .d2-jobrow { flex-wrap: wrap; }
    .d2-jobrow__side { width: 100%; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; text-align: left; }
    .d2-job-head { padding: 20px; }
    .d2-job-head__row { flex-wrap: wrap; }
    .d2-job-head__actions { width: 100%; justify-content: flex-start; }
    .d2-datablock { flex-wrap: wrap; }
    .d2-datablock__cell { flex: 1 1 45%; padding: 8px 6px; }
    .d2-datablock__cell + .d2-datablock__cell { border-left: 0; }
    .d2-job-desc, .d2-article, .d2-popular, .d2-faq { padding: 20px; }
    .d2-footer__top { grid-template-columns: minmax(0, 1fr); }
    .d2-footer__brand { grid-column: auto; }
    .d2-banner-fixed { display: none; }
    .d2-article__figure { float: none; width: 100%; margin: 0 0 16px !important; }
}
