/* Intercâmbio do Zero · estilo do site (v2, visual adulto)
   Títulos: Poppins 600/700. Texto: Inter 400/500/600. Fontes servidas do próprio site (fonts/, licença OFL).
   Cor principal: roxo da marca. Laranja e amarelo só como acento. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }

:root {
  --texto: #1D1B26;
  --texto-2: #545163;
  --linha: #E6E3EC;
  --fundo: #FFFFFF;
  --fundo-2: #F7F6FA;
  --roxo: #6A4C93;
  --roxo-escuro: #533A75;
  --roxo-claro: #F2EEF8;
  --laranja: #C2410C;
  --amarelo: #F5B800;
  --amarelo-claro: #FFF8E6;
  --verde: #2F6B57;
  --vermelho-claro: #FDECEA;
  --vermelho: #9B2C1F;
  --raio: 12px;
  --sombra: 0 1px 2px rgba(20, 16, 40, .06), 0 4px 16px rgba(20, 16, 40, .06);
  --sombra-forte: 0 2px 4px rgba(20, 16, 40, .06), 0 10px 30px rgba(20, 16, 40, .10);
  --titulo: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--fundo);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--roxo); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--roxo-escuro); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--roxo); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--titulo); line-height: 1.25; margin: 0 0 .6em; color: var(--texto); letter-spacing: -.01em; }
h2 { font-size: 1.35rem; font-weight: 600; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
strong { font-weight: 600; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }
.estreito { max-width: 780px; }
.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.pular { position: absolute; left: -999px; top: 8px; background: var(--roxo); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; font-weight: 600; }
.pular:focus { left: 8px; color: #fff; }

/* Cabeçalho */
.topo { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--linha); position: relative; z-index: 20; }
@media (min-width: 960px) { .topo { position: sticky; top: 0; backdrop-filter: saturate(1.4) blur(8px); } }
.topo-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--texto); font-family: var(--titulo); font-weight: 700; font-size: 1.08rem; line-height: 1.1; letter-spacing: -.01em; }
.marca:hover { color: var(--texto); }
.marca::before { content: ""; width: 30px; height: 30px; border-radius: 8px; background: var(--roxo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z'/%3E%3C/svg%3E") center / 18px no-repeat; flex: none; }
.marca img { display: none; }
.marca b { color: var(--roxo); font-weight: 700; background: none; border: 0; padding: 0; rotate: 0deg; }

/* Menu: no celular, botão hambúrguer; no computador, linha com submenus */
.menu-botao { display: none; align-items: center; gap: 8px; font: inherit; font-weight: 600; font-size: .95rem; color: var(--texto); background: #fff; border: 1px solid var(--linha); border-radius: 10px; padding: 8px 14px; cursor: pointer; }
.menu-botao:hover { border-color: var(--roxo); }
.hamb { position: relative; width: 18px; height: 12px; display: inline-block; }
.hamb::before, .hamb::after, .hamb span { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: var(--texto); border-radius: 2px; transition: transform .15s, opacity .15s; }
.hamb::before { top: 0; } .hamb span { top: 5px; } .hamb::after { bottom: 0; }
.menu-botao[aria-expanded="true"] .hamb::before { transform: translateY(5px) rotate(45deg); }
.menu-botao[aria-expanded="true"] .hamb::after { transform: translateY(-5px) rotate(-45deg); }
.menu-botao[aria-expanded="true"] .hamb span { opacity: 0; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li { margin: 0; }
.menu-lista { display: flex; flex-wrap: wrap; gap: 2px 4px; }
.menu a, .sub-botao { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--texto); font: inherit; font-weight: 500; font-size: .95rem; border: 0; background: none; cursor: pointer; text-align: left; line-height: 1.4; }
.menu a:hover, .sub-botao:hover { background: var(--fundo-2); color: var(--texto); }
.menu a[aria-current="page"], .sub-botao.atual { color: var(--roxo); font-weight: 600; }
.sub-botao::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .15s; }
.sub-botao[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.tem-sub { position: relative; }
.submenu { display: none; }
.js .sub-botao[aria-expanded="true"] + .submenu { display: block; }
@media (max-width: 959px) {
  html:not(.js) .submenu { display: block; }
  .js .menu-botao { display: inline-flex; }
  .js .menu { display: none; flex-basis: 100%; }
  .js .menu.aberto { display: block; }
  .menu { flex-basis: 100%; }
  .js .menu-lista { flex-direction: column; gap: 2px; padding: 8px 0; border-top: 1px solid var(--linha); }
  .js .menu a, .js .sub-botao { font-size: 1.02rem; padding: 12px; width: 100%; }
  .submenu { padding-left: 12px !important; border-left: 2px solid var(--roxo-claro); margin: 2px 0 6px 14px !important; }
}
@media (min-width: 960px) {
  .menu-lista { flex-wrap: nowrap; }
  .submenu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px; background: #fff; border: 1px solid var(--linha); border-radius: 12px; box-shadow: var(--sombra-forte); padding: 6px !important; z-index: 30; }
  .tem-sub:hover .submenu, .tem-sub:focus-within .submenu { display: block; }
  .tem-sub:hover .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
}

/* Títulos (as antigas "faixas" agora são títulos limpos) */
.faixas { display: block; margin: 0 0 16px; font-family: var(--titulo); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; font-size: clamp(1.75rem, 5.5vw, 2.6rem); text-transform: none; }
.faixas.menor { font-size: clamp(1.45rem, 4.4vw, 2rem); }
.faixas.centro { text-align: center; }
.faixa { display: inline; background: none; border: 0; padding: 0; box-shadow: none; rotate: 0deg; color: inherit; }
.faixa.roxa { color: var(--roxo); }
.faixa.amarela { color: inherit; }

main { display: block; padding: 32px 0 64px; }
@media (min-width: 720px) { main { padding-top: 48px; } }
.lead { font-size: 1.12rem; color: var(--texto-2); max-width: 680px; }
.bloco { margin: 0 0 56px; }
.secao-titulo { margin-bottom: 20px; }
.secao-titulo p { color: var(--texto-2); margin: 0; }

/* Botões */
.botoes { display: grid; gap: 12px; margin: 24px 0 8px; }
.botao { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border: 1px solid var(--linha); border-radius: var(--raio); background: #fff; color: var(--texto); text-decoration: none; font-family: inherit; font-weight: 600; font-size: 1.02rem; line-height: 1.3; transition: border-color .15s, box-shadow .15s, background .15s, transform .15s; cursor: pointer; text-align: left; box-shadow: var(--sombra); }
.botao:hover { border-color: var(--roxo); color: var(--texto); box-shadow: var(--sombra-forte); transform: translateY(-1px); }
.botao small { display: block; font-weight: 400; font-size: .9rem; margin-top: 2px; color: var(--texto-2); }
.botao .seta { font-size: 1.2rem; flex: none; color: var(--roxo); }
.botao.amarelo, .botao.roxo { background: var(--roxo); border-color: var(--roxo); color: #fff; }
.botao.amarelo small, .botao.roxo small { color: rgba(255,255,255,.85); }
.botao.amarelo .seta, .botao.roxo .seta { color: #fff; }
.botao.amarelo:hover, .botao.roxo:hover { background: var(--roxo-escuro); border-color: var(--roxo-escuro); color: #fff; }
.botao.laranja { background: #fff; border-color: var(--linha); color: var(--texto); }
.botao.laranja .seta { color: var(--laranja); }
.botao.laranja:hover { border-color: var(--laranja); }
.botao.pequeno { display: inline-flex; font-size: .98rem; padding: 11px 18px; box-shadow: none; }
@media (min-width: 720px) { .botoes { grid-template-columns: repeat(3, 1fr); } .botoes.dois { grid-template-columns: repeat(2, 1fr); } }

/* Cartões */
.cartao { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); box-shadow: var(--sombra); padding: 24px 20px; margin: 0 0 24px; }
@media (min-width: 720px) { .cartao { padding: 28px; } }
.cartao > :last-child { margin-bottom: 0; }
.cartao.lilas { background: var(--roxo-claro); border-color: transparent; box-shadow: none; }
.cartao.amarelo { background: var(--amarelo-claro); border-color: transparent; border-left: 4px solid var(--amarelo); box-shadow: none; }

/* Hero da home */
.hero { position: relative; margin: -32px 0 56px; color: #fff; background: #1D1B26; overflow: hidden; }
@media (min-width: 720px) { .hero { margin-top: -48px; } }
.hero > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,14,30,.82) 0%, rgba(18,14,30,.55) 55%, rgba(18,14,30,.25) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 56px; }
@media (min-width: 720px) { .hero .wrap { padding-top: 112px; padding-bottom: 96px; } }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 6vw, 3.1rem); max-width: 720px; }
.hero h1 .faixa.roxa { color: #E9DDFB; white-space: nowrap; }
.hero .lead { color: rgba(255,255,255,.9); }
.hero .botoes { max-width: 980px; }
.hero .botao { box-shadow: none; }
.hero .credito { position: absolute; right: 12px; bottom: 8px; z-index: 1; font-size: .72rem; color: rgba(255,255,255,.7); margin: 0; }
.hero .credito a { color: inherit; }

/* Destinos */
.destinos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0 0 16px; }
.destinos li { margin: 0; }
.destino { position: relative; display: block; border-radius: var(--raio); overflow: hidden; aspect-ratio: 4 / 3; background: var(--fundo-2); color: #fff; text-decoration: none; }
.destino img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.destino:hover img { transform: scale(1.04); }
.destino::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,8,20,.72) 0%, rgba(10,8,20,0) 55%); }
.destino span { position: absolute; left: 12px; bottom: 10px; z-index: 1; font-family: var(--titulo); font-weight: 600; font-size: 1.05rem; line-height: 1.2; }
.destino small { display: block; font-family: "Inter", sans-serif; font-weight: 400; font-size: .8rem; opacity: .9; }
@media (min-width: 720px) { .destinos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }

/* Grade de vídeos */
.videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0 0 18px; }
.videos li { margin: 0; }
.videos a { display: block; border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); transition: transform .15s, box-shadow .15s; }
.videos a:hover { transform: translateY(-2px); box-shadow: var(--sombra-forte); }
.videos img { aspect-ratio: 9 / 16; width: 100%; object-fit: cover; }
@media (min-width: 720px) { .videos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }

/* Redes */
.redes { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; }
.redes li { margin: 0; }
.redes a { display: inline-block; padding: 8px 16px; border: 1px solid var(--linha); border-radius: 999px; background: #fff; color: var(--texto); font-weight: 500; text-decoration: none; }
.redes a:hover { border-color: var(--roxo); color: var(--roxo); }

/* Editais */
.selo { display: inline-block; font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; margin: 0 6px 8px 0; background: var(--fundo-2); color: var(--texto-2); }
.selo.fechado { background: var(--vermelho-claro); color: var(--vermelho); }
.selo.andamento { background: var(--amarelo-claro); color: #7A5600; }
.selo.estado { background: var(--roxo-claro); color: var(--roxo-escuro); }
.edital h2 { margin-bottom: .3em; }
.ficha { margin: 0 0 1em; }
.ficha dt { font-weight: 600; margin-top: .9em; color: var(--texto); }
.ficha dd { margin: 0; color: var(--texto-2); }
.fonte { font-size: .86rem; color: var(--texto-2); border-top: 1px solid var(--linha); padding-top: 12px; margin-top: 16px; }
.fonte a { word-break: break-word; }
.atualizado { display: inline-block; background: var(--fundo-2); color: var(--texto-2); border-radius: 999px; padding: 4px 12px; font-size: .88rem; font-weight: 500; margin-bottom: 20px; }
.passos { counter-reset: passo; list-style: none; padding: 0; }
.passos li { counter-increment: passo; position: relative; padding-left: 46px; margin-bottom: 18px; }
.passos li::before { content: counter(passo); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--roxo-claro); color: var(--roxo); font-weight: 600; display: grid; place-items: center; line-height: 1; font-size: .9rem; }
.indice { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-bottom: 28px; }
.indice li { margin: 0; }
.indice a { display: inline-block; padding: 6px 14px; border: 1px solid var(--linha); border-radius: 999px; background: #fff; text-decoration: none; color: var(--texto); font-size: .9rem; font-weight: 500; }
.indice a:hover { border-color: var(--roxo); color: var(--roxo); }

/* Testes */
.pergunta { border: 1px solid var(--linha); border-radius: var(--raio); background: #fff; padding: 18px 18px 10px; margin: 0 0 16px; min-width: 0; }
.pergunta legend { font-weight: 600; padding: 0 6px; font-size: 1.02rem; max-width: 100%; }
.pergunta .num { display: inline-block; background: var(--roxo-claro); color: var(--roxo); border-radius: 6px; padding: 0 8px; margin-right: 6px; font-size: .82rem; }
.pergunta .texto { margin: 4px 0 12px; font-size: 1.02rem; }
.pergunta .texto em { font-style: normal; background: var(--fundo-2); padding: 0 4px; border-radius: 4px; }
.opcao { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border: 1px solid var(--linha); border-radius: 10px; margin-bottom: 8px; cursor: pointer; line-height: 1.45; }
.opcao:hover { border-color: #C9C2D6; background: var(--fundo-2); }
.opcao input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--roxo); flex: none; }
.opcao:has(input:checked) { border-color: var(--roxo); background: var(--roxo-claro); }
.opcao.nao-sei { color: var(--texto-2); }
.progresso { position: sticky; top: 8px; z-index: 5; background: var(--fundo-2); border-radius: 999px; height: 8px; margin: 0 0 20px; overflow: hidden; }
@media (min-width: 960px) { .progresso { top: 76px; } }
.progresso span { display: block; height: 100%; width: 0; background: var(--roxo); transition: width .2s; }
.resultado { border: 1px solid var(--linha); border-radius: var(--raio); background: #fff; box-shadow: var(--sombra-forte); padding: 24px 20px; margin: 10px 0 24px; }
.resultado h2 { font-size: 1.35rem; }
.resultado .nivel { font-family: var(--titulo); font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 700; line-height: 1.1; color: var(--roxo); }
.resultado .tipo { background: var(--fundo-2); border-radius: 10px; padding: 16px; margin: 0 0 14px; }
.resultado .tipo h3 { margin-bottom: .3em; }
.aviso-teste { font-size: .92rem; background: var(--fundo-2); border-left: 3px solid var(--laranja); padding: 12px 14px; border-radius: 0 8px 8px 0; color: var(--texto-2); }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; }

/* Formulário de contato (lead) */
.form-lead { background: var(--fundo-2); border-radius: var(--raio); padding: 24px 20px; margin: 0 0 24px; }
@media (min-width: 720px) { .form-lead { padding: 32px; } }
.form-lead h2 { margin-bottom: .3em; }
.form-lead .finalidade { color: var(--texto-2); font-size: .95rem; }
.campos { display: grid; gap: 14px; margin: 18px 0 14px; }
@media (min-width: 720px) { .campos { grid-template-columns: 1fr 1fr; } }
.campo label, .consentimento { font-weight: 500; font-size: .92rem; }
.campo label { display: block; margin-bottom: 4px; }
.campo .opcional { font-weight: 400; color: var(--texto-2); }
.campo input, .campo select { width: 100%; font: inherit; font-size: 1rem; color: var(--texto); padding: 11px 12px; border: 1px solid #CFCADB; border-radius: 10px; background: #fff; min-height: 46px; }
.campo input:focus, .campo select:focus { outline: none; border-color: var(--roxo); box-shadow: 0 0 0 3px rgba(106, 76, 147, .2); }
.campo [aria-invalid="true"] { border-color: var(--vermelho); }
.consentimento { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; margin: 4px 0 16px; cursor: pointer; }
.consentimento input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--roxo); flex: none; }
.pote-mel { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; font-size: .95rem; }
.form-status.ok { background: #E8F3EE; color: var(--verde); }
.form-status.erro { background: var(--vermelho-claro); color: var(--vermelho); }
.form-lead .botao { justify-content: center; }
.form-lead .nota { font-size: .82rem; color: var(--texto-2); margin: 12px 0 0; }

/* Rodapé */
.rodape { background: #16141F; color: #CFCBDA; padding: 40px 0 36px; font-size: .94rem; }
.rodape a { color: #fff; }
.rodape .aviso { font-weight: 600; color: #fff; font-size: 1rem; background: none; border: 0; padding: 0; rotate: 0deg; display: block; }
.rodape .redes a { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.rodape .redes a:hover { border-color: #fff; color: #fff; }
.rodape nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 16px 0; }
.rodape nav li { margin: 0; }
.rodape nav a { text-decoration: none; color: #CFCBDA; }
.rodape nav a:hover { color: #fff; text-decoration: underline; }
.rodape .pe { color: #9A95AA; font-size: .84rem; margin: 0; }

/* Blog: lista */
.categorias { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.categorias li { margin: 0; }
.cards-blog { list-style: none; padding: 0; display: grid; gap: 16px; margin: 0 0 20px; }
.cards-blog li { margin: 0; }
.card-materia { display: grid; grid-template-columns: 96px 1fr; gap: 16px; background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); box-shadow: var(--sombra); padding: 14px; align-items: start; height: 100%; }
.card-materia img { border-radius: 8px; aspect-ratio: 9 / 16; object-fit: cover; }
.card-materia h2, .card-materia h3 { font-size: 1.05rem; margin: 4px 0 6px; line-height: 1.35; }
.card-materia h2 a, .card-materia h3 a { color: var(--texto); text-decoration: none; }
.card-materia h2 a:hover, .card-materia h3 a:hover { color: var(--roxo); }
.card-materia p { margin: 0 0 6px; font-size: .93rem; color: var(--texto-2); }
.card-meta { font-size: .82rem; color: var(--texto-2); }
.card-meta .selo { margin-bottom: 0; }
@media (min-width: 720px) { .cards-blog { grid-template-columns: repeat(2, 1fr); } .card-materia { grid-template-columns: 110px 1fr; } }

/* Blog: matéria */
.trilha { font-size: .88rem; margin-bottom: 14px; color: var(--texto-2); }
.artigo-topo { margin-bottom: 20px; }
.artigo-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .9rem; color: var(--texto-2); }
.artigo-meta .selo { margin: 0; }
.artigo-texto { font-size: 1.06rem; line-height: 1.75; }
.artigo-texto h2 { margin-top: 1.6em; }
.artigo-texto figure, .video-embed { margin: 28px 0; }
.artigo-texto figure img { border-radius: var(--raio); max-width: 360px; width: 100%; margin: 0 auto; box-shadow: var(--sombra); }
figcaption { font-size: .86rem; color: var(--texto-2); text-align: center; margin-top: 10px; }
.video-caixa { max-width: 340px; margin: 0 auto; aspect-ratio: 9 / 16; border-radius: var(--raio); overflow: hidden; background: #16141F; box-shadow: var(--sombra-forte); }
.video-caixa iframe { width: 100%; height: 100%; border: 0; display: block; }
.resumo ol { margin-bottom: 0; }
.anterior-proxima { display: grid; gap: 12px; margin-top: 20px; }
.anterior-proxima a { display: block; background: #fff; border: 1px solid var(--linha); border-radius: 10px; padding: 12px 14px; text-decoration: none; color: var(--texto); font-weight: 500; }
.anterior-proxima a:hover { border-color: var(--roxo); }
.anterior-proxima small { display: block; font-weight: 400; color: var(--texto-2); }
.anterior-proxima a[rel="next"] { text-align: right; }
.anterior-proxima a[rel="next"]:only-child { grid-column: -2; }
@media (min-width: 600px) { .anterior-proxima { grid-template-columns: 1fr 1fr; } }

/* Tabelas */
.tabela { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--linha); border-radius: 10px; background: #fff; }
.tabela table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: .94rem; }
.tabela th, .tabela td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--linha); vertical-align: top; }
.tabela thead th { background: var(--fundo-2); font-weight: 600; }
.tabela tbody tr:last-child > * { border-bottom: 0; }

/* Checklist */
.checklist ul { list-style: none; padding: 0; }
.checklist li { margin: 0; }
.checklist .opcao:has(input:checked) span { text-decoration: line-through; color: var(--texto-2); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .topo, .rodape, .pular, [data-imprimir], .menu-botao, .form-lead { display: none !important; }
  .cartao { box-shadow: none; break-inside: avoid; }
}

/* ===================================================================
   v3: meio-termo. Base limpa + personalidade das capas
   (faixas retas nos títulos, amarelo das capas em blocos, sombra sólida sutil nos botões, mascotes 3D)
   =================================================================== */
:root { --amarelo-capa: #FFD84D; --creme: #FFFDF6; --tinta: #1D1B26; }

/* Faixas das capas, retas e sem sombra dura */
.faixas { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0 0 18px; font-family: var(--titulo); font-weight: 700; text-transform: uppercase; letter-spacing: 0; line-height: 1.1; font-size: clamp(1.45rem, 4.6vw, 2.3rem); }
.faixas.menor { font-size: clamp(1.2rem, 3.6vw, 1.7rem); }
.faixas.centro { align-items: center; text-align: center; }
.faixa { display: inline-block; max-width: 100%; background: var(--creme); color: var(--tinta); border: 2px solid var(--tinta); padding: .16em .45em .1em; box-shadow: none; rotate: 0deg; }
.faixa.amarela { background: var(--amarelo-capa); color: var(--tinta); }
.faixa.roxa { background: var(--roxo); color: #fff; border-color: var(--tinta); }
.hero h1.faixas { font-size: clamp(1.6rem, 5.2vw, 2.8rem); }
.hero h1 .faixa.roxa { color: #fff; white-space: normal; }
.secao-titulo .faixas { margin-bottom: 10px; }

/* Botões com sombra sólida sutil */
.botao { box-shadow: 3px 3px 0 rgba(29, 27, 38, .16); }
.botao:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 rgba(29, 27, 38, .2); }
.botao:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(29, 27, 38, .2); }
.botao.amarelo, .botao.roxo { box-shadow: 3px 3px 0 #2E2140; }
.botao.amarelo:hover, .botao.roxo:hover { box-shadow: 4px 4px 0 #2E2140; }
.botao.amarelo:active, .botao.roxo:active { box-shadow: 1px 1px 0 #2E2140; }
.botao.pequeno { box-shadow: 3px 3px 0 rgba(29, 27, 38, .16); }
.botao.roxo.pequeno { box-shadow: 3px 3px 0 #2E2140; }

/* Amarelo das capas em blocos de destaque */
.cartao.amarelo { background: var(--amarelo-capa); border: 0; border-left: 0; }
.cartao.amarelo .fonte, .cartao.amarelo a { color: var(--tinta); }
.form-lead { background: var(--amarelo-capa); position: relative; }
.form-lead .finalidade, .form-lead .nota { color: #3B3626; }
.form-lead .campo input, .form-lead .campo select { border-color: rgba(29, 27, 38, .35); }
.form-lead .consentimento a { color: var(--tinta); font-weight: 600; }
.faixa-secao { background: var(--amarelo-capa); margin: 0 0 56px; }
.faixa-secao .wrap { position: relative; padding-top: 40px; padding-bottom: 40px; }
.faixa-secao p { color: #3B3626; max-width: 620px; }

/* Mascotes 3D (PNG transparente). Se o arquivo não existir, o onerror remove a imagem. */
.mascote { display: block; height: auto; object-fit: contain; pointer-events: none; user-select: none; }
.com-mascote { position: relative; }

/* topo da home: mascote à direita, sobre a foto */
.hero .mascote-hero { position: absolute; z-index: 1; right: 4px; top: 12px; width: 92px; }
.hero .wrap { padding-right: 104px; }
@media (min-width: 720px) {
  .hero .wrap { padding-right: 24px; }
  .hero .mascote-hero { right: max(24px, calc((100vw - 1120px) / 2 + 8px)); top: auto; bottom: 0; width: 300px; }
  .hero .wrap > * { max-width: calc(100% - 330px); }
}
@media (min-width: 1100px) { .hero .mascote-hero { width: 360px; } .hero .wrap > * { max-width: calc(100% - 400px); } }

/* título de seção ou de página com mascote ao lado */
.titulo-com-mascote { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.titulo-com-mascote > :first-child { min-width: 0; flex: 1; }
.titulo-com-mascote .mascote { width: 76px; flex: none; margin-bottom: 8px; }
@media (min-width: 720px) { .titulo-com-mascote .mascote { width: 140px; } }

/* faixa amarela com chamada (ex.: editais) */
.faixa-secao .mascote-chamada { position: absolute; right: 8px; bottom: 0; width: 84px; }
.faixa-secao .wrap { padding-right: 100px; }
@media (min-width: 720px) {
  .faixa-secao .wrap { padding-right: 280px; }
  .faixa-secao .mascote-chamada { width: 230px; right: 24px; }
}

/* formulários */
.form-lead .mascote-form { position: absolute; right: 10px; top: 10px; width: 68px; }
.form-lead h2 { padding-right: 76px; }
@media (min-width: 900px) {
  .form-lead { padding-right: 240px; }
  .form-lead h2 { padding-right: 0; }
  .form-lead .mascote-form { top: auto; bottom: 0; right: 16px; width: 200px; }
}

/* página sobre: pais ao lado do texto */
.cartao .mascote-lateral { float: right; width: 96px; margin: 0 0 8px 12px; }
@media (min-width: 720px) { .cartao .mascote-lateral { width: 170px; margin-left: 20px; } }
.hero .credito { left: 16px; right: auto; }

/* ===================================================================
   v3.1: logo do canal, mascotes com tamanho pela altura e sem espaço vazio
   =================================================================== */
/* Logo: foto de perfil do canal, redonda */
.marca::before { content: none; display: none; }
.marca img { display: block; width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
@media (min-width: 720px) { .marca img { width: 36px; height: 36px; } }

/* Mascotes: o tamanho vem da altura; a largura acompanha a proporção da imagem */
.mascote { width: auto; max-width: none; }

/* Topo da home: ~55% da altura, pés na base, encostado à direita */
.hero .wrap { padding-right: 16px; }
.hero .wrap > * { max-width: none; }
.hero .mascote-hero { top: 14px; bottom: auto; right: 10px; height: 92px; width: auto; }
.hero h1.faixas { padding-right: 52px; }
@media (min-width: 720px) {
  .hero .wrap { padding-right: 24px; }
  .hero h1.faixas { padding-right: 0; }
  .hero .mascote-hero { top: auto; bottom: 0; height: 55%; right: max(24px, calc((100vw - 1120px) / 2 + 24px)); }
  .hero .wrap > * { max-width: calc(100% - 230px); }
}
@media (min-width: 1100px) { .hero .wrap > * { max-width: 760px; } }

/* Título de seção e mascote na mesma linha, alinhados pela base */
.titulo-com-mascote { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.titulo-com-mascote > :first-child { min-width: 0; flex: 1 1 auto; }
.titulo-com-mascote .mascote { height: 120px; width: auto; max-width: 45%; margin: 0; object-fit: contain; object-position: right bottom; flex: 0 1 auto; }
.titulo-com-mascote .mascote.reserva { height: 120px; }
@media (max-width: 719px) {
  .titulo-com-mascote { flex-wrap: wrap; }
  .titulo-com-mascote .mascote-secao { height: 64px; max-width: 70%; order: 2; }
  .titulo-com-mascote .mascote-secao.reserva { display: none; }
  .titulo-com-mascote .mascote-titulo { height: 76px; }
}
@media (min-width: 720px) { .titulo-com-mascote .mascote-titulo { height: 128px; } }

/* Faixa amarela de editais: personagem em pé na base, à direita */
.faixa-secao .wrap { padding-right: 16px; }
.faixa-secao .mascote-chamada { position: absolute; width: auto; right: 12px; top: 24px; bottom: auto; height: 84px; }
.faixa-secao h2.faixas { padding-right: 64px; }
@media (min-width: 720px) {
  .faixa-secao .wrap { padding-right: 260px; }
  .faixa-secao h2.faixas { padding-right: 0; }
  .faixa-secao .mascote-chamada { top: auto; bottom: 0; height: 86%; right: 24px; }
}

/* Formulários: personagem pequeno no canto, sem empurrar os campos */
.form-lead .mascote-form { position: absolute; width: auto; top: 14px; right: 14px; bottom: auto; height: 80px; }
.form-lead h2 { padding-right: 44px; }
@media (min-width: 900px) {
  .form-lead { padding-right: 190px; }
  .form-lead h2 { padding-right: 0; }
  .form-lead .mascote-form { top: auto; bottom: 0; right: 28px; height: 300px; }
}

/* Sobre: pais ao lado do texto, sem abrir buraco */
.cartao .mascote-lateral { float: right; width: auto; height: 110px; margin: 0 0 6px 14px; }
@media (min-width: 720px) { .cartao .mascote-lateral { height: 170px; margin-left: 24px; } }
.mascote-pic { display: contents; }

/* Filtros da página de editais */
.filtros { background: #fff; border: 2px solid var(--tinta); border-radius: var(--raio); padding: 14px; margin: 0 0 24px; box-shadow: 3px 3px 0 rgba(29, 27, 38, .16); scroll-margin-top: 12px; }
@media (min-width: 960px) { .filtros { scroll-margin-top: 84px; } }
html:not(.js) .filtros { display: none; }
.filtros-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 720px) { .filtros-campos { grid-template-columns: repeat(4, 1fr); gap: 14px; } .filtros { padding: 18px 20px; } }
.filtros .campo label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 3px; }
.filtros select { width: 100%; font: inherit; font-size: .95rem; color: var(--texto); padding: 8px 10px; min-height: 42px; border: 1px solid #CFCADB; border-radius: 10px; background: #fff; }
.filtros select:focus { outline: none; border-color: var(--roxo); box-shadow: 0 0 0 3px rgba(106, 76, 147, .2); }
.filtros.tem-filtro select:not([value=""]) { border-color: var(--roxo); }
.filtros-rodape { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 12px; }
.contador { margin: 0; font-weight: 600; color: var(--roxo-escuro); }
.filtros-rodape .botao { padding: 8px 14px; font-size: .9rem; }
.filtros:not(.tem-filtro) [data-limpar] { visibility: hidden; }
.link-botao { font: inherit; color: var(--roxo); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.botao-filtros { position: fixed; z-index: 15; right: 16px; bottom: 16px; background: var(--roxo); color: #fff; font-weight: 600; text-decoration: none; padding: 10px 18px; border-radius: 999px; box-shadow: 3px 3px 0 #2E2140; }
.botao-filtros:hover { color: #fff; background: var(--roxo-escuro); }
@media (min-width: 720px) { .botao-filtros { display: none !important; } }
@media (max-width: 719px) { body:has(#botao-filtros) .rodape { padding-bottom: 84px; } }

/* Checklist personalizado (o-que-levar.html) */
.perguntas-checklist { background: var(--fundo-2); border-radius: var(--raio); padding: 18px 16px; margin: 0 0 28px; }
@media (min-width: 720px) { .perguntas-checklist { padding: 24px 28px; } }
.pergunta-check { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.pergunta-check legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.pilulas { display: flex; flex-wrap: wrap; gap: 8px; }
.pilula { position: relative; cursor: pointer; }
.pilula input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pilula span { display: inline-block; padding: 7px 14px; border: 1px solid #CFCADB; border-radius: 999px; background: #fff; font-size: .93rem; font-weight: 500; }
.pilula:hover span { border-color: var(--roxo); }
.pilula input:checked + span { background: var(--roxo); border-color: var(--roxo); color: #fff; }
.pilula input:focus-visible + span { outline: 3px solid var(--roxo); outline-offset: 2px; }
.checklist-area { scroll-margin-top: 16px; }
@media (min-width: 960px) { .checklist-area { scroll-margin-top: 84px; } }
.checklist-area h2:focus { outline: none; }
.resumo-check { color: var(--roxo-escuro); font-weight: 600; }
.impressao-capa, .impressao-rodape { display: none; }
.listas { display: grid; gap: 16px; margin: 0 0 20px; }
@media (min-width: 720px) { .listas { grid-template-columns: 1fr 1fr; } }
.categoria { background: #fff; border: 1px solid var(--linha); border-radius: var(--raio); padding: 16px; box-shadow: var(--sombra); }
.categoria h3 { margin-bottom: 8px; }
.itens { list-style: none; padding: 0; margin: 0; }
.itens .item { display: flex; align-items: flex-start; gap: 6px; margin: 0; border-bottom: 1px solid var(--linha); position: relative; }
.itens .item:last-child { border-bottom: 0; }
.itens .item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.itens .item label { flex: 1; display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; cursor: pointer; line-height: 1.45; font-size: .95rem; }
.caixa { flex: none; width: 20px; height: 20px; margin-top: 1px; border: 2px solid var(--roxo); border-radius: 5px; display: grid; place-items: center; background: #fff; }
.item input:checked + label .caixa { background: var(--roxo); }
.item input:checked + label .caixa::after { content: "✓"; color: #fff; font-size: 14px; font-weight: 700; line-height: 1; }
.item input:checked + label .texto { text-decoration: line-through; color: var(--texto-2); }
.item input:focus-visible + label .caixa { outline: 3px solid var(--roxo); outline-offset: 2px; }
.item.proprio .texto::after { content: " (seu item)"; color: var(--texto-2); font-size: .82rem; }
.remover { flex: none; background: none; border: 0; color: var(--texto-2); font-size: 1.3rem; line-height: 1; padding: 8px 6px; cursor: pointer; border-radius: 6px; }
.remover:hover { color: var(--vermelho); background: var(--vermelho-claro); }
.novo-item { display: grid; gap: 10px; align-items: end; background: var(--fundo-2); border-radius: var(--raio); padding: 16px; margin: 0 0 20px; }
@media (min-width: 720px) { .novo-item { grid-template-columns: 2fr 1fr auto; } }
.novo-item label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 4px; }
.novo-item input, .novo-item select { width: 100%; font: inherit; padding: 9px 12px; min-height: 44px; border: 1px solid #CFCADB; border-radius: 10px; background: #fff; }
.acoes-pdf { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 32px; }
.acoes-pdf #baixar-pdf { max-width: 420px; }

@media print {
  @page { size: A4; margin: 14mm 14mm 18mm; }
  body { background: #fff; font-size: 11pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  main { padding: 0; }
  .wrap { max-width: none; padding: 0; }
  main h1, .lead, .perguntas-checklist, .novo-item, .acoes-pdf, .remover, .checklist-area > h2, .resumo-check, .cartao, .fonte, .botao-filtros { display: none !important; }
  .checklist-area[hidden] { display: none !important; }
  .impressao-capa { display: flex; align-items: center; gap: 16px; border-bottom: 2px solid var(--tinta); padding-bottom: 12px; margin-bottom: 14px; }
  .impressao-capa img { width: 64px; height: 64px; border-radius: 50%; }
  .impressao-capa .faixas { font-size: 18pt; margin: 0; gap: 4px; }
  .impressao-capa .faixa { white-space: nowrap; }
  .impressao-info { margin: 0 0 0 auto; text-align: right; font-weight: 600; font-size: 10pt; color: var(--roxo-escuro); max-width: 45%; }
  .listas { display: block; columns: 2; column-gap: 10mm; }
  .categoria { break-inside: avoid; box-shadow: none; border: 1px solid #ccc; padding: 8px 10px; margin: 0 0 8px; }
  .categoria h3 { font-size: 12pt; color: var(--roxo-escuro); }
  .itens .item label { padding: 4px 0; font-size: 10pt; }
  .caixa { width: 14px; height: 14px; border-width: 1.5px; }
  .item input:checked + label .caixa::after { font-size: 10px; }
  .impressao-rodape { display: block; position: fixed; bottom: 0; left: 0; right: 0; font-size: 8.5pt; color: #555; text-align: center; border-top: 1px solid #ccc; padding-top: 4px; margin: 0; }
}

/* País de interesse no formulário */
.campo-paises { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.campo-paises legend { font-weight: 500; font-size: .92rem; padding: 0; margin-bottom: 6px; }
.campo-paises .opcional { font-weight: 400; color: #3B3626; }
.paises { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
@media (min-width: 720px) { .paises { grid-template-columns: repeat(5, 1fr); } }
.pais { display: flex; align-items: center; gap: 8px; font-size: .9rem; background: #fff; border: 1px solid rgba(29, 27, 38, .25); border-radius: 8px; padding: 6px 8px; cursor: pointer; line-height: 1.25; }
.pais input { width: 16px; height: 16px; accent-color: var(--roxo); flex: none; margin: 0; }
.pais:has(input:checked) { border-color: var(--roxo); background: var(--roxo-claro); }
