/*
 * Páginas institucionais (Nossos objetivos, História, Diretoria, Comissões, Perguntas frequentes, Política de
 * privacidade): seções de templates/modular. Medidas do site atual (Elementor) em 1440, 768 e 390 px.
 * Prefixos: faixa-titulo, faixa-destaque, tf (texto e foto), tc (texto corrido), lt (linha do tempo),
 * gm (grade de marcos), vd (vídeo), gp (grade de pessoas), ac (acordeão), banner-imagem.
 */

/* fundo de hexágonos claros com um degradê verde e azul quase transparente por cima */
.fundo-hex { position: relative; background: #fff url(../images/transparencia2.png) center center / cover no-repeat; }
.fundo-hex::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(180deg, var(--verde) 0%, var(--azul) 100%); opacity: .04; pointer-events: none; }
.fundo-hex > * { position: relative; }

.so-tablet-celular, .so-celular { display: none; }

/* ---------- faixa com o título da página ---------- */
.faixa-titulo { padding: 90px 0; }
.faixa-titulo .sec__dentro { max-width: none; padding: 10px; }
.faixa-titulo__titulo { margin: 0; font-size: 34px; font-weight: 700; line-height: 1; text-align: center; color: var(--texto); }

/* ---------- faixa azul de destaque ---------- */
.faixa-destaque { padding: 50px 0; background: var(--azul); }
.faixa-destaque__titulo { margin: 0; font-size: 32px; font-weight: 700; line-height: 1.1; text-align: center; color: #fff; }

/* ---------- texto e foto ---------- */
.tf__grade { display: flex; align-items: stretch; }
.tf__lado, .tf__texto { flex: 0 0 50%; min-width: 0; }
.tf__foto { display: block; max-width: none; }
.tf__cartola { margin: 0 0 10px; font-size: 18px; font-weight: 700; line-height: 1.2; color: var(--verde); }
.tf__titulo { margin: 0 0 20px; font-size: 32px; font-weight: 700; line-height: 1.2; color: var(--texto); }
.tf__corpo { margin-bottom: 20px; }
.tf__corpo:last-child { margin-bottom: 0; }
.tf__corpo p:last-child { margin-bottom: 0; }
.tf__subtitulo { margin: -5px 0 0; font-size: 18px; font-weight: 700; line-height: 1.2; color: var(--azul); }
.tf__lista { margin: 0; padding: 0; list-style: none; }
.tf__lista li { display: flex; align-items: center; }
.tf__lista li + li { margin-top: 15px; }
.tf__check { display: flex; flex: 0 0 18px; width: 18px; color: var(--verde); font-size: 14px; }
.tf__check .ic { width: 14px; height: 14px; }
.tf__item { padding-left: 5px; }
.tf__lista + .tf__botao, .tf__corpo + .tf__botao { margin-top: 0; }
.tf__botao { margin: 0; }
.tf__foto-cel { display: none; margin: 0 0 20px; }
.tf__foto-cel img { display: block; width: 100%; }
.tf__texto > :last-child { margin-bottom: 0; }

/* foto à direita, alta e centralizada (Nossos objetivos) */
.tf--direita-centro { padding: 50px 0 90px; }
.tf--direita-centro .tf__grade { align-items: center; }
.tf--direita-centro .tf__lado { order: 2; }
.tf--direita-centro .tf__foto { width: 85%; height: 600px; margin-left: 15%; object-fit: cover; border-radius: 100px 0; }

/* foto à esquerda, no alto (Nosso propósito) */
.tf--esquerda-topo { padding: 90px 0; }
.tf--esquerda-topo .tf__foto { width: 85%; height: auto; }
.tf--esquerda-topo .tf__texto { padding-right: 20px; }

/* foto à esquerda com dois cantos arredondados (História) */
.tf--esquerda-arredondada { padding: 50px 0 40px; }
.tf--esquerda-arredondada .tf__lado { padding-right: 40px; }
.tf--esquerda-arredondada .tf__foto { width: 100%; height: auto; border-radius: 100px 0; }
.tf--esquerda-arredondada .tf__texto { padding: 0 20px; }
.tf--esquerda-arredondada .tf__foto-cel img { border-radius: 50px 0; }

/* foto menor à direita (Comissões) */
.tf--direita-pequena { padding: 40px 0 0; }
.tf--direita-pequena .tf__grade { align-items: center; }
.tf--direita-pequena .tf__lado { order: 2; padding: 10px; }
.tf--direita-pequena .tf__texto { padding: 10px; }
.tf--direita-pequena .tf__foto { width: 82%; height: auto; margin-left: auto; border-radius: 100px 0; }

/* foto como fundo da coluna esquerda (CET) */
.tf--esquerda-fundo { padding: 90px 0; }
.tf--esquerda-fundo .tf__lado { background: #c1cad1 0 0 / auto no-repeat; }
.tf--esquerda-fundo .tf__texto { padding: 0 0 0 50px; }
.tf--esquerda-fundo .tf__titulo { color: var(--azul); }
.tf--esquerda-fundo .tf__lista--caixas li { width: 50%; padding: 20px; align-items: flex-start; background: #eaeaea; }
.tf--esquerda-fundo .tf__subtitulo + * { margin-top: 0; }
.tf--esquerda-fundo .tf__lista--caixas li + li { margin-top: 20px; }

.tf__lista--caixas .tf__check { flex-basis: 30px; width: 30px; height: 30px; margin-top: 3px; align-items: center; justify-content: center; border-radius: 50%; background: var(--verde); color: #fff; }
.tf__lista--caixas .tf__check .ic { width: 15px; height: 15px; }
.tf__lista--caixas .tf__item { padding: 8px 0 0 10px; font-size: 18px; font-weight: 500; line-height: 1.4; color: var(--texto); }

/* ---------- texto corrido ---------- */
.tc { padding: 90px 0; }
.tc--curva { background-position: bottom center; background-repeat: no-repeat; background-size: contain; }
.tc__coluna { padding: 10px; }
.tc--estreita .tc__coluna { padding: 10px 189px 10px 181px; }
.tc__cartola { margin: 0 0 20px; font-size: 14px; font-weight: 600; line-height: 1; letter-spacing: 2px; text-transform: uppercase; color: var(--verde); }
.tc__titulo { margin: 0 0 20px; font-size: 32px; font-weight: 700; line-height: 1.2; color: var(--texto); }
.tc__titulo--azul { color: var(--azul); }
.tc--titulo-recuo .tc__titulo { margin-right: 50px; }
.tc__titulo--simples { font-weight: 500; line-height: 1; }
.tc__corpo p:last-child, .tc__corpo > :last-child { margin-bottom: 0; }
.tc__corpo--pequeno { font-size: 14px; line-height: 1.5; }
.tc__corpo ul, .tc__corpo ol { margin: 0; padding-left: 40px; }
.tc__subtitulo { margin: 50px 0 20px; font-size: 25px; font-weight: 700; line-height: 1.2; color: var(--azul); }
.tc__maior { font-size: 16px; line-height: 1.5; }
.tc--nota { padding: 0; }
.tc--nota .tc__coluna { padding: 0; }
.tc--nota .tc__corpo--pequeno { font-size: 12px; }
.tc--politica { padding: 90px 0 0; }
.tc--politica .tc__titulo { font-size: 32px; }

/* ---------- banner com foto ---------- */
.banner-imagem { min-height: 500px; background: #fff top center / cover no-repeat; }

/* ---------- linha do tempo (Presidentes) ---------- */
.lt { padding: 90px 0 100px; }
.lt__titulo { margin: 0 0 40px; font-size: 32px; font-weight: 500; line-height: 1; text-align: center; color: var(--azul); }
.lt__linha { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.lt__linha + .lt__linha { margin-top: 40px; }
.lt__item { display: flex; flex-direction: column; text-align: center; }
.lt__foto { padding: 0 10px 30px; line-height: 0; }
.lt__foto img { width: 49%; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 100px; }
@media (min-width: 1025px) {
  .lt__foto img { width: 130px; height: 130px; }
}
.lt__info { position: relative; flex: 1 1 auto; padding-top: 22px; border-top: 1px solid #9e9e9e; }
.lt__ponto { position: absolute; top: -6px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--verde); }
.lt__ano { margin: 0 0 10px; font-size: 14px; font-weight: 600; line-height: 1; color: var(--verde); }
.lt__nome { margin: 0; font-size: 18px; font-weight: 600; line-height: 25px; color: var(--azul); }
.lt__nota { margin: 10px 0 0; font-size: 11px; line-height: 1.5; color: #9c9c9c; }

/* ---------- grade de marcos (Eventos nacionais e internacionais) ---------- */
.gm { padding: 90px 0; color: #fff; }
.gm--azul-claro { background: #068fd5; }
.gm--azul { background: var(--azul); }
.gm--nacionais { padding: 100px 0; }
.gm__titulo { margin: 0 0 30px; font-size: 32px; font-weight: 500; line-height: 1; text-align: center; color: #fff; }
.gm__texto { margin-bottom: 20px; }
.gm__texto p:last-child { margin-bottom: 0; }
.gm__lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; margin: 0; padding: 0; list-style: none; }
.gm__item { padding: 10px; text-align: center; }
.gm__icone { display: block; width: 76px; margin: 0 auto 20px; border-radius: 100%; }
.gm__ano { margin: 0 0 10px; font-size: 14px; font-weight: 600; line-height: 1; color: var(--verde); }
.gm__nome { margin: 0 0 10px; font-size: 18px; font-weight: 600; line-height: 1.4; color: #fff; }
.gm__desc { font-size: 11px; line-height: 1.5; }
.gm__desc p { margin: 0 0 1.6em; }
.gm__desc p:last-child { margin-bottom: 0; }
@media (min-width: 1025px) {
  /* no computador a primeira linha fica um pouco mais perto da segunda, como no site atual */
  .gm--nacionais .gm__item:nth-child(-n+3) { padding-bottom: 0; }
}

/* ---------- vídeo ---------- */
.vd { padding: 90px 0; background: #068fd5; }
.vd__titulo { margin: 0 0 40px; font-size: 32px; font-weight: 500; line-height: 1; text-align: center; color: #fff; }
.vd__video { display: block; width: calc(100% - 20px); aspect-ratio: 16 / 9; margin: 0 10px 10px; background: #000; }

/* ---------- grade de pessoas (Diretoria) ---------- */
.gp { padding: 50px 0 100px; }
.gp .sec__dentro { padding: 0 10px; }
.gp__lista { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.gp__pessoa { padding: 10px 10px 20px; border: 1px solid var(--cinza-borda); border-radius: 6px; background: #fff; text-align: center; }
.gp__foto { display: block; width: 100%; height: 243px; object-fit: cover; border-radius: 6px 6px 0 0; }
.gp__nome { margin: 20px 20px 10px; font-size: 16px; font-weight: 500; line-height: 1; color: var(--texto); }
.gp__cargo { margin: 0 20px 10px; font-size: 14px; font-weight: 500; line-height: 1; color: var(--verde); }

/* ---------- acordeão (o ícone flutua à direita, como no Elementor) ---------- */
.ac { padding: 70px 0 90px; }
.ac__dentro { padding: 0 90px; }
.ac--hex { padding: 90px 0; }
.ac--hex .ac__dentro { max-width: 760px; padding: 10px; }
.ac__lista { display: flow-root; }
.ac__titulo { margin: 0 0 40px; font-size: 34px; font-weight: 700; line-height: 1; text-align: center; color: var(--texto); }
.ac__item { margin-top: 15px; border: 1px solid #ededed; }
.ac__pergunta { display: block; padding: 20px; background: var(--verde); color: #fff; font-size: 16px; font-weight: 500; line-height: 24px; cursor: pointer; list-style: none; }
.ac__pergunta::-webkit-details-marker { display: none; }
.ac__pergunta::marker { content: ''; }
.ac__pergunta:focus-visible { outline: 2px solid var(--azul); outline-offset: -2px; }
.ac__icone { position: relative; top: -3px; float: right; width: 1.5em; margin-left: 5px; padding-right: 11px; text-align: right; }
.ac__icone .ic { width: 10px; height: 16px; }
.ac__fechar { display: none; }
.ac__item[open] .ac__abrir { display: none; }
.ac__item[open] .ac__fechar { display: inline-block; }
.ac__resposta { padding: 15px 20px; border-top: 1px solid #ededed; background: #f1f8fb; line-height: 28px; }
.ac--comissoes .ac__resposta { padding: 30px 20px; }
.ac__resposta p:last-child, .ac__resposta ul:last-child { margin-bottom: 0; }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .so-computador { display: none; }
  .so-tablet-celular { display: inline; }

  .faixa-titulo { padding: 50px 10px 20px; margin-bottom: 20px; }
  .faixa-titulo .sec__dentro { padding: 0; }
  .faixa-titulo__titulo { font-size: 36px; }

  .faixa-destaque { padding: 50px 0; }

  .tf { padding: 0 20px 50px; }
  .tf--troca-tablet .tf__lado { display: none; }
  .tf--troca-tablet .tf__texto { flex-basis: 100%; padding: 0; }
  .tf__foto-cel--tablet { display: block; }
  .tf--esquerda-topo { padding: 50px 20px; }
  .tf--esquerda-topo .tf__texto { padding: 0 0 0 20px; }
  .tf--esquerda-arredondada { padding: 0 20px; }
  .tf--esquerda-arredondada .tf__titulo { font-size: 24px; }
  .tf--esquerda-arredondada .tf__texto { padding-bottom: 20px; }
  .tf--esquerda-arredondada .tf__foto-cel { margin: 20px 0 0; }
  .tf--direita-pequena { padding: 50px 20px 0; }
  .tf--direita-pequena .tf__grade { align-items: flex-start; }
  .tf--direita-pequena .tf__texto { padding: 0 10px 0 0; }
  .tf--direita-pequena .tf__lado { padding: 10px 10px 10px 30px; }
  .tf--direita-pequena .tf__foto { width: 100%; }
  .tf--esquerda-fundo { padding: 50px 20px; }
  .tf--esquerda-fundo .tf__lado { display: none; }
  .tf--esquerda-fundo .tf__texto { flex-basis: 100%; }
  .tf--esquerda-fundo .tf__cartola, .tf--esquerda-fundo .tf__titulo, .tf--esquerda-fundo .tf__subtitulo { text-align: center; }

  .tc { padding: 50px 20px; }
  .tc--estreita .tc__coluna { padding: 10px; }
  .tc--estreita .tc__cartola, .tc--estreita .tc__titulo, .tc--estreita .tc__subtitulo { text-align: center; }
  .tc--nota { padding: 0 20px; }
  .tc--nota .tc__corpo--pequeno { font-size: 11px; }
  .tc--politica { padding: 50px 20px 0; }
  .tc--politica .tc__coluna { padding: 0; }

  .lt { padding: 50px 0 30px; }
  .lt .sec__dentro { max-width: none; }
  .lt__linha:last-child { padding-bottom: 20px; }
  .gm { padding: 50px 20px; }
  .gm__lista { row-gap: 30px; }
  .vd { padding: 50px 20px; }

  .gp { padding: 0 10px 100px; }
  .gp__foto { width: 145px; height: 145px; margin: 0 auto; }

  .ac { padding: 50px 20px; }
  .ac__dentro { padding: 0; }
  .ac--hex { padding: 50px 20px; }
  .ac.ac--comissoes { padding-top: 35px; }
  .ac--hex .ac__dentro { max-width: 505px; padding: 0 10px; }
  .ac--hex .ac__titulo { font-size: 36px; margin-bottom: 30px; }
}

/* ---------- celular ---------- */
@media (max-width: 767px) {
  .so-celular { display: inline; }
  .nao-celular { display: none; }

  .faixa-titulo { padding: 50px 0 30px; }
  .faixa-titulo__titulo { font-size: 24px; }

  .faixa-destaque { padding: 50px 20px; }
  .faixa-destaque__titulo { font-size: 24px; }

  .tf__titulo { font-size: 24px; }
  .tf__grade { display: block; }
  .tf--troca-celular .tf__lado { display: none; }
  .tf__foto-cel--celular { display: block; }
  .tf--esquerda-topo .tf__texto, .tf--direita-pequena .tf__texto { padding: 0; }
  .tf--esquerda-topo .tf__botao { text-align: center; }
  .tf--direita-centro .tf__foto-cel img, .tf--direita-pequena .tf__foto-cel img { border-radius: 50px 0; }
  .tf--direita-pequena { padding: 0 20px; }
  .tf--direita-pequena .tf__titulo { text-align: center; }

  .tf--esquerda-arredondada .tf__titulo { font-size: 20px; text-align: center; }
  .tf--esquerda-arredondada .tf__corpo { font-size: 15px; line-height: 1.5; text-align: center; }
  .tf--esquerda-fundo { padding: 50px 20px; }
  .tf--esquerda-fundo .tf__texto { padding: 0; }
  .tf--esquerda-fundo .tf__cartola, .tf--esquerda-fundo .tf__subtitulo { font-size: 24px; }
  .tf--esquerda-fundo .tf__lista--caixas li { display: block; width: auto; }
  .tf--esquerda-fundo .tf__lista--caixas .tf__check { display: flex; margin: 0 0 18px; }
  .tf--esquerda-fundo .tf__lista--caixas .tf__item { display: inline-block; padding: 0; }
  .tf--esquerda-fundo .tf__lista--caixas li + li { margin-top: 21px; }

  .tc--estreita .tc__coluna, .tc--nota .tc__coluna { padding: 0; }
  .tc__titulo { font-size: 24px; }
  .tc__titulo--simples { font-size: 32px; }
  .tc__subtitulo { font-size: 24px; }
  .tc--nota .tc__corpo--pequeno { font-size: 10px; }

  .lt { padding: 40px 20px 61px; }
  .lt__titulo { font-size: 26px; }
  .lt__linha { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .lt__linha + .lt__linha { margin-top: 20px; }
  .lt__linha:last-child { padding-bottom: 0; }
  .lt__item { padding: 0 10px; }
  .lt__foto { padding: 0 0 20px; }
  .lt__foto img { width: 85%; }
  .lt__info { border-top: 0; padding-top: 0; }
  .lt__ponto { display: none; }
  .lt__nome { font-size: 14px; line-height: 1.4; }
  .lt__nota { margin-top: 4px; }

  .gm__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0; }
  .gm__nome { font-size: 14px; }

  .vd { padding: 50px 20px 150px; }

  .gp { padding: 0 20px 160px; }
  .gp .sec__dentro { padding: 0; }
  .gp__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .gp__pessoa { padding-bottom: 10px; }
  .gp__foto { width: 100%; height: 145px; }
  .gp__nome { margin: 10px 5px; font-size: 14px; }
  .gp__cargo { margin: 0; font-size: 12px; }
  /* no site atual, da 9ª pessoa em diante os cartões ficam colados e centralizados */
  .gp__pessoa:nth-child(n+9) { position: relative; }
  .gp__pessoa:nth-child(n+9):nth-child(odd) { left: 10px; }
  .gp__pessoa:nth-child(n+9):nth-child(even) { left: -10px; }

  .ac--hex .ac__dentro { max-width: none; padding: 0; }
  .ac--hex .ac__titulo { font-size: 24px; margin-bottom: 10px; }
  .ac--hex .ac__pergunta { padding: 10px 30px 10px 10px; }
  .ac--hex .ac__icone { left: 15px; margin-left: 96px; }
}
