/*
 * EXEC Club — "Programa de Identidade Corporativa".
 * O Club como um relatório anual do modernismo suíço: grade modular, réguas
 * finas no lugar de caixas, campos chapados de azul-marinho, uma grotesca
 * neutra (Hanken Grotesk) e hierarquia só por escala e peso.
 * Verde-água só no que se aperta. Sem sombras. Logo e cores da EXEC mantidos.
 * Carregado depois de club.css e executive.css, que ele sobrepõe.
 */

/* tokens: ver tokens.css (fonte única, carregado antes deste arquivo) */

body { background: var(--paper); letter-spacing: 0; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.015em; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* O logo é da marca EXEC: segue em Montserrat */
.logo { font-family: var(--font-brand); }

/* ---------- Botões: retos, chapados ---------- */
.btn { border-radius: var(--radius-sm); font-weight: 600; letter-spacing: 0; }
.btn-dark:hover, .btn-teal:hover, .btn-accent:hover { box-shadow: none; }
.btn-teal:hover { background: var(--teal-dark); }

/* ---------- Barra do topo: um campo marinho, sem sombra ---------- */
.topbar { padding: 0 2rem; }
.topbar.is-scrolled { box-shadow: none; }
.topbar-inner { min-height: 64px; padding: 0; gap: 56px; }
.nav { gap: 32px; align-self: stretch; }
.nav a { height: 64px; padding: 0; gap: 6px; font-size: 15px; font-weight: 500; color: var(--on-navy-muted); letter-spacing: 0; }
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--white); font-weight: 600; }
.nav a::after { left: 0; right: 0; bottom: 0; height: 3px; }
.nav-icon { display: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav-count { align-self: flex-start; margin-top: 19px; font-size: 12px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.menu-panel { border-radius: var(--radius-sm); }
.topbar-name { font-size: 14px; color: var(--on-navy-muted); white-space: nowrap; }
.menu summary:hover .avatar, .menu[open] summary .avatar { box-shadow: none; outline: 2px solid var(--accent); outline-offset: 2px; }
/* Avatares sem foto em campo marinho: marinho, não verde-água (verde-água é só para o clicável) */
.attendees.on-dark .avatar { background: var(--navy-800); color: var(--white); }
.attendees.on-dark .avatar-stack .avatar { border: 1px solid var(--navy-line); }


/* ---------- Avisos e estados vazios no mesmo idioma de réguas ---------- */
.toast { border-radius: var(--radius-sm); }
.empty-state { background: transparent; border: 0; border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); border-radius: 0; padding: 20px 0; }
.empty-icon { background: transparent; border: 1px solid var(--rule-soft); }

/* ======================================================================
 * Início do membro
 * ====================================================================== */
.is-home .main { padding-top: 0; }

.hq-link { color: var(--teal); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.hq-link:hover { color: var(--teal-dark); text-decoration: underline; }
.hq-link, .hq-profile a { display: inline-flex; align-items: center; gap: 5px; }
.hq-arrow { width: 15px; height: 15px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.hq-link:hover .hq-arrow, .hq-profile a:hover .hq-arrow { transform: translateX(3px); }

/* Abertura */
.hq-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; padding: 56px 0 32px; border-bottom: 1px solid var(--rule); }
.hq-greet { font-size: clamp(48px, 5.8vw, 84px); font-weight: 600; letter-spacing: -.035em; line-height: .95; color: var(--navy-900); }
.hq-greet span { display: block; color: var(--ink-mute); font-weight: 500; }
.hq-who { margin: 20px 0 0; font-size: 17px; color: var(--ink-soft); }
.hq-today { white-space: nowrap; }
.hq-profile { justify-self: end; width: 100%; max-width: 440px; }
.hq-profile p { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 10px; font-size: 14px; color: var(--ink-soft); }
.hq-profile a { color: var(--teal); font-weight: 600; text-decoration: none; white-space: nowrap; }
.hq-profile a:hover { text-decoration: underline; }
.hq-meter { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; }
.hq-meter span { height: 3px; background: var(--rule-soft); }
.hq-meter .is-on { background: var(--navy-900); }

/* ---------- Agenda: a linha do tempo dos próximos 90 dias ----------
 * Cada evento pende da régua na sua data exata (--x). Faixas (--lane)
 * evitam sobreposição. Confirmado = bloco preenchido de marinho. */
.agenda { padding: 24px 0 20px; border-bottom: 1px solid var(--rule-soft); }
.agenda-head, .hq-list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.agenda-head h2, .hq-list-head h2 { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--navy-900); }
.agenda-head small, .hq-list-head small { font-size: 15px; font-weight: 400; color: var(--ink-mute); margin-left: 6px; font-variant-numeric: tabular-nums; }
.agenda-scroll { overflow-x: auto; margin-top: 6px; padding-bottom: 4px; scrollbar-width: thin; scrollbar-color: var(--rule-soft) transparent; }
.agenda-track { --lane-h: 124px; position: relative; min-width: 880px; height: calc(52px + var(--lanes) * var(--lane-h)); }
.agenda-axis { position: absolute; left: 0; right: 0; top: 40px; height: 1px; background: var(--rule); transform-origin: left; animation: axisDraw .9s var(--ease) both; }
.agenda-week { position: absolute; top: -4px; width: 1px; height: 9px; background: #9AA6B4; }
.agenda-month { position: absolute; bottom: 1px; height: 22px; padding-left: 6px; border-left: 1px solid var(--rule); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--ink-mute); }
.agenda-now { position: absolute; left: 0; top: 0; width: 2px; height: calc(var(--lanes) * var(--lane-h)); background: var(--navy-900); opacity: .18; }
.agenda-today { position: absolute; left: 0; bottom: 1px; height: 22px; padding-left: 8px; border-left: 2px solid var(--navy-900); font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--navy-900); white-space: nowrap; }
.agenda-events { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; top: 41px; bottom: 0; }
.agenda-ev { position: absolute; z-index: calc(10 - var(--lane)); left: var(--x); top: calc(14px + var(--lane) * var(--lane-h)); width: var(--w, 19%); animation: evDrop .6s var(--ease) both; animation-delay: calc(.25s + var(--i) * 70ms); }
.agenda-ev::before { content: ''; position: absolute; left: 0; bottom: 100%; width: 1px; height: calc(14px + var(--lane) * var(--lane-h)); background: var(--navy-900); }
.agenda-ev.is-flip { left: auto; right: calc(100% - var(--x)); }
.agenda-ev.is-flip::before { left: auto; right: 0; }
.agenda-ev a { display: block; padding: 10px 12px 12px; border-left: 3px solid var(--navy-900); background: var(--paper); color: var(--navy-900); text-decoration: none; transition: background-color .2s ease-out; }
.agenda-ev.is-flip a { border-left: 0; border-right: 3px solid var(--navy-900); text-align: right; }
.agenda-ev a:hover, .agenda-ev a:focus-visible { background: var(--hover); color: var(--navy-900); }
.agenda-ev b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.agenda-ev-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: 15px; font-weight: 600; line-height: 1.25; }
.agenda-ev-meta { display: block; margin-top: 4px; overflow: hidden; font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; color: var(--ink-mute); }
/* Faixas abaixo ficam por baixo: o pino de um evento passa atrás do bloco de outro, nunca por cima do texto */
.agenda-ok { display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; vertical-align: middle; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.agenda-ok svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.agenda-ev.is-confirmed a { background: var(--navy-900); color: var(--white); }
.agenda-ev.is-confirmed a:hover, .agenda-ev.is-confirmed a:focus-visible { background: var(--navy-800); color: var(--white); }
.agenda-ev.is-confirmed .agenda-ev-meta { color: var(--on-navy-muted); }
.agenda-later { margin: 8px 0 0; font-size: 14px; color: var(--ink-mute); }
.agenda-later a { color: var(--teal); font-weight: 600; }
@keyframes axisDraw { from { transform: scaleX(0); } }
@keyframes evDrop { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Próximo evento e listas ---------- */
.hq-low { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: stretch; padding-top: 32px; }

.hq-next { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 32px; padding: 36px 32px 36px; background: var(--navy-900); color: var(--on-navy); }
.hq-next.is-empty { grid-template-columns: minmax(0, 1fr); }
.hq-next-date { display: flex; flex-direction: column; gap: 12px; padding-right: 24px; border-right: 1px solid var(--navy-line); }
.hq-next-date b { font-size: 96px; font-weight: 600; letter-spacing: -.05em; line-height: .8; color: var(--white); font-variant-numeric: tabular-nums; }
.hq-next-date > span { font-size: 15px; line-height: 1.4; color: var(--on-navy-muted); }
.hq-next-date .hq-countdown { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--white); }
.hq-next h2 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; color: var(--white); }
.hq-next h2 a { color: inherit; text-decoration: none; }
.hq-next h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.hq-next-meta { margin: 12px 0 0; font-size: 15px; color: var(--on-navy-muted); }
.hq-next-desc { margin: 14px 0 0; max-width: 54ch; line-height: 1.55; color: var(--on-navy); }
.hq-next [data-attendees] { margin-top: 20px; }
.hq-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hq-next .btn-on-navy { border-color: var(--navy-line); }
.hq-actions .btn { padding: 0 16px; }

.hq-lists { display: flex; flex-direction: column; gap: 32px; }
.hq-list-head { padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.hq-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--rule-soft); color: var(--navy-900); text-decoration: none; transition: background-color .2s ease-out; }
.hq-row:hover, .hq-row:focus-visible { background: var(--hover); color: var(--navy-900); }
.hq-row-main b { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; }
.hq-row-main > span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-mute); }
.hq-row-main .hq-status { display: flex; align-items: center; gap: 5px; margin: 0 0 4px; font-size: 12px; font-weight: 700; color: var(--navy-900); }
.hq-status svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.hq-tag { padding-top: 3px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: var(--ink-soft); }
.hq-tag.is-exec { color: var(--orange); }
.hq-read { grid-template-columns: 76px minmax(0, 1fr); align-items: center; }
.hq-thumb { display: block; width: 76px; height: 52px; overflow: hidden; background: var(--navy-800); }
.hq-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hq-note, .hq-none { margin: 10px 0 0; font-size: 14px; color: var(--ink-mute); }
.hq-none { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--rule-soft); }

/* Fecho */
.hq-community { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.hq-community h2 { font-size: 22px; letter-spacing: -.015em; }
.hq-community p { margin: 4px 0 0; color: var(--ink-soft); }
.hq-community .btn { justify-self: start; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  .agenda-axis, .agenda-ev { animation: none; }
  .hq-link span { transition: none; }
}

/* ---------- Telas menores ---------- */
@media (max-width: 1024px) {
  .hq-intro, .hq-low { grid-template-columns: minmax(0, 1fr); }
  .hq-intro { gap: 28px; }
  .hq-profile { justify-self: start; }
  .hq-community { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* Celular: a navegação vira uma barra fixa embaixo, ao alcance do polegar */
@media (max-width: 860px) {
  .topbar { padding: 0 16px; }
  .topbar-inner { min-height: 56px; }
  .nav-toggle { display: none !important; }
  .nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; order: initial; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; max-height: none; overflow: visible; padding: 0 0 env(safe-area-inset-bottom); background: var(--navy-900); border-top: 1px solid var(--navy-line); }
  .nav.is-open { max-height: none; padding-bottom: env(safe-area-inset-bottom); }
  .nav a { position: relative; height: 60px; flex-direction: column; justify-content: center; gap: 3px; font-size: 12px; }
  .nav a::after { top: 0; bottom: auto; left: 28%; right: 28%; }
  .nav-icon { display: block; }
  .nav-count { position: absolute; top: 7px; left: calc(50% + 12px); margin: 0; font-size: 11px; }
  .page-member { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .topbar-name { display: none; }

  .hq-intro { padding: 32px 0 24px; }
  .hq-who { font-size: 16px; }
}
@media (max-width: 680px) {
  .hq-next { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 20px; margin: 0 -16px; }
  .hq-next-date { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 6px 16px; padding: 0 0 18px; border-right: 0; border-bottom: 1px solid var(--navy-line); }
  .hq-next-date b { font-size: 72px; }
  .hq-next-date .hq-countdown { margin: 0 0 0 auto; text-align: right; }
  .hq-community .btn { width: 100%; }

  /* Agenda vertical: régua descendo pela esquerda, distância entre eventos proporcional ao intervalo de datas */
  .agenda-scroll { overflow: visible; }
  .agenda-track { min-width: 0; height: auto; }
  .agenda-axis { position: static; height: auto; margin: 10px 0 0; background: none; animation: none; }
  .agenda-week, .agenda-month, .agenda-now { display: none; }
  .agenda-today { position: static; display: inline-block; height: auto; padding: 2px 0 2px 8px; }
  .agenda-events { position: static; margin-left: 4px; padding: 4px 0 6px 18px; border-left: 1px solid var(--rule); }
  .agenda-ev, .agenda-ev.is-flip { position: relative; left: auto; right: auto; top: auto; width: auto; margin-top: max(10px, calc(var(--gap) * 2.4px)); }
  .agenda-ev::before, .agenda-ev.is-flip::before { left: -18px; right: auto; top: 22px; bottom: auto; width: 14px; height: 1px; }
  .agenda-ev.is-flip a { border-left: 3px solid var(--navy-900); border-right: 0; text-align: left; }
  .agenda-ev-title { -webkit-line-clamp: 2; }
  .hq-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .hq-read { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
  .hq-tag { padding-top: 0; }
}

/* ======================================================================
 * Tradução da marca EXEC (exec.com.br), pedida pelo usuário em 03/11/2026.
 * A direção fica (grade, réguas, agenda em linha do tempo); o material passa
 * a ser o da EXEC oficial: cores medidas no site, Montserrat em caixa alta
 * nos títulos, números, navegação e botões; barra vertical, cantoneira,
 * filete de 4px e o padrão geométrico de linhas finas.
 * Verde vivo (#39DD38) só como sinal: contagens, confirmado, contagem regressiva.
 * ====================================================================== */
/* tokens: ver tokens.css (fonte única, carregado antes deste arquivo) */
::selection { background: rgba(37, 158, 157, .3); }

/* Navegação no idioma do site oficial */
.nav a { font-family: var(--font-brand); font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .01em; }
.nav a[aria-current="page"] { font-weight: 600; }
.nav-count { color: var(--signal); }
/* Em caixa alta as palavras alargam: o menu não pode ser espremido pelo lado direito da barra */
.nav, .nav a { flex-shrink: 0; }

/* Botões da EXEC: verde-água com texto marinho, caixa alta, negrito, cantos de 3px */
.btn { border-radius: 3px; font-family: var(--font-brand); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.btn-teal, .btn-accent { background: var(--accent); border-color: var(--accent); color: var(--navy-900); }
.btn-teal:hover, .btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--navy-900); }

/* Títulos e números grandes em Montserrat */
.hq-greet, .hq-next h2, .hq-community h2, .agenda-head h2, .hq-list-head h2,
.hq-next-date b, .agenda-ev b, .page-hero h1, .section-head h2 { font-family: var(--font-brand); }

/* Abertura: a barra vertical do título do exec.com.br */
.hq-greet { padding-left: 28px; border-left: 4px solid var(--accent); font-size: clamp(40px, 5vw, 72px); font-weight: 600; letter-spacing: -.02em; line-height: 1.04; text-transform: uppercase; }
.hq-greet span { font-weight: 500; }
.hq-who { padding-left: 32px; }

/* Rótulos de seção: caixa alta; listas com o filete de 4px dos números da EXEC */
.agenda-head h2, .hq-list-head h2 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.agenda-head small, .hq-list-head small { font-family: var(--font-body); text-transform: none; letter-spacing: 0; }
.hq-list-head { padding-top: 14px; border-top: 4px solid var(--accent); border-bottom: 1px solid var(--rule); }
.hq-link, .hq-profile a, .agenda-later a { color: var(--teal); }

/* Agenda: números em Montserrat; confirmado e "hoje" com o sinal verde */
.agenda-ev b { font-size: 24px; letter-spacing: -.02em; }
.agenda-ev.is-confirmed .agenda-ok { color: var(--signal); }
.agenda-today { border-left-color: var(--accent); }

/* Próximo evento: padrão geométrico e cantoneira, como nas faixas do site oficial */
.hq-next { position: relative; overflow: hidden; }
.hq-next > :not(.hq-facets) { position: relative; z-index: 1; }
.hq-next::after { content: ''; position: absolute; top: 0; right: 0; z-index: 1; width: 44px; height: 44px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.hq-facets { position: absolute; right: -40px; bottom: -30px; width: 420px; height: 320px; fill: none; stroke: var(--white); stroke-width: 1; opacity: .08; pointer-events: none; }
.hq-next h2 { font-size: clamp(24px, 2.1vw, 30px); font-weight: 600; text-transform: uppercase; letter-spacing: -.015em; line-height: 1.1; }
.hq-next-date b { font-weight: 600; letter-spacing: -.04em; }
.hq-next-date .hq-countdown [data-countdown] { color: var(--signal); }

/* Fecho: palavra de destaque em verde-água, como "EXEC EM NÚMEROS" */
.hq-community h2 { font-size: 26px; font-weight: 600; text-transform: uppercase; letter-spacing: -.01em; }
.hq-community h2 span { color: var(--teal-text-lg); }

@media (max-width: 860px) {
  .nav a { font-size: 11px; }
  .hq-greet { padding-left: 18px; }
  .hq-who { padding-left: 22px; }
}

/* ---------- Ajustes da revisão final ---------- */
/* Agenda: o título e a linha de local aparecem inteiros no computador */
.agenda-track { --lane-h: 176px; }
/* Sem rolagem lateral a partir de 881px: nada recorta o bloco mais alto (4 linhas de título + 2 de local) */
@media (min-width: 881px) { .agenda-scroll { overflow: visible; padding-bottom: 0; } }
.agenda-ev-title { -webkit-line-clamp: 4; }
.agenda-ev-meta { white-space: normal; text-overflow: clip; }

/* Padrão geométrico maior, ocupando o pé do campo marinho */
.hq-facets { width: 520px; height: 396px; right: -60px; bottom: -40px; }

/* "Adicionar à agenda" mora na coluna da data: ação discreta, sublinhada, logo abaixo do dia e da hora */
.hq-next-date .hq-cal { display: inline-flex; align-items: flex-start; gap: 8px; height: auto; padding: 0; margin-top: 6px; background: none; border: 0; border-radius: 0; font-family: var(--font-body); font-size: 14px; font-weight: 600; line-height: 1.35; text-transform: none; letter-spacing: 0; text-align: left; white-space: normal; color: var(--on-navy); cursor: pointer; }
.hq-next-date .hq-cal svg { flex-shrink: 0; margin-top: 1px; }
.hq-next-date .hq-cal:hover { color: var(--white); }
.hq-next-date .hq-cal { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }

@media (min-width: 1025px) {
  /* Saudação alinhada à grade: as letras começam junto com os blocos de baixo; a barra fica 24px à esquerda, na margem */
  .hq-greet { position: relative; padding-left: 0; border-left: 0; }
  .hq-greet::before { content: ''; position: absolute; left: -24px; top: .08em; bottom: .08em; width: 4px; background: var(--accent); }
  .hq-who { padding-left: 0; }
}
@media (max-width: 680px) {
  .agenda-ev-title { -webkit-line-clamp: 3; }
}

/* ======================================================================
 * Demais telas (mesmo mundo da tela inicial): faixa de título, seções,
 * listas réguadas, evento, vaga, conteúdos, perfil, formulários e telas
 * públicas. Sem rótulo acima de título; sem cartões com sombra.
 * ====================================================================== */

/* ---------- Faixa de título ---------- */
.page-hero { position: relative; overflow: hidden; padding: 48px 2rem 44px; background: var(--navy-900); color: var(--on-navy); }
.page-hero .hero-bg, .page-hero .hero-grid { display: none; }
.page-hero .container { position: relative; z-index: 1; gap: 12px; }
.page-hero h1 { position: relative; max-width: 22ch; font-family: var(--font-brand); font-size: clamp(30px, 3.6vw, 48px); font-weight: 600; line-height: 1.06; letter-spacing: -.02em; text-transform: uppercase; color: var(--white); text-wrap: balance; }
.page-hero h1::before { content: ''; position: absolute; left: -24px; top: .1em; bottom: .1em; width: 4px; background: var(--accent); }
.page-hero p { max-width: 62ch; font-size: 17px; color: var(--on-navy); }
.page-hero-back { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--on-navy-muted); text-decoration: none; }
.page-hero-back:hover { color: var(--white); }
.page-hero-back svg, .row-ok svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.page-hero-tag { align-self: flex-start; margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--signal); }
.page-hero-facets { position: absolute; right: 4%; top: 50%; width: 460px; height: 350px; transform: translateY(-50%); fill: none; stroke: var(--white); stroke-width: 1; opacity: .07; pointer-events: none; }

/* ---------- Cabeçalho de seção (igual às listas da tela inicial) ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; padding: 14px 0 10px; border-top: 4px solid var(--accent); border-bottom: 1px solid var(--rule); }
.section-head h2 { font-family: var(--font-brand); font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-900); }
.section-head h2 small { margin-left: 6px; font-family: var(--font-body); font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-mute); }
.main .stack-lg > section + section { margin-top: 24px; }

/* ---------- Painéis (perfil, formulários): folha branca chapada, filete marinho no topo ---------- */
.card, .panel { background: var(--white); border: 0; border-top: 1px solid var(--rule); border-radius: 0; box-shadow: none; padding: 26px 28px; }
.panel h2, .card > h2, .card .stack > h2 { font-family: var(--font-brand); font-size: 15px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--navy-900); }
.card-link:hover, .card-link:focus-visible { box-shadow: none; }
.card-link::before { display: none; }

/* ---------- Formulários ---------- */
input[type=text], input[type=email], input[type=password], input[type=date], input[type=datetime-local], input[type=url], input[type=tel], input[type=number], input[type=search], select, textarea { border-radius: 2px; border-color: var(--input-border); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field label, .label { font-size: 14px; }
.flash { border-radius: 0; border-left: 4px solid currentColor; }

/* ---------- Lista de eventos ---------- */
.event-row { grid-template-columns: 72px minmax(0, 1fr) auto; padding: 18px 8px; border-bottom: 1px solid var(--rule-soft); border-radius: 0; }
.event-row:hover, .event-row:focus-visible { background: var(--hover); }
.event-row .date-tile { width: auto; height: auto; padding: 0; background: none; color: var(--navy-900); align-items: flex-start; }
.event-row .date-tile b { font-family: var(--font-brand); font-size: 34px; font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.event-row .date-tile small { margin-top: 4px; font-size: 12px; letter-spacing: .1em; color: var(--teal); }
.event-row .title { font-weight: 600; font-size: 17px; }
.row-ok { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; background: var(--navy-900); font-size: 12px; font-weight: 700; color: var(--white); }
.row-ok svg { color: var(--signal); stroke-width: 3; }
.row-count { font-size: 13px; color: var(--ink-mute); }

/* ---------- Evento e vaga: grade 7/12 + 5/12 ---------- */
.ev-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.ev-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ev-cover { margin: 0; }
.ev-cover img { width: 100%; max-height: 420px; object-fit: cover; }
.ev-summary { margin: 0; font-size: 20px; line-height: 1.5; color: var(--navy-900); max-width: 60ch; }
.ev-main .prose { max-width: 66ch; font-size: 17px; line-height: 1.65; }
.ev-side { position: sticky; top: 88px; }
.ev-side.hq-next { grid-template-columns: 120px minmax(0, 1fr); padding: 32px 28px; }
.ev-side .hq-next-date b { font-size: 72px; }
.ev-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: 15px; }
.ev-facts dt { color: var(--on-navy-muted); }
.ev-facts dd { margin: 0; font-weight: 600; color: var(--white); }
.ev-side [data-attendees] { margin-top: 18px; }
.ev-side .hq-actions { margin-top: 20px; }
.ev-side .hq-cal { display: inline-flex; align-items: center; gap: 8px; height: auto; margin-top: 16px; padding: 0; background: none; border: 0; border-radius: 0; font-family: var(--font-body); font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--on-navy); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.ev-side .hq-cal:hover { background: none; color: var(--white); }
.ev-past { margin: 16px 0 0; color: var(--on-navy-muted); }
.ev-forms { display: flex; flex-direction: column; gap: 20px; }
.ev-forms .panel { border-top: 4px solid var(--accent); }

/* ---------- Vagas: linhas réguadas ---------- */
.job-list { display: flex; flex-direction: column; }
.job-row { display: grid; grid-template-columns: minmax(0, 1fr) 190px auto; gap: 20px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--rule-soft); }
.job-row:hover { background: var(--hover); }
.job-row-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.job-row-main .hq-status { margin: 0 0 2px; }
.job-row-title { font-size: 17px; font-weight: 600; color: var(--navy-900); text-decoration: none; }
.job-row-title:hover { color: var(--navy-900); text-decoration: underline; }
.job-row-meta { font-size: 14px; color: var(--ink-mute); }
.job-row-actions { display: flex; gap: 8px; }
.hq-tag.is-exec { color: var(--teal); }
.job-list + .hq-note { margin-top: 14px; }

/* ---------- Conteúdos: o mais recente em destaque, depois grade de três ---------- */
.reads-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.reads-grid .article-card { background: none; border: 0; border-top: 1px solid var(--rule); border-radius: 0; box-shadow: none; padding: 0; overflow: visible; }
.reads-grid .article-card .cover { height: 190px; border-radius: 0; }
.reads-grid .article-card .card-body { padding: 16px 0 0; gap: 8px; }
.reads-grid .article-card .card-title { font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--navy-900); }
.reads-grid .article-card:hover .card-title { text-decoration: underline; text-underline-offset: 3px; }
.reads-grid .article-card.is-lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; border-top: 4px solid var(--accent); padding-top: 24px; }
.reads-grid .article-card.is-lead .cover { height: 380px; }
.reads-grid .article-card.is-lead .card-title { font-family: var(--font-brand); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -.02em; text-transform: uppercase; }
.reads-grid .article-card .cover-label { display: none; }

/* ---------- Leitura de artigo ---------- */
.article .a-lead { font-size: 21px; line-height: 1.5; color: var(--navy-900); }
.article .prose { font-size: 18px; line-height: 1.7; }
.article .prose h2, .article .prose h3 { font-family: var(--font-brand); font-weight: 600; letter-spacing: -.015em; color: var(--navy-900); }
.article .prose h2 { font-size: 26px; }
.a-figure img { border-radius: 0; }
.a-quote { border-left-color: var(--accent); }
.a-quote p { font-family: var(--font-brand); font-weight: 600; letter-spacing: -.015em; }

/* ---------- WhatsApp: linhas réguadas ---------- */
.wa-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--rule-soft); }
.wa-row b { display: block; font-size: 17px; font-weight: 600; color: var(--navy-900); }
.wa-row span { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-mute); }

/* ---------- Botão de presença: confirmado com contorno verde vivo; cancelar em vermelho só no hover ---------- */
.rsvp[data-confirmed="1"] .rsvp-btn { background: var(--navy-900); color: var(--white); border-color: var(--signal); }
.rsvp[data-confirmed="1"] .rsvp-btn svg { color: var(--signal); }
.rsvp[data-confirmed="1"] .rsvp-btn:hover, .rsvp[data-confirmed="1"] .rsvp-btn:focus-visible { background: var(--danger); color: var(--white); border-color: var(--danger); }

/* ---------- Menu do avatar: sem sombra, réguas ---------- */
.menu-panel { border: 1px solid var(--rule); border-radius: 0; box-shadow: none; padding: 6px; }
.menu-panel a, .menu-panel button { border-radius: 0; }
.menu-panel a:hover, .menu-panel button:hover { background: var(--hover); }

/* ---------- Telas públicas: login, convite, senha, erros, termos ---------- */
.split-brand { background: var(--navy-900); }
.split-brand .hero-bg, .split-mark { display: none; }
.split-facets { position: absolute; right: -60px; top: 18%; width: 560px; height: 430px; fill: none; stroke: var(--white); stroke-width: 1; opacity: .08; pointer-events: none; }
.split-copy h2 { position: relative; font-family: var(--font-brand); font-size: clamp(28px, 2.8vw, 40px); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; text-transform: uppercase; }
.split-copy h2::before { content: ''; position: absolute; left: -24px; top: .1em; bottom: .1em; width: 4px; background: var(--accent); }
.split-main { background: var(--white); }
/* Sombra e borda suaves: com o fundo branco (09/11/2026) o cartão precisa se destacar */
.split-card, .auth-card { border: 1px solid var(--rule-soft); border-top: 4px solid var(--accent); border-radius: 0; box-shadow: 0 18px 48px rgba(1, 13, 41, .12), 0 2px 8px rgba(1, 13, 41, .06); }
.split-card h1, .auth-card h1 { font-family: var(--font-brand); font-size: 26px; font-weight: 600; letter-spacing: -.015em; text-transform: uppercase; color: var(--navy-900); }
.legal h1 { text-transform: none; }
.auth { background: var(--navy-900); }
.error-code { font-family: var(--font-brand); font-weight: 600; color: var(--teal); }
.legal-version { margin: 4px 0 0; font-size: 14px; color: var(--ink-mute); }
.legal-draft { border-radius: 0; border-left: 4px solid currentColor; }

@media (max-width: 1024px) {
  .ev-layout { grid-template-columns: minmax(0, 1fr); }
  .ev-side { position: relative; top: auto; }
  .reads-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reads-grid .article-card.is-lead { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .reads-grid .article-card.is-lead .cover { height: 300px; }
  .job-row { grid-template-columns: minmax(0, 1fr) auto; }
  .job-row .hq-tag { grid-row: 1; grid-column: 2; }
  .job-row-actions { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .page-hero { padding: 32px 16px 30px; }
  .page-hero h1, .split-copy h2 { padding-left: 18px; }
  .page-hero h1::before, .split-copy h2::before { left: 0; }
  .page-hero-facets { display: none; }
}
@media (max-width: 680px) {
  .reads-grid { grid-template-columns: minmax(0, 1fr); }
  .reads-grid .article-card.is-lead .cover { height: 220px; }
  .ev-side.hq-next { grid-template-columns: minmax(0, 1fr); margin: 0 -16px; padding: 28px 20px; }
  .card, .panel { padding: 22px 18px; }
  .job-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .job-row .hq-tag { grid-row: auto; grid-column: auto; }
  .event-row { grid-template-columns: 56px minmax(0, 1fr); }
  .wa-row { flex-direction: column; align-items: flex-start; }
}

/* ---------- Painel administrativo: mesmo idioma (chapado, cantos vivos, números em Montserrat) ---------- */
.admin-head h1, .admin-main > h1 { font-family: var(--font-brand); font-weight: 600; letter-spacing: -.015em; }
.stat { border: 0; border-top: 4px solid var(--accent); border-radius: 0; box-shadow: none; }
.stat strong { font-family: var(--font-brand); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat.alert { border-top-color: var(--amber); }
.stat:hover { box-shadow: none; background: var(--hover); }
.table-wrap { border: 0; border-top: 1px solid var(--rule); border-radius: 0; }
th { font-family: var(--font-brand); letter-spacing: .04em; }
.tabs a { border-radius: 2px; }
.chart-card h2 { font-family: var(--font-brand); font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.chip { border-radius: 2px; }
.sidebar a { border-radius: 0; }

/* ---------- Ajustes da revisão das demais telas ---------- */
/* Etiqueta da faixa de título: categoria não é sinal, fica no tom secundário do marinho */
.page-hero-tag { color: var(--on-navy-muted); }

/* Primário único: verde-água com texto marinho, como no exec.com.br.
   O marinho chapado deixa de ser botão primário; contorno é a ação secundária. */
.btn-dark { background: var(--accent); border-color: var(--accent); color: var(--navy-900); }
.btn-dark:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--navy-900); }

/* Evento: a data vira uma linha no campo (numeral + mês e dia ao lado) */
.ev-side.hq-next { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.ev-side .hq-next-date { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 6px 16px; padding: 0 0 18px; border-right: 0; border-bottom: 1px solid var(--navy-line); }
.ev-side .hq-next-date b { font-size: 72px; }
.ev-side .hq-next-date .hq-countdown { margin: 0 0 0 auto; text-align: right; }
.ev-side .hq-next-body > [data-attendees] { margin-top: 0; }
.ev-details { display: grid; grid-template-columns: 140px minmax(0, 1fr); margin: 0; }
.ev-details dt, .ev-details dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); }
.ev-details dt { font-size: 14px; color: var(--ink-mute); }
.ev-details dd { font-weight: 600; color: var(--navy-900); }

/* Vagas: a linha inteira é o link (o título se estende sobre a linha) */
.job-row { position: relative; grid-template-columns: minmax(0, 1fr) 200px auto; }
.job-row-title::after { content: ''; position: absolute; inset: 0; }
.job-row:hover .job-row-title { text-decoration: underline; }
.job-row-refer { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 600; color: var(--teal); text-decoration: none; white-space: nowrap; }
.job-row-refer:hover { color: var(--teal-dark); text-decoration: underline; }
.job-row-refer:hover .hq-arrow { transform: translateX(3px); }

/* Conteúdos: destaque sem filete próprio (o cabeçalho "Mais leituras" faz a divisão) */
.reads-grid .article-card.is-lead, .article-card.is-lead { border-top: 0; padding-top: 0; }
.main .article-card.is-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; margin-bottom: 40px; background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; overflow: visible; }
.main .article-card.is-lead .cover { height: 380px; border-radius: 0; }
.main .article-card.is-lead .card-body { padding: 0; gap: 10px; }
.main .article-card.is-lead .card-title { font-family: var(--font-brand); font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; text-transform: uppercase; color: var(--navy-900); }
.main .article-card.is-lead:not(:has(.cover)) { grid-template-columns: minmax(0, 1fr); }
.read-list { margin-bottom: 8px; }

/* Perfil: seções direto no papel, com o cabeçalho de seção padrão */
.pf-section { display: flex; flex-direction: column; gap: 16px; }
.pf-section + .pf-section { margin-top: 40px; }
.pf-section > .section-head { margin-bottom: 4px; }

/* Títulos legais e do painel na voz da marca */
.legal h1 { text-transform: uppercase; }
.admin-head h1, .admin-main > h1, .admin-main h2 { text-transform: uppercase; }
.admin-main h2 { font-family: var(--font-brand); font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.admin-head h1, .admin-main > h1 { font-size: 30px; }

/* Aviso de minuta: estado de atenção em âmbar, sem o pêssego antigo */
.legal-draft { background: var(--white); color: var(--ink); border-left: 4px solid var(--amber); }

/* Métricas do painel: células réguadas no papel, sem caixas brancas; alerta só no filete */
.stats { gap: 0; }
.stat { background: none; border-top: 4px solid var(--accent); border-right: 1px solid var(--rule-soft); padding: 14px 18px 16px; }
.stat:last-child { border-right: 0; }
.stat.alert { background: none; border-top-color: var(--amber); }

@media (max-width: 1024px) {
  .main .article-card.is-lead { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .main .article-card.is-lead .cover { height: 260px; }
  .job-row { grid-template-columns: minmax(0, 1fr) auto; }
  .job-row-refer { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 680px) {
  .ev-details { grid-template-columns: minmax(0, 1fr); }
  .ev-details dt { padding-bottom: 0; border-bottom: 0; }
  .ev-details dd { padding-top: 2px; }
  .job-row { grid-template-columns: minmax(0, 1fr); }
  .stat { border-right: 0; }
}

/* ---------- Ajustes da 2ª revisão das demais telas ---------- */
/* Subtítulo do painel de login: branco e peso 500 para passar de 4,5:1 sobre o marinho */
.split-copy p { color: var(--white); font-weight: 500; }
/* Aviso de minuta: filete âmbar no topo (mesma gramática do cabeçalho de seção), sem faixa lateral */
.legal-draft { border: 1px solid var(--rule-soft); border-top: 4px solid var(--amber); border-left-width: 1px; border-left-color: var(--rule-soft); }
/* Celular e tablet: o campo marinho (data, presença) vem antes dos detalhes */
@media (max-width: 1024px) { .ev-layout > .ev-side { order: -1; } }

/* Faixas de fecho empilhadas na home (WhatsApp + Indicar): uma régua só entre elas */
.hq-community + .hq-community { margin-top: 0; border-top: 0; }

/* ---------- Ajustes do teste e2e (celular) ---------- */
/* A tabela rola dentro da caixa: textos só para leitor de tela (position: absolute) também
   ficam presos nela, em vez de alargar a página inteira no celular. */
.table-wrap { position: relative; }
/* Ficha do membro no painel: rótulo sobre valor no celular (o seletor de sócio não estoura a tela) */
@media (max-width: 680px) {
  .dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .dl dd + dt { margin-top: 10px; }
  .dl select { min-width: 0 !important; max-width: 100%; }
}

/* ---------- v2 Etapa 1: comunidades, auditoria e permissões ---------- */
.community-checks { display: grid; gap: 8px 20px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.community-checks .chip { margin-left: 6px; }
.audit-filter { flex-wrap: wrap; gap: 8px; }
.audit-filter select { width: auto; max-width: 100%; }
.audit-filter input[type="search"] { width: 260px; max-width: 100%; }
/* Tabelas do painel que viram fichas no celular (rótulo acima do valor), sem rolagem lateral */
@media (max-width: 680px) {
  .audit-filter, .audit-filter select, .audit-filter input[type="search"] { width: 100%; }
  .table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .table-stack, .table-stack tbody, .table-stack tr, .table-stack td { display: block; width: 100%; }
  .table-stack tr { border-bottom: 1px solid var(--rule-soft); padding: 10px 0; }
  .table-stack tr:last-child { border-bottom: 0; }
  .table-stack td { border: 0; padding: 4px 14px; white-space: normal !important; }
  .table-stack td[data-label]::before { content: attr(data-label); display: block; font-family: var(--font-brand); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .table-stack td .row { flex-wrap: wrap; }
  .table-stack td:empty { display: none; }
}
.role-form select { min-width: 180px; }
@media (max-width: 680px) { .role-form select { min-width: 0; width: 100%; } }
/* Equipe e acessos: "Reenviar link de senha" e "Suspender" um embaixo do outro, na mesma largura.
   Lado a lado, a tabela passava da largura da página e cortava a coluna de ações. */
.team-actions { flex-direction: column; align-items: stretch; gap: 8px; }
.team-actions .btn { width: 100%; }

/* ---------- v2 Etapa 2: cadastro em etapas, logo oficial ---------- */
/* Logo oficial (PNG): a altura vem dos atributos width/height; aqui só o encaixe */
.logo-mark { display: inline-flex; position: relative; z-index: 1; line-height: 0; align-self: flex-start; }
.logo-mark img { display: block; max-width: 100%; height: auto; }

/* Cadastro: painel marinho estreito e fixo à esquerda, formulário largo à direita */
.split--wizard .split-brand { flex: 0 0 38%; max-width: 560px; position: sticky; top: 0; height: 100vh; align-self: flex-start; justify-content: space-between; }
.split--wizard .split-main { justify-content: flex-start; padding: 56px 40px 48px; }
.split--wizard .split-card { max-width: 720px; padding: 36px 40px 32px; }
.reg-brand { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 40px; max-width: 440px; margin-top: auto; }
.reg-context h2 { position: relative; color: var(--white); font-family: var(--font-brand); font-size: clamp(28px, 2.6vw, 40px); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; text-transform: uppercase; margin: 0 0 14px; text-wrap: balance; }
.reg-context h2::before { content: ''; position: absolute; left: -24px; top: .1em; bottom: .1em; width: 4px; background: var(--accent); }
.reg-context p { color: var(--white); font-weight: 500; font-size: 17px; line-height: 1.5; margin: 0; max-width: 38ch; }
.js .reg-context:not([hidden]) { animation: regCtx .55s var(--ease) both; }
@keyframes regCtx { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Lista das etapas no painel: o número é informação (posição no cadastro) */
.reg-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--navy-line); }
.reg-steps li { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--navy-line); font-family: var(--font-brand); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--on-navy-muted); transition: color .3s; }
.reg-steps-n { width: 26px; height: 26px; display: inline-grid; place-items: center; border: 1px solid var(--navy-line); font-variant-numeric: tabular-nums; font-size: 12px; transition: background-color .3s, color .3s, border-color .3s; }
.reg-steps li.is-done { color: var(--on-navy); }
.reg-steps li.is-done .reg-steps-n { border-color: var(--accent); color: var(--accent); }
.reg-steps li.is-current { color: var(--white); }
.reg-steps li.is-current .reg-steps-n { background: var(--accent); border-color: var(--accent); color: var(--navy-900); }
html:not(.js) .reg-steps { display: none; }

.reg-head { margin-bottom: 20px; }
.reg-head h1 { margin-bottom: 8px; }
.reg-head p { margin: 0; max-width: 60ch; }
.reg-lead { margin: 0; font-size: 14px; }

/* Resumo de erros vindos do servidor: filete âmbar (atenção), sem faixa lateral */
.reg-errors { display: flex; flex-direction: column; gap: 4px; background: var(--white); border: 1px solid var(--rule-soft); border-top: 4px solid var(--amber); padding: 14px 16px; margin-bottom: 20px; font-size: 14px; color: var(--ink-soft); }
.reg-errors strong { color: var(--navy-900); font-size: 15px; }

/* Progresso: "Etapa 2 de 5 · Carreira" + trilho de segmentos */
.wizard .wizard-head { margin-bottom: 28px; }
.wiz-count { margin: 0 0 10px; font-family: var(--font-brand); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-900); }
.wiz-count b { font-variant-numeric: tabular-nums; }
.wiz-name { color: var(--ink-mute); font-weight: 600; }
.wiz-track { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
.wiz-track li { height: 4px; background: var(--rule-soft); transition: background-color .4s var(--ease); }
.wiz-track li.is-done { background: var(--teal); }
.wiz-track li.is-current { background: var(--accent); }

/* Blocos do cadastro: rótulo de seção com régua, sem caixa arredondada */
.wizard fieldset { border: 0; border-radius: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.wizard fieldset + fieldset { margin-top: 28px; }
.wizard legend { width: 100%; padding: 0 0 10px; margin-bottom: 18px; border-bottom: 1px solid var(--rule); font-family: var(--font-brand); font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-900); }
.reg-years { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.reg-years input { font-variant-numeric: tabular-nums; }

/* Escolhas em blocos (situação profissional, comunidades): clicáveis por inteiro */
.choice-field { gap: 8px; }
.choice-field > .label { font-weight: 600; }
.choice-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.choice-grid--wide { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice > span { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 46px; height: 100%; padding: 10px 14px; background: var(--white); border: 1px solid var(--input-border); border-radius: 2px; font-size: 15px; line-height: 1.35; color: var(--ink); transition: background-color .15s, border-color .15s, color .15s; }
.choice > span b { font-weight: 600; }
.choice > span small { font-size: 13.5px; color: var(--ink-mute); }
.choice:hover > span { background: var(--hover); }
.choice input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.choice input:checked + span small { color: var(--on-navy); }
.choice input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.choice--check > span { padding-left: 42px; position: relative; }
.choice--check > span::before { content: ''; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 1px solid var(--input-border); background: var(--white); }
.choice--check input:checked + span::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--navy-900); }
.has-error .choice > span { border-color: #B91C1C; }

/* Navegação do cadastro: o "Enviar" só na última etapa (vale para qualquer número de etapas) */
.js .wizard:not(.is-last) [data-wizard-next] { display: inline-flex; }
.js .wizard:not(.is-last) [data-wizard-submit] { display: none; }
.js .wizard.is-last [data-wizard-submit] { display: inline-flex; }
.js .wizard.is-last [data-wizard-next] { display: none; }
.wizard-nav { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule-soft); align-items: center; }
.btn-arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-left: 8px; transition: transform .2s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
/* Enviando: botão travado com indicador de progresso */
.btn.is-loading, .btn[aria-busy="true"] { cursor: progress; opacity: .9; }
.btn.is-loading::before { content: ''; width: 14px; height: 14px; margin-right: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: btnSpin .7s linear infinite; }
@keyframes btnSpin { to { transform: rotate(360deg); } }

/* Tela "cadastro em análise": o que acontece agora */
.pending-steps { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.pending-steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 2px 14px; padding: 16px 0; border-bottom: 1px solid var(--rule-soft); }
.pending-steps li > span { grid-row: span 2; width: 26px; height: 26px; display: inline-grid; place-items: center; border: 1px solid var(--rule-soft); font-family: var(--font-brand); font-size: 12px; font-weight: 700; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.pending-steps li.is-now > span { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.pending-steps b { font-weight: 600; color: var(--navy-900); }
.pending-steps p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.pending-meta { font-size: 14px; color: var(--ink-mute); margin: 0; }

@media (max-width: 860px) {
  .split--wizard .split-brand { position: relative; height: auto; flex: none; max-width: none; padding: 20px 16px 22px; gap: 16px; }
  .reg-brand { margin-top: 0; gap: 0; }
  .reg-context h2 { font-size: 20px; margin: 0; padding-left: 14px; }
  .reg-context h2::before { left: 0; }
  .reg-context p, .reg-steps, .split--wizard .split-foot { display: none; }
  .split--wizard .split-main { padding: 0 0 32px; }
  .split--wizard .split-card { padding: 24px 16px 20px; }
  .reg-head h1 { font-size: 22px; }
  .wizard-nav .btn { flex: 1 1 0; min-width: 0 !important; }
  .js .wizard[data-current="1"] [data-wizard-prev] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reg-context:not([hidden]) { animation: none; }
  .btn.is-loading::before { animation-duration: 2s; }
  .btn:hover .btn-arrow { transform: none; }
}

/* Ficha do candidato (painel): indicações de apoio, histórico e aprovação */
.tnum { font-variant-numeric: tabular-nums; }
.endorse-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule-soft); }
.endorse-row:first-of-type { border-top: 0; padding-top: 0; }
.endorse-form { border-top: 1px solid var(--rule-soft); padding-top: 12px; }
.timeline-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule-soft); }
.timeline-row:first-of-type { border-top: 0; padding-top: 0; }
.approve-communities { border: 0; border-top: 1px solid var(--rule-soft); border-radius: 0; padding: 10px 0 0; display: flex; flex-direction: column; gap: 6px; }
.approve-communities legend { padding: 0 0 4px; }
.approve-warning { background: var(--white); border: 1px solid var(--rule-soft); border-top: 4px solid var(--amber); padding: 10px 12px; gap: 8px; }
.ref-meta { display: block; margin-top: 2px; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 680px) {
  .timeline-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .endorse-row { flex-direction: column; }
}
/* Perfil: bloco "Carreira" dentro do formulário de dados, só com régua */
.pf-fieldset { border: 0; border-top: 1px solid var(--rule-soft); border-radius: 0; padding: 16px 0 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.pf-fieldset legend { padding: 0 10px 0 0; font-family: var(--font-brand); font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-900); }
/* Convite aberto a partir de uma indicação: resumo da pessoa para avaliar rápido */
.prefill-ref { background: var(--paper); border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); padding: 12px 14px; }
.split--wizard { background: var(--paper); }
.split--wizard .split-facets { top: 4%; }
@media (max-width: 860px) { .split--wizard .split-brand { align-self: stretch; width: 100%; } }

/* ---------- v2 Etapa 3: inscrição em eventos, participantes, vagas ---------- */
/* Botão de inscrição: estados "esgotado" e "enviando" */
.rsvp-full, .rsvp-loading { display: none; align-items: center; gap: 6px; }
.rsvp[data-full="1"] .rsvp-off { display: none; }
.rsvp[data-full="1"] .rsvp-full { display: inline-flex; }
.rsvp[data-full="1"] .rsvp-btn, .rsvp-btn:disabled { opacity: 1; cursor: not-allowed; background: transparent; color: var(--on-navy, #C9D2E3); border-color: currentColor; }
.rsvp.is-loading .rsvp-btn > span { display: none !important; }
.rsvp.is-loading .rsvp-loading { display: inline-flex !important; }
/* Vagas restantes ao lado de "quem vai" */
.attendees { flex-wrap: wrap; }
.attendees-spots { font-family: var(--font-brand); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border: 1px solid currentColor; border-radius: 3px; }
.avatar-link { display: inline-flex; margin-left: -8px; border-radius: 50%; }
.avatar-link:first-child { margin-left: 0; }
.avatar-stack .avatar-link .avatar { margin-left: 0; }
.avatar-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Grupo de WhatsApp do evento (só inscritos) */
.ev-whatsapp { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.ev-whatsapp .small { color: var(--on-navy, #C9D2E3); }
.ev-whatsapp .btn { justify-content: center; }
/* Lista "Quem vai" na página do evento */
.ev-people { margin-top: 28px; }
.people-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 24px; }
.people-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule-soft); color: inherit; text-decoration: none; min-width: 0; }
.people-row strong { color: var(--navy-900); overflow-wrap: anywhere; }
.people-row:hover strong { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
/* Aviso de erro (vagas esgotadas, falha) */
.toast.is-error svg { background: #FFB4AB; }
/* Perfil público (mínimo; Etapa 5 refina) */
.member-public { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.member-public-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 24px; align-items: start; }
.member-public-card .btn { grid-column: 2; justify-self: start; }
@media (max-width: 640px) {
  .member-public-card { grid-template-columns: minmax(0, 1fr); }
  .member-public-card .btn { grid-column: 1; }
  .people-list { grid-template-columns: minmax(0, 1fr); }
}
/* Painel: rótulo de grupo de opções e botões "Enviando…" */
.field-label { font-weight: 600; font-size: 14px; }
button.is-loading { opacity: .7; cursor: progress; }

/* ---------- v2 Etapa 4: conteúdos (tipos, vídeo, anexos, blocos novos) ---------- */
/* Filtro por tipo: linha editorial de seções, sublinhado verde-água no atual */
.type-filter { display: flex; gap: 28px; margin: 0 0 32px; border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.type-filter::-webkit-scrollbar { display: none; }
.type-filter a { flex: none; display: inline-flex; align-items: baseline; gap: 6px; padding: 12px 0 11px; border-bottom: 3px solid transparent; margin-bottom: -1px; font-family: var(--font-brand); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; white-space: nowrap; transition: color .2s ease-out, border-color .2s ease-out; }
.type-filter a small { font-family: var(--font-body); font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.type-filter a:hover { color: var(--navy-900); border-bottom-color: var(--rule-soft); }
.type-filter a[aria-current="page"] { color: var(--navy-900); border-bottom-color: var(--accent); }
.content-index .empty-action .hq-link { white-space: nowrap; }

/* Destaque da lista: resumo e vídeo com play sobre a capa */
.main .article-card.is-lead .card-summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 17px; line-height: 1.5; color: var(--ink-soft); }
.article-card .cover { position: relative; }
.cover-play { position: absolute; left: 0; bottom: 0; z-index: 2; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 16px; background: var(--accent); color: var(--navy-900); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cover-play svg { width: 20px; height: 20px; fill: currentColor; }
.article-card.is-video:hover .cover-play { background: var(--accent-hover, var(--accent-hover)); }

/* Linha de conteúdo: miniatura, título e metadados, tipo à direita */
.content-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.content-row.has-thumb { grid-template-columns: 76px minmax(0, 1fr) auto; }
.content-row .hq-thumb { position: relative; }
.content-play { position: absolute; left: 0; bottom: 0; width: 22px; height: 22px; padding: 5px; background: var(--accent); fill: var(--navy-900); }
@media (max-width: 680px) {
  .content-row, .content-row.has-thumb { grid-template-columns: minmax(0, 1fr); }
  .content-row.has-thumb { grid-template-columns: 76px minmax(0, 1fr); gap: 4px 14px; }
  .content-row.has-thumb .hq-thumb { grid-row: span 2; }
  .content-row .hq-tag { grid-column: -2; }
  .type-filter { gap: 22px; margin-bottom: 24px; }
}

/* Página do conteúdo: player 16:9 em fachada (capa do site; player só no clique) */
.a-video { min-width: 0; }
.a-video-facade, .a-video-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--navy-900); overflow: hidden; }
.a-video-frame { border: 0; }
.a-video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s ease-out; }
.a-video-facade:hover .a-video-poster { transform: scale(1.015); opacity: .92; }
.a-video-play { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 12px; height: 64px; padding: 0 24px 0 20px; background: var(--accent); color: var(--navy-900); font-family: var(--font-brand); font-size: 14px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; transition: background-color .2s ease-out; }
.a-video-play svg { width: 24px; height: 24px; fill: currentColor; }
.a-video-time { margin-left: 6px; padding-left: 12px; border-left: 1px solid rgba(1, 13, 41, .35); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.a-video-facade:hover .a-video-play, .a-video-facade:focus-visible .a-video-play { background: var(--accent-hover, var(--accent-hover)); }
.a-video-note { margin: 10px 0 0; font-size: 13px; color: var(--ink-mute); }
.a-video-block .a-video-note { display: none; }
@media (prefers-reduced-motion: reduce) { .a-video-poster { transition: none; } .a-video-facade:hover .a-video-poster { transform: none; } }

/* Autor exibido: foto, nome e rótulo do papel */
.a-byline { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); }
.a-byline b { display: block; font-size: 16px; font-weight: 600; color: var(--navy-900); }
.a-byline span span { display: block; font-size: 14px; color: var(--ink-mute); }

/* Relatório: arquivo completo em destaque (folha branca, filete de 4px) */
.a-download { display: grid; gap: 20px; padding: 26px 28px; background: var(--white); border-top: 4px solid var(--accent); }
.a-download h2 { margin: 0; font-family: var(--font-brand); font-size: 22px; font-weight: 600; line-height: 1.15; letter-spacing: -.015em; text-transform: uppercase; color: var(--navy-900); text-wrap: balance; }
.a-download p { margin: 6px 0 0; font-size: 15px; color: var(--ink-mute); }
.a-download-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.a-download-meta { font-family: var(--font-body); font-weight: 600; letter-spacing: 0; text-transform: none; }
@media (max-width: 680px) {
  .a-download { padding: 22px 18px; }
  .a-download .btn { display: block; width: 100%; height: auto; padding: 13px 16px; line-height: 1.35; text-align: center; white-space: normal; }
}

/* Anexos: linha com extensão, nome, tamanho e ações */
.a-file { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule-soft); }
.a-file-ext { display: flex; align-items: flex-end; width: 48px; height: 58px; padding: 6px; border: 1px solid var(--navy-900); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--navy-900); background: linear-gradient(225deg, var(--navy-900) 0 8.5px, transparent 8.5px); }
.a-file-main b { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--navy-900); overflow-wrap: anywhere; }
.a-file-main > span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.a-file-actions { display: flex; gap: 18px; }
.a-file-get, .a-file-open { font-size: 14px; font-weight: 600; color: var(--teal); text-decoration: none; text-underline-offset: 4px; }
.a-file-get:hover, .a-file-open:hover { color: var(--teal-dark); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.a-file-get::before { content: ""; display: inline-block; width: 10px; height: 11px; margin-right: 7px; background: currentColor; clip-path: polygon(35% 0, 65% 0, 65% 45%, 90% 45%, 50% 85%, 10% 45%, 35% 45%); vertical-align: -1px; }
@media (max-width: 680px) {
  .a-file { grid-template-columns: 48px minmax(0, 1fr); }
  .a-file-actions { grid-column: 2; }
}

/* Link externo: domínio, título e descrição; abre em nova aba */
.a-link { position: relative; display: block; padding: 18px 52px 18px 20px; background: var(--white); border: 1px solid var(--rule-soft); color: var(--navy-900); text-decoration: none; transition: background-color .2s ease-out, border-color .2s ease-out; }
.a-link:hover { background: var(--hover); border-color: var(--line-strong); color: var(--navy-900); }
.a-link-host { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.a-link b { display: block; font-size: 17px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.a-link-desc { display: block; margin-top: 4px; font-size: 15px; color: var(--ink-soft); }
.a-link-arrow { position: absolute; top: 20px; right: 18px; width: 18px; height: 18px; fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease-out; }
.a-link:hover .a-link-arrow { transform: translate(2px, -2px); }

/* Divisor: régua com o filete da marca */
.a-divider { height: 0; margin: 12px 0; border: 0; border-top: 1px solid var(--rule-soft); position: relative; overflow: visible; }
.a-divider::before { content: ""; position: absolute; left: 0; top: -2px; width: 48px; height: 4px; background: var(--accent); }

/* Painel: editor de conteúdos (tipos e anexos) */
.article-editor [hidden] { display: none !important; }
.type-options { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.attachment-list { list-style: none; margin: 0 0 12px; padding: 0; }
.attachment-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 170px auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule-soft); }
.attachment-row.is-new { padding: 12px; margin-bottom: 10px; background: var(--paper); border: 1px dashed var(--line-strong); }
.attachment-row.is-removing .attachment-file strong { text-decoration: line-through; color: var(--ink-mute); }
.attachment-file { min-width: 0; }
.attachment-file strong { display: block; overflow-wrap: anywhere; }
.attachment-file .small { display: block; }
.attachment-tools { display: flex; align-items: center; gap: 4px; }
.attachment-remove { margin-left: 8px; }
.import-box { margin-bottom: 1.5rem; }
@media (max-width: 860px) {
  .attachment-row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- v2 Etapa 5A: Início personalizado, diretório, perfil público, Meu perfil, logo oficial ---------- */
/* Logo oficial (imagem) nas barras: centrado na barra do topo e no rodapé */
.topbar .logo-mark, .footer .logo-mark { align-self: center; }
.sidebar .logo-mark { margin: 2px 12px 0; }
.logo-mark:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Barra inferior do celular: 5 itens (Início, Eventos, Conteúdos, Vagas, Membros) */
@media (max-width: 860px) {
  .nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .nav a { font-size: 10.5px; letter-spacing: 0; }
}
@media (min-width: 861px) and (max-width: 1180px) {
  .topbar-inner { gap: 32px; }
  .nav { gap: 22px; }
  .topbar-name { display: none; }
}

/* Medidor do perfil com qualquer número de itens */
.hq-meter { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }

/* Seções do Início: cada uma some quando vazia; o ritmo fica no espaço entre elas */
.hq-low.is-solo { grid-template-columns: minmax(0, 1fr); }
.hq-low.hq-pair { padding-top: 0; margin-top: var(--space-section); align-items: start; }
.hq-section { margin-top: var(--space-section); }

/* Próximos eventos: dia em Montserrat, mês em verde-água de texto */
.hq-ev { grid-template-columns: 52px minmax(0, 1fr); align-items: start; }
.hq-ev-date { display: flex; flex-direction: column; color: var(--navy-900); }
.hq-ev-date b { font-family: var(--font-brand); font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.hq-ev-date small { margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--teal); }

/* Suas comunidades: colunas réguadas (sem cartões) */
.hq-communities { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 var(--gutter); }
.hq-comm { display: flex; flex-direction: column; gap: 8px; padding: 18px 0 20px; border-bottom: 1px solid var(--rule-soft); min-width: 0; }
.hq-comm h3 { font-family: var(--font-brand); font-size: 18px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; text-transform: uppercase; color: var(--navy-900); }
.hq-comm p { margin: 0; font-size: var(--text-ui); line-height: 1.45; color: var(--ink-soft); }
.hq-comm-group { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: var(--text-small); font-weight: 600; color: var(--teal); text-decoration: none; }
.hq-comm-group:hover { color: var(--teal-dark); text-decoration: underline; }
.hq-comm-group:hover .hq-arrow { transform: translateX(3px); }
.hq-section .empty-state { border-top: 0; }

/* Conteúdos: destaque e, abaixo, uma coluna por formato */
.hq-feature { padding-top: 24px; }
.hq-feature .article-card.is-lead { margin-bottom: var(--space-block); }
.hq-formats { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0 var(--gutter); }
.hq-section > .section-head + .hq-formats { margin-top: 24px; }
.hq-sub-head { margin: 0; padding: 0 0 10px; border-bottom: 1px solid var(--rule); font-family: var(--font-brand); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-900); }
.hq-format .content-row.has-thumb { grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; }
.hq-format .content-row:not(.has-thumb) { grid-template-columns: minmax(0, 1fr) auto; }

/* Ficha de pessoa: prévia na Home (linha) e diretório (ficha) */
.person { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--rule-soft); color: var(--navy-900); text-decoration: none; transition: background-color .2s ease-out; }
a.person:hover, a.person:focus-visible { background: var(--hover); color: var(--navy-900); }
.person-avatar { border-radius: 50%; }
.person-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.person-name { font-size: var(--text-body); font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.person-self { margin-left: 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); }
.person-role { font-size: var(--text-small); color: var(--ink-soft); overflow-wrap: anywhere; }
.person-meta, .person-communities { font-size: var(--text-meta); color: var(--ink-mute); overflow-wrap: anywhere; }
.person-communities { color: var(--teal); font-weight: 600; }
.person-card { gap: 16px; align-items: start; padding: 20px 4px; }
.person-card .person-name { font-size: var(--text-row); }

/* Diretório */
.dir-filters { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1.4fr) auto; gap: 16px 20px; align-items: end; padding: 28px 0 var(--space-block); }
.dir-filters .field { margin: 0; min-width: 0; }
.dir-filters select { width: 100%; }
.dir-actions { display: flex; align-items: center; gap: 16px; }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 var(--gutter); }
.dir-note { margin: 24px 0 0; font-size: var(--text-small); color: var(--ink-mute); }
.dir-note a { color: var(--teal); font-weight: 600; }
.dir-results .pagination { margin-top: 24px; }

/* Perfil público */
.mp-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--gutter); align-items: start; max-width: 1040px; }
.mp-photo { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.mp-avatar { width: 168px; height: 168px; border-radius: 50%; font-family: var(--font-brand); font-size: 54px; font-weight: 600; }
.mp-main { display: flex; flex-direction: column; gap: var(--gutter); min-width: 0; }
.mp-main .ev-details { margin-top: 4px; }
.mp-self { margin: 0; font-size: var(--text-small); color: var(--ink-mute); }
.mp-self a { color: var(--teal); font-weight: 600; }

/* Etiquetas (interesses, comunidades) */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tag-list[hidden] { display: none; }
.tag { padding: 6px 11px; background: var(--white); border: 1px solid var(--rule-soft); border-radius: var(--radius-sm); font-size: var(--text-small); line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.tag.is-strong { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); font-weight: 600; }
.tag.is-over { border-color: var(--danger); color: var(--danger); }
.tag-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pick { position: relative; cursor: pointer; }
.tag-pick input { position: absolute; opacity: 0; pointer-events: none; }
.tag-pick span { display: inline-block; padding: 6px 11px; background: var(--white); border: 1px solid var(--input-border); border-radius: var(--radius-sm); font-size: var(--text-small); }
.tag-pick input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.tag-pick input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.pf-choices { margin: 0; padding: 0; border: 0; min-width: 0; }
.pf-choices legend { padding: 0; margin-bottom: 8px; }
.interests-count.is-over { color: var(--danger); font-weight: 600; }

/* Meu perfil: índice ao lado (computador) e seções no papel */
.pf-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--space-section); align-items: start; }
.pf-aside { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 24px; }
.pf-complete { padding-top: 14px; border-top: 4px solid var(--accent); }
.pf-complete-head { margin: 0 0 10px; font-family: var(--font-brand); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-900); }
.pf-complete-head b { font-weight: 700; }
.pf-missing { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: var(--text-small); }
.pf-missing a { color: var(--teal); font-weight: 600; }
.pf-index { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.pf-index a { padding: 8px 4px; border-bottom: 1px solid var(--rule-soft); font-size: var(--text-small); color: var(--ink-soft); text-decoration: none; }
.pf-index a:hover, .pf-index a:focus-visible { background: var(--hover); color: var(--navy-900); }
.pf-main { display: flex; flex-direction: column; gap: var(--gutter); max-width: 780px; min-width: 0; }
.pf-form { display: flex; flex-direction: column; gap: var(--gutter); }
.pf-main .pf-section + .pf-section { margin-top: 0; }
.pf-section { scroll-margin-top: 88px; }
.pf-lead { margin: 0; max-width: 70ch; }
.pf-pending { margin-left: 6px; padding: 1px 6px; border: 1px solid var(--rule-soft); border-radius: var(--radius-sm); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.pf-state { margin: 0; font-size: var(--text-small); font-weight: 600; color: var(--ink-soft); }
.pf-state.is-on { color: var(--navy-900); }
.pf-state.is-pending { padding: 10px 12px; background: var(--white); border: 1px solid var(--rule-soft); border-top: 4px solid var(--amber); font-weight: 400; color: var(--ink); }
.pf-preview { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; padding: 20px 22px; background: var(--white); border-top: 1px solid var(--rule); }
.pf-preview-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.pf-preview-head h3 { font-family: var(--font-brand); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-900); }
.pf-preview .person { padding: 8px 0; border-bottom: 0; }
.pf-preview .person.is-hidden { opacity: .62; }
label.btn.is-loading { cursor: progress; pointer-events: none; }

@media (max-width: 1024px) {
  .hq-formats { grid-template-columns: minmax(0, 1fr); gap: var(--space-block); }
  .dir-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dir-actions { grid-column: 1 / -1; }
  .pf-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-block); }
  .pf-aside { position: static; }
  .pf-index { flex-direction: row; overflow-x: auto; gap: 6px; border-top: 0; padding-bottom: 4px; scrollbar-width: thin; }
  .pf-index a { flex-shrink: 0; padding: 7px 10px; border: 1px solid var(--rule-soft); border-radius: var(--radius-sm); white-space: nowrap; background: var(--white); }
  .pf-section { scroll-margin-top: 72px; }
}
@media (max-width: 680px) {
  .hq-section, .hq-low.hq-pair { margin-top: 40px; }
  .hq-communities { grid-template-columns: minmax(0, 1fr); }
  .hq-ev { grid-template-columns: 44px minmax(0, 1fr); }
  .hq-format .content-row.has-thumb { grid-template-columns: 76px minmax(0, 1fr); }
  .dir-filters { grid-template-columns: minmax(0, 1fr); padding-top: 20px; }
  .dir-grid { grid-template-columns: minmax(0, 1fr); }
  .mp-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .mp-photo { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .mp-avatar { width: 112px; height: 112px; font-size: 36px; }
  .pf-preview { padding: 18px 16px; }
}
.mp-section .tag-list { margin-top: 14px; }

/* ---------- v2 Etapa 5B: central de avisos (sino), preferências, excluir conta, engajamento ---------- */
/* Sino: no topo marinho (membro) e ao lado do logo (painel). Contagem em verde vivo, como as do menu. */
.bell { position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; color: var(--on-navy-muted); border-radius: var(--radius); text-decoration: none; transition: background-color .15s var(--ease), color .15s var(--ease); }
.bell:hover, .bell[aria-current="page"] { color: var(--white); background: var(--navy-800); }
.bell:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.bell-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bell-count { position: absolute; top: 5px; left: 27px; font-size: 12px; font-weight: 700; line-height: 1; color: var(--signal); font-variant-numeric: tabular-nums; }
.sidebar-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-right: 2px; }
.sidebar-top .logo-mark { margin-right: 0; }
.sidebar .bell { width: 40px; height: 40px; }

/* Central de avisos: lista réguada */
.notice-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; padding: var(--space-row) 0; }
.notice-filter { display: flex; gap: 6px; }
.notice-filter a { padding: 7px 12px; border: 1px solid var(--rule-soft); border-radius: var(--radius-sm); background: var(--white); font-size: var(--text-small); font-weight: 600; color: var(--ink-soft); text-decoration: none; }
.notice-filter a:hover { background: var(--hover); color: var(--navy-900); }
.notice-filter a[aria-current="page"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.notice-filter-count { margin-left: 4px; font-weight: 400; font-variant-numeric: tabular-nums; }
.notice-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.notice { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: start; border-bottom: 1px solid var(--rule-soft); }
.notice:hover { background: var(--hover); }
.notice-main { display: flex; flex-direction: column; gap: 3px; padding: var(--space-row-lg) 4px; min-width: 0; color: inherit; text-decoration: none; }
.notice-main:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.notice-title { font-size: var(--text-row); font-weight: 400; line-height: 1.3; color: var(--ink-soft); overflow-wrap: anywhere; }
.notice.is-unread .notice-title { font-weight: 600; color: var(--navy-900); }
.notice-main:hover .notice-title { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.notice-body { font-size: var(--text-small); color: var(--ink-mute); max-width: 70ch; overflow-wrap: anywhere; }
.notice-time { font-size: var(--text-meta); color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.notice-new { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; padding: 3px 8px; background: var(--navy-900); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--white); }
.notice-new::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.notice-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; padding: var(--space-row-lg) 4px; }
.notice-read { font-size: var(--text-meta); white-space: nowrap; }
.notice-read:disabled { opacity: .6; cursor: progress; }
.notice-page .pagination { margin-top: var(--space-block); }
.notice-page--admin { max-width: 860px; }

/* Meu perfil > Avisos: grade tipo x canal */
.notice-prefs { width: 100%; border-collapse: collapse; border-top: 1px solid var(--rule); }
.notice-prefs th, .notice-prefs td { padding: 12px 4px; border-bottom: 1px solid var(--rule-soft); text-align: left; vertical-align: middle; }
.notice-prefs thead th { font-family: var(--font-brand); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-900); }
.notice-prefs thead th:not(:first-child), .notice-prefs td { width: 96px; text-align: center; }
.notice-prefs tbody th { font-family: var(--font-body); font-size: var(--text-ui); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); background: transparent; }
.notice-prefs td { background: transparent; }
.notice-pref { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; cursor: pointer; }
.notice-pref input { width: 20px; height: 20px; margin: 0; accent-color: var(--teal); cursor: pointer; }
.notice-pref-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.notice-pref-na { color: var(--ink-mute); }

/* Botão destrutivo (pedir exclusão da conta): contorno no vermelho do sistema */
.btn-danger { background: transparent; border: 1px solid var(--danger); color: var(--danger); }
.btn-danger:hover, .btn-danger:focus-visible { background: var(--danger); border-color: var(--danger); color: var(--white); }

/* Ficha do membro (painel): bloco Engajamento */
.eng-cells { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--rule); }
.eng-cells > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 12px 14px 14px 0; border-bottom: 1px solid var(--rule-soft); }
.eng-cells dt { font-size: var(--text-meta); color: var(--ink-mute); }
.eng-cells dd { margin: 0; font-family: var(--font-brand); font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.eng-cells dd small { display: block; margin-top: 4px; font-family: var(--font-body); font-size: var(--text-meta); font-weight: 400; letter-spacing: 0; color: var(--ink-mute); }
.eng-recent summary { cursor: pointer; font-weight: 600; color: var(--teal); }
.eng-recent ul { list-style: none; margin: 8px 0 0; padding: 0; }
.eng-recent li { padding: 6px 0; border-bottom: 1px solid var(--rule-soft); font-size: var(--text-small); }

/* Página Engajamento */
.eng-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 20px; padding: 16px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule-soft); }
.eng-filter .field { margin: 0; min-width: 200px; }
.eng-filter-actions { display: flex; align-items: center; gap: 14px; padding-bottom: 4px; }
.eng-table .num { text-align: right; white-space: nowrap; }
.eng-table td.is-zero { color: var(--ink-mute); }
.eng-sort { display: inline-flex; align-items: center; gap: 4px; color: inherit; text-decoration: none; white-space: nowrap; }
.eng-sort:hover { color: var(--teal); }
.eng-sort-icon { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.eng-table th[aria-sort] { color: var(--navy-900); }
.eng-communities { color: var(--teal); font-weight: 600; }
.stats--compact { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

@media (max-width: 860px) {
  /* Topo do celular: logo, sino e avatar (sem 6o item na barra inferior) */
  .topbar-right { gap: 4px; }
  .sidebar-top { padding-right: 0; }
}
@media (max-width: 680px) {
  .notice { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .notice-side { flex-direction: row; justify-content: space-between; align-items: center; padding: 0 4px var(--space-row); }
  .notice-main { padding-bottom: 8px; }
  .notice-prefs thead th:not(:first-child), .notice-prefs td { width: 72px; }
  .eng-table .num { text-align: left; }
}

/* ======================================================================
 * v2 Etapa 6 (QA): agenda sem blocos encostados ou sobrepostos
 * ====================================================================== */
/* Cada bloco cabe na sua faixa: título até 4 linhas e local até 2; nada passa para a faixa de baixo */
.agenda-ev a { max-height: calc(var(--lane-h) - 26px); overflow: hidden; }
.agenda-ev b { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; row-gap: 2px; }
.agenda-ev b .agenda-ok { margin-left: 0; }
.agenda-ev-meta { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.agenda-ev-title { overflow-wrap: anywhere; }
/* Muitos eventos em poucos dias: a agenda vira a lista vertical (a mesma do celular) */
.agenda-track.is-stacked { min-width: 0; height: auto; }
.agenda-track.is-stacked .agenda-axis { position: static; height: auto; margin: 10px 0 0; background: none; animation: none; }
.agenda-track.is-stacked .agenda-week, .agenda-track.is-stacked .agenda-month, .agenda-track.is-stacked .agenda-now { display: none; }
.agenda-track.is-stacked .agenda-today { position: static; display: inline-block; height: auto; padding: 2px 0 2px 8px; }
.agenda-track.is-stacked .agenda-events { position: static; margin: 0; padding: 4px 0 6px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: 24px; }
.agenda-track.is-stacked .agenda-ev, .agenda-track.is-stacked .agenda-ev.is-flip { position: relative; left: auto; right: auto; top: auto; width: auto; margin-top: 10px; }
.agenda-track.is-stacked .agenda-ev::before { display: none; }
.agenda-track.is-stacked .agenda-ev.is-flip a { border-left: 3px solid var(--navy-900); border-right: 0; text-align: left; }
.agenda-track.is-stacked .agenda-ev a { max-height: none; }
.agenda-track.is-stacked .agenda-ev-title { -webkit-line-clamp: 2; }
@media (max-width: 680px) {
  .agenda-track.is-stacked .agenda-events { display: block; margin-left: 4px; padding: 4px 0 6px 18px; border-left: 1px solid var(--rule); }
  .agenda-track.is-stacked .agenda-ev { margin-top: max(10px, calc(var(--gap) * 2.4px)); }
  .agenda-track.is-stacked .agenda-ev::before { display: block; left: -18px; right: auto; top: 22px; bottom: auto; width: 14px; height: 1px; }
  .agenda-ev a { max-height: none; }
}

/* Login: foto de reunião no painel da esquerda, com véu marinho para manter o texto legível */
/* Camada marinho (#010D29) mais forte sobre a foto, para o texto e o logo se destacarem (pedido do usuário em 09/11/2026) */
.split-brand.split-brand--photo {
  background:
    linear-gradient(180deg, rgba(1, 13, 41, .78) 0%, rgba(1, 13, 41, .62) 40%, rgba(1, 13, 41, .94) 100%),
    url('../img/login-reuniao.jpg') 58% center / cover no-repeat,
    var(--navy-900);
}
.split-brand--photo .split-facets { display: none; }
.split-brand--photo .split-copy h2, .split-brand--photo .split-copy p { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
@media (max-width: 860px) {
  .split-brand.split-brand--photo {
    background:
      linear-gradient(180deg, rgba(1, 13, 41, .78) 0%, rgba(1, 13, 41, .94) 100%),
      url('../img/login-reuniao-900.jpg') 58% 30% / cover no-repeat,
      var(--navy-900);
  }
}
