/* Conjoin · Composições fiéis à prancha aprovada (ouro sólido + azul + fotografia)
   Carregado depois de screens.css: estas regras vencem as anteriores. */

/* ===== Boas-vindas ===== */
.wel { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 100%; padding-top: var(--s-10); }
.wel-blob { position: absolute; border-radius: 50%; background: var(--ouro); z-index: 0; }
.wel-blob.a { width: 220px; height: 220px; left: -120px; bottom: 120px; border-radius: 48% 52% 40% 60% / 55% 45% 55% 45%; animation: blob-float 9s ease-in-out infinite alternate; }
.wel-blob.b { width: 170px; height: 170px; right: -90px; top: 210px; border-radius: 52% 48% 60% 40% / 45% 55% 45% 55%; animation: blob-float 11s ease-in-out infinite alternate-reverse; }
.wel-blob.c { width: 96px; height: 96px; right: 30px; top: 70px; background: var(--azul); opacity: 0.08; }
.wel-top { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: var(--s-3); text-align: center; }
.wel-top .logo-word { font-size: 2.5rem; }
.wel-tag { font-size: var(--fs-title); line-height: var(--lh-title); font-weight: 500; color: var(--porto); max-width: 18ch; }
.wel-photo { position: relative; z-index: 1; width: 250px; height: 250px; margin-top: var(--s-6); border-radius: 50% 50% 40px 40px / 50% 50% 32px 32px; overflow: hidden; box-shadow: 0 18px 40px rgba(16, 28, 38, 0.18); }
.wel-photo img { width: 100%; height: 100%; object-fit: cover; }
.wel-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: var(--s-2); 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); font-size: var(--fs-label); font-weight: 600; color: var(--noite); }
.wel-float.a { left: 8px; top: 262px; animation: float-y 6s ease-in-out infinite; }
.wel-float.b { right: 8px; top: 360px; animation: float-y 7s ease-in-out 1s infinite; }
.wel-float .wf-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ouro-veu); color: var(--ouro-tinta); }
.wel-float .wf-ic .ic { width: 16px; height: 16px; }
.wel-float.b .wf-ic { background: var(--sucesso-veu); color: var(--sucesso-tinta); }
.welcome-a11y { z-index: 3; }

/* ===== Início ===== */
.hh { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-3) var(--gutter) var(--s-2); }
.hh-text { flex: 1; min-width: 0; }
.hh h1 { font-size: 1.625rem; line-height: 2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--azul); }
.hh p { font-size: var(--fs-label); line-height: var(--lh-label); color: var(--ink-soft); max-width: 28ch; }
.hh .icon-btn { color: var(--azul); }
.hh .icon-btn .ic { width: 26px; height: 26px; }
.home-avatar .avatar { --av: 44px; box-shadow: 0 0 0 2px var(--alva), 0 0 0 4px var(--ouro); }

.pstrip { display: flex; align-items: center; gap: var(--s-2); min-height: 52px; padding: var(--s-2) var(--s-3) var(--s-2) var(--s-3); border-radius: var(--r-lg); background: var(--sucesso-veu); color: var(--noite); text-decoration: none; }
.pstrip.is-partial { background: var(--ouro-veu); }
.pstrip .ps-ic { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sucesso); color: var(--alva); }
.pstrip.is-partial .ps-ic { background: var(--ouro); color: var(--noite); }
.pstrip .ps-ic .ic { width: 16px; height: 16px; stroke-width: 2.8; }
.pstrip .ps-text { flex: 1; font-weight: 700; font-size: var(--fs-label); }
.pstrip .ps-link { display: inline-flex; align-items: center; gap: 2px; color: var(--azul); font-size: var(--fs-label); font-weight: 600; }
.pstrip .ps-link .ic { width: 16px; height: 16px; }

.navcard { position: relative; display: grid; grid-template-columns: 1fr 44%; border-radius: var(--r-xl); background: var(--azul); color: var(--alva); overflow: hidden; min-height: 196px; box-shadow: 0 14px 32px rgba(3, 49, 89, 0.28); }
.navcard-body { display: flex; flex-direction: column; gap: 6px; padding: var(--s-4) 0 var(--s-4) var(--s-4); z-index: 1; }
.navcard-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 600; color: var(--nevoa); }
.navcard-kicker .ic { width: 16px; height: 16px; color: var(--ouro); }
.navcard-title { font-size: 1.375rem; line-height: 1.75rem; font-weight: 800; letter-spacing: -0.01em; }
.navcard-sub { font-size: var(--fs-label); line-height: var(--lh-label); color: var(--nevoa); }
.navcard-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.navcard-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.12); font-size: 0.8125rem; font-weight: 600; }
.navcard-chip .ic { width: 14px; height: 14px; }
.navcard-photo { position: relative; }
.navcard-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.navcard-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--azul) 0%, rgba(3, 49, 89, 0) 42%); }
.navcard-cta { grid-column: 1 / -1; padding: 0 var(--s-4) var(--s-4); z-index: 1; margin-top: calc(var(--s-2) * -1); }
.navcard-cta .btn { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); }

.prog-line { display: flex; flex-direction: column; gap: var(--s-2); }
.prog-line .pl-head { display: flex; justify-content: space-between; align-items: baseline; }
.prog-line .pl-head strong { font-size: var(--fs-body); color: var(--noite); }
.prog-line .pl-head span { font-size: var(--fs-label); font-weight: 600; color: var(--porto); }

.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2); }
.quick-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 84px; padding: var(--s-3) 4px var(--s-2); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--noite); font: inherit; font-size: 0.75rem; line-height: 1rem; font-weight: 600; text-align: center; cursor: pointer; transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.quick-item:hover { box-shadow: var(--shadow-whisper); transform: translateY(-1px); }
.quick-item .ic { width: 24px; height: 24px; color: var(--azul); }
.quick-item .q-dot { position: absolute; top: 10px; right: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--erro); box-shadow: 0 0 0 2px var(--alva); }
.quick-item:focus-visible { border-radius: var(--r-lg); }

.stats { gap: var(--s-2); }
.stat { padding: var(--s-3) 4px; }
.stat-label { font-size: 0.75rem; line-height: 1rem; }

/* ===== Deu match! (azul) ===== */
.screen[data-tone="azul"] .match { gap: var(--s-4); padding-top: 0; }
.screen[data-tone="azul"] .match h1 { font-size: 2.5rem; line-height: 3rem; }
.match-card { background: var(--alva); border-width: 5px; }
.match-card.is-person { background: var(--agua-veu); }
.match-card img { width: 100%; height: 100%; object-fit: cover; }
.match-card.is-logo { display: grid; place-items: center; gap: 4px; background: var(--alva); color: var(--azul); }
.match-card.is-logo .logo-word { font-size: 1.125rem; }
.match-star { position: absolute; left: 50%; top: 54px; transform: translateX(-50%); z-index: 2; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--ouro); color: var(--alva); box-shadow: 0 0 0 6px var(--azul), 0 10px 24px rgba(0, 0, 0, 0.3); }
.match-star .ic { width: 32px; height: 32px; fill: currentColor; stroke: none; }
.match.is-animated .match-star { animation: match-pop 420ms var(--ease-out-expo) 360ms both; }
.match-confetti i:nth-child(odd) { background: var(--ouro); }
.match-confetti i:nth-child(3n) { background: var(--agua); }
.match-confetti i:nth-child(4n) { background: var(--alva); }
.match-confetti i:nth-child(5n) { background: var(--destaque); }
.match-job { width: 100%; display: flex; align-items: center; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-lg); background: var(--alva); color: var(--noite); text-align: left; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22); }
.match-job .mj-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--r-md); background: var(--azul-veu); color: var(--azul); }
.match-job strong { display: block; font-size: var(--fs-title); line-height: var(--lh-title); color: var(--azul); }
.match-job span { color: var(--ink-soft); }
.screen[data-tone="azul"] .btn-primary { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); }

/* ===== Detalhe do convite ===== */
.hero-photo { position: relative; margin: calc(var(--s-2) * -1) calc(var(--gutter) * -1) 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--nevoa); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .hp-top { position: absolute; top: var(--s-3); left: var(--s-3); right: var(--s-3); display: flex; justify-content: space-between; }
.hero-photo .hp-tag { position: absolute; right: var(--s-3); bottom: var(--s-3); padding: 6px 14px; border-radius: var(--r-pill); background: var(--alva); color: var(--azul); font-size: var(--fs-label); font-weight: 700; box-shadow: var(--shadow-whisper); }
.hero-photo .hp-brand { position: absolute; left: var(--s-4); bottom: calc(var(--s-6) * -1); padding: 3px; border-radius: 50%; background: var(--alva); box-shadow: 0 4px 12px rgba(16, 28, 38, 0.18); }
.hero-photo .hp-brand .brand { --br: 56px; border-radius: 50%; }
.detail-title { font-size: 1.5rem; line-height: 2rem; font-weight: 800; letter-spacing: -0.01em; color: var(--azul); }
.ochips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.ochip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 var(--s-3); border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--alva); font-size: var(--fs-label); font-weight: 600; color: var(--noite); }
.ochip .ic { width: 16px; height: 16px; color: var(--azul); }
.screen[data-screen="/candidate/invitation/:id"] .screen-body { padding-top: 0; }
.reqs { display: flex; flex-direction: column; gap: var(--s-2); }
.reqs li { display: flex; gap: var(--s-2); align-items: flex-start; }
.reqs .ic { width: 20px; height: 20px; color: var(--sucesso); stroke-width: 2.8; flex: none; margin-top: 2px; }
.mapcard { display: flex; gap: var(--s-3); width: 100%; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.mapcard .mc-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mapcard .mc-text strong { font-size: var(--fs-label); }
.mapcard .mc-text small { font-size: 0.8125rem; line-height: 1.1rem; color: var(--ink-soft); }
.mapcard .mc-link { align-self: flex-start; margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: var(--r-pill); background: var(--azul-veu); color: var(--azul); font-size: 0.8125rem; font-weight: 700; }
.mapcard .mc-map { width: 42%; flex: none; }
.mapcard .map-sim { height: 100%; min-height: 90px; border-radius: var(--r-md); }
.mapcard .map-label { display: none; }
.detail-footer { display: flex; flex-direction: column; gap: var(--s-1); }
.detail-footer .btn-text { --btn-h: 44px; text-decoration: none; }

/* ===== Agendar entrevista ===== */
.steps-num { display: flex; align-items: flex-start; }
.steps-num .sn { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 0.8125rem; color: var(--ink-soft); text-align: center; }
.steps-num .sn::before { content: ""; position: absolute; top: 15px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 2px; background: var(--nevoa); }
.steps-num .sn:first-child::before { display: none; }
.steps-num .sn.is-done::before, .steps-num .sn.is-current::before { background: var(--ouro); }
.steps-num .sn-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--nevoa); color: var(--porto); font-weight: 700; font-variant-numeric: tabular-nums; }
.steps-num .sn-dot .ic { width: 16px; height: 16px; stroke-width: 3; }
.steps-num .sn.is-done .sn-dot, .steps-num .sn.is-current .sn-dot { background: var(--ouro); color: var(--noite); }
.steps-num .sn.is-current { color: var(--ouro-tinta); font-weight: 700; }
.steps-num .sn.is-done { color: var(--noite); }
.date-strip { grid-auto-columns: minmax(62px, 1fr); gap: 6px; }
.date-cell { gap: 2px; min-height: 76px; padding: var(--s-2) 2px; border-radius: var(--r-md); }
.date-cell .dc-ic { color: var(--costa); }
.date-cell .dc-ic .ic { width: 16px; height: 16px; }
.date-cell[aria-pressed="true"] .dc-ic { color: var(--noite); }
.date-cell .dc-day { font-size: var(--fs-body); font-weight: 700; }
.date-cell .dc-week { font-size: 0.75rem; }
.slot { min-height: 48px; border-radius: var(--r-md); }
.agenda-done { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4); border-radius: var(--r-lg); background: var(--bruma); }
.agenda-done .ad-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-md); background: var(--ouro-veu); color: var(--ouro-tinta); }
.agenda-done strong { display: block; color: var(--noite); }
.agenda-done small { display: block; font-size: var(--fs-label); line-height: var(--lh-label); color: var(--porto); }

/* ===== Meu perfil ===== */
.prof-hero { display: flex; flex-direction: column; align-items: center; gap: var(--s-2); text-align: center; padding: var(--s-4) 0 var(--s-2); }
.prof-hero .avatar { --av: 92px; box-shadow: 0 0 0 3px var(--alva), 0 0 0 6px var(--ouro); }
.prof-hero h2 { font-size: var(--fs-title-lg); line-height: var(--lh-title-lg); font-weight: 800; color: var(--azul); margin-top: var(--s-2); }
.prof-hero .ph-role { color: var(--ink-soft); margin-top: -4px; }
.prof-about { font-size: var(--fs-body); color: var(--porto); }
.prof-edit { position: absolute; right: var(--s-3); top: 14px; }

/* ===== Listas de ajustes (Conta / Configurações) ===== */
.set-group { display: flex; flex-direction: column; gap: var(--s-2); }
.set-group h2 { font-size: var(--fs-body); font-weight: 700; color: var(--noite); }
.set-list { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-whisper); overflow: hidden; }
.set-row { display: flex; align-items: center; gap: var(--s-3); min-height: 56px; padding: var(--s-2) var(--s-4); border: 0; background: transparent; color: var(--ink); font: inherit; text-align: left; text-decoration: none; width: 100%; cursor: pointer; }
.set-row + .set-row { border-top: 1px solid var(--line); }
.set-row:hover { background: var(--bruma); }
.set-row .sr-ic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ouro-veu); color: var(--ouro-tinta); }
.set-row .sr-ic .ic { width: 18px; height: 18px; }
.set-row .sr-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.set-row .sr-title { font-weight: 600; }
.set-row .sr-sub { font-size: 0.8125rem; line-height: 1.1rem; color: var(--ink-soft); }
.set-row .sr-end { display: flex; align-items: center; gap: var(--s-2); color: var(--costa); }
.set-row .switch { pointer-events: auto; }
.set-row:focus-visible { box-shadow: inset 0 0 0 3px var(--focus); border-radius: 0; }

/* ===== Avisos ===== */
.ntf { display: flex; flex-direction: column; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-whisper); overflow: hidden; }
.ntf-row { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4); border: 0; background: transparent; width: 100%; text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.ntf-row + .ntf-row { border-top: 1px solid var(--line); }
.ntf-row:hover { background: var(--bruma); }
.ntf-row .n-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ouro-veu); color: var(--ouro-tinta); }
.ntf-row.is-read .n-ic { background: var(--bruma); color: var(--costa-tinta); }
.ntf-row .n-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ntf-row .n-title { font-weight: 700; color: var(--noite); }
.ntf-row.is-read .n-title { font-weight: 600; color: var(--porto); }
.ntf-row .n-body { font-size: var(--fs-label); line-height: var(--lh-label); color: var(--ink-soft); }
.ntf-row .n-time { font-size: 0.75rem; color: var(--costa-tinta); }
.ntf-row .n-end { align-self: center; color: var(--costa); }
.ntf-row:focus-visible { box-shadow: inset 0 0 0 3px var(--focus); border-radius: 0; }

/* ===== Página da empresa (visão do candidato) ===== */
.co-hero { position: relative; margin: calc(var(--s-2) * -1) calc(var(--gutter) * -1) 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--nevoa); }
.co-hero img { width: 100%; height: 100%; object-fit: cover; }
.co-brand { display: flex; align-items: flex-end; gap: var(--s-3); margin-top: calc(var(--s-8) * -1); }
.co-brand .brand { --br: 72px; border-radius: 50%; box-shadow: 0 0 0 4px var(--alva), 0 8px 20px rgba(16, 28, 38, 0.18); }
.co-brand h2 { font-size: var(--fs-title); line-height: var(--lh-title); font-weight: 800; color: var(--azul); }
.co-brand p { color: var(--ink-soft); font-size: var(--fs-label); }
.rating { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--ouro-veu); color: var(--noite); font-weight: 700; font-size: var(--fs-label); }
.rating .ic { width: 16px; height: 16px; fill: var(--ouro); stroke: var(--ouro); }

/* ===== Movimento premium ===== */
@keyframes blob-float { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(10px, -14px) rotate(6deg); } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes stagger-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(198, 147, 46, 0.45); } 50% { box-shadow: 0 0 0 10px rgba(198, 147, 46, 0); } }

/* Entrada de tela: deslize mais generoso + leve desfoque que resolve */
@keyframes screen-in { from { opacity: 0; transform: translateX(var(--screen-shift, 24px)); filter: blur(2px); } to { opacity: 1; transform: none; filter: blur(0); } }
.screen.is-entering { animation: screen-in 300ms var(--ease-out-expo) both; }
.screen.is-entering[data-dir="back"] { --screen-shift: -24px; }
.screen.is-entering[data-dir="tab"] { --screen-shift: 0; animation-duration: 200ms; }

/* Filhos do conteúdo entram em cascata (app.js define --i) */
.screen.is-entering .is-staggered > * { animation: stagger-in 420ms var(--ease-out-expo) both; animation-delay: calc(var(--i, 0) * 45ms + 40ms); }

/* Barras de progresso crescem */
.screen.is-entering .progress-fill, .screen.is-entering .meter-fill { transform-origin: left; animation: bar-grow 700ms var(--ease-out-expo) 200ms both; }

/* Toque: botões e cartões afundam de leve */
.btn, .tile, .quick-item, .stat, .invite-row, a.card, button.card, .set-row, .ntf-row, .list-row, .chip, .slot, .date-cell, .choice { transition: transform 120ms var(--ease-out), box-shadow 160ms var(--ease-out), background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.tile:active, .quick-item:active, .stat:active, .invite-row:active, a.card:active, button.card:active, .set-row:active, .ntf-row:active, .chip:active, .slot:active, .date-cell:active, .choice:active { transform: scale(0.98); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(198, 147, 46, 0.35); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
a.card:hover, .invite-row:hover, .tile:hover, .stat:hover { box-shadow: 0 2px 4px rgba(16, 28, 38, 0.04), 0 14px 32px rgba(16, 28, 38, 0.10); transform: translateY(-2px); }

/* Aba ativa: cápsula escorrega e o ícone dá um pulo curto */
.tab-item .tab-icon { transition: background-color 220ms var(--ease-out-expo), transform 220ms var(--ease-out-expo); }
.tab-item[aria-current="page"] .tab-icon { animation: pop-in 260ms var(--ease-out-expo); }

/* Selecionado em ouro: pulso único de confirmação */
.chip[aria-pressed="true"], .slot[aria-pressed="true"], .date-cell[aria-pressed="true"] { animation: glow 600ms var(--ease-out) 1; }

/* Interruptor com deslize suave */
.switch::after { transition: transform 220ms var(--ease-out-expo); }
.switch { transition: background-color 220ms var(--ease-out); }

/* Favoritar: coração enche com um pulso */
.photo-btn[aria-pressed="true"] { animation: pop-in 240ms var(--ease-out-expo); }

/* Toast e folha já têm entrada; a saída fica um pouco mais curta */
.toast { animation-duration: 320ms; }

/* Números do Início sobem contando (classe dada pelo app) */
.count-up { display: inline-block; font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .wel-blob, .wel-float { animation: none !important; }
}
:root.reduce-motion .wel-blob, :root.reduce-motion .wel-float { animation: none !important; }
.match-card.is-logo { padding: 10px; }
.match-card.is-logo .logo-word { font-size: 1rem; margin-top: 2px; }
.match-card.is-logo svg { width: 44px; height: auto; }
.match-star { top: 44px; width: 60px; height: 60px; }
.match-star .ic { width: 28px; height: 28px; }
.match-card { width: 124px; height: 136px; }
.match-card.is-person { left: 14px; top: 18px; }
.match-card.is-company { right: 14px; top: 18px; }

/* ===== Palco de apresentação (desktop): fundo com as formas da marca, aparelho com reflexo ===== */
@media (min-width: 521px) and (min-height: 641px) {
  body { background: #E6EBEF; }
  .stage { position: relative; overflow: hidden; isolation: isolate; }
  .stage::before, .stage::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
  .stage::before { width: 56vmin; height: 56vmin; left: -14vmin; top: 8vh; background: var(--ouro); opacity: 0.32; border-radius: 48% 52% 40% 60% / 55% 45% 55% 45%; }
  .stage::after { width: 46vmin; height: 46vmin; right: -10vmin; bottom: -6vh; background: var(--azul); opacity: 0.16; border-radius: 52% 48% 60% 40% / 45% 55% 45% 55%; }
  .device { box-shadow: 0 0 0 10px var(--noite), 0 0 0 11px var(--porto), 0 40px 90px rgba(16, 28, 38, 0.35), 0 0 0 12px rgba(255, 255, 255, 0.35); animation: device-in 700ms var(--ease-out-expo) both; }
}
@keyframes device-in { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: none; } }
.co-link { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.co-link .ic { color: var(--costa); }

/* ===== Acabamento dos cartões (revisão) ===== */
.navcard-title { font-size: 1.25rem; line-height: 1.6rem; text-wrap: balance; }
.navcard-sub + .navcard-sub { margin-top: -4px; }
.navcard-chips { flex-wrap: nowrap; }
.navcard-chip { white-space: nowrap; }
.navcard-body { padding-right: var(--s-2); }
.stat-value { font-size: 1.75rem; }
.stat-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.date-badge { background: var(--ouro-veu); color: var(--noite); }
.date-badge .db-week, .date-badge .db-month { color: var(--ouro-tinta); }
.invite-row { align-items: center; }
.invite-row-text { gap: 2px; }
.invite-row-top { align-items: center; }
.invite-row-title { font-size: var(--fs-body); line-height: 1.35rem; }
.invite-row-sub { font-size: var(--fs-label); line-height: var(--lh-label); color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.invite-row-due { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; font-size: var(--fs-label); font-weight: 600; color: var(--ouro-tinta); white-space: nowrap; }
.invite-row-due .ic { width: 15px; height: 15px; }
.list-row .lr-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-row .lr-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-row .lr-text { min-width: 0; }
.invite-row-sub { white-space: normal; }
@media (max-width: 359px) { .navcard-chips { flex-wrap: wrap; } .navcard-title { font-size: 1.125rem; line-height: 1.45rem; } }
