/* Corporate em Movimento — folha das telas estreitas (< 760px).
 *
 * Carregada com media="(max-width:759.98px)"; a live.css leva o recorte
 * complementar. As duas nunca valem ao mesmo tempo, entao cada largura le uma
 * folha so e nao existe cascata de uma sobre a outra.
 *
 * Calibrada para ~390px (celular). Paleta e motivos identicos aos das telas
 * largas, so a escala e o empilhamento mudam. */

:root {
  --plum: #312b37;
  --ink:  #29242b;
  --teal: #1eb1dc;
  --grey: #e7e8ea;
  --mast: #f8f9fb;

  --body: 15px;
  --body-lh: 22px;
  --h1: 21px;
  --h1-lh: 27px;

  /* navbar: tokens de cor da navegacao no recorte <=560px */
  --navy: #0a1f44;
  --accent: #e7642b;
  --nav-h: 44px;
  --nav-top: 12px;
  --nav-inset: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--plum);
  color: var(--ink);
  font-family: "Open Sans", -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 480px;
  margin: 0 auto;
  background: var(--plum);
}

img { max-width: 100%; }

/* O <cem-header> nao gera caixa propria: senao ele seria o bloco-container do
   sticky da navbar e ela pararia de grudar assim que o cabecalho saisse de cena.
   Com display:contents o container passa a ser .wrap, que cobre a pagina toda. */
cem-header { display: contents; }
cem-footer { display: block; }

/* masthead + barra de data ------------------------------------------- */
.mast {
  display: flex;
  align-items: center;
  justify-content: center;                   /* logo + wordmark centralizados juntos */
  gap: 12px;
  background: var(--mast);
  padding: 13px 18px;
  font-size: 12px;
  letter-spacing: .13em;
  font-weight: 700;
  color: var(--ink);
}
.mast .mlogo { display: block; line-height: 0; }
.mast .mlogo img { height: 16px; width: auto; display: block; }
.mast .em { color: var(--teal); }

.datebar {
  background: var(--plum);
  color: #fff;
  text-align: center;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
}

/* navbar + menu + busca ------------------------------------------------
   Pilula navy, botoes com hover laranja, menu de temas e painel de busca
   alinhados a navbar; os destinos apontam para as paginas desta edicao.
   Calibragem para a largura de celular: navbar 44px, botoes so com icone.

   O masthead e HTML e vive no fluxo, entao uma navbar fixed cobriria ele.
   O wrapper e `sticky`: a navbar nasce logo abaixo do masthead e gruda no
   topo ao rolar, sem tapar o cabecalho. */
.navwrap {
  position: sticky;
  top: 0;                                    /* o respiro vem do padding, para a
                                                navbar grudar a --nav-top do topo */
  z-index: 60;
  padding: var(--nav-top) var(--nav-inset) 0;
  margin-bottom: -4px;
}
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 14px;
  background: rgba(10, 31, 68, .62);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(6, 15, 38, .34);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  transition: transform .34s ease, opacity .34s ease;
}
.nav.hidden { transform: translateY(calc(-100% - var(--nav-top) - 10px)); opacity: 0; }

.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; min-width: 0; margin-right: auto; }
.logo { height: 16px; width: auto; display: block; filter: brightness(0) invert(1); }

.back, .sbtn, .mbtn {
  display: flex; align-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  padding: 8px 10px; border-radius: 999px; color: #fff;
  font: 600 13px "Open Sans", sans-serif; letter-spacing: .02em;
}
.back:hover, .sbtn:hover, .mbtn:hover { border-color: var(--accent); background: var(--accent); color: #fff; }
.back { gap: 7px; margin-right: 9px; }
.back svg { width: 15px; height: 15px; display: block; }
.back .blbl { display: none; }
.sbtn { gap: 0; margin-right: 8px; }
.sbtn .sic { display: flex; }
.sbtn svg { width: 16px; height: 16px; display: block; }
.sbtn .slbl { display: none; }
.mbtn { gap: 0; }
.mbtn .lbl { display: none; }

.bars { position: relative; width: 16px; height: 10px; display: block; }
.bars::before, .bars::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 2px;
  background: currentColor; transition: transform .25s, top .25s;
}
.bars::before { top: 0; }
.bars::after { top: 8px; }
.mbtn[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.mbtn[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }

/* painel do menu e painel da busca: mesma caixa, alinhada a navbar */
.menu, .search {
  position: absolute;
  top: calc(100% + 9px);
  left: var(--nav-inset); right: var(--nav-inset);
  max-height: 0; overflow: hidden; opacity: 0;
  background: #fff; border-radius: 16px;
  box-shadow: 0 26px 52px rgba(6, 15, 38, .28);
}
.menu { z-index: 55; transition: max-height .34s ease, opacity .28s ease, transform .34s ease; }
.search { z-index: 56; transition: max-height .3s ease, opacity .26s ease; }
.nav.hidden ~ .menu { transform: translateY(calc(-100% - var(--nav-top))); opacity: 0; pointer-events: none; }
.menu.open { max-height: min(74vh, 640px); overflow-y: auto; opacity: 1; }
.search.open { max-height: min(84vh, 640px); opacity: 1; }

.menu-in { padding: 14px 16px 22px; }
.mg { margin: 16px 4px 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em;
      text-transform: uppercase; color: #94a3b8; }
.menu ul { list-style: none; margin: 0 0 4px; padding: 0; display: grid; grid-template-columns: 1fr; gap: 2px; }
.menu a {
  display: flex; align-items: baseline; gap: 12px; text-decoration: none;
  padding: 11px 12px; border-radius: 9px; color: var(--navy); transition: background .15s;
}
.menu a:hover { background: #f1f5fb; }
.menu a.on { background: var(--navy); color: #fff; }
.mi-n { font-weight: 800; font-size: 12px; color: var(--accent); min-width: 22px; }
.menu a.on .mi-n { color: #fff; }
.mi-t { font-size: 14.5px; font-weight: 600; line-height: 1.3; }

.search-in { padding: 14px 14px 16px; }
.search-bar {
  display: flex; align-items: center; gap: 11px;
  border: 1.5px solid rgba(10, 31, 68, .10); border-radius: 12px;
  padding: 0 10px 0 14px; height: 52px; background: #f7f9fc;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.search-bar:focus-within { border-color: #2ea8d6; background: #fff; box-shadow: 0 0 0 3px rgba(46, 168, 214, .16); }
.search-ic { display: flex; flex: none; color: var(--navy); opacity: .5; }
.search-ic svg { width: 20px; height: 20px; display: block; }
#sInput {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 16px;            /* 16px evita o zoom automatico do iOS */
  color: var(--navy); padding: 0;
  -webkit-appearance: none; appearance: none;
}
#sInput::placeholder { color: #94a3b8; }
#sInput::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-x {
  flex: none; border: 0; background: transparent; cursor: pointer;
  font-size: 24px; line-height: 1; color: #94a3b8; padding: 2px 6px; border-radius: 8px;
}
.search-x:hover { color: var(--navy); background: #eef2f8; }
.search-res {
  list-style: none; margin: 10px 0 0; padding: 0;
  max-height: 64vh; overflow-y: auto;
  -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}
.sr-a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  text-decoration: none; color: var(--navy); padding: 11px 12px; border-radius: 9px;
}
.sr-a:hover, .sr-a.sel { background: #f1f5fb; }
.sr-t { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.sr-go { flex: none; color: var(--accent); font-weight: 800; font-size: 17px; opacity: .7; }
.search-msg { margin: 10px 6px 4px; padding: 8px 6px; font-size: 13.5px; color: #94a3b8; }
.search-msg[hidden] { display: none; }

.scrim {
  position: fixed; inset: 0;
  background: rgba(6, 15, 38, .52);
  opacity: 0; visibility: hidden;
  transition: opacity .3s;
  z-index: 50;
}
.scrim.show { opacity: 1; visibility: visible; }

/* hero + painel ------------------------------------------------------- */
.hero { margin: 0; background: var(--plum); }
.hero img { width: 100%; display: block; }

.panel {
  position: relative;
  margin-top: -26px;
  background: #fff;
  border-radius: 26px 26px 0 0;
  padding: 34px 22px 40px;
}

/* tipografia do corpo ------------------------------------------------- */
/* No celular o .dbr fica escondido (linha 666), entao o titulo quebra sozinho e
   as quebras da arte nao valem aqui. Sem equilibrio de linha, varios titulos
   terminavam com uma palavra sozinha (p05, p09, p10, p12, p13, p14, p15, p19).
   O balance distribui as linhas e resolve a viuva sem tocar no texto nem na
   estrutura de <br> que a tela larga usa para acompanhar a arte. */
.panel h1 {
  margin: 0 0 22px;
  font-size: var(--h1);
  line-height: var(--h1-lh);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: .005em;
  text-wrap: balance;
}
.panel h1 b { font-weight: 800; }

.panel h2 {
  margin: 30px 0 12px;
  font-size: 16px;
  line-height: 21px;
  font-weight: 700;
  color: var(--teal);
}

.panel p {
  margin: 0 0 15px;
  font-size: var(--body);
  line-height: var(--body-lh);
  color: #33303a;
}
.panel p b { font-weight: 700; color: var(--ink); }
.panel a { color: var(--teal); font-weight: 700; text-decoration: none; }

.panel ul { margin: 0 0 15px; padding-left: 20px; }
.panel li {
  margin: 0 0 8px;
  font-size: var(--body);
  line-height: var(--body-lh);
  color: #33303a;
}
.panel li::marker { color: var(--teal); }

/* Tabela da materia no celular: rola no eixo x dentro do proprio wrap, com um
   minimo de largura para as tres colunas nao se espremerem em cima do texto. */
.panel .tbl-wrap { margin: 16px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.panel table.tbl { border-collapse: collapse; min-width: 460px; width: 100%; }
.panel table.tbl th,
.panel table.tbl td {
  text-align: left;
  padding: 11px 13px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.4;
}
.panel table.tbl thead th { font-weight: 700; color: #fff; background: var(--navy); border-bottom: none; }
.panel table.tbl tbody tr:last-child td { border-bottom: none; }
.panel table.tbl tbody td:nth-child(2) { font-weight: 700; color: var(--navy); }

.panel .fonte,
.panel .deck { font-size: 13px; line-height: 19px; color: #61646b; }

/* pilula "Voltar ao topo" ------------------------------------------- */
.backtop {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 30px auto 4px;
  padding: 12px 24px;
  border: 1.5px solid var(--teal);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  width: fit-content;
}
.backtop span { color: var(--teal); font-size: 18px; line-height: 1; }
.panel { text-align: left; }
.panel > .backtop { display: flex; }

/* materias recomendadas (pe da materia) — cards horizontais, foto a esquerda.
   Uma coluna: no celular o card foto-em-cima em 3 colunas nao cabe. */
cem-recomendadas { display: block; }
.recs { margin-top: 34px; }
.recs-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}
.recs-title::after { content: ""; flex: 1 1 auto; height: 2px; background: var(--teal); }
.recs-grid { display: flex; flex-direction: column; gap: 12px; }
.rec {
  display: flex;
  gap: 12px;
  align-items: stretch;
  border: 1.5px solid var(--teal);
  border-radius: 14px;
  padding: 10px;
  background: #fff;
  text-decoration: none;
}
.rec-foto {
  flex: none;
  width: 104px;
  align-self: stretch;
  border-radius: 10px;
  overflow: hidden;
  min-height: 92px;
}
.rec-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rec-body { display: flex; flex-direction: column; min-width: 0; }
.rec-title {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--navy);
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-txt {
  margin: 0;
  font-size: 13px;
  line-height: 17px;
  color: #55515c;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rec-more { margin-top: auto; padding-top: 6px; font-size: 12px; font-weight: 800; color: var(--teal); white-space: nowrap; }

/* newsletter --------------------------------------------------------- */
.nl {
  background: var(--mast);
  padding: 40px 22px 44px;
}
.nl h2 {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 27px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--teal);
}
.nl .lede { margin: 0; font-size: 15px; line-height: 21px; color: var(--ink); }
.nl .lede b { color: var(--teal); font-weight: 700; }
.nl .fine {
  margin: 6px 0 24px;
  font-size: 13px;
  line-height: 18px;
  color: #6b6770;
}
.nl form { display: block; }
.nl input {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 15px 22px;
  border: 1px solid #d9d7dd;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.nl input::placeholder { color: #8a868f; }
.nl input.bad { border-color: #e0526b; }
.nl button {
  margin: 6px 0 0;
  padding: 13px 30px;
  border: 1.5px solid var(--teal);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.nl .ok {
  display: none;
  margin: 16px 0 0;
  color: var(--teal);
  font-weight: 700;
}

/* rodape plum -------------------------------------------------------- */
.plum {
  background: var(--plum);
  color: #cfccd4;
  padding: 40px 22px 44px;
}
.plum .mark {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .18em;
  color: #fff;
  line-height: 1.2;
}
.plum .mark span {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--teal);
}
.plum .fdate {
  margin: 16px 0 0;
  font-size: 13px;
  letter-spacing: .04em;
  color: #cfccd4;
}
/* 4 temas nesta largura ocupam mais de uma linha. Cada .t carrega o proprio
   bullet e nao quebra no meio, entao a virada de linha cai entre temas e nunca
   deixa "ESTRATÉGICAS" sozinha embaixo. */
.plum .themes {
  display: flex;
  flex-wrap: wrap;
  row-gap: 6px;
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid #4a444f;
  font-size: 10px;
  letter-spacing: .14em;
  color: #9a95a1;
}
.plum .themes .t { white-space: nowrap; }
.plum .themes .t:not(:last-child)::after {
  content: '•';
  margin: 0 7px;
  color: var(--teal);
}

/* 5 redes desde 31/07/2026: em uma fila so elas estouravam 52px nesta largura.
   Grade de 3 colunas resolve em 3 + 2, com a segunda fila alinhada a primeira. */
.plum .social {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 10px;
  margin: 24px 0 0;
}
.plum .social a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #cfccd4;
  min-width: 0;
}
.plum .social .ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #423c48;
  color: #fff;
}
.plum .social .ic svg { width: 22px; height: 22px; }
.plum .social small { font-size: 10px; letter-spacing: .02em; text-align: center; white-space: nowrap; }

/* Hubs de tema (p02/p03/p04) ------------------------------------------
   Empilhados em uma coluna nesta largura; o conteúdo é texto HTML, para
   as chamadas ficarem legíveis a 390px. */
.hub-intro {
  position: relative; margin-top: -26px;
  background: var(--grey); border-radius: 26px 26px 0 0;
  padding: 30px 22px 34px;
}
.hub-lede { margin: 0 0 12px; font-size: var(--body); line-height: var(--body-lh); color: var(--ink); }
.hub-lede:last-child { margin-bottom: 0; }
.hub-lede b { font-weight: 700; }

.hub-panel { display: block; background: #fff; padding: 26px 18px 34px; }
/* p24: a coluna do Eugenio e o 1o filho do painel (so nesta pagina no mobile
   tambem). Some com a faixa BRANCA entre o hero e a coluna: zera o padding-top do
   painel e faz a coluna encostar edge-to-edge (cancela o recuo de 18px e o raio),
   fluindo direto do hero como no desktop, em vez de flutuar como card recuado. */
.hub-panel:has(> .coluna:first-child) { padding-top: 0; }
/* margin bottom 34px: dá respiro entre a coluna e "Indicações do colunista"
   logo abaixo (antes ficavam coladas). */
.hub-panel > .coluna:first-child { margin: 0 -18px 34px; border-radius: 0; }
/* foto do Eugênio um pouco menor no mobile (300 -> 260), só no p24. */
body:has(.hub-panel > .coluna:first-child) .col-foto { height: 260px; }
/* A "barra branca" residual entre o hero e a coluna nao e do painel: o proprio
   JPG p24-hero.jpg traz uma faixa clara de ~4,5% colada na base (rows 1284-1343
   de 1344). No desktop a coluna sobrepoe o hero em -34px e esconde a faixa; no
   mobile empilham rente, entao a faixa aparece. Recorta a base do hero, so no
   p24 mobile (aspect-ratio 2000x1284 = imagem menos a faixa; cover ancorado no
   topo joga o corte pra baixo). Escopo :has = so esta pagina. */
body:has(.hub-panel > .coluna:first-child) .hero { aspect-ratio: 2000 / 1284; overflow: hidden; }
body:has(.hub-panel > .coluna:first-child) .hero img { height: 100%; object-fit: cover; object-position: 50% 0; }
.hub-card h4, .hub-feat h3 { text-wrap: balance; }
.hub-card p, .hub-feat p, .hub-lede { text-wrap: pretty; }

/* text-decoration:none e color:inherit sao obrigatorios aqui: no mobile o card
   destaque virou <a> COM TEXTO dentro, entao herdava o sublinhado azul de link
   padrao por cima do titulo branco. No desktop ele so envolve a <img>. */
.hub-lead {
  display: block; border-radius: 14px; overflow: hidden; margin-bottom: 26px;
  text-decoration: none; color: inherit;
}
/* Recorte em banner 16/9 com cover: sem aspect-ratio a foto entrava na altura
   natural (algumas quase quadradas) e sobrava cena — teto, chao, espaco morto.
   object-position 50% 40% mantem rostos/assunto no enquadramento. */
.hub-lead img {
  width: 100%; aspect-ratio: 16 / 9; height: auto;
  object-fit: cover; object-position: 50% 40%; display: block;
}

.hub-grid { display: grid; gap: 26px; }

.hub-feat {
  border: 1.5px solid var(--teal); border-radius: 14px; overflow: hidden;
  background: #fff; text-decoration: none; display: block;
}
/* Mesmo banner 16/9 do hub-lead: as fotos de destaque (grupo, retrato) vinham
   na altura cheia e mostravam recorte a mais; cover as normaliza. */
.hub-feat > img {
  width: 100%; aspect-ratio: 16 / 9; height: auto;
  object-fit: cover; object-position: 50% 40%; display: block;
}
.hub-feat-body { padding: 16px 18px 20px; }
.hub-feat h3 {
  margin: 0 0 8px; font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--teal); line-height: 17px;
}
.hub-feat-lead { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: var(--ink); }
.hub-feat p { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink); }

.hub-list { display: grid; gap: 14px; }
.hub-head {
  display: flex; align-items: center; gap: 14px; margin: 0 0 2px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal); white-space: nowrap;
}
.hub-head::after { content: ""; flex: 1 1 auto; height: 2px; background: var(--teal); }

.hub-card {
  display: flex; gap: 14px; align-items: center;
  border: 1.5px solid var(--teal); border-radius: 12px; padding: 12px 14px;
  background: #fff; text-decoration: none;
}
.hub-card img { width: 66px; height: 66px; object-fit: cover; border-radius: 8px; flex: none; }
.hub-card h4 {
  margin: 0 0 5px; font-size: 13px; line-height: 17px;
  font-weight: 700; text-transform: uppercase; color: var(--ink);
}
.hub-card p { margin: 0; font-size: 13px; line-height: 18px; color: var(--ink); }
.hub-panel .more { font-weight: 700; white-space: nowrap; }

/* Coluna do Eugenio no p24 mobile: mesmo desenho da capa mobile. A 390px a
   figura vira banner no topo (recorte cobrindo, ancorado no rosto) e o texto
   desce inteiro embaixo, dentro do box escuro que assina a coluna. Sem estas
   regras a figura de 879px estouraria a largura da tela. */
.coluna {
  background: #14111a; color: #e9e7ec; border-radius: 18px;
  margin: 26px 0 0; overflow: hidden;
}
.col-foto { display: block; width: 100%; height: 300px; background: #0f0d14; }
.col-figura { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.col-corpo { padding: 26px 22px 28px; }
.col-kicker {
  margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal);
}
.col-nome { margin: 0; font-size: 19px; line-height: 24px; font-weight: 700; color: #fff; }
.col-bio { margin: 12px 0 0; font-size: 15px; line-height: 22px; color: #c9c5d0; }
.col-materia {
  display: block; margin: 22px 0 0; padding: 20px 0 0;
  border-top: 2px solid var(--teal); text-decoration: none;
}
.col-selo { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.col-tit { display: block; margin: 10px 0 0; font-size: 20px; line-height: 25px; font-weight: 700; color: #fff; }
.col-deck { display: block; margin: 10px 0 0; font-size: 15px; line-height: 22px; color: #c9c5d0; }
.col-cta { display: block; margin: 16px 0 0; font-size: 15px; font-weight: 800; color: var(--teal); }
.col-cta::after { content: " \2192"; }

/* Proximos eventos por vertical no mobile (p02, p04, p24). Mesma escala da
   agenda p23 mobile: nome 20px teal, data 19px, desc 15px. */
.hub-events { background: #fff; padding: 0 18px 30px; }
.hub-events-in { border-top: 3px solid var(--teal); padding-top: 24px; }
.hub-events .hub-head { margin: 0 0 18px; white-space: normal; } /* titulos por vertical sao longos: deixa quebrar */
/* 2o bloco: "Confira nossas proximas presencas" (demais eventos, lista aberta) */
.hub-events .hub-head-2 { margin-top: 30px; }
.hub-ev-list { margin: 0; padding: 0; list-style: none; }
.hub-ev-list li { padding: 0 0 20px; }
.hub-ev-list li + li { border-top: 2px solid var(--teal); padding-top: 20px; }
.hub-ev-list li:last-child { padding-bottom: 0; }
.hub-ev-nome { margin: 0; font-size: 20px; line-height: 25px; font-weight: 700; color: var(--teal); }
.hub-ev-data { margin: 2px 0 0; font-size: 17px; line-height: 22px; font-weight: 700; color: #2f394d; }
.hub-ev-desc { margin: 6px 0 0; font-size: 14px; line-height: 20px; font-weight: 400; color: #61646b; text-wrap: pretty; }

.hub-events.selo-only { display: flex; justify-content: center; }
.hub-events.selo-only .hub-events-in { border-top: 0; padding-top: 4px; }
.hub-events.selo-only a { display: inline-flex; text-decoration: none; }
.hub-events.selo-only img { width: min(280px, 78vw); height: auto; display: block; }

/* Proximos encontros na capa: no celular o selo fica em cima, centralizado,
   e os eventos passam embaixo, sobre um fio teal horizontal. */
.proximos { padding: 26px 0 2px; }
.prx-selo { display: flex; justify-content: center; text-decoration: none; margin: 0 0 18px; }
.prx-selo img { width: min(320px, 88vw); height: auto; display: block; }
.prx-rot { border-top: 1.5px solid var(--teal); padding-top: 16px; text-align: center; }
.prx-stage { position: relative; }
.prx-item {
  position: absolute; top: 0; left: 0; right: 0;
  display: block; text-decoration: none; color: inherit;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
}
.prx-item.is-on { opacity: 1; transform: none; pointer-events: auto; }
.prx-nome {
  margin: 0; font-size: 21px; line-height: 26px; font-weight: 800;
  letter-spacing: .03em; text-transform: uppercase; color: var(--teal);
}
.prx-data { margin: 3px 0 0; font-size: 17px; font-weight: 700; color: var(--navy); }
.prx-desc { margin: 7px 0 0; font-size: 16px; line-height: 23px; color: var(--navy); text-wrap: pretty; }
.prx-dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
.prx-dot {
  width: 7px; height: 7px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--teal); background: transparent;
}
.prx-dot.is-on { background: var(--teal); }
/* com reduced motion a troca de encontro e instantanea (sem fade/slide) */
@media (prefers-reduced-motion: reduce) {
  .prx-item { transition: none; }
}

/* Bloco de fechamento -------------------------------------------------
   Na tela larga o .closing e uma grade de duas colunas (proximos encontros a
   esquerda, inscricao a direita). Aqui ela sai do layout e a pilha do HTML ja
   e a ordem certa: proximos encontros, inscricao, rodape. O que mudou em
   31/07/2026 e que o .proximos deixou de morar dentro do .capa-panel, entao
   passa a carregar o fundo branco e o recuo lateral de 22px que herdava dele.
   O respiro de cima e curto porque o .newsgrid logo acima ja fecha com 44px. */
.closing { display: contents; }
.closing .proximos { background: #fff; padding: 6px 22px 34px; }


/* Destaque do hub no mobile: foto limpa + titulo vivo (a arte queima o titulo
   sobre a foto, e a 390px ele cairia para ~8px num bloco que e link). */
.hub-lead { background: #0f2033; border: 1.5px solid var(--teal); }
.hub-lead-body { padding: 16px 18px 20px; }
.hub-lead-kicker {
  display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal);
}
.hub-lead h2 {
  margin: 0 0 10px; font-size: 19px; line-height: 24px;
  font-weight: 800; color: #fff; text-wrap: balance;
}
.hub-lead p { margin: 0; font-size: 13px; line-height: 19px; color: #d7dde6; text-wrap: pretty; }

/* markup que so a tela larga usa ---------------------------------------
   Mesma razao do bloco irmao em live.css: o componente entrega o superset das
   duas larguras, e cada folha esconde o que nao e seu. */
.mast .rule,
.mast .date,
.dbr { display: none; }

/* No desktop o rodape e uma grade de duas colunas, e esses dois <div> sao as
   colunas. Aqui tudo empilha, entao eles saem da caixa e os quatro blocos
   voltam a ser filhos diretos do rodape, na ordem em que ja estao. */
.plum > div { display: contents; }

/* <picture> nasce inline e encolhe em volta da imagem, o que anula o
   width:100% do .hub-lead img. */
.hub-lead picture { display: block; }

/* Presença MAG — carrossel de eventos nas paginas de vertical (mesmo bloco
   da capa, aqui na folha estreita). A capa tem sua propria copia inline; estas
   regras servem as hubs (p02/p03/p04), que so linkam live.css + m.css.
   No celular valem as DUAS formas de navegar: o dedo arrasta (scroll nativo +
   snap) e as setas tambem ficam visiveis. Cards a ~80% da tela para o proximo
   "espiar" na borda. O trilho sangra ate as bordas e devolve o recuo como
   scroll-padding, para o primeiro card comecar alinhado ao texto. */
.eventos { margin: 40px 0 0; }
.ev-head {
  display: grid; grid-template-columns: 1fr auto; align-items: end;
  gap: 4px 12px; margin: 0 0 18px;
}
.ev-head h2 { grid-column: 1; margin: 0; font-size: 22px; font-weight: 800; text-transform: uppercase; color: var(--teal); }
.ev-sub { grid-column: 1; grid-row: 2; margin: 8px 0 0; font-size: 15px; line-height: 1.4; color: var(--navy); }
.ev-nav { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 10px; align-self: center; }
.ev-arrow {
  width: 40px; height: 40px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--teal); background: #fff; color: var(--navy);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .15s, color .15s, opacity .15s;
}
.ev-arrow svg { width: 18px; height: 18px; display: block; }
.ev-arrow[disabled] { opacity: .32; }
.ev-track {
  display: flex; gap: 14px; align-items: stretch;
  overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -22px; padding: 4px 22px 18px; scroll-padding-left: 22px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.ev-track.has-open { align-items: flex-start; }
.ev-track::-webkit-scrollbar { display: none; }
.ev-card {
  flex: 0 0 80%; scroll-snap-align: start;
  display: flex; flex-direction: column;
  border: 1.5px solid var(--teal); border-radius: 16px;
  background: #fff; overflow: hidden;
}
.ev-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 32%; display: block; }
.ev-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 16px 18px 20px; }
.ev-title { margin: 0 0 8px; font-size: 15px; font-weight: 800; line-height: 1.2; text-transform: uppercase; color: var(--navy); }
.ev-txt {
  margin: 0; font-size: 14px; line-height: 20px; color: #26303f;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden;
}
.ev-card.open .ev-txt { -webkit-line-clamp: unset; overflow: visible; }
.ev-more {
  margin-top: auto; align-self: flex-start; padding: 10px 0 0;
  background: none; border: 0; cursor: pointer; font: inherit;
  color: var(--teal); font-weight: 800; font-size: 13.5px; letter-spacing: .02em;
}
/* dentro do hub-panel o recuo lateral e 18px (a capa usa 22px): a sangria do
   trilho acompanha, para o primeiro card comecar alinhado ao texto do painel. */
.hub-panel .eventos { margin: 34px 0 0; }
.hub-panel .eventos .ev-track { margin: 0 -18px; padding: 4px 18px 18px; scroll-padding-left: 18px; }

/* ====================================================================
   Entrada ao rolar — versão mobile. Mesma lógica do live.css: só age com
   html.js e sem prefers-reduced-motion; sem qualquer uma, tudo aparece
   normal. Deslocamento um pouco menor por causa da tela estreita.
   ==================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html.js .hero,
  html.js .capa-hero { overflow: hidden; }
  html.js .hero img,
  html.js .capa-hero img {
    opacity: 0;
    transform: scale(1.05);
    transition: opacity .9s ease, transform 1.3s cubic-bezier(.16, 1, .3, 1);
  }
  html.js .hero.in img,
  html.js .capa-hero.in img { opacity: 1; transform: none; }

  html.js.pg-soft .panel > * {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.16, 1, .3, 1);
  }

  html.js.pg-hero .intro > *,
  html.js.pg-hero .stats-head,
  html.js.pg-hero .stats-row1 .stat,
  html.js.pg-hero .stats-row2 > *,
  html.js.pg-hero .stats-fonte,
  html.js.pg-hero .dq-head,
  html.js.pg-hero .dq-list > *,
  html.js.pg-hero .dq-feature,
  html.js.pg-hero .coluna > *,
  html.js.pg-hero .lanc-media,
  html.js.pg-hero .lanc-corpo > *,
  html.js.pg-hero .explore h2,
  html.js.pg-hero .theme-pill,
  html.js.pg-hero .ng-title,
  html.js.pg-hero .ng-group,
  html.js.pg-hero .ng-cards .ncard,
  html.js.pg-hero .eventos .ev-card {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
  }

  /* Hubs: paineis sobrepostos entram so com opacity (sem deslocar), para a
     folha aparecer inteira, sem os blocos soltos da entrada com translate. */
  html.js.pg-hero .hub-intro,
  html.js.pg-hero .hub-lead,
  html.js.pg-hero .hub-feat,
  html.js.pg-hero .hub-list > * {
    opacity: 0;
    transition: opacity .9s ease;   /* mesma duracao da opacity da hero */
  }

  html.js.pg-hero .proximos {
    opacity: 0;
    transform: scale(.965);
    transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
  }

  html.js.pg-hero .dq-head::after,
  html.js.pg-hero .ng-group::after,
  html.js.pg-hero .hub-head::after {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .8s cubic-bezier(.16, 1, .3, 1) .15s;
  }
  html.js.pg-hero .dq-head.in::after,
  html.js.pg-hero .ng-group.in::after,
  html.js.pg-hero .hub-head.in::after { transform: scaleX(1); }

  html.js .in { opacity: 1 !important; transform: none !important; }
}

/* Barra fixa de CTA (mobile). O <link media> ja restringe este arquivo ao
   mobile, entao a regra top-level so pinta abaixo de 760px. Ancora que leva
   ao formulario de cadastro do rodape (#nl). Injetada no <body> por components.js. */
.mcta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;                 /* abaixo do menu (55) e do scrim (50) */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  background: var(--plum);
  border-radius: 18px 18px 0 0;   /* arredonda so o topo; base colada reta */
  padding: 13px 18px calc(13px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(10, 15, 25, .22);
  transform: translateY(0);
  transition: transform .3s ease;
}
.mcta.hide { transform: translateY(130%); }   /* recolhe quando o form aparece */
.mcta-txt {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1px;
  text-align: center;
}
.mcta-btn {
  display: inline-block;
  background: var(--teal);
  color: var(--navy);
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  padding: 11px 40px;
  border-radius: 999px;
  line-height: 1;
}
.mcta-btn:active { filter: brightness(.94); }

/* o form nao pode ficar escondido atras da barra ao rolar ate o fim */
.nl { scroll-margin-top: 74px; }
body { padding-bottom: 0; }
