/* ============================================================
   SITE COMANDANTE DAN - TEMA PREMIUM AZUL & DOURADO
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --azul-escuro: #0a1f44;
  --azul-medio: #123a6b;
  --azul-claro: #1d4e89;
  --dourado: #c9a227;
  --dourado-claro: #e6c65c;
  --dourado-suave: #f0d78c;
  --branco: #ffffff;
  --cinza-claro: #f5f6f8;
  --cinza: #5a6575;
  --preto-texto: #1a2233;
  --fonte-titulo: 'Playfair Display', Georgia, serif;
  --fonte-corpo: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fonte-corpo);
  color: var(--preto-texto);
  background: var(--branco);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--fonte-titulo);
  font-weight: 800;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- TOPO (barra superior) ---------- */
.topo-informacoes {
  background: var(--azul-escuro);
  color: var(--branco);
  font-size: 13px;
  padding: 6px 0;
}

.topo-informacoes .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topo-informacoes a {
  color: var(--dourado-claro);
}

.topo-informacoes a:hover {
  color: var(--branco);
}

.redes-topo a {
  display: inline-block;
  margin-left: 10px;
  color: var(--branco);
  font-size: 15px;
}

.redes-topo a:hover {
  color: var(--dourado);
}

/* ---------- CABEÇALHO ---------- */
.cabecalho {
  background: var(--branco);
  box-shadow: 0 2px 12px rgba(10, 31, 68, 0.12);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.cabecalho .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
}

.logo img {
  height: 64px;
  width: auto;
}

.menu-principal ul {
  list-style: none;
  display: flex;
  gap: 26px;
}

.menu-principal a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--azul-escuro);
  padding: 8px 0;
  position: relative;
}

.menu-principal a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--dourado);
  transition: width 0.3s;
}

.menu-principal a:hover::after,
.menu-principal a.ativo::after {
  width: 100%;
}

.menu-principal a.ativo {
  color: var(--dourado);
}

.botao-menu-celular {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--azul-escuro);
  cursor: pointer;
}

/* ---------- BOTÕES ---------- */
.botao {
  display: inline-block;
  padding: 13px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.botao-dourado {
  background: linear-gradient(135deg, var(--dourado), var(--dourado-claro));
  color: var(--azul-escuro);
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.35);
}

.botao-dourado:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(201, 162, 39, 0.5);
}

.botao-azul {
  background: linear-gradient(135deg, var(--azul-medio), var(--azul-claro));
  color: var(--branco);
  box-shadow: 0 4px 15px rgba(18, 58, 107, 0.35);
}

.botao-azul:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(18, 58, 107, 0.5);
}

.botao-contorno {
  background: transparent;
  border: 2px solid var(--dourado);
  color: var(--dourado);
}

.botao-contorno:hover {
  background: var(--dourado);
  color: var(--azul-escuro);
}

/* ---------- HERO (home) ---------- */
.hero {
  position: relative;
  text-align: center;
  line-height: 0;
}

.hero-imagem {
  width: 100%;
  height: auto;
  display: block;
}

.hero .conteudo {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero .etiqueta {
  display: inline-block;
  background: rgba(201, 162, 39, 0.2);
  border: 1px solid var(--dourado);
  color: var(--dourado-claro);
  padding: 6px 18px;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 58px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero .slogan {
  font-size: 24px;
  font-weight: 600;
  color: var(--dourado-claro);
  margin-bottom: 14px;
}

.hero .subtitulo {
  font-size: 17px;
  max-width: 650px;
  margin: 0 auto 32px;
  opacity: 0.95;
}

.hero .botoes-hero {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- CONTAINER GERAL ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.secao {
  padding: 70px 0;
}

.secao-cinza {
  background: var(--cinza-claro);
}

.titulo-secao {
  text-align: center;
  margin-bottom: 45px;
}

.titulo-secao .pequeno {
  color: var(--dourado);
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
}

.titulo-secao h2 {
  font-size: 40px;
  color: var(--azul-escuro);
  font-weight: 800;
  margin-top: 6px;
}

.titulo-secao .linha {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--dourado), var(--dourado-claro));
  margin: 16px auto 0;
}

.titulo-secao p {
  color: var(--cinza);
  margin-top: 14px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- BANNER FOTO DE APOIO (home) ---------- */
.banner-moldura {
  padding: 56px 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(199, 154, 69, 0.28), transparent 34%),
    linear-gradient(135deg, #0d2a4d 0%, #13385f 55%, #1d4c7d 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.banner-moldura-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.banner-moldura-texto h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.12;
  color: #ffffff;
}

.banner-moldura-texto p {
  margin: 0 0 24px;
  max-width: 640px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #d7dfee;
}

.banner-moldura-rotulo {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dourado, #c79a45);
}

.banner-moldura-acoes {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.banner-moldura-arte {
  display: flex;
  gap: 14px;
}

.banner-moldura-miniatiura {
  display: grid;
  place-items: center;
  gap: 8px;
  width: 92px;
  padding: 18px 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  font-weight: 700;
  color: #d7dfee;
}

.banner-moldura-miniatiura i {
  font-size: 2rem;
  color: var(--dourado, #c79a45);
}

@media (max-width: 860px) {
  .banner-moldura {
    padding: 44px 0;
  }

  .banner-moldura-inner {
    grid-template-columns: 1fr;
  }

  .banner-moldura-arte {
    justify-content: center;
  }
}

/* ---------- NÚMEROS ---------- */
.numeros {
  background: linear-gradient(135deg, var(--azul-escuro), var(--azul-medio));
  color: var(--branco);
  padding: 60px 0;
}

.numeros .grade {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.numeros .item .valor {
  font-size: 48px;
  font-weight: 800;
  color: var(--dourado);
}

.numeros .item .rotulo {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 4px;
}

/* ---------- CARDS ---------- */
.grade-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: var(--branco);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(10, 31, 68, 0.08);
  border: 1px solid #e8eaf0;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(10, 31, 68, 0.16);
}

.card .imagem {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.card .conteudo {
  padding: 24px;
}

.card .conteudo h3 {
  color: var(--azul-escuro);
  font-size: 20px;
  margin-bottom: 8px;
}

.card .conteudo p {
  color: var(--cinza);
  font-size: 14px;
}

/* ---------- TIMELINE (trajetória) ---------- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--dourado), var(--azul-claro));
  transform: translateX(-50%);
}

.timeline .item {
  position: relative;
  width: 50%;
  padding: 0 40px 50px;
}

.timeline .item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline .item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline .item .ponto {
  position: absolute;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--dourado);
  border: 4px solid var(--branco);
  box-shadow: 0 0 0 3px var(--dourado);
}

.timeline .item:nth-child(odd) .ponto {
  right: -9px;
}

.timeline .item:nth-child(even) .ponto {
  left: -9px;
}

.timeline .item .periodo {
  color: var(--dourado);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
}

.timeline .item h3 {
  color: var(--azul-escuro);
  font-size: 22px;
  margin: 4px 0;
}

.timeline .item p {
  color: var(--cinza);
  font-size: 14px;
}

.timeline .item img {
  width: 100%;
  max-width: 320px;
  border-radius: 10px;
  margin-top: 12px;
  box-shadow: 0 8px 20px rgba(10, 31, 68, 0.15);
  border: 3px solid var(--dourado);
}

/* ---------- PILARES ---------- */
.grade-pilares {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.pilar {
  background: var(--branco);
  border-top: 4px solid var(--dourado);
  border-radius: 12px;
  padding: 34px 28px;
  box-shadow: 0 6px 20px rgba(10, 31, 68, 0.08);
  text-align: center;
  transition: transform 0.3s;
}

.pilar:hover {
  transform: translateY(-6px);
}

.pilar .icone {
  font-size: 42px;
  margin-bottom: 16px;
}

.pilar h3 {
  color: var(--azul-escuro);
  font-size: 20px;
  margin-bottom: 10px;
}

.pilar p {
  color: var(--cinza);
  font-size: 14px;
}

/* ---------- LISTA DE LEIS ---------- */
.lista-leis {
  max-width: 900px;
  margin: 0 auto;
}

.lei-item {
  background: var(--branco);
  border: 1px solid #e8eaf0;
  border-left: 5px solid var(--dourado);
  border-radius: 10px;
  padding: 22px 26px;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(10, 31, 68, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  transition: box-shadow 0.3s;
}

.lei-item:hover {
  box-shadow: 0 8px 24px rgba(10, 31, 68, 0.14);
}

.lei-item .numero {
  color: var(--dourado);
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
}

.lei-item .texto {
  flex: 1;
  min-width: 250px;
  color: var(--preto-texto);
  font-size: 15px;
}

.lei-item .link-pdf {
  background: var(--azul-escuro);
  color: var(--branco);
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.3s;
}

.lei-item .link-pdf:hover {
  background: var(--azul-claro);
}

/* ---------- BANDEIRAS / MOVIMENTOS ---------- */
.grade-bandeiras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.bandeira {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(10, 31, 68, 0.12);
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s;
}

.bandeira:hover {
  transform: translateY(-6px);
}

.bandeira .fundo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.bandeira::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 31, 68, 0.92));
}

.bandeira .texto {
  position: relative;
  z-index: 1;
  padding: 24px;
  color: var(--branco);
}

.bandeira .texto h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.bandeira .texto p {
  font-size: 13px;
  opacity: 0.95;
}

/* ---------- NOTÍCIAS ---------- */
.grade-noticias {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.noticia {
  background: var(--branco);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(10, 31, 68, 0.08);
  border: 1px solid #e8eaf0;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.noticia:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(10, 31, 68, 0.16);
}

.noticia .conteudo {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.noticia .data {
  color: var(--dourado);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.noticia h3 {
  color: var(--azul-escuro);
  font-size: 19px;
  margin: 8px 0;
  line-height: 1.4;
}

.noticia p {
  color: var(--cinza);
  font-size: 14px;
  flex: 1;
}

.noticia .leia-mais {
  color: var(--azul-claro);
  font-weight: 700;
  font-size: 14px;
  margin-top: 14px;
}

.noticia .leia-mais:hover {
  color: var(--dourado);
}

/* ---------- VÍDEOS ---------- */
.grade-videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.video-card {
  background: var(--branco);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(10, 31, 68, 0.08);
  border: 1px solid #e8eaf0;
}

.video-card .video-frame {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-card .video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card .conteudo {
  padding: 18px;
}

.video-card .conteudo h3 {
  font-size: 16px;
  color: var(--azul-escuro);
}

.video-card .conteudo p {
  font-size: 13px;
  color: var(--cinza);
  margin-top: 6px;
}

/* ---------- TRANSPARÊNCIA ---------- */
.grade-transparencia {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.card-transparencia {
  background: var(--branco);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(10, 31, 68, 0.08);
  border: 1px solid #e8eaf0;
}

.card-transparencia .numero {
  font-size: 40px;
  font-weight: 800;
  color: var(--dourado);
}

.card-transparencia h3 {
  color: var(--azul-escuro);
  font-size: 20px;
  margin: 6px 0;
}

.card-transparencia p {
  color: var(--cinza);
  font-size: 14px;
}

.destaque-valor {
  background: linear-gradient(135deg, var(--azul-escuro), var(--azul-medio));
  color: var(--branco);
  border-radius: 14px;
  padding: 40px;
  text-align: center;
  margin-top: 40px;
}

.destaque-valor .valor {
  font-size: 44px;
  font-weight: 800;
  color: var(--dourado);
}

.destaque-valor p {
  margin-top: 8px;
  font-size: 15px;
  opacity: 0.95;
}

/* ---------- PÁGINAS INTERNAS (cabeçalho da página) ---------- */
.cabecalho-pagina {
  background: linear-gradient(135deg, var(--azul-escuro), var(--azul-medio));
  color: var(--branco);
  text-align: center;
  padding: 70px 20px;
}

.cabecalho-pagina .etiqueta {
  color: var(--dourado);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
}

.cabecalho-pagina h1 {
  font-size: 46px;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cabecalho-pagina .linha {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--dourado), var(--dourado-claro));
  margin: 16px auto 0;
}

/* ---------- PERFIL (biografia) ---------- */
.perfil {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.perfil .foto {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 31, 68, 0.25);
  border: 4px solid var(--dourado);
}

.perfil .foto img {
  width: 100%;
  height: auto;
}

.perfil .texto h2 {
  color: var(--azul-escuro);
  font-size: 36px;
  margin-bottom: 16px;
}

.perfil .texto p {
  color: var(--cinza);
  font-size: 15px;
  margin-bottom: 14px;
}

/* ---------- FORMULÁRIO CONTATO ---------- */
.formulario {
  max-width: 700px;
  margin: 0 auto;
  background: var(--branco);
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(10, 31, 68, 0.12);
  border: 1px solid #e8eaf0;
}

.campo {
  margin-bottom: 20px;
}

.campo label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--azul-escuro);
  margin-bottom: 6px;
}

.campo input,
.campo textarea,
.campo select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #d5dae3;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.campo input:focus,
.campo textarea:focus,
.campo select:focus {
  outline: none;
  border-color: var(--dourado);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
}

.campo textarea {
  min-height: 130px;
  resize: vertical;
}

/* ---------- CONTATO INFO ---------- */
.contato-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 50px;
}

.contato-card {
  background: var(--branco);
  border-radius: 14px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(10, 31, 68, 0.08);
  border: 1px solid #e8eaf0;
}

.contato-card .icone {
  font-size: 38px;
  margin-bottom: 12px;
}

.contato-card h3 {
  color: var(--azul-escuro);
  font-size: 18px;
  margin-bottom: 6px;
}

.contato-card p,
.contato-card a {
  color: var(--cinza);
  font-size: 14px;
  display: block;
}

.contato-card a:hover {
  color: var(--dourado);
}

/* ---------- REDES SOCIAIS ---------- */
.area-social {
  max-width: 640px;
  margin: 0 auto;
}

.area-social .feed-facebook {
  background: var(--branco);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(10, 31, 68, 0.08);
  border: 1px solid #e8eaf0;
  padding: 18px;
}

.area-social .feed-facebook iframe {
  max-width: 100%;
  border: 0;
  overflow: hidden;
  display: block;
  margin: 0 auto;
}

.area-social .redes-destaque {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ---------- LINKS OFICIAIS (transparência) ---------- */
.links-oficiais {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.link-oficial {
  background: var(--branco);
  border-radius: 12px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(10, 31, 68, 0.08);
  border: 1px solid #e8eaf0;
  transition: transform 0.3s, box-shadow 0.3s;
}

.link-oficial:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10, 31, 68, 0.15);
}

.link-oficial .icone {
  font-size: 30px;
  margin-bottom: 10px;
}

.link-oficial h3 {
  color: var(--azul-escuro);
  font-size: 16px;
  margin-bottom: 6px;
}

.link-oficial p {
  color: var(--cinza);
  font-size: 13px;
}

/* ---------- NAVEGAÇÃO POR ANO (LEIS) ---------- */
.navegacao-anos {
  position: sticky;
  top: 92px;
  z-index: 900;
  background: var(--branco);
  box-shadow: 0 4px 18px rgba(10, 31, 68, 0.10);
  border-bottom: 1px solid #e8eaf0;
  padding: 14px 0;
}

.navegacao-anos .container {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ano-botao {
  display: inline-block;
  background: var(--cinza-claro);
  color: var(--azul-escuro);
  border: 2px solid #e0e4ec;
  border-radius: 10px;
  padding: 8px 24px;
  font-size: 18px;
  font-weight: 800;
  font-family: var(--fonte-titulo);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.ano-botao .rotulo {
  display: block;
  font-family: var(--fonte-corpo);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.85;
}

.ano-botao:hover {
  transform: translateY(-2px);
  border-color: var(--dourado);
}

.ano-botao.ativo {
  background: linear-gradient(135deg, var(--azul-medio), var(--azul-claro));
  color: var(--branco);
  border-color: var(--azul-medio);
}

.leis-ano {
  scroll-margin-top: 175px;
}

.aviso-vazio {
  background: var(--cinza-claro);
  border: 1px dashed var(--dourado);
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  color: var(--cinza);
  font-size: 15px;
  max-width: 900px;
  margin: 0 auto;
}

/* ---------- REDES SOCIAIS (abas) ---------- */
.abas-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.aba-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 2px solid #e0e4ec;
  background: var(--branco);
  color: var(--azul-escuro);
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s;
}

.aba-social i {
  font-size: 16px;
}

.aba-social:hover {
  border-color: var(--dourado);
  color: var(--dourado);
}

.aba-social.ativo {
  background: linear-gradient(135deg, var(--azul-medio), var(--azul-claro));
  border-color: var(--azul-medio);
  color: var(--branco);
}

.painel-social {
  display: none;
}

.painel-social.ativo {
  display: block;
}

.rotulo-painel {
  text-align: center;
  color: var(--cinza);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.painel-social .rede-videos {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(10, 31, 68, 0.08);
  border: 1px solid #e8eaf0;
  background: var(--branco);
}

.painel-social .rede-videos iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.rede-chamada {
  text-align: center;
  background: var(--branco);
  border-radius: 14px;
  padding: 40px 30px;
  box-shadow: 0 6px 20px rgba(10, 31, 68, 0.08);
  border: 1px solid #e8eaf0;
}

.rede-chamada .icone {
  font-size: 42px;
  color: var(--azul-medio);
  margin-bottom: 12px;
}

.rede-chamada h3 {
  color: var(--azul-escuro);
  font-size: 22px;
  margin-bottom: 8px;
}

.rede-chamada p {
  color: var(--cinza);
  font-size: 14px;
  margin-bottom: 22px;
}

.rede-chamada .visitar-redes {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- CONTAGEM PÚBLICA DAS REDES SOCIAIS ---------- */
.contagem-redes {
  margin-top: 38px;
  text-align: center;
}

.contagem-redes .rotulo-painel {
  font-size: 13px;
  color: var(--cinza);
  letter-spacing: 0.4px;
  opacity: 0.85;
}

.grade-contagem {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.contador-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--branco);
  border: 1px solid #e0e4ec;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--azul-escuro);
  box-shadow: 0 3px 10px rgba(10, 31, 68, 0.07);
}

.contador-chip i {
  color: var(--azul-min);
  font-size: 15px;
}

.contador-chip .numero {
  color: var(--dourado);
  font-size: 16px;
  font-weight: 800;
  margin-left: 2px;
}

/* ---------- PARTICIPAÇÃO / VOLUNTÁRIO ---------- */
.participacao {
  padding: 56px 0;
  background:
    radial-gradient(circle at 10% 30%, rgba(201, 162, 39, 0.15), transparent 40%),
    linear-gradient(135deg, #0d2a4d 0%, #13385f 55%, #1d4c7d 100%);
  position: relative;
  overflow: hidden;
}

.caixa-participacao {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
}

.caixa-participacao::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.12);
}

.caixa-participacao .texto-participacao {
  position: relative;
  z-index: 1;
}

.caixa-participacao .botoes-participacao {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- RODAPÉ ---------- */
.rodape {
  background: var(--azul-escuro);
  color: #cbd5e6;
  padding: 60px 0 0;
}

.rodape .grade {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.rodape h4 {
  color: var(--dourado);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.rodape .logo-rodape img {
  height: 60px;
  margin-bottom: 16px;
}

.rodape .logo-rodape p {
  font-size: 13px;
  line-height: 1.7;
}

.rodape ul {
  list-style: none;
}

.rodape ul li {
  margin-bottom: 10px;
}

.rodape ul li a {
  font-size: 14px;
  color: #cbd5e6;
}

.rodape ul li a:hover {
  color: var(--dourado);
}

.rodape .redes-rodape a {
  display: inline-block;
  width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  margin-right: 8px;
  font-size: 16px;
  color: var(--branco);
  transition: background 0.3s;
}

.rodape .redes-rodape a:hover {
  background: var(--dourado);
  color: var(--azul-escuro);
}

.rodape .barra-final {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: #8fa0bd;
}

/* ---------- BOTÃO WHATSAPP FLUTUANTE ---------- */
.whatsapp-flutuante {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--branco);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  transition: transform 0.3s;
}

.whatsapp-flutuante:hover {
  transform: scale(1.1);
}

/* ---------- ANIMAÇÃO DE ENTRADA ---------- */
.fade-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-reveal.visivel {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 992px) {
  .grade-cards,
  .grade-pilares,
  .grade-bandeiras,
  .grade-videos,
  .contato-cards,
  .links-oficiais {
    grid-template-columns: repeat(2, 1fr);
  }

  .numeros .grade {
    grid-template-columns: repeat(2, 1fr);
  }

  .rodape .grade {
    grid-template-columns: 1fr 1fr;
  }

  .perfil {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-principal {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--branco);
    box-shadow: 0 12px 30px rgba(10, 31, 68, 0.2);
  }

  .menu-principal.aberto {
    display: block;
  }

  .menu-principal ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
  }

  .menu-principal li {
    border-bottom: 1px solid #eee;
  }

  .menu-principal a {
    display: block;
    padding: 14px 20px;
  }

  .botao-menu-celular {
    display: block;
  }

  .hero {
    padding: 0;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero .slogan {
    font-size: 18px;
  }

  .titulo-secao h2 {
    font-size: 30px;
  }

  .grade-cards,
  .grade-pilares,
  .grade-bandeiras,
  .grade-videos,
  .grade-noticias,
  .grade-transparencia,
  .links-oficiais,
  .contato-cards {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline .item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding: 0 0 40px 40px;
  }

  .timeline .item .ponto {
    left: 0 !important;
    right: auto !important;
  }

  .caixa-participacao {
    flex-direction: column;
    text-align: center;
  }

  .caixa-participacao .botoes-participacao {
    justify-content: center;
  }

  .topo-informacoes .container {
    justify-content: center;
    text-align: center;
  }
}