/* Conjoin · Composições específicas de telas (sempre com os tokens do sistema) */

/* Marca */
.logo { display: inline-flex; align-items: center; gap: var(--s-3); color: var(--azul); }
.logo.is-stacked { flex-direction: column; gap: var(--s-2); }
.logo-word { font-size: 2rem; line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.logo.is-light { color: var(--alva); }

/* 01 Splash */
.splash { display: flex; flex-direction: column; align-items: center; gap: var(--s-6); text-align: center; }
.splash .logo-word { font-size: 2.75rem; }
.splash-tag { font-size: var(--fs-title); line-height: var(--lh-title); font-weight: 500; color: var(--porto); }
.splash-loader { width: 160px; height: 6px; border-radius: var(--r-pill); background: var(--nevoa); overflow: hidden; }
.splash-loader span { display: block; width: 40%; height: 100%; border-radius: inherit; background: var(--ouro); animation: splash-load 1.2s var(--ease-out) infinite; }
@keyframes splash-load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* 02 Boas-vindas */
.welcome { position: relative; padding-top: var(--s-4); gap: var(--s-4); }
.welcome-a11y {
  position: absolute; top: 0; right: 0;
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 var(--s-3);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--alva); color: var(--porto);
  font-size: var(--fs-label); font-weight: 600;
}
.welcome-a11y .ic { width: 18px; height: 18px; }
.welcome-a11y:hover { background: var(--bruma); }
.welcome-links { display: flex; flex-wrap: wrap; justify-content: center; column-gap: var(--s-5); }
.welcome .welcome-top { padding-top: var(--s-8); }
.welcome-top { display: flex; flex-direction: column; align-items: center; gap: var(--s-3); text-align: center; }
.welcome-title { margin-top: var(--s-2); font-size: var(--fs-headline); line-height: var(--lh-headline); font-weight: 800; letter-spacing: -0.02em; color: var(--noite); }
.welcome-lede { font-size: var(--fs-title); line-height: var(--lh-title); font-weight: 600; color: var(--azul); max-width: 22ch; }
.welcome-art { position: relative; display: flex; align-items: center; justify-content: center; gap: var(--s-2); padding: var(--s-2) 0 var(--s-4); }
.wa-card { position: relative; display: grid; place-items: center; width: 112px; height: 124px; border-radius: var(--r-xl); }
.wa-card.is-person { background: var(--agua-veu); transform: rotate(-5deg); }
.wa-card.is-company { background: var(--azul-veu); transform: rotate(5deg); }
.wa-card .avatar-lg { --av: 72px; background: var(--alva); }
.wa-card .brand-lg { --br: 72px; }
.wa-icon { position: absolute; bottom: -10px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-md); background: var(--alva); color: var(--azul); box-shadow: var(--shadow-whisper); }
.wa-card.is-person .wa-icon { left: -10px; color: var(--agua-tinta); }
.wa-card.is-company .wa-icon { right: -10px; }
.wa-link { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ouro); color: var(--noite); z-index: 1; margin-inline: -18px; box-shadow: 0 0 0 5px var(--alva); }
.welcome-a11y { align-self: center; font-weight: 500; color: var(--porto); }

.divider-label { display: flex; align-items: center; gap: var(--s-3); color: var(--ink-soft); font-size: var(--fs-label); }
.divider-label::before, .divider-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Biometria */
.bio-art { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: var(--azul-veu); color: var(--azul); }
.bio-art .ic { width: 56px; height: 56px; stroke-width: 1.4; }
.bio-art.is-small { width: 88px; height: 88px; }
.bio-art.is-small .ic { width: 44px; height: 44px; }
.bio-login { gap: var(--s-3); padding-top: var(--s-6); }
.bio-btn { display: grid; place-items: center; width: 96px; height: 96px; margin: var(--s-2) 0; border: 0; border-radius: 50%; background: var(--ouro); color: var(--noite); box-shadow: 0 0 0 8px var(--ouro-veu); transition: transform var(--dur-fast) var(--ease-out); }
.bio-btn:hover { background: var(--ouro-escuro); }
.bio-btn:active { transform: scale(0.96); }
.bio-btn .ic { width: 48px; height: 48px; stroke-width: 1.6; }
.bio-btn:focus-visible { border-radius: 50%; }

/* Home: saudação */
.greet { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-2) var(--gutter) var(--s-3); }
.greet .greet-text { flex: 1; min-width: 0; }
.greet .greet-kicker { color: var(--ink-soft); }
.greet h1 { font-size: var(--fs-headline); line-height: var(--lh-headline); font-weight: 700; letter-spacing: -0.015em; color: var(--azul); }

/* Status do perfil (faixa clara no topo da home) */
.status-strip { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-radius: var(--r-lg); background: var(--sucesso-veu); text-decoration: none; color: var(--noite); }
.status-strip .dot-live { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--sucesso); box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18); }
.status-strip.is-paused { background: var(--nevoa); }
.status-strip.is-paused .dot-live { background: var(--costa); box-shadow: none; }
.status-strip .ss-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.status-strip .ss-title { font-weight: 600; color: var(--sucesso-tinta); }
.status-strip.is-paused .ss-title { color: var(--porto); }
.status-strip .ss-sub { font-size: var(--fs-label); line-height: var(--lh-label); color: var(--porto); }

/* Destaque do convite na home */
.invite-feature .feature-top { display: flex; gap: var(--s-3); align-items: flex-start; }
.invite-feature .fi-icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.invite-feature .metas { gap: var(--s-2) var(--s-3); }
.invite-feature .meta .ic { color: var(--agua); }

/* Indicadores de jornada em linha */
.journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: var(--s-4) var(--s-2); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-whisper); }
.journey-item { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-1); padding: 0 var(--s-3); text-decoration: none; color: var(--ink); background: none; border: 0; font: inherit; text-align: left; cursor: pointer; }
.journey-item + .journey-item { border-left: 1px solid var(--line); }
.journey-item .ji-value { font-size: var(--fs-headline); line-height: 1.1; font-weight: 700; color: var(--azul); font-variant-numeric: tabular-nums; }
.journey-item .ji-label { font-size: var(--fs-label); line-height: var(--lh-label); color: var(--ink-soft); }
.journey-item:focus-visible { border-radius: var(--r-md); }

/* Detalhe do convite */
.invite-head { display: flex; flex-direction: column; gap: var(--s-3); }
.invite-head h2 { font-size: var(--fs-headline); line-height: var(--lh-headline); font-weight: 700; color: var(--azul); letter-spacing: -0.015em; }
.benefits { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.benefit { display: inline-flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-3); border-radius: var(--r-md); background: var(--bruma); font-size: var(--fs-label); font-weight: 500; }
.benefit .ic { width: 18px; height: 18px; color: var(--azul); }
.map-link { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-2); padding-left: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--alva); text-decoration: none; color: var(--noite); font-weight: 600; width: 100%; font: inherit; cursor: pointer; text-align: left; }
.map-link .map-sim { min-height: 56px; width: 112px; flex: none; }
.map-link .map-sim .map-label { display: none; }
.map-link .map-sim .map-pin .ic { width: 24px; height: 24px; }

/* Pergunta com resposta resumida (onboarding) */
.onb-intro-list { display: flex; flex-direction: column; gap: var(--s-3); }
.onb-intro-item { display: flex; gap: var(--s-3); align-items: center; }
.onb-intro-item .lr-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: var(--r-md); background: var(--azul-veu); color: var(--azul); }

/* Resumo da entrevista */
.summary { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.summary-row { display: flex; gap: var(--s-3); align-items: flex-start; }
.summary-row .ic { color: var(--azul); margin-top: 1px; }

/* Código da entrevista */
.code-box { display: flex; flex-direction: column; align-items: center; gap: var(--s-2); padding: var(--s-5); border-radius: var(--r-xl); background: var(--azul-veu); text-align: center; }
.code-box .kbd-code { font-size: 2.25rem; }

/* Perfil do candidato (visão empresa) */
.profile-head { display: flex; gap: var(--s-4); align-items: center; }
.profile-head h2 { font-size: var(--fs-title-lg); line-height: var(--lh-title-lg); font-weight: 700; color: var(--azul); }

/* Conta */
.account-hero { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-4); border-radius: var(--r-xl); background: var(--azul); color: var(--alva); }
.account-hero .avatar { background: var(--agua-veu); }
.account-hero .ah-name { font-size: var(--fs-title); font-weight: 700; }
.account-hero .ah-sub { color: var(--nevoa); font-size: var(--fs-label); }

/* Grade de seleção de dias */
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.days .chip { padding: 0; justify-content: center; }
.days .chip .ic { display: none; }

/* Valor grande (salário) */
.big-value { text-align: center; font-size: var(--fs-headline); line-height: var(--lh-headline); font-weight: 800; color: var(--azul); font-variant-numeric: tabular-nums; }
.big-sub { text-align: center; color: var(--ink-soft); }

/* Foto do perfil */
.photo-drop { display: grid; place-items: center; width: 160px; height: 160px; margin-inline: auto; border-radius: 50%; border: 2px dashed var(--mare-funda); background: var(--alva); color: var(--costa-tinta); }
.photo-drop .avatar { --av: 156px; }

/* ===== Início do candidato · direção aprovada (ouro) ===== */
.home-head { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-3) var(--gutter) var(--s-4); }
.home-head-text { flex: 1; min-width: 0; }
.home-head h1 { font-size: 1.75rem; line-height: 2.25rem; font-weight: 800; letter-spacing: -0.02em; color: var(--azul); }
.home-head p { color: var(--ink-soft); max-width: 26ch; }
.home-avatar { padding: 0; border: 0; background: none; border-radius: 50%; }
.home-avatar .avatar { --av: 48px; box-shadow: 0 0 0 2px var(--alva), 0 0 0 4px var(--ouro-veu); }
.home-avatar:focus-visible { border-radius: 50%; }

.profile-card { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-xl); background: var(--ouro-veu); color: var(--noite); text-decoration: none; }
.profile-card .tile-icon { background: var(--ouro); color: var(--noite); }
.profile-card .progress-track { background: rgba(198, 147, 46, 0.22); }
.profile-card > .ic { color: var(--ouro-tinta); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: var(--s-4) var(--s-2); border: 0; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-whisper); color: var(--ink); text-align: center; font: inherit; cursor: pointer; transition: transform var(--dur-fast) var(--ease-out); }
.stat:active { transform: scale(0.98); }
.stat-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--s-1); border-radius: 50%; background: var(--ouro-veu); color: var(--ouro-tinta); }
.stat-icon .ic { width: 22px; height: 22px; }
.stat-value { font-size: var(--fs-title-lg); line-height: 1.1; font-weight: 800; color: var(--azul); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 0.8125rem; line-height: 1.2rem; color: var(--ink-soft); }
.stat:focus-visible { border-radius: var(--r-xl); }

/* ===== Detalhe do convite · foto, título e mapa ===== */
.invite-hero { display: flex; flex-direction: column; gap: var(--s-8); }
.invite-hero-text { display: flex; flex-direction: column; gap: var(--s-2); }
.invite-title { font-size: var(--fs-headline); line-height: var(--lh-headline); font-weight: 800; letter-spacing: -0.015em; color: var(--azul); }
.topbar .tb-end { gap: var(--s-2); }
.map-card { display: flex; align-items: stretch; gap: var(--s-3); width: 100%; padding: var(--s-3); border: 0; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-whisper); text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.map-card-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: var(--s-1); }
.map-card-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s-2); padding: 6px 12px; border: 1.5px solid var(--azul); border-radius: var(--r-pill); color: var(--azul); font-size: var(--fs-label); font-weight: 600; }
.map-card-map { width: 120px; flex: none; }
.map-card-map .map-sim { height: 100%; min-height: 96px; }
.map-card-map .map-label { display: none; }
.map-card:focus-visible { border-radius: var(--r-xl); }

/* ===== Deu match! · superfície em ouro sólido (direção aprovada) ===== */
.screen[data-tone="ouro"] { background: var(--ouro); color: var(--noite); }
.app[data-tone="ouro"] .statusbar { background: var(--ouro); }
.screen[data-tone="ouro"] .topbar, .screen[data-tone="ouro"] .screen-footer { background: var(--ouro); border-top: 0; }
.screen[data-tone="ouro"] .icon-btn { background: rgba(255, 255, 255, 0.35); }
.screen[data-tone="ouro"] .match { color: var(--noite); }
.screen[data-tone="ouro"] .match h1 { color: var(--azul); }
.screen[data-tone="ouro"] .match-lede { color: var(--noite); }
.screen[data-tone="ouro"] .match-note { color: var(--noite); }
.screen[data-tone="ouro"] .match-confetti i { background: var(--azul); }
.screen[data-tone="ouro"] .match-confetti i:nth-child(3n) { background: var(--alva); }
.screen[data-tone="ouro"] .match-confetti i:nth-child(4n) { background: var(--agua-tinta); opacity: 1; }
.match-card img { width: 100%; height: 100%; object-fit: cover; }
.match-card.is-company { background: var(--nevoa); }
.match-brand { position: absolute; right: 8px; bottom: 8px; padding: 2px; border-radius: 50%; background: var(--alva); }
.match-brand .brand { --br: 44px; border-radius: 50%; }
.screen[data-tone="ouro"] .match-link { background: var(--alva); color: var(--ouro-tinta); box-shadow: 0 0 0 6px var(--ouro), 0 6px 16px rgba(16, 28, 38, 0.2); }
.match-steps { width: 100%; display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-4); border-radius: var(--r-xl); background: var(--alva); color: var(--noite); text-align: left; box-shadow: 0 12px 32px rgba(16, 28, 38, 0.16); }
.match-steps li { display: flex; gap: var(--s-3); align-items: flex-start; }
.match-steps strong { display: block; font-weight: 700; color: var(--azul); }
.match-steps small { display: block; font-size: var(--fs-label); line-height: var(--lh-label); color: var(--porto); }
.ms-check { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ouro); color: var(--noite); }
.ms-check .ic { width: 18px; height: 18px; stroke-width: 3; }
.ms-check.is-next { background: var(--azul); color: var(--alva); }
.btn-on-gold { background: transparent; color: var(--noite); border-color: var(--noite); }
.btn-on-gold:hover { background: rgba(16, 28, 38, 0.08); }
.screen[data-tone="ouro"] .btn-light { box-shadow: 0 8px 20px rgba(16, 28, 38, 0.18); }

/* ===== Boas-vindas · foto com formas da marca ===== */
.welcome { display: flex; flex-direction: column; gap: var(--s-4); }
.welcome .welcome-top { padding-top: var(--s-6); gap: var(--s-2); }
.welcome .welcome-title { font-size: 1.375rem; line-height: 1.875rem; font-weight: 600; color: var(--azul); max-width: 20ch; letter-spacing: -0.01em; }
.welcome .welcome-lede { font-size: var(--fs-body); line-height: var(--lh-body); font-weight: 400; color: var(--ink-soft); text-align: center; max-width: 30ch; margin-inline: auto; }
.welcome-hero { position: relative; height: 300px; margin-inline: calc(var(--gutter) * -1); overflow: hidden; }
.wh-blob { position: absolute; border-radius: 50%; }
.wh-blob.is-ouro { width: 260px; height: 260px; left: 50%; top: 36px; transform: translateX(-46%); background: var(--ouro); border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%; }
.wh-blob.is-agua { width: 120px; height: 120px; left: -30px; top: 120px; background: var(--agua-veu); }
.wh-blob.is-azul { width: 72px; height: 72px; right: 22px; top: 18px; background: var(--azul-veu); }
.wh-photo { position: absolute; left: 50%; bottom: 0; width: 220px; height: 268px; transform: translateX(-50%); object-fit: cover; border-radius: 110px 110px 28px 28px; box-shadow: 0 16px 32px rgba(16, 28, 38, 0.18); }
.wh-float { position: absolute; right: 12px; bottom: 26px; display: flex; gap: var(--s-2); align-items: center; max-width: 214px; padding: var(--s-2) var(--s-3); border-radius: var(--r-lg); background: var(--alva); box-shadow: 0 10px 24px rgba(16, 28, 38, 0.16); text-align: left; }
.wh-float strong { display: block; font-size: var(--fs-label); line-height: 1.2; color: var(--noite); }
.wh-float small { display: block; font-size: 0.8125rem; line-height: 1.2; color: var(--ink-soft); }
.wh-float-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ouro-veu); color: var(--ouro-tinta); }
.wh-float-icon .ic { width: 18px; height: 18px; }
.wh-badge { position: absolute; left: 14px; top: 64px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--alva); color: var(--agua-tinta); font-size: var(--fs-label); font-weight: 700; box-shadow: 0 8px 20px rgba(16, 28, 38, 0.12); }
.wh-badge .ic { width: 18px; height: 18px; }
.match .match-steps { padding: var(--s-4); }
.screen[data-tone="ouro"] .match { gap: var(--s-4); padding-top: 0; }
.screen[data-tone="ouro"] .match-art { margin-top: 0; }
.wh-float { bottom: 14px; right: 8px; }
.welcome-hero { height: 320px; }

/* ===== Empresa · fotos nas vagas ===== */
.job-card-photo { margin: calc(var(--s-4) * -1) calc(var(--s-4) * -1) var(--s-2); height: 108px; overflow: hidden; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.job-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.job-overview-head { margin-top: var(--s-4); }
.screen[data-tone="ouro"] .match h1 { font-size: 2.75rem; line-height: 3.25rem; }
