:root {
  --mel: #ffcd2c;
  --mel-escuro: #9a6a00;
  --mel-claro: #ffe4a5;
  --grafite: #414042;
  --bg: #fffbef;
  --bg-alt: #fff1c9;
  --card: #ffffff;
  --texto: #2a292b;
  --texto-suave: #5e5a52;
  --borda: #f0dfae;
  --codigo-bg: #2a292b;
  --codigo-texto: #ffe4a5;
  --sombra: 0 6px 24px rgba(90, 70, 0, 0.08);
  --raio: 14px;
  --largura: 1120px;
  color-scheme: light;
}

/* tema escuro: data-tema é definido por assets/js/tema.js antes da página aparecer */
:root[data-tema="escuro"] {
  --mel-escuro: #ffcd2c;
  --bg: #1d1c1e;
  --bg-alt: #262528;
  --card: #2e2d30;
  --texto: #f5f1e6;
  --texto-suave: #bdb8ab;
  --borda: #444246;
  --codigo-bg: #141315;
  --sombra: 0 6px 24px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--texto);
  line-height: 1.6;
}

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

a { color: var(--mel-escuro); }
:where([data-tema="escuro"]) a { color: var(--mel); }

.container {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding-inline: 20px;
}

.topo {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
}
.topo .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--texto);
  text-decoration: none;
  flex-shrink: 0;
}
.marca img {
  height: 36px;
  width: auto;
  max-width: 100%;
  aspect-ratio: 131 / 36;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.marca .logo-claro { display: none; }
[data-tema="escuro"] .marca .logo-escuro { display: none; }
[data-tema="escuro"] .marca .logo-claro { display: block; }

.menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--texto);
  text-decoration: none;
  font-family: "Poppins", "Inter", system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.15s, background 0.15s;
}
.menu a:hover, .menu a.ativo, .menu a[aria-current="page"] { background: var(--bg-alt); color: var(--mel-escuro); }
/* Colmeia Linux: página própria e projeto principal, por isso vira botão */
.menu .menu-destaque { margin-left: 8px; padding: 6px 14px; border: 2px solid var(--mel); color: var(--texto); font-weight: 600; }
.menu .menu-destaque:hover, .menu .menu-destaque[aria-current="page"] { background: var(--mel); color: var(--grafite); }
@media (min-width: 761px) and (max-width: 1000px) {
  .menu a { padding: 8px 8px; font-size: 0.86rem; }
  .menu .menu-destaque { margin-left: 4px; padding: 6px 10px; }
  .redes { padding-left: 6px; }
  .redes a { width: 32px; }
}

.menu { margin-left: auto; }
.redes {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0 0 0 12px;
  border-left: 1px solid var(--borda);
}
.redes a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--texto);
  transition: color 0.15s, background 0.15s;
}
.redes a:hover { background: var(--bg-alt); color: var(--mel-escuro); }
.redes svg { width: 19px; height: 19px; }

.tema-botao {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--texto);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.tema-botao:hover { background: var(--bg-alt); color: var(--mel-escuro); }
.tema-botao svg { width: 19px; height: 19px; }
/* mostra o tema para o qual o botão vai trocar */
.tema-botao .icone-sol, [data-tema="escuro"] .tema-botao .icone-lua { display: none; }
[data-tema="escuro"] .tema-botao .icone-sol { display: block; }

.menu-botao {
  display: none;
  background: none;
  border: 1px solid var(--borda);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1.2rem;
  color: var(--texto);
  cursor: pointer;
}

@media (max-width: 760px) {
  .topo .container {
    gap: 10px;
    padding-inline: 16px;
  }
  .marca img {
    height: 32px;
  }
  .menu-botao {
    display: block;
    order: 1;
    flex-shrink: 0;
  }
  .redes {
    margin-left: auto;
    border-left: 0;
    padding-left: 0;
    flex-shrink: 0;
  }
  .redes a {
    width: 32px;
    height: 32px;
  }
  .tema-botao {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 12px 20px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--borda);
  }
  .menu.aberto { display: flex; }
  .menu .menu-destaque { margin: 8px 0 0; }
}

@media (max-width: 400px) {
  .topo .container {
    gap: 6px;
    padding-inline: 12px;
  }
  .marca img {
    height: 28px;
  }
  .redes a,
  .tema-botao {
    width: 28px;
    height: 28px;
  }
  .redes svg,
  .tema-botao svg {
    width: 16px;
    height: 16px;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: 96px 80px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 205, 44, 0.35), transparent 45%),
    var(--bg);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--bg-alt));
  pointer-events: none;
  z-index: 0;
}

.hero .favo-fundo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.12) 25%, rgba(0, 0, 0, 0.55) 50%, #000 78%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.12) 25%, rgba(0, 0, 0, 0.55) 50%, #000 78%);
}
@media (max-width: 860px) {
  .hero .favo-fundo { height: 340px; object-position: right top; }
  .hero-sem-mascote .favo-fundo { height: 200px; }
  .hero.hero-sem-mascote { padding-top: 190px; }
}
.hero .container { position: relative; z-index: 1; }
.selo {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--mel-claro);
  color: #6b4500;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin: 18px 0 16px;
  max-width: 16ch;
}
.hero h1 em { font-style: normal; color: var(--mel); }
.hero p.lead { font-size: 1.15rem; color: var(--texto-suave); max-width: 58ch; }

.botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.botao {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--mel);
  transition: transform 0.15s, background 0.15s;
}
.botao:hover { transform: translateY(-2px); }
.botao.primario { background: var(--mel); color: var(--grafite); }
.botao.primario:hover { background: #f2b800; border-color: #f2b800; }
.botao.secundario { background: transparent; color: var(--texto); }

section { padding-block: 72px; }
section.alt { background: var(--bg-alt); }
.titulo-secao { margin-bottom: 36px; }
.titulo-secao h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin: 0 0 8px; }
.titulo-secao p { margin: 0; color: var(--texto-suave); max-width: 65ch; }
.titulo-secao .sobretitulo {
  color: var(--mel-escuro);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.grade { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 24px;
  box-shadow: var(--sombra);
}
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--texto-suave); }
.card .icone {
  width: 48px;
  height: 55px;
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--mel);
  color: var(--grafite);
  font-size: 1.3rem;
  margin-bottom: 14px;
  transition: transform 0.2s;
}
.card:hover .icone { transform: rotate(30deg); }
.card:hover .icone > * { transform: rotate(-30deg); }
.card .icone > * { transition: transform 0.2s; }
.card .icone > span { display: inline-block; }
/* inline-block não herda o sublinhado do link (o respiro do glifo "@" parecia um ponto) */
.arroba { display: inline-block; }
.card .icone svg { width: 22px; height: 22px; }
.card .icone { font-family: "Poppins", sans-serif; font-weight: 800; }
.card a.mais { display: inline-block; margin-top: 12px; font-weight: 700; text-decoration: none; }

.distro-destaque {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}
@media (max-width: 860px) { .distro-destaque { grid-template-columns: minmax(0, 1fr); } }

.terminal {
  background: var(--codigo-bg);
  color: var(--codigo-texto);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  overflow: hidden;
  font-family: "JetBrains Mono", ui-monospace, Consolas, monospace;
  font-size: 0.9rem;
}
.terminal .barra { display: flex; gap: 6px; padding: 10px 14px; background: rgba(255, 255, 255, 0.06); }
.terminal .barra i { width: 11px; height: 11px; border-radius: 50%; background: #5a4a2a; }
.terminal .barra i:first-child { background: var(--mel); }
.terminal pre { margin: 0; padding: 18px; overflow-x: auto; }
:not(pre) > code { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.86em; padding: 1px 6px; border-radius: 6px; background: var(--bg-alt); border: 1px solid var(--borda); overflow-wrap: anywhere; }
.card :not(pre) > code { background: var(--bg); }
.terminal .prompt { color: var(--mel); }
.terminal .comentario { color: #8f8266; }

.lista-check { list-style: none; padding: 0; margin: 20px 0 0; }
.lista-check li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.lista-check li::before {
  content: "⬢";
  position: absolute;
  left: 0;
  color: var(--mel);
}

.linha-tempo { --hexw: 30px; list-style: none; margin: 0; padding: 0; counter-reset: fase; }
.linha-tempo li {
  --linha-x: calc(var(--hexw) / 2 - 1.5px);
  position: relative;
  padding: 0 0 30px calc(var(--hexw) + 16px);
  counter-increment: fase;
  background-image: linear-gradient(var(--mel), var(--mel)), linear-gradient(var(--mel), var(--mel));
  background-repeat: no-repeat;
  background-position: var(--linha-x) 0, var(--linha-x) 0.8em;
  background-size: 3px 0.8em, 3px calc(100% - 0.8em);
}
.linha-tempo li:first-child { background-size: 0 0, 3px calc(100% - 0.8em); }
.linha-tempo li:last-child { padding-bottom: 0; background-size: 3px 0.8em, 0 0; }
.linha-tempo li::before,
.linha-tempo li::after {
  position: absolute;
  top: 0.8em;
  transform: translateY(-50%);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.linha-tempo li::before {
  content: "";
  left: 0;
  width: var(--hexw);
  height: calc(var(--hexw) * 1.1547);
  background: var(--mel);
}
.linha-tempo li::after {
  content: counter(fase);
  left: 3.5px;
  width: calc(var(--hexw) - 7px);
  height: calc((var(--hexw) - 7px) * 1.1547);
  display: grid;
  place-items: center;
  background: var(--bg-alt);
  color: var(--mel-escuro);
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
}
.linha-tempo strong { color: var(--mel-escuro); }

.tabela-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--raio); overflow: hidden; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--borda); }
th { background: var(--bg-alt); }

.rodape { background: var(--grafite); color: #d9ccb0; padding-block: 48px 28px; }
.rodape a { color: var(--mel); text-decoration: none; }
.rodape a:hover { text-decoration: underline; }
.rodape .colunas { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.rodape h4 { color: #fff; margin: 0 0 12px; }
.rodape ul { list-style: none; margin: 0; padding: 0; }
.rodape li { margin-bottom: 6px; }
.rodape .copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid #5a595c; font-size: 0.85rem; color: #b5b1a8; }

h1, h2, h3, h4 { font-family: "Poppins", "Inter", system-ui, sans-serif; }

.logo-rodape { display: block; height: 44px; width: auto; aspect-ratio: 160 / 44; object-fit: contain; margin-bottom: 14px; }

.hero-grade > *, .distro-destaque > *, .sobre-grade > * { min-width: 0; }
.hero-grade {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 24px;
}
.mascote {
  width: 100%;
  max-width: 420px;
  justify-self: center;
  filter: drop-shadow(0 18px 30px rgba(65, 64, 66, 0.25));
  animation: acenar 4s ease-in-out infinite;
  transform-origin: 50% 90%;
}
@keyframes acenar {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-3deg) translateY(-6px); }
}
@media (max-width: 860px) {
  .hero-grade { grid-template-columns: minmax(0, 1fr); }
  .mascote { max-width: 220px; order: -1; margin-bottom: 8px; }
  .hero { padding-block: 40px 56px; }
}

/* página Colmeia Linux: texto + print da área de trabalho */
.hero-distro { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; }
.print-distro {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--mel) 45%, transparent);
  background: #141315;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 6px color-mix(in srgb, var(--mel) 10%, transparent);
  transition: transform 0.25s, box-shadow 0.25s;
}
.print-distro:hover { transform: translateY(-4px); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4), 0 0 0 6px color-mix(in srgb, var(--mel) 22%, transparent); }
.print-distro img { display: block; width: 100%; height: auto; }
.print-distro { cursor: zoom-in; }
.link-codigo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--texto-suave);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
}
.link-codigo:hover { color: var(--mel-escuro); }
.link-codigo svg { width: 18px; height: 18px; flex: none; }

/* zoom de imagens (a[data-zoom], ver colmeia.js) */
.zoom {
  max-width: 100vw;
  max-height: 100dvh;
  width: 100vw;
  height: 100dvh;
  margin: 0;
  padding: 16px;
  border: 0;
  background: transparent;
  cursor: zoom-out;
}
.zoom[open] { display: grid; place-items: center; }
.zoom::backdrop { background: rgba(10, 10, 12, 0.88); backdrop-filter: blur(4px); }
.zoom img { max-width: 100%; max-height: calc(100dvh - 32px); border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); animation: zoom-entrar 0.2s ease-out; }
@keyframes zoom-entrar { from { transform: scale(0.94); opacity: 0; } }
.zoom-fechar {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #2a292b;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) { .zoom img { animation: none; } }
@media (max-width: 860px) {
  /* celular: selo, título, texto, print e só depois os botões */
  .hero-distro { grid-template-columns: minmax(0, 1fr); gap: 0; text-align: center; }
  .hero-distro > div { display: contents; }
  .hero-distro .selo, .hero-distro .link-codigo { justify-self: center; }
  .hero-distro h1, .hero-distro .lead { margin-inline: auto; }
  .print-distro { order: 1; margin-top: 12px; }
  .hero-distro .botoes, .hero-distro .link-codigo { order: 2; }
}

.sobre-grade {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}
.sobre-grade .titulo-secao { margin-bottom: 0; }
.foto-equipe {
  width: 100%;
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  border: 6px solid var(--mel);
  aspect-ratio: 1;
  object-fit: cover;
}
@media (max-width: 860px) { .sobre-grade { grid-template-columns: minmax(0, 1fr); } }

.realizacao { padding-block: 32px; border-top: 1px solid var(--borda); }
.realizacao .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
}
.realizacao span {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--texto-suave);
}
.realizacao a { display: block; }
.realizacao img { display: block; height: 56px; width: auto; }
.realizacao .udesc-claro { display: none; }
[data-tema="escuro"] .realizacao .udesc-escuro { display: none; }
[data-tema="escuro"] .realizacao .udesc-claro { display: block; }
@media (max-width: 480px) { .realizacao img { height: 44px; } }

.revelar { opacity: 0; transform: translateY(18px); transition: opacity 0.6s, transform 0.6s; }
.revelar.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .revelar { opacity: 1; transform: none; transition: none; }
  .mascote { animation: none; }
  html { scroll-behavior: auto; }
}

.botao svg { width: 18px; height: 18px; flex: none; }

@media (max-width: 760px) {
  section { padding-block: 56px; }

  .titulo-secao { text-align: center; }
  .titulo-secao p { margin-inline: auto; }

  .hero-grade > div, .hero .container { text-align: center; }
  .hero p.lead { margin-inline: auto; font-size: 1.05rem; }
  .hero h1 { margin-inline: auto; }
  .mascote { justify-self: center; }

  .botoes { flex-direction: column; align-items: center; }
  .botoes .botao { width: 100%; max-width: 320px; justify-content: center; }
  .card { text-align: center; }
  .card .icone { margin-inline: auto; }

  #contato .grade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #contato .card { padding: 20px 12px; }
  #contato .card p { font-size: 0.85rem; overflow-wrap: anywhere; }
  #contato .card:first-child { grid-column: 1 / -1; }

  .distro-destaque { text-align: center; }
  .lista-check { display: inline-block; text-align: left; }
  .terminal { font-size: 0.74rem; text-align: left; }

  .linha-tempo { max-width: 480px; margin-inline: auto; text-align: left; }

  .realizacao .container { flex-direction: column; gap: 12px; }

  .rodape { text-align: center; }
  .rodape .colunas { gap: 28px; }
  .logo-rodape { margin-inline: auto; }
  .rodape ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
  .rodape li { margin: 0; }
  .rodape .copy { text-align: center; }

  .menu { text-align: center; }
}

.colmeia {
  --favo: min(168px, calc((100vw - 60px) / 3));
  --fresta: 10px;
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 8px 4px;
}
.favo-linha { display: flex; gap: var(--fresta); }
.favo-linha + .favo-linha { margin-top: calc(var(--favo) * -0.2887 + var(--fresta) * 0.866); }

.favo {
  position: relative;
  width: var(--favo);
  height: calc(var(--favo) * 1.1547);
  clip-path: var(--hex);
  background: var(--mel);
  transition: transform 0.2s;
}
.favo:hover { transform: scale(1.06); z-index: 2; }
.favo-dentro {
  position: absolute;
  inset: 4px;
  clip-path: var(--hex);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 11%;
  text-align: center;
}
.favo-dentro svg { width: calc(var(--favo) * 0.36); height: calc(var(--favo) * 0.36); flex: none; }
.favo-dentro strong {
  font-family: "Poppins", sans-serif;
  font-size: clamp(11px, calc(var(--favo) * 0.085), 15px);
  line-height: 1.15;
}
.favo-dentro span { font-size: clamp(9px, calc(var(--favo) * 0.066), 11.5px); line-height: 1.2; opacity: 0.8; }

.favo-bolsista { background: #e0a100; }
.favo-bolsista .favo-dentro { background: linear-gradient(160deg, #ffe066, #f7b900); color: var(--grafite); }
.favo-voluntario .favo-dentro { background: var(--card); color: var(--texto); }
.favo-rainha { background: #b34700; }
.favo-rainha .favo-dentro { background: linear-gradient(160deg, #ffb347, #f07a12); color: var(--grafite); }
.favo-rainha strong { color: #2a292b; }
.favo-convite { display: block; background: color-mix(in srgb, var(--mel) 35%, transparent); text-decoration: none; }
.favo-convite .favo-dentro { background: var(--bg); color: var(--texto-suave); }
.favo-convite strong { color: var(--texto); }
.favo-convite .favo-dentro svg { width: calc(var(--favo) * 0.22); height: calc(var(--favo) * 0.22); margin-bottom: 4px; color: var(--mel); }
.favo-convite:hover { background: var(--mel); }

.favo:hover .favo-dentro svg { animation: zumbir 0.35s ease-in-out infinite alternate; }
@keyframes zumbir { to { transform: rotate(-8deg) translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .favo:hover .favo-dentro svg { animation: none; } }

.legenda-colmeia {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  font-size: 0.88rem;
  color: var(--texto-suave);
}
.legenda-colmeia li { display: flex; align-items: center; gap: 8px; }
.legenda-colmeia i {
  position: relative;
  width: 16px;
  height: 18px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--mel);
}
.legenda-colmeia i::after {
  content: "";
  position: absolute;
  inset: 2.5px;
  clip-path: inherit;
}
.leg-bolsista::after { background: linear-gradient(160deg, #ffe066, #f7b900); }
.leg-voluntario::after { background: var(--card); }
.legenda-colmeia .leg-rainha { background: #b34700; }
.leg-rainha::after { background: linear-gradient(160deg, #ffb347, #f07a12); }

#membros .titulo-secao { text-align: center; }
#membros .titulo-secao p { margin-inline: auto; }

.favo-bolsista .favo-dentro::after,
.favo-voluntario .favo-dentro::after {
  margin-top: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: clamp(8.5px, calc(var(--favo) * 0.06), 10.5px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.favo-bolsista .favo-dentro::after { content: "Bolsista"; background: var(--grafite); color: var(--mel); }
.favo-voluntario .favo-dentro::after { content: "Voluntário"; background: var(--mel); color: var(--grafite); }
.favo-dentro svg { width: calc(var(--favo) * 0.42); height: calc(var(--favo) * 0.42); margin-bottom: -2px; }

@media (max-width: 520px) {
  .favo-bolsista .favo-dentro span, .favo-voluntario .favo-dentro span { display: none; }
}

.favo-voluntario .favo-dentro svg { filter: drop-shadow(0 0 1px rgba(255, 241, 214, 0.9)) drop-shadow(0 0 3px rgba(255, 205, 44, 0.25)); }

img, svg { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }

#sobre .grade { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.foto-vazia {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--mel-escuro);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  background-color: var(--card);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16Zm0 64v33M0 48l-28 16M56 48l28 16' fill='none' stroke='%23ffcd2c' stroke-opacity='.18' stroke-width='2'/%3E%3C/svg%3E");
}
.foto-vazia svg { width: 56px; height: 56px; opacity: 0.85; }

/* ---------- Blog ---------- */
.blog-grade { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.post-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-align: left;
  font: inherit;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.post-card:hover, .post-card:focus-visible { transform: translateY(-4px); border-color: var(--mel); }
.post-card:focus-visible { outline: 2px solid var(--mel); outline-offset: 2px; }
.post-capa { position: relative; aspect-ratio: 1; background: var(--bg-alt); }
.post-capa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-tipo {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(20, 19, 21, 0.6);
  color: #fff;
}
.post-tipo svg { width: 17px; height: 17px; }
.post-texto { padding: 14px 16px 18px; }
.post-texto time { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mel-escuro); }
.post-texto p { margin: 6px 0 0; font-size: 0.93rem; color: var(--texto-suave); line-height: 1.5; }
.blog-aviso { text-align: center; color: var(--texto-suave); padding: 40px 0; margin: 0; }
.blog-mais { display: flex; justify-content: center; margin-top: 32px; }
.blog-mais .botao[hidden] { display: none; }

.post-modal {
  width: min(1040px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: var(--card);
  color: var(--texto);
  overflow: hidden;
}
.post-modal::backdrop { background: rgba(10, 10, 12, 0.75); backdrop-filter: blur(4px); }
.post-modal-corpo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); max-height: calc(100dvh - 48px); }
.post-midia { position: relative; background: #000; display: flex; align-items: center; min-height: 0; }
.post-trilho {
  display: flex;
  width: 100%;
  max-height: calc(100dvh - 48px);
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.post-trilho::-webkit-scrollbar { display: none; }
.post-trilho img { flex: 0 0 100%; width: 100%; max-height: calc(100dvh - 48px); object-fit: contain; scroll-snap-align: center; }
.post-midia-video iframe { width: 100%; height: min(760px, calc(100dvh - 48px)); border: 0; background: #fff; }
.post-seta {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--grafite);
  cursor: pointer;
}
.post-seta[hidden] { display: none; }
.post-seta svg { width: 20px; height: 20px; }
.post-seta-anterior { left: 10px; }
.post-seta-proximo { right: 10px; }
.post-pontos { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.post-pontos i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); }
.post-pontos i.ativo { background: var(--mel); }
.post-lado { display: flex; flex-direction: column; gap: 16px; padding: 22px; overflow-y: auto; min-height: 0; }
.post-autor { display: flex; align-items: center; gap: 12px; padding-right: 36px; }
.post-autor img { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-alt); }
.post-autor strong { display: block; font-family: "Poppins", sans-serif; }
.post-autor time { font-size: 0.85rem; color: var(--texto-suave); }
.post-legenda { white-space: pre-line; overflow-wrap: anywhere; font-size: 0.95rem; flex: 1; }
.post-legenda a { text-decoration: none; }
.post-legenda a:hover { text-decoration: underline; }
.post-lado .botao { align-self: flex-start; }
.post-fechar {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--texto);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.post-fechar:hover { background: var(--mel); color: var(--grafite); }

@media (max-width: 760px) {
  .blog-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .post-texto { padding: 10px 12px 14px; }
  .post-texto p { font-size: 0.85rem; }
  .post-modal { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; }
  .post-modal-corpo { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); max-height: 100dvh; height: 100%; }
  .post-trilho, .post-trilho img { max-height: 60dvh; }
  .post-midia-video iframe { height: 60dvh; }
  .post-lado .botao { align-self: stretch; justify-content: center; }
  .post-fechar { background: rgba(255, 255, 255, 0.9); color: var(--grafite); }
}
