:root {
  --bg: #f5f7f2;
  --surface: #ffffff;
  --text: #122321;
  --primary: #0d7668;
  --primary-dark: #0b5b50;
  --highlight: #f2b133;
  --line: #dce4dd;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.container {
  width: min(1480px, 96vw);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.topbar-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(14px, 2.2vw, 26px);
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 74px;
  width: auto;
  max-width: 100%;
  display: block;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid #d8e4dc;
  background: #f2f7f3;
}

.menu a {
  text-decoration: none;
  color: #1e302d;
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1;
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.menu a:hover {
  background: #ffffff;
  color: var(--primary);
}

.menu .menu-cta {
  background: var(--highlight);
  color: #1c1300;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(242, 177, 51, 0.35);
}

.menu .menu-cta:hover {
  background: #ffbe43;
  color: #1c1300;
}

.hero {
  position: relative;
  min-height: clamp(420px, 55vw, 620px);
  display: flex;
  align-items: center;
  background: url("imagens/home/capa fecitiba_20260423203322.png") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(8, 21, 23, 0.82) 0%,
    rgba(8, 21, 23, 0.66) 46%,
    rgba(8, 21, 23, 0.22) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  width: min(620px, 92vw);
  padding: clamp(38px, 6vw, 68px) 0;
}

.kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 800;
  font-size: 0.84rem;
  color: #d2f7e8;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.8vw, 3.1rem);
  line-height: 1.08;
  max-width: 14ch;
}

.hero p {
  margin: 16px 0 0;
  max-width: 58ch;
  color: #eff5f4;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
}

.btn-cta {
  text-decoration: none;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 999px;
}

.btn-cta:hover {
  background: var(--primary-dark);
}

.section-avisos {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: clamp(22px, 3vw, 34px) 0;
}

.section-avisos .section-content {
  display: block;
  max-width: 1240px;
}

.avisos-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.avisos-kicker {
  margin: 0 0 6px;
  color: #0d7668;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.avisos-header h2 {
  margin: 0;
  color: #0d7668;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
}

.avisos-controles {
  display: flex;
  gap: 8px;
}

.aviso-nav {
  width: 42px;
  height: 42px;
  border: 1px solid #bad4c9;
  border-radius: 999px;
  background: #f7fbf9;
  color: #134e46;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.aviso-nav:hover {
  border-color: var(--primary);
  background: #ecf6f2;
}

.aviso-texto {
  max-width: 62ch;
}

.aviso-tag {
  margin: 0 0 8px;
  color: #0d7668;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.aviso-texto h3 {
  margin: 0 0 12px;
  color: #143f39;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  line-height: 1.15;
}

.aviso-texto p {
  margin: 0;
  color: #284540;
  line-height: 1.62;
}

.aviso-texto p + p {
  margin-top: 10px;
}

.aviso-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  text-decoration: none;
  color: #ffffff;
  background: var(--primary);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 800;
}

.aviso-link:hover {
  background: var(--primary-dark);
}

.aviso-link-whatsapp {
  background: #25d366;
  color: #062b17;
}

.aviso-link-whatsapp:hover {
  background: #1fb957;
  color: #062b17;
}

.aviso-link strong {
  font-weight: 800;
}

.aviso-link + .aviso-link {
  margin-left: 8px;
}

.aviso-link img {
  width: 18px;
  height: 18px;
  display: block;
  border-radius: 5px;
  background: #ffffff;
  padding: 3px;
}

.avisos-carrossel {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  touch-action: pan-y;
  border: 1px solid #cbdad3;
  border-radius: 16px;
  background: #e9f2ee;
  box-shadow: 0 12px 28px rgba(10, 50, 45, 0.1);
}

.avisos-track {
  display: flex;
  transition: transform 0.42s ease;
}

.aviso-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: center;
  gap: clamp(18px, 4vw, 42px);
  padding: clamp(18px, 3vw, 28px);
}

.aviso-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid #cbdad3;
  border-radius: 14px;
  background: #dfece7;
}

.aviso-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.aviso-media-cartaz {
  background: #ffffff;
}

.aviso-media-cartaz img {
  object-fit: contain;
}

.avisos-indicadores {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.aviso-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: #c4d7ce;
  cursor: pointer;
  padding: 0;
}

.aviso-dot.is-active {
  background: #0d7668;
}

.section {
  padding: clamp(34px, 5vw, 62px) 0;
}

.section-alt {
  background: #ebf1ec;
  border-top: 1px solid var(--line);
}

.section-realizacao {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.section-realizacao .section-content {
  text-align: center;
}

.section-realizacao .subsection-title {
  margin: 0 0 14px;
}

.section-content h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  color: #143f39;
}

.subsection-title {
  margin: 26px 0 10px;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: #1b4a42;
}

.section-content p {
  margin: 0;
  max-width: 72ch;
  line-height: 1.6;
  color: #284540;
}

.section-content p + p {
  margin-top: 12px;
}

.sobre-content {
  max-width: none;
}

.sobre-content h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.1vw, 2.9rem);
  letter-spacing: -0.02em;
}

.sobre-hero-card {
  background: #ffffff;
  border: 1px solid #cbdad3;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(10, 50, 45, 0.06);
  margin-bottom: 12px;
}

.sobre-kicker {
  font-size: clamp(1.22rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #1a4f47;
  margin-bottom: 16px;
  max-width: none;
}

.sobre-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  gap: 20px;
  align-items: center;
}

.sobre-intro {
  max-width: none;
  width: 100%;
  margin-bottom: 8px;
}

.sobre-intro p {
  font-size: clamp(1.08rem, 1.3vw, 1.22rem);
  line-height: 1.75;
  color: #1f3d38;
  max-width: none;
}

.sobre-hero-media img {
  width: 100%;
  max-width: 340px;
  display: block;
  margin-left: auto;
  border-radius: 0;
  box-shadow: none;
}

.sobre-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sobre-card {
  background: #ffffff;
  border: 1px solid #cbdad3;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(10, 50, 45, 0.06);
}

.sobre-card:last-child {
  grid-column: 1 / -1;
}

.sobre-card .subsection-title {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
}

.sobre-card p {
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  line-height: 1.72;
  max-width: none;
}

.sobre-list {
  margin: 12px 0 0;
  padding-left: 24px;
  max-width: none;
  line-height: 1.72;
  color: #284540;
  font-size: clamp(1.03rem, 1.15vw, 1.12rem);
}

.sobre-list li + li {
  margin-top: 12px;
}

.sobre-alerta {
  margin-top: 14px;
  padding: 12px 14px;
  background: #fff9eb;
  border: 1px solid #efd8a1;
  border-left: 4px solid #e0b75e;
  border-radius: 10px;
  max-width: none;
  font-size: 1.02rem;
}

.anexos-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.anexo-card {
  text-decoration: none;
  color: #133f38;
  background: var(--surface);
  border: 1px solid #cad8d1;
  border-radius: 14px;
  padding: 14px;
  font-weight: 700;
}

.anexo-card:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.documentos-lista {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.documento-destaque,
.documentos-grupo {
  background: var(--surface);
  border: 1px solid #cad8d1;
  border-radius: 14px;
}

.documento-destaque {
  text-decoration: none;
  color: #133f38;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
}

.documento-destaque:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.documentos-grupo {
  padding: 16px 18px 6px;
}

.documentos-grupo .subsection-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.documentos-itens {
  list-style: none;
  margin: 0;
  padding: 0;
}

.documentos-itens li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid #e2ebe6;
  color: #133f38;
  font-weight: 700;
  line-height: 1.35;
}

.documento-destaque span,
.documentos-itens a {
  text-decoration: none;
  border: 1px solid #bfd2c8;
  border-radius: 999px;
  background: #eef7f3;
  color: #17564d;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.documentos-itens a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f7fbf9;
}

.documento-formatos {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.playlist-card {
  padding: 0;
  overflow: hidden;
  position: static;
  isolation: auto;
  border: 1px solid #cad8d1;
  box-shadow: none;
  transition: none;
}

.playlist-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.playlist-card span {
  display: block;
  padding: 12px;
}

.anais-card {
  position: static;
  border: 1px solid #cad8d1;
  background: var(--surface);
  box-shadow: none;
  padding: 14px;
  font-size: inherit;
}

.edicoes-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.edicao-card {
  color: #123732;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.edicao-card h4 {
  margin: 0;
  font-size: 1.18rem;
  color: #143f39;
}

.edicao-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #d9e7df;
  overflow: hidden;
}

.edicao-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.edicao-body {
  padding: 14px;
}

.edicao-meta {
  margin-top: 6px;
  font-size: 0.95rem;
  color: #355b55;
  font-weight: 700;
  max-width: none;
}

.edicao-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.edicao-links a {
  text-decoration: none;
  color: #0d5f54;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid #c7d8d0;
  border-radius: 999px;
  padding: 6px 10px;
  background: #f7fbf9;
}

.edicao-links a:hover {
  color: #0a4d44;
  border-color: #0d7668;
  background: #ecf6f2;
  text-decoration: none;
}

.edicoes-interativas {
  margin-top: 16px;
}

.edicoes-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.estandes-paineis {
  margin-top: 10px;
}

.estande-painel {
  display: none;
}

.estande-painel.is-active {
  display: block;
}

.edicao-filtro {
  border: 1px solid #bfd2c8;
  background: #f8fcfa;
  color: #1f4d46;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.edicao-filtro:hover {
  border-color: #99bcb0;
  background: #f0f8f4;
}

.edicao-filtro.is-active {
  background: #0d7668;
  color: #ffffff;
  border-color: #0d7668;
}

.edicao-painel {
  background: #ffffff;
  border: 1px solid #c9d9d1;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(10, 50, 45, 0.08);
}

.edicao-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.edicao-header h4 {
  margin: 0;
  font-size: clamp(1.28rem, 2vw, 1.6rem);
  color: #143f39;
}

.edicao-badge {
  border: 1px solid #bad4c9;
  background: #ecf6f2;
  color: #134e46;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 0.95rem;
}

.edicao-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 16px;
}

.edicao-bloco {
  background: #f9fcfb;
  border: 1px solid #d2e0d9;
  border-radius: 14px;
  padding: 14px;
}

.edicao-bloco h5 {
  margin: 0 0 8px;
  color: #1a4f47;
  font-size: 1rem;
}

.edicao-textos p {
  margin: 0;
  max-width: none;
  color: #23443e;
  line-height: 1.65;
}

.edicao-textos p + p {
  margin-top: 10px;
}

.edicao-links {
  margin-top: 10px;
}

.edicao-lateral {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coord-card {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #d2e0d9;
  border-radius: 12px;
  padding: 10px;
}

.coord-card img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #dbe8e1;
}

.coord-card p {
  margin: 0;
  max-width: none;
}

.coord-nome {
  font-weight: 800;
  color: #1a4f47;
}

.coord-descricao {
  margin-top: 4px;
  font-size: 0.94rem;
  color: #39605a;
}

.carrossel {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 8px;
}

.carrossel-frame {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d0ddd6;
  background: #e4eeea;
}

.carrossel-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.carrossel-frame figcaption {
  font-size: 0.85rem;
  color: #385e58;
  padding: 8px 10px;
  background: #ffffff;
  border-top: 1px solid #d0ddd6;
}

.carrossel-nav {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #b8cec3;
  background: #ffffff;
  color: #1c4d45;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.carrossel-nav:hover {
  background: #edf7f3;
}

.carrossel-indicadores {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carrossel-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: #c4d7ce;
  cursor: pointer;
  padding: 0;
}

.carrossel-dot.is-active {
  background: #0d7668;
}

.logos-bloco {
  margin-top: 24px;
}

.realizacao-logos,
.organizacao-logos,
.apoiadores-logos {
  display: grid;
  gap: 14px;
}

.realizacao-logos {
  grid-template-columns: minmax(160px, 240px);
  justify-content: center;
}

.organizacao-logos {
  grid-template-columns: repeat(2, minmax(160px, 240px));
  align-items: stretch;
  justify-content: center;
  max-width: 780px;
  margin: 0 auto;
}

.apoiadores-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  max-width: 1150px;
  margin: 0 auto;
}

.realizacao-logos figure,
.organizacao-logos figure,
.apoiadores-logos figure {
  min-width: 0;
  margin: 0;
  display: flex;
  min-height: 142px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 14px 12px;
  border: 1px solid #d4e1da;
  border-radius: 14px;
  background: #ffffff;
}

.apoiadores-logos figure {
  flex: 0 1 152px;
}

.realizacao-logos img,
.organizacao-logos img,
.apoiadores-logos img {
  display: block;
  width: 100%;
  height: 74px;
  object-fit: contain;
}

.realizacao-logos img,
.organizacao-logos img {
  height: 96px;
}

.realizacao-logos figcaption,
.organizacao-logos figcaption,
.apoiadores-logos figcaption {
  color: #23453f;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
}

.site-footer {
  background: #102d29;
  border-top: 1px solid #0b211e;
  color: #ffffff;
  padding: clamp(28px, 4vw, 42px) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(18px, 4vw, 44px);
}

.footer-content h2 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  color: #ffffff;
}

.footer-content p {
  margin: 0;
  max-width: 48ch;
  color: #d4e8e2;
  line-height: 1.6;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.social-links a {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-areas:
    "icon label"
    "icon handle";
  align-items: center;
  gap: 2px 10px;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 12px;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-1px);
}

.social-links img {
  grid-area: icon;
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 10px;
  background: #ffffff;
  padding: 7px;
}

.social-links span,
.social-links strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.social-links span {
  grid-area: label;
  color: #d7eee8;
  font-size: 0.8rem;
  font-weight: 700;
}

.social-links strong {
  grid-area: handle;
  font-size: 0.92rem;
  line-height: 1.2;
}

@media (max-width: 1280px) {
  .container {
    width: min(1260px, 95vw);
  }

  .brand img {
    height: 68px;
  }

  .menu a {
    font-size: 1rem;
    padding: 9px 14px;
  }

  .hero {
    min-height: clamp(420px, 60vw, 580px);
  }

  .hero-content {
    width: min(580px, 92vw);
  }

  .hero h1 {
    max-width: 13ch;
  }
}

@media (max-width: 1024px) {
  .container {
    width: min(980px, 94vw);
  }

  .topbar-inner {
    gap: 12px 14px;
  }

  .menu {
    gap: 6px;
    padding: 5px;
  }

  .menu a {
    font-size: 0.95rem;
    padding: 9px 12px;
  }

  .hero {
    min-height: 520px;
    background-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(
      94deg,
      rgba(8, 21, 23, 0.9) 0%,
      rgba(8, 21, 23, 0.76) 52%,
      rgba(8, 21, 23, 0.35) 100%
    );
  }

  .hero-content {
    width: min(520px, 92vw);
  }

  .hero h1 {
    font-size: clamp(1.75rem, 4.8vw, 2.6rem);
    max-width: 12ch;
  }

  .anexos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .edicao-layout {
    grid-template-columns: 1fr;
  }

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

  .sobre-content h2 {
    font-size: clamp(1.65rem, 7.2vw, 2.2rem);
  }

  .sobre-card {
    padding: 16px;
  }

  .sobre-hero-card {
    padding: 16px;
  }

  .sobre-hero-layout {
    grid-template-columns: 1fr;
  }

  .sobre-hero-media img {
    margin: 0 auto;
    max-width: 300px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(760px, 94vw);
  }

  .avisos-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .avisos-carrossel {
    width: 100%;
    margin: 0 auto;
  }

  .aviso-slide {
    grid-template-columns: 1fr;
  }

  .aviso-media {
    width: min(380px, 100%);
    justify-self: center;
  }

  .topbar-inner {
    min-height: auto;
    padding: 10px 0;
    flex-direction: column;
    align-items: center;
  }

  .brand img {
    height: 64px;
  }

  .menu {
    width: min(100%, 680px);
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .menu a {
    font-size: 0.98rem;
    text-align: center;
    flex: 1 1 calc(50% - 6px);
    min-width: 150px;
  }

  .menu .menu-cta {
    flex: 1 1 100%;
    max-width: 220px;
    min-width: 180px;
    margin-inline: auto;
  }

  .hero {
    min-height: 500px;
    background-position: 65% center;
  }

  .hero-content {
    width: min(600px, 92vw);
    padding: 46px 0 42px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 6.8vw, 2.65rem);
    max-width: 13ch;
  }

  .hero p {
    font-size: 1.02rem;
    max-width: 36ch;
  }

  .section {
    padding: clamp(28px, 6vw, 48px) 0;
  }

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

  .edicao-painel {
    padding: 14px;
  }

  .edicao-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .coord-card {
    align-items: flex-start;
  }

  .coord-card img {
    width: 78px;
    height: 78px;
  }

  .social-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    position: static;
  }

  .container {
    width: 92vw;
  }

  .organizacao-logos {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    gap: 8px;
  }

  .brand img {
    height: 60px;
  }

  .menu {
    width: min(100%, 430px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    border-radius: 18px;
    padding: 6px;
  }

  .menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    font-size: 0.95rem;
    padding: 10px 10px;
  }

  .menu .menu-cta {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(220px, 100%);
  }

  .avisos-header {
    align-items: flex-start;
  }

  .aviso-nav {
    width: 38px;
    height: 38px;
  }

  .aviso-slide {
    padding: 16px;
  }

  .aviso-link {
    margin-right: 6px;
  }

  .aviso-link + .aviso-link {
    margin-left: 0;
  }

  .hero {
    min-height: 64vh;
    background-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(
      95deg,
      rgba(8, 21, 23, 0.92) 0%,
      rgba(8, 21, 23, 0.8) 60%,
      rgba(8, 21, 23, 0.45) 100%
    );
  }

  .hero-content {
    width: min(90vw, 430px);
    padding: 30px 0 32px;
  }

  .kicker {
    font-size: 0.78rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 8.2vw, 2.2rem);
    max-width: 14ch;
    line-height: 1.05;
  }

  .hero p {
    font-size: 0.98rem;
    margin-top: 10px;
    max-width: 34ch;
  }

  .btn-cta {
    width: 100%;
    text-align: center;
  }

  .section-content h2 {
    margin-bottom: 8px;
  }

  .logo-ufopa {
    max-height: 82px;
  }

  .logo-cpadc {
    max-height: 70px;
  }
}

@media (max-width: 420px) {
  .brand img {
    height: 58px;
  }

  .menu {
    padding: 4px;
  }

  .menu a {
    font-size: 0.9rem;
    padding: 9px 8px;
  }

  .hero {
    min-height: 62vh;
    background-position: 64% center;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 8.5vw, 2rem);
    max-width: 13.5ch;
  }

  .hero p {
    font-size: 0.92rem;
    max-width: 30ch;
  }

  .anexo-card {
    padding: 12px;
    font-size: 0.95rem;
  }

  .documento-destaque,
  .documentos-grupo {
    border-radius: 12px;
  }

  .documento-destaque {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }

  .documentos-grupo {
    padding: 14px 14px 4px;
  }

  .documentos-itens li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .documento-formatos {
    justify-content: flex-start;
  }

}

/* Ajuste fino: iPhone pequeno (SE e similares) */
@media (max-width: 390px) and (max-height: 844px) {
  .topbar-inner {
    gap: 10px;
    padding: 8px 0;
  }

  .hero {
    min-height: 58vh;
    background-position: 66% center;
  }

  .hero-content {
    width: 92vw;
    padding: 28px 0 30px;
  }

  .kicker {
    margin-bottom: 8px;
  }

  .hero h1 {
    font-size: clamp(1.45rem, 8.3vw, 1.85rem);
    line-height: 1.06;
    max-width: 13ch;
  }

  .hero p {
    font-size: 0.9rem;
    max-width: 30ch;
  }
}

/* Ajuste fino: iPad retrato */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .topbar-inner {
    gap: 12px 10px;
  }

  .menu {
    width: min(100%, 760px);
  }

  .menu a {
    font-size: 0.94rem;
    padding: 8px 10px;
  }

  .hero {
    min-height: 56vh;
    background-position: 60% center;
  }

  .hero-content {
    width: min(500px, 90vw);
    padding: 38px 0 40px;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 5.2vw, 2.45rem);
    max-width: 11.5ch;
  }

  .anexos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Ajuste fino: iPad paisagem */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
  .topbar-inner {
    min-height: 86px;
    gap: 10px 12px;
  }

  .brand img {
    height: 64px;
  }

  .menu a {
    font-size: 0.92rem;
    padding: 8px 10px;
  }

  .hero {
    min-height: 66vh;
    background-position: 58% center;
  }

  .hero-content {
    width: min(500px, 90vw);
  }

  .hero h1 {
    font-size: clamp(1.8rem, 3.4vw, 2.45rem);
    max-width: 11.5ch;
  }
}

/* Ajuste fino: notebook 1366x768 e similares */
@media (min-width: 1280px) and (max-width: 1440px) and (max-height: 820px) {
  .topbar-inner {
    min-height: 84px;
    padding: 8px 0;
  }

  .brand img {
    height: 64px;
  }

  .menu a {
    font-size: 0.94rem;
    padding: 9px 12px;
  }

  .hero {
    min-height: 72vh;
    background-position: center;
  }

  .hero-content {
    width: min(540px, 90vw);
    padding: 34px 0 40px;
  }

  .hero h1 {
    font-size: clamp(2rem, 3vw, 2.7rem);
    max-width: 12ch;
  }
}
