/* WithYou — Acompanhamento de Vítimas e Testemunhas no Sistema de Justiça
   Revisão de design 2026 — tipografia self-hosted, zero pedidos a terceiros.
   Tokens: tinta judicial + azul WithYou; vermelho APAV reservado à linha 116 006. */

/* ===== FONTES (self-hosted, subset latin) ===== */
@font-face {
  font-family: 'Bitter';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Bitter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Bitter';
  font-weight: 800;
  font-display: swap;
  src: url('fonts/Bitter-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Public Sans';
  font-weight: 400;
  font-display: swap;
  src: url('fonts/PublicSans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Public Sans';
  font-weight: 600;
  font-display: swap;
  src: url('fonts/PublicSans-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Public Sans';
  font-weight: 700;
  font-display: swap;
  src: url('fonts/PublicSans-700.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #182647;
  --brand: #204199;
  --brand-deep: #16306F;
  --wash: #F3F6FC;
  --card: #FFFFFF;
  --line: #D9E2F2;
  --muted: #53628C;
  --apoio: #D6182E;
  --blue: var(--brand);          /* alias herdado */
  --bg-light: var(--wash);       /* alias herdado */
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(24, 38, 71, 0.18);
  --display: 'Bitter', Georgia, 'Times New Roman', serif;
  --body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --measure: 51.25rem; /* ~820px: coluna de leitura */
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--wash);
  line-height: 1.65;
}

::selection { background: var(--brand); color: #fff; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 3px;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; }

/* Alto contraste (mantido do original) */
body.negative-contrast {
  filter: grayscale(1) brightness(75%) contrast(209%) invert(1);
  background-color: black !important;
}
body.negative-contrast #cookie-banner { filter: none; }

/* ===== ESQUELETO ===== */
#page { min-height: 100svh; display: flex; flex-direction: column; }
#content { flex: 1; display: flex; flex-direction: column; }
#content-inside { max-width: none; margin: 0; padding: 0; width: 100%; }
#primary, .site-main, article.page { width: 100%; }

/* Coluna de leitura por omissão; blocos de shell/band escapam à medida */
.entry-content { padding: 0 0 3rem; }
.entry-content > * {
  max-width: var(--measure);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.entry-content > .imagemtopo1,
.entry-content > #site-navigation,
.entry-content > .alignfull,
.entry-content > .wp-block-cover,
.entry-content > .rodape-sep,
.entry-content > .route,
.entry-content > .hero-frieze,
.entry-content > .apoio-band {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.entry-content > .hero-intro,
.entry-content > .home-nav-cards {
  max-width: 72rem;
}

.entry-content p { margin-bottom: 1.15em; }
.entry-content p:last-child { margin-bottom: 0; }

/* Listas: o reset global tira o padding, o que colava os marcadores ao texto */
.entry-content ul,
.entry-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.3em;
}
.entry-content li { margin-bottom: 0.5em; }
.entry-content li:last-child { margin-bottom: 0; }
.entry-content ul li::marker { color: var(--brand); }
.entry-content ol li::marker { color: var(--brand); font-weight: 700; }
.entry-content ul ul, .entry-content ol ol { margin: 0.5em 0 0; }

/* Ilustrações soltas (diagramas, fluxos): num painel, para não flutuarem no fundo */
.entry-content > .wp-block-image,
.wp-block-column > .wp-block-image:only-child:not(.coluna_2qeq *) { margin: 2.5rem auto; }
.entry-content > .wp-block-image figure {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.entry-content > .wp-block-image img { margin: 0 auto; }

/* ===== TOPO: barra utilitária (idioma + acessibilidade) ===== */
.entry-content > .imagemtopo1 { display: block; width: 100%; margin: 0; }
.topcol3 { display: flex; flex-direction: column; }

#pojo-a11y-toolbar {
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}
.pojo-a11y-toolbar-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.4rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}
.langselect { display: flex; align-items: center; gap: 0.4rem; }
.lbllang {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.DDlang {
  font-family: var(--body);
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}
.accessbut { display: flex; align-items: center; }
.pojo-a11y-toolbar-items { list-style: none; display: inline-flex; gap: 0.25rem; }
.pojo-a11y-toolbar-item { display: inline-flex; }
.pojo-a11y-toolbar-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  border-radius: 8px;
  transition: background 0.15s;
}
.pojo-a11y-toolbar-link:hover { background: var(--line); }
.pojo-a11y-toolbar-icon svg { width: 1.35em; height: auto; display: block; }

/* ===== CABEÇALHO (logótipos) ===== */
#hero {
  background: var(--card);
  height: auto;
  min-height: 0;
  max-height: none;
  display: block;
  border-bottom: 1px solid var(--line);
}
.hero-bg { display: none; }
#hero > .container { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.hero__content { width: 100%; }
.hero-large-text {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 1.35rem 0;
  flex-wrap: wrap;
}
.hero-large-text a { display: inline-flex; border-radius: 6px; }
.hero-large-text a:first-child { margin-right: auto; }
.hero-large-text img,
.hero-large-text .wp-image-1696,
.hero-large-text .wp-image-1699,
.hero-large-text .wp-image-1702 {
  width: auto;
  min-width: 0;
  max-width: none;
  height: 88px;
}
.hero-large-text a:first-child img { height: 112px; }

/* ===== NAVEGAÇÃO ===== */
#site-navigation {
  background: var(--card);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(24, 38, 71, 0.02);
}
.onepress-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 72rem;
  margin: 0 auto;
}
.onepress-menu > li { position: relative; }
.onepress-menu > li > a {
  display: block;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 1rem 1.25rem;
  box-shadow: inset 0 -3px 0 transparent;
  transition: color 0.15s, box-shadow 0.15s;
}
.onepress-menu > li > a:hover,
.onepress-menu > li:hover > a,
.onepress-menu > li.current > a {
  color: var(--brand);
  box-shadow: inset 0 -3px 0 var(--brand);
  text-decoration: none;
}
.nav-toggle-subarrow { display: none; }

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--card);
  list-style: none;
  min-width: 280px;
  z-index: 2000;
  border: 1px solid var(--line);
  border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.onepress-menu > li:hover > .sub-menu,
.onepress-menu > li:focus-within > .sub-menu { display: block; }
.sub-menu li a {
  display: block;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.75rem 1rem;
  white-space: normal;
  border-bottom: 1px solid var(--wash);
  transition: background 0.15s, color 0.15s;
}
.sub-menu li:last-child a { border-bottom: none; }
.sub-menu li a:hover { background: var(--wash); color: var(--brand); text-decoration: none; }

/* ===== HOMEPAGE: HERO ===== */
.hero-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 3.5rem;
  padding-bottom: 2.75rem;
}
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 1rem;
}
.hero-intro h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 1.1rem;
}
.hero-intro .lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.75rem;
}
.hero-intro__cta { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  padding: 0.8em 1.5em;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-deep); }
.btn--ghost { border: 2px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

/* Friso de pictogramas (a arte original de 1920x250, à largura toda) */
.hero-frieze {
  background: var(--card) url('images/001_titulo_homepage_cor.png') center / cover no-repeat;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  height: clamp(7rem, 12vw, 10.5rem);
}

/* Entrada orquestrada do hero (uma vez, ao carregar) */
.hero-intro__text > * { animation: rise 0.55s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
.hero-intro__text > *:nth-child(2) { animation-delay: 0.08s; }
.hero-intro__text > *:nth-child(3) { animation-delay: 0.16s; }
.hero-intro__text > *:nth-child(4) { animation-delay: 0.24s; }
.hero-frieze { animation: rise 0.6s 0.2s cubic-bezier(0.2, 0.7, 0.3, 1) both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ===== ASSINATURA: a linha de acompanhamento ===== */
.route {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0 3.25rem;
  margin: 1.5rem 0;
}
.route__inner { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.route h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.route__hint { color: var(--muted); margin: 0.4rem 0 2.25rem; }
.route__line {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  position: relative;
}
/* a rota tracejada que liga os marcos */
.route__line::before {
  content: '';
  position: absolute;
  top: 1.6rem;
  left: 8%;
  right: 8%;
  border-top: 2px dashed var(--line);
}
.route__line li { position: relative; }
.route__line a {
  display: block;
  padding: 0 0.5rem;
  text-align: center;
}
.route__line a:hover { text-decoration: none; }
.route__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 4px var(--card), 0 0 0 5px var(--line); /* anel duplo, como um carimbo */
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--brand);
  margin-bottom: 1rem;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.route__line a:hover .route__n {
  background: var(--brand);
  color: #fff;
  transform: scale(1.06);
}
.route__line strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.route__line a:hover strong { color: var(--brand); }
.route__line a > span:last-child {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ===== HOMEPAGE: cartões de navegação ===== */
.home-nav-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.25rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.home-nav-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.home-nav-card:hover {
  text-decoration: none;
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.home-nav-card img {
  height: 7rem;
  width: auto;
  object-fit: contain;
  margin: 0 auto 1rem;
}
.home-nav-card span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.home-nav-card:hover span { color: var(--brand); }

/* ===== FAIXA DA LINHA DE APOIO (só vermelho aqui) ===== */
.apoio-band {
  background: var(--ink);
  border-top: 4px solid var(--apoio);
  margin-top: 2rem;
}
.apoio-band__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.apoio-band__msg { color: #C9D4F0; font-size: 1.05rem; max-width: 32rem; }
.apoio-band__msg strong { color: #fff; display: block; font-size: 1.2rem; margin-bottom: 0.2rem; }
.apoio-band__tel {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.6rem;
  color: #fff;
  line-height: 1.1;
  text-align: right;
}
.apoio-band__tel:hover { text-decoration: none; color: #fff; }
.apoio-band__tel span {
  display: block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FF8B96;
}

/* ===== CONTEÚDO: tipografia ===== */
.entry-content h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 2.5rem auto 1.25rem;
}
.entry-content h2 { font-size: 1.35rem; font-weight: 700; margin: 2.5rem auto 0.9rem; }
.entry-content h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--brand);
  margin: 2.25rem auto 0.7rem;
  scroll-margin-top: 90px;
}
.entry-content h3 + p, .entry-content h3 + ul { margin-top: 0; }

/* Marcos de etapa (assinatura, versão discreta) */
h2.stage-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 1.45rem;
  font-weight: 800;
  margin: 3rem auto 1.25rem;
  scroll-margin-top: 90px;
}
h2.stage-head::before {
  content: attr(data-n);
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 3px var(--card), 0 0 0 4px var(--line);
  font-size: 1.05rem;
  color: var(--brand);
}

/* ===== BLOCOS WORDPRESS ===== */
.wp-block-media-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(6rem, 16%, 9rem);
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  margin: 1.75rem 0;
}
/* Banner de série no topo das páginas: faixa alinhada à medida de leitura */
.entry-content > .wp-block-media-text.alignfull,
.entry-content > .wp-block-media-text.alignwide {
  max-width: none;
  border-radius: 0;
  border-left: none;
  border-right: none;
  margin-top: 0;
  padding: 1.6rem max(1.5rem, calc((100% - var(--measure)) / 2 + 1.5rem));
}
.wp-block-media-text__content { padding: 0; order: 1; }
.wp-block-media-text__media {
  order: 2;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.wp-block-media-text__media img { max-height: 6.5rem; width: auto; }
.wp-block-media-text__content h1,
.wp-block-media-text__content h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  text-transform: none;
}

/* Separador: um traço curto e centrado — o fim de uma secção, não uma cerca */
.wp-block-separator {
  border: none;
  height: 2px;
  width: 4rem;
  background: var(--line) !important;
  border-radius: 2px;
  margin: 3rem auto;
}
.wp-block-separator.alignfull { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }
.wp-block-separator.alignwide { max-width: 100%; }

.wp-block-columns {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  margin: 1.75rem auto;
}
.wp-block-columns.rodape1 { justify-content: center; align-items: center; gap: 2.5rem 3rem; }
.wp-block-column { flex: 1; min-width: 0; }

/* Texto + ilustração: por omissão a ilustração fica por cima, em disco pequeno.
   Em ecrãs largos passa para a margem direita (ver @media min-width:1150px), e
   aí o texto mantém exatamente a mesma medida dos parágrafos soltos. */
.wp-block-columns:has(.coluna_2qeq) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin: 1.75rem auto;
}
.coluna_1qeq > *:last-child { margin-bottom: 0; }
.coluna_2qeq { width: 6.5rem; order: -1; }
.coluna_2qeq .wp-block-image { margin: 0; }
.coluna_2qeq figure {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 50%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 1.1rem;
}

.alignfull { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }
.aligncenter { margin-left: auto !important; margin-right: auto !important; display: block; }

/* Faixas de ícones (textura entre secções) */
/* Faixa de pictogramas: a textura do próprio projeto a marcar a quebra */
.wp-block-cover.alignfull {
  background-repeat: repeat;
  background-size: auto;
  min-height: 74px;
  margin: 3.5rem 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Botões de conteúdo */
.wp-block-buttons {
  display: flex;
  gap: 0.6em;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 2rem auto;
}
.wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
  border: 2px solid var(--line);
  color: var(--ink) !important;
  background: var(--card);
  padding: 0.6em 1.4em;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  display: inline-block;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}
.wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--brand);
  color: var(--brand) !important;
  background: var(--card);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ===== ÍNDICE DE SECÇÃO =====
   Era uma pilha de <pre> soltos, cada um com margem própria: os de 1.º nível
   ficavam centrados e os de 2.º encostados à esquerda, com larguras diferentes.
   Agora é um cartão único, com a hierarquia dada pelo recuo e pela numeração. */
.indice {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 2rem auto 2.5rem;
}
.indice__lista { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.indice__i + .indice__i { border-top: 1px solid var(--wash); }
.indice__i > a,
.indice__i > .indice__atual {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0 0.85rem;
  padding: 0.72rem 1.25rem;
  transition: background 0.15s, color 0.15s;
}
.indice__i > a { text-decoration: none; }
.indice__i > a:hover { background: var(--wash); text-decoration: none; }
.indice__i > a:hover .indice__t { color: var(--brand); }
.indice__i > a:hover .indice__seta { transform: translateX(3px); color: var(--brand); }

.indice__n {
  grid-column: 1;
  min-width: 2.5rem;
  text-align: right;
  font-family: var(--display);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--brand);
}
.indice__t { grid-column: 2; font-weight: 600; }
.indice__seta {
  grid-column: 3;
  justify-self: end;
  color: var(--line);
  align-self: center;
  transition: transform 0.15s, color 0.15s;
}

/* Níveis: o recuo cresce, o peso desce */
.indice__i--1 > a,
.indice__i--1 > .indice__atual { font-size: 1rem; }
.indice__i--1 .indice__t { font-weight: 700; }
.indice__i--2 > a,
.indice__i--2 > .indice__atual { padding-left: 2.5rem; font-size: 0.94rem; }
.indice__i--2 .indice__n { color: var(--muted); font-weight: 600; }
.indice__i--3 > a,
.indice__i--3 > .indice__atual { padding-left: 4rem; font-size: 0.9rem; }
.indice__i--3 .indice__n { color: var(--muted); font-weight: 400; }
.indice__i--3 .indice__t { font-weight: 400; color: var(--muted); }

/* Secção onde já estamos: sem seta, marcada à esquerda */
.indice__i--atual { background: var(--wash); box-shadow: inset 3px 0 0 var(--brand); }
.indice__i--atual .indice__t { color: var(--brand); }
.indice__i--atual .indice__seta { display: none; }

@media (max-width: 600px) {
  .indice__i > a,
  .indice__i > .indice__atual { padding: 0.75rem 0.9rem; gap: 0 0.6rem; }
  .indice__i--2 > a, .indice__i--2 > .indice__atual { padding-left: 1.6rem; }
  .indice__i--3 > a, .indice__i--3 > .indice__atual { padding-left: 2.4rem; }
  .indice__n { min-width: 2.1rem; }
}

/* Neutralizar restos de cor do export */
.has-black-color { color: inherit !important; }
.has-inline-color.has-black-color { color: inherit !important; }
.has-background { background: transparent; }

.wp-block-image { margin: 1em auto; }
.wp-block-image figure { margin: 0; }

.imgstxt {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  float: none;
  margin: 0;
}

/* Marginália: só quando sobra margem para a ilustração sair da coluna de leitura
   (medida 820px + 2x164px). Assim nunca há overflow nem texto espremido. */
@media (min-width: 1180px) {
  .wp-block-columns:has(.coluna_2qeq) { display: block; position: relative; }
  .wp-block-columns:has(.coluna_2qeq) > .coluna_2qeq {
    position: absolute;
    top: 0.25rem;
    left: 100%;
    width: 8.5rem;
    margin-left: 1.5rem;
    order: 0;
  }
}

/* ===== CRÉDITOS (promotor / parceiros) ===== */
.creditos-rotulo {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 2.5rem auto 0.25rem;
}
.wp-block-columns.rodape1 {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}
.wp-block-columns.rodape1 .wp-block-image { margin: 0; }
.wp-block-columns.rodape1 img {
  max-height: 5.5rem;
  width: auto;
  margin: 0 auto;
  opacity: 0.9;
  transition: opacity 0.15s;
}
.wp-block-columns.rodape1 a:hover img { opacity: 1; }

/* ===== QUEM É QUEM ===== */
.qeq-section { margin: 2rem auto; scroll-margin-top: 90px; }
.qeq-title-banner {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.qeq-section h2 {
  color: var(--brand);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--line);
  margin-bottom: 1rem;
}

/* ===== RODAPÉ ===== */
.rodape-sep { background: var(--wash); padding: 1.25rem 0; }

.site-footer {
  background: var(--card);
  border-top: 1px solid var(--line);
  margin-top: 3rem;
}
.foot-legal {
  border-top: 1px solid var(--line);
  background: var(--wash);
}
.foot-legal__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 1.75rem;
  position: relative;
}
.foot-legal p {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 56rem;
  margin-bottom: 0.4rem;
}
.foot-legal a { color: var(--brand); font-weight: 600; }

.btt { position: absolute; right: 1.5rem; top: 1.1rem; margin: 0; }
.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--brand);
  font-size: 1.3rem;
  transition: border-color 0.15s, transform 0.15s;
}
.back-to-top:hover { border-color: var(--brand); transform: translateY(-2px); }

/* ===== MENU MÓVEL ===== */
.mob-menu-toggle {
  display: none;
  position: fixed;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 9999;
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.mobmenu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(24, 38, 71, 0.55);
  z-index: 8000;
}
.mobmenu-overlay.active { display: block; }
.mobmenu-panel {
  position: fixed;
  top: 0; left: -320px;
  width: 300px;
  height: 100vh;
  background: var(--ink);
  z-index: 9000;
  overflow-y: auto;
  transition: left 0.3s ease;
  padding: 3rem 0 2rem;
}
.mobmenu-panel.open { left: 0; }
.mobmenu-panel ul { list-style: none; }
.mobmenu-panel ul li a {
  display: block;
  color: #E7ECF9;
  padding: 0.8rem 1.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobmenu-panel ul .sub-menu {
  display: block;
  position: static;
  box-shadow: none;
  border: none;
  border-radius: 0;
  background: rgba(0,0,0,0.25);
  min-width: 0;
}
.mobmenu-panel ul .sub-menu li a { padding-left: 2.4rem; font-size: 0.74rem; color: #B9C4E2; }
.mobmenu-close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ===== SKIP LINK ===== */
.pojo-skip-link {
  position: absolute;
  top: -48px;
  left: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 99999;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0 0 10px 0;
  transition: top 0.2s;
}
.pojo-skip-link:focus { top: 0; }

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .onepress-menu { display: none; }
  .mob-menu-toggle { display: block; }
  #site-navigation { min-height: 0; border-bottom: none; }

  .hero-large-text { justify-content: center; gap: 1.25rem; padding-right: 3.5rem; }
  .hero-large-text a:first-child { margin-right: 0; }
  .hero-large-text a:first-child img { height: 74px; }
  .hero-large-text img { height: 58px; }

  .hero-intro { padding-top: 2.25rem; }

  .route__line { grid-template-columns: 1fr; gap: 1.5rem; }
  .route__line::before {
    top: 3rem;
    bottom: 3rem;
    left: 1.6rem;
    right: auto;
    border-top: none;
    border-left: 2px dashed var(--line);
  }
  .route__line a { display: grid; grid-template-columns: 3.2rem 1fr; gap: 0 1rem; text-align: left; align-items: start; }
  .route__line .route__n { margin-bottom: 0; }
  .route__line strong, .route__line a > span:last-child { grid-column: 2; }

  .wp-block-columns { flex-direction: column; gap: 1.25rem; align-items: stretch; }
  .wp-block-column.coluna_1qeq { flex-basis: 100%; }

  .apoio-band__inner { flex-direction: column; align-items: flex-start; }
  .apoio-band__tel { text-align: left; }

}

@media (max-width: 600px) {
  .pojo-a11y-toolbar-inner { justify-content: center; gap: 0.6rem; }
  .hero-large-text { gap: 0.9rem; padding: 1rem 3.25rem 1rem 0; }
  .hero-large-text a:first-child img { height: 56px; }
  .hero-large-text img { height: 44px; }
  .entry-content > * { padding-left: 1.15rem; padding-right: 1.15rem; }
  .wp-block-media-text { grid-template-columns: 1fr; }
  .wp-block-media-text__media { order: 1; }
  .wp-block-media-text__content { order: 2; }
  .entry-content > .wp-block-image figure { padding: 1rem; }
  .btt { position: static; margin-bottom: 0.75rem; }
}

/* ===== MOVIMENTO REDUZIDO ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== IMPRESSÃO ===== */
@media print {
  body { background: #fff; color: #000; }
  #pojo-a11y-toolbar, #site-navigation, .mob-menu-toggle, .mobmenu-panel,
  .mobmenu-overlay, #cookie-banner, .apoio-band, .btt, .wp-block-cover,
  .hero-frieze, .wp-block-buttons { display: none !important; }
  .entry-content > * { max-width: 100%; padding: 0; }
  a { text-decoration: underline; }
  .site-footer, .foot-legal { background: #fff; }
}

/* ===== COOKIE BANNER (mantido, cores atualizadas) ===== */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  max-width: 420px;
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
  pointer-events: none;
}
#cookie-banner.cookie-banner--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.cookie-banner__card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 25px 50px -12px rgba(24, 38, 71, 0.25);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-banner__body { display: flex; gap: 16px; align-items: flex-start; }
.cookie-banner__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--wash);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}
.cookie-banner__text { flex-grow: 1; }
.cookie-banner__text h3 {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.cookie-banner__text p { font-size: 0.75rem; color: var(--muted); line-height: 1.6; }
.cookie-banner__text a { color: var(--brand); font-weight: 700; }
.cookie-banner__footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--wash);
  padding-top: 16px;
}
.cookie-btn-accept {
  padding: 10px 20px;
  border: none;
  background: var(--brand);
  color: #fff;
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cookie-btn-accept:hover { background: var(--brand-deep); }
.cookie-btn-accept:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 768px) {
  #cookie-banner { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

/* ===== UTILITÁRIOS ===== */
.icon-angle { vertical-align: middle; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
