:root {
  /* Paleta baseada na logo */
  --green-light: #047757;
  --green-mid: #047757;
  --green-dark: #047757;
  --green-soft: rgba(76, 210, 101, 0.12);
  --bg: #ffffff; /* fundo base branco */
  --bg-card: #ffffff;
  --text: #000000;
  --muted: #4b5563;
  --border: #e5e7eb;
  --radius-lg: 0;        /* containers quadrados */
  --radius-full: 0;      /* botões e elementos “pill” quadrados */
  --shadow-soft: 0 18px 35px rgba(15, 23, 42, 0.15);
  --transition-fast: 0.2s ease-out;
  --max-width: 1200px;
}
  h1, h2, h3, h4, h5, h6 { color: #047757; }

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #ffffff; /* sem gradiente */
  color: var(--text);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================
   Header / Navegação
========================= */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: #ffffff; /* sem gradiente no topo */
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
  gap: 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo {
  width: auto;
  height: auto;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;    /* remove sombra atrás */
  background: transparent !important;
}
.nav-logo img {
  width: 40px;
  height: auto;
  display: block;
}

.nav-title {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.nav-title span:first-child {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.nav-title span:last-child {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.nav-links a {
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full); /* agora 0 */
  border: 1px solid transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast),
    color var(--transition-fast), transform var(--transition-fast);
}

.nav-links a:hover {
  background: rgba(76, 210, 101, 0.08);
  border-color: rgba(4, 119, 87, 0.45);
  color: #000000;
  transform: translateY(-1px);
}

.nav-links a.cta {
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  color: #ecfdf3;
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(4, 119, 87, 0.35);
}

/* =========================
   Estrutura geral
========================= */

main {
  flex: 1;
  padding-bottom: 3rem;
}

section {
  padding: 3.5rem 0;
  scroll-margin-top: 80px;
}

.section-header {
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.section-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #000000;
}

.section-title {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
}

.section-description {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 44rem;
}

/* Grids & cards */

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  border-radius: var(--radius-lg); /* 0 */
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem;
}

.card-soft {
  border-radius: var(--radius-lg); /* 0 */
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(209, 213, 219, 0.9);
  padding: 1rem 1.2rem;
}

/* =========================
   Botões
========================= */

.btn,
.nav-links a.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--green-dark);
  background: var(--green-dark);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  box-shadow: none;
  transition: transform var(--transition-fast);
}

.btn span.icon {
  font-size: 1rem;
  line-height: 1;
  transition: transform var(--transition-fast);
}

/* Hover: só movimento (sem brilho, sem troca de cor) */
.btn:hover,
.nav-links a.cta:hover {
  transform: translateY(-2px);
}

.btn:hover span.icon,
.nav-links a.cta:hover .icon {
  transform: translateX(2px);
}

/* Mantém as classes por compatibilidade */
.btn-primary,
.btn-ghost {
  background: var(--green-dark);
  color: #ffffff;
  border-color: #000000;
}

.btn-full {
  width: 100%;
  justify-content: space-between;
}

/* Carousel nav também segue o padrão de botão verde */
.carousel-btn {
  border: 1px solid var(--green-dark);
  background: var(--green-dark);
  color: #ffffff;
  box-shadow: none;
  transition: transform var(--transition-fast);
}

.carousel-btn:hover {
  transform: translateY(-2px);
}

/* =========================
   Sessão 1 - AAPDS
========================= */

.hero-text {
  font-size: 0.98rem;
  color: var(--muted);
  margin-top: 0.6rem;
  margin-bottom: 1.2rem;
  max-width: 34rem;
}

.hero-highlight {
  color: #047757;
}


.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 1.3rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-meta-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: #6b7280;
}

.hero-meta-value {
  font-weight: 600;
  color: #000000;
}

.hero-visual {
  position: relative;
}

.hero-visual-inner {
  border-radius: 0; /* container visual quadrado */
  background: radial-gradient(circle at top left, #e0fce8 0, #ffffff 38%, #e0f2fe 100%);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.3rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
}

.hero-visual-tag {
  font-size: 1.05rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #000000;
  margin-bottom: 0.8rem;
}

.hero-visual-title {
  font-size: 0.75rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  max-height: 100px;
  margin-top: -20px; 
}

.hero-visual-list {
  display: grid;
  gap: 0.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full); /* 0 */
  background: var(--green-soft);
  font-size: 0.72rem;
  color: #000000;
}

/* Diretoria dropdown / cards */

.accordion {
  margin-top: 1.2rem;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  border-radius: 0; /* quadrado */
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 0.9rem;
  transition: background var(--transition-fast), border-color var(--transition-fast),
    box-shadow var(--transition-fast), transform var(--transition-fast);
}

.accordion-header:hover {
  background: rgba(76, 210, 101, 0.08);
  border-color: rgba(4, 119, 87, 0.5);
  box-shadow: 0 10px 22px rgba(4, 119, 87, 0.18);
  transform: translateY(-1px);
}

.accordion-header span.icon {
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.accordion-header.open span.icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
}

.accordion-body-inner {
  padding: 0.9rem 0.3rem 0;
}

.diretoria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.diretoria-card {
  display: flex;
  flex-direction: column;
  padding: 0.7rem 0.9rem;
  border-radius: 0; /* quadrado */
  background: var(--green-soft);
  border: 1px solid rgba(4, 119, 87, 0.25);
  font-size: 0.84rem;
}

.diretoria-card strong {
  font-size: 0.86rem;
  margin-bottom: 0.1rem;
  color: #000000;
}

.diretoria-card span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* =========================
   Carrossel genérico
========================= */

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 0; /* container quadrado */
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  position: relative;
}

.carousel-cesol
{ }

.carousel-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  cursor: pointer;
}

.carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.6rem 0.9rem;
  font-size: 0.8rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
  color: #f9fafb;
}

.carousel-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.3rem;
  pointer-events: none;
}

.carousel-btn {
  pointer-events: all;
  width: 30px;
  height: 30px;
  border-radius: 0; /* quadrado */
  border: none;
  background: rgba(15, 23, 42, 0.75);
  color: #e5e7eb;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.carousel-btn:hover {
  background: rgba(15, 23, 42, 0.95);
  transform: translateY(-1px);
}

/* =========================
   Lightbox (zoom imagem)
========================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1.5rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  max-width: 960px;
  width: 100%;
  background: #f9fafb;
  border-radius: 0; /* quadrado */
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-img {
  max-height: min(70vh, 600px);
  width: 100%;
  object-fit: contain;
  background: #000;
}

.lightbox-caption {
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  color: #111827;
  background: #e5f9ec;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 0; /* botão quadrado */
  border: none;
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  cursor: pointer;
  font-size: 1.1rem;
}

/* =========================
   Sessão 2 - Manoel Querino
========================= */

.mq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr);
  gap: 1.6rem;
}

@media (max-width: 900px) {
  .mq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.thumb-grid img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 0; /* quadrado, seguindo o padrão */
  cursor: pointer;
  border: 1px solid rgba(209, 213, 219, 0.8);
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.thumb-grid img:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

.mq-textos {
  margin-top: 1.1rem;
  padding-top: 0.6rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.6);
  font-size: 0.9rem;
  color: var(--muted);
}

.mq-textos strong {
  color: #000000;
}

.emendas-list {
  display: grid;
  gap: 0.9rem;
}

.emenda-card {
  border-radius: var(--radius-lg); /* 0 */
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(209, 213, 219, 0.95);
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
}

.emenda-card h4 {
  font-size: 0.93rem;
  margin-bottom: 0.2rem;
  color: #000000;
}

.emenda-links {
  margin-top: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.emenda-links a {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full); /* 0 */
  background: var(--green-soft);
  color: #000000;
  border: 1px solid rgba(4, 119, 87, 0.35);
}

/* =========================
   Sessão 3 - CESOL
========================= */

.cesol-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 1.8rem;
  align-items: center;
}

@media (max-width: 900px) {
  .cesol-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================
   Sessão 4 - Eventos
========================= */

.event-card {
  border-radius: var(--radius-lg); /* 0 */
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.event-cover {
  border-radius: 0; /* quadrado */
  overflow: hidden;
  border: 1px solid rgba(209, 213, 219, 0.9);
}

.event-title {
  font-weight: 600;
  font-size: 1rem;
  color: #000000;
}

.event-caption {
  font-size: 0.85rem;
  color: var(--muted);
}

.event-carousel {
  margin-top: 0.4rem;
  border-radius: 0; /* quadrado */
  border: 1px dashed rgba(209, 213, 219, 0.9);
  padding: 0.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.3rem;
}

.event-carousel img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 0; /* quadrado */
  cursor: pointer;
}

/* =========================
   Sessão 5 - Publicações
========================= */

.pubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.9rem;
}

.pub-card {
  border-radius: var(--radius-lg); /* 0 */
  border: 1px solid rgba(209, 213, 219, 0.95);
  background: rgba(255, 255, 255, 0.95);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.87rem;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast), background var(--transition-fast);
}

.pub-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(4, 119, 87, 0.18);
  border-color: rgba(4, 119, 87, 0.5);
  background: #ecfdf3;
}

.pub-title {
  font-weight: 600;
  color: #111827;
}

.pub-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #047857;
}

/* =========================
   Sessão 6 - Notícias
========================= */

.news-carousel {
  position: relative;
  border-radius: var(--radius-lg); /* 0 */
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.3rem;
  overflow: hidden;
}

.news-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.news-item {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.news-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #000000;
}

.news-title {
  font-size: 1rem;
  font-weight: 600;
}

.news-body {
  font-size: 0.88rem;
  color: var(--muted);
}

.news-meta {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: #6b7280;
}

.news-nav {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  display: flex;
  gap: 0.4rem;
}

.news-btn {
  width: 26px;
  height: 26px;
  border-radius: 0; /* quadrado */
  border: none;
  background: rgba(4, 119, 87, 0.12);
  color: #000000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.news-btn:hover {
  background: rgba(4, 119, 87, 0.28);
  transform: translateY(-1px);
}

/* =========================
   Footer
========================= */

footer {
  padding: 1.7rem 0 2.2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.8rem;
  color: #6b7280;
  background: #ffffff; /* rodapé branco também */
}

/* =========================
   Header AAPDS com diretoria ao lado
========================= */

.hero-header-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.hero-header-text {
  flex: 2 1 260px;
}

.hero-header-diretoria {
  flex: 1.5 1 260px;
}

/* bloco da direita com fundo branco, igual print */
.hero-header-diretoria .hero-visual-inner {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}

/* Responsivo: empilhar no mobile */
@media (max-width: 768px) {
  .hero-header-row {
    flex-direction: column;
  }
}

/* =========================
   Modal - Espaço e Equipe
========================= */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
}

.modal-dialog {
  position: relative;
  max-width: 720px;
  width: 100%;
  margin: 0 1.5rem;
  background: #ffffff;
  border-radius: 0; /* quadrado, seguindo o layout */
  padding: 1.4rem 1.5rem 1.1rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  width: 32px;
  height: 32px;
  border-radius: 0;
  border: none;
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  cursor: pointer;
  font-size: 1rem;
}

/* =========================
   Ações AAPDS (Ata / Espaço e Equipe)
========================= */

.aapds-actions {
  margin-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Galeria da equipe: começa escondida */
.equipe-gallery {
  display: none;
  margin-top: 0.7rem;
}

/* Quando aberta pelo botão */
.equipe-gallery.open {
  display: block;
}

/* Carrossel da equipe já usa o mesmo .carousel global */

/* Wrapper para mostrar a lupinha */
.zoom-wrapper {
  position: relative;
}

.zoom-wrapper img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Ícone de lupa sobreposto, mas sem bloquear o clique na imagem */
.zoom-icon {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 1.1rem;
  background: rgba(15, 23, 42, 0.85);
  color: #f9fafb;
  padding: 4px 6px;
  pointer-events: none; /* importantíssimo: clique passa pra imagem */
}

.hero-actions-right {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;  /* um embaixo do outro */
  align-items: flex-end;   /* alinha tudo à direita */
  gap: 0.5rem;
}

/* =========================
   Transparência Ativa
========================= */

.transp-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.4rem;
}

/* Card menor (reduzido) */
.transp-card-small {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.2rem;
  border-radius: 0;
  box-shadow: var(--shadow-soft);
}

/* Contêineres menores */
.event-detail-box-small {
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.6rem 0.8rem;
  border-radius: 0;
  margin-bottom: 0.55rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

/* Títulos */
.transp-title {
  font-size: 1rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 0.8rem;
}

/* Lista */
.transp-list dt {
  font-weight: 600;
  color: #000000;
  margin-bottom: 0.15rem;
}

.transp-list dd {
  margin: 0;
  color: var(--muted);
}

/* Alinha o bloco de Diretoria com o título principal na sessão Apresentação */
.hero-header-row {
  align-items: flex-start; /* garante alinhamento pelo topo */
}

.hero-header-diretoria {
  margin-top: 1.6rem; /* ajuste fino: aumente ou diminua até bater certinho com o título */
}

/* deixar a caixa flex para alinhar o botão no fim */
/* deixar a caixa flex para alinhar o botão no fim */
.hero-visual-inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* botão alinhado à direita */
.btn-ver-mais {
  align-self: flex-end;
  margin-top: 0.2rem;
}

/* Lista colapsável de EES (Projetos / CESOL) */

.btn-ver-mais {
  align-self: flex-end;
  margin-top: 0.2rem;
}

/* grid base da lista */
.hero-visual-list {
  display: grid;
  gap: 0.5rem;
}

/* container colapsável, mas SEM fechar tudo */
.hero-visual-list--collapsible {
  margin-top: 0.4rem;
}

/* ESTADO FECHADO (padrão):
   mostra só os 7 primeiros cards,
   esconde do 8º em diante */
.hero-visual-list--collapsible .diretoria-card:nth-child(n + 8) {
  display: none;
}

/* ESTADO ABERTO (quando JS adiciona .is-expanded):
   volta a exibir TODOS os cards normalmente */
.hero-visual-list--collapsible.is-expanded .diretoria-card:nth-child(n + 8) {
  display: flex; /* mesmo display padrão de .diretoria-card */
}

/* se quiser usar em outro lugar para sumir com algum card específico */
.diretoria-card.is-hidden {
  display: none;
}
/* =========================
   Transparência Ativa (collapsible)
========================= */
.transp-row--collapsible .transp-card-small:nth-child(n + 4) {
  display: none;
}

.transp-row--collapsible.is-open .transp-card-small {
  display: block;
}

.transp-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.transp-actions .btn {
  width: auto;
  max-width: 100%;
}

/* =========================
   Manuel Querino – Bloco 01
========================= */
.mq-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.mq-text {
  margin-bottom: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

.mq-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.mq-subtitle {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #000000;
}

.mq-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .mq-grid {
    grid-template-columns: 1fr;
  }
  .mq-cols {
    grid-template-columns: 1fr;
  }
}

/* ===== Festivais Card ===== */
.festival-card{
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 1.2rem;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.4rem;
}

.festival-media{
  border-radius: 14px;
  overflow: hidden;
  min-height: 220px;
}

.festival-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
}

.festival-title{
  margin: 0 0 .5rem 0;
  font-size: 1.1rem;
}

.festival-text{
  margin: .55rem 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: .95rem;
}

.festival-actions{
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .8rem;
}

/* Botão-link com leve “movimento” no hover */
.btn-link{
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem .85rem;
  border-radius: 999px;
  background: rgba(34,197,94,0.16); /* verde */
  border: 1px solid rgba(34,197,94,0.35);
  color: #d8ffe6;
  text-decoration: none;
  font-size: .9rem;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn-link:hover{
  transform: translateY(-2px);
  background: rgba(34,197,94,0.22);
  border-color: rgba(34,197,94,0.55);
}

/* ===== Cities Grid ===== */
.cities-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.city-card{
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}

.city-trigger{
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.city-cover{
  overflow: hidden;
}

.city-cover img{
  width: 100%;
  height: auto;      /* mantém proporção natural */
  object-fit: contain; /* garante imagem inteira */
  display: block;
}

.city-cover img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}

.city-trigger:hover .city-cover img{
  transform: scale(1.03);
}

.city-meta{
  padding: .85rem .95rem .25rem .95rem;
}

.city-title{
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: .2rem;
}

.city-caption{
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.4;
  padding-bottom: .55rem;
}

.city-cta{
  display: block;
  padding: 0 .95rem .95rem .95rem;
  color: rgba(34,197,94,0.95);
  font-weight: 600;
  transition: transform .18s ease;
}

.city-trigger:hover .city-cta{
  transform: translateY(-2px);
}

/* ===== Expand Panel ===== */
.city-panel{
  padding: .85rem .95rem 1rem .95rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.city-panel-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: .6rem;
}

.city-panel-title{
  font-weight: 700;
}

.city-close{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: inherit;
  cursor: pointer;
  transition: transform .18s ease;
}

.city-close:hover{
  transform: translateY(-2px);
}

/* ===== Mini Carousel ===== */
.mini-carousel{
  position: relative;
}

.mini-track{
  display: flex;
  gap: .75rem;
  transform: translateX(0);
  transition: transform .28s ease;
  will-change: transform;
}

.mini-item{
  flex: 0 0 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

.mini-item img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.mini-nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: .65rem;
}

.mini-btn{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(34,197,94,0.35);
  background: rgba(34,197,94,0.14);
  color: #d8ffe6;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.mini-btn:hover{
  transform: translateY(-2px);
  background: rgba(34,197,94,0.20);
}

.mini-dots{
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.mini-dots .dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
}

.mini-dots .dot.is-active{
  background: rgba(34,197,94,0.95);
}

/* Responsivo */
@media (max-width: 980px){
  .festival-card{ grid-template-columns: 1fr; }
  .cities-grid{ grid-template-columns: 1fr; }
  .mini-item img{ height: 240px; }
}
/* ===== Botão padrão do projeto ===== */
.btn-link{
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem .85rem;
  border-radius: 999px;
  background: rgba(4,119,87,0.15);
  border: 1px solid #047757;
  color: #047757;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.btn-link:hover{
  transform: translateY(-2px);
  background: #047757;
  color: #fff;
  box-shadow: 0 6px 18px rgba(4,119,87,0.35);
}


/* ===== Botões do mini carrossel ===== */
.mini-btn{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #047757;
  background: rgba(4,119,87,0.15);
  color: #047757;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.mini-btn:hover{
  transform: translateY(-2px);
  background: #047757;
  color: #fff;
  box-shadow: 0 6px 18px rgba(4,119,87,0.35);
}


/* ===== CTA "Ver fotos" ===== */
.city-cta{
  display: block;
  padding: 0 .95rem .95rem .95rem;
  color: #047757;
  font-weight: 600;
  transition: transform .18s ease;
}

.city-trigger:hover .city-cta{
  transform: translateY(-2px);
}


/* ===== Dots ativos ===== */
.mini-dots .dot.is-active{
  background: #047757;
}

/* =========================
   OVERRIDE - padrão do projeto #047757
   (cole no FINAL do CSS)
========================= */

/* Link-botão dos "Saiba mais" */
.btn-link{
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem .85rem;
  border-radius: var(--radius-full); /* no seu projeto é 0 */
  background: rgba(4,119,87,0.12);
  border: 1px solid var(--green-dark);
  color: var(--green-dark);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.btn-link:hover{
  transform: translateY(-2px);
  background: var(--green-dark);
  color: #fff;
}

/* Botões do mini-carrossel */
.mini-btn{
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full); /* no seu projeto é 0 */
  border: 1px solid var(--green-dark);
  background: rgba(4,119,87,0.12);
  color: var(--green-dark);
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.mini-btn:hover{
  transform: translateY(-2px);
  background: var(--green-dark);
  color: #fff;
}

/* CTA "Ver fotos" */
.city-cta{
  display: block;
  padding: 0 .95rem .95rem .95rem;
  color: var(--green-dark);
  font-weight: 600;
  transition: transform var(--transition-fast);
}

.city-trigger:hover .city-cta{
  transform: translateY(-2px);
}

/* Dot ativo */
.mini-dots .dot.is-active{
  background: var(--green-dark);
}

/* =========================
   Mini-carousel: lupa sobre as imagens
========================= */
.mini-item{
  position: relative;
}

.mini-item img{
  cursor: zoom-in;
}

/* Lupa */
.mini-zoom-icon{
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 0; /* padrão quadrado do projeto */
  font-size: 16px;
  pointer-events: none; /* não bloqueia o clique na imagem */
}

/* =========================
   Zoom overlay (tamanho natural) + fechar
========================= */
.zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 1.2rem;
}

.zoom-overlay.open {
  display: flex;
}

.zoom-box {
  position: relative;
  max-width: min(1200px, 96vw);
  max-height: 88vh;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 0; /* quadrado */
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}

.zoom-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain; /* respeita tamanho natural mantendo proporção */
  background: #000;
}

.zoom-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 0; /* quadrado */
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  cursor: pointer;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.zoom-close:hover {
  transform: translateY(-2px);
}

.zoom-caption {
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  color: #111827;
  background: rgba(4,119,87,0.08);
  border-top: 1px solid rgba(4,119,87,0.18);
}
/* =========================
   Setas no Zoom Overlay
========================= */

.zoom-nav-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(15, 23, 42, 0.9);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0; /* padrão quadrado */
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.zoom-nav-btn:hover{
  transform: translateY(-50%) translateY(-2px);
}

.zoom-prev{
  left: 10px;
}

.zoom-next{
  right: 10px;
}
.city-cover{
  background: #000; /* fundo neutro */
}

.city-cover img{
  width: 100%;
  height: auto;
  object-fit: contain;
}
.city-cover{
  aspect-ratio: 16/9;
  overflow: hidden;
}

.city-cover img{
  width: 100%;
  height: 100%;
  object-fit: cover; /* aqui mantém corte controlado */
}
.pub-card{
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pub-title{
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.pub-title:hover{
  color: var(--green-dark);
}

.pub-tag{
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-dark);
  text-decoration: none;
  width: fit-content;
}
/* ===== Acessibilidade ===== */
.skip-link{
  position:absolute; left:-999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left: 12px; top: 12px;
  width:auto; height:auto;
  padding: .6rem .9rem;
  background: #fff;
  border: 1px solid var(--border);
  z-index: 1000;
}

/* ===== Notícias - listagem ===== */
.news-hero{ padding: 2.2rem 0 1.2rem; }
.news-filters{
  display:flex; gap:1rem; flex-wrap:wrap;
  margin-top: 1.1rem;
}
.filter{ display:flex; flex-direction:column; gap:.35rem; font-size:.85rem; color:var(--muted); }
.filter select, .filter input{
  border:1px solid var(--border);
  padding:.55rem .7rem;
  border-radius: 0;
  outline: none;
}
.filter-row{ display:flex; gap:.6rem; align-items:center; }
.filter.grow{ flex:1; min-width: 260px; }

.news-status{ margin-top:.8rem; color:var(--muted); font-size:.9rem; }

.news-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
@media (max-width: 980px){ .news-grid{ grid-template-columns: 1fr; } }

.news-card{
  border:1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  border-radius: 0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.news-card-media img{ width:100%; height: 210px; object-fit: cover; display:block; }
.news-card-placeholder{ height: 210px; background: rgba(4,119,87,0.08); }
.news-card-body{ padding: .9rem 1rem 1rem; display:flex; flex-direction:column; gap:.6rem; }
.news-card-meta{ display:flex; align-items:center; justify-content:space-between; gap:.6rem; }
.news-chip{
  display:inline-flex;
  padding:.2rem .55rem;
  border:1px solid rgba(4,119,87,0.35);
  background: rgba(4,119,87,0.10);
  color: var(--green-dark);
  font-size:.72rem;
  letter-spacing:.08em;
  text-transform: uppercase;
}
.news-date{ font-size:.82rem; color: var(--muted); }
.news-card-title{ font-size: 1.02rem; line-height: 1.25; margin:0; }
.news-card-title a{ color:#111827; }
.news-card-title a:hover{ color: var(--green-dark); }
.news-card-excerpt{ color: var(--muted); font-size:.9rem; margin:0; }
.btn-news{ width: fit-content; }

/* Paginação */
.news-pager{
  margin-top: 1.2rem;
  display:flex; align-items:center; justify-content:space-between; gap: 1rem;
}
.pager-btn{
  padding:.55rem .85rem;
  border:1px solid var(--green-dark);
  background: rgba(4,119,87,0.10);
  color: var(--green-dark);
  border-radius: 0;
  transition: transform var(--transition-fast);
}
.pager-btn:hover{ transform: translateY(-2px); }
.pager-btn.is-disabled{ opacity:.45; pointer-events:none; }
.pager-info{ color: var(--muted); font-size:.9rem; }

/* ===== Notícia - detalhe ===== */
.news-detail-shell{ padding: 2rem 0 3rem; }
.breadcrumb{
  display:flex; gap:.55rem; flex-wrap:wrap;
  font-size:.86rem; color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumb a:hover{ color: var(--green-dark); }

.news-detail-grid{
  display:grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, .8fr);
  gap: 1.2rem;
}
@media (max-width: 980px){ .news-detail-grid{ grid-template-columns: 1fr; } }

.news-article{
  border:1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.2rem 1.4rem;
}
.news-article-title{ margin:.6rem 0 0; font-size: clamp(1.45rem, 2.2vw, 2.1rem); line-height:1.15; }
.news-meta{ color: var(--muted); font-size:.9rem; }

.news-share{
  display:flex; align-items:center; gap:.7rem; flex-wrap:wrap;
  margin-top: .85rem;
}
.news-share-label{ color: var(--muted); font-size:.9rem; }
.share-status{ color: var(--muted); font-size:.88rem; }

.news-hero-figure{
  margin: 1rem 0 1.1rem;
  border: 1px solid var(--border);
  background: #fff;
}
.news-hero-figure img{ width:100%; height:auto; display:block; }
.news-hero-figure figcaption{
  padding:.6rem .8rem;
  color: var(--muted);
  font-size: .85rem;
  border-top: 1px solid var(--border);
}

.news-body{
  font-size: 0.98rem;
  color: #111827;
}
.news-body p{ margin: .9rem 0; }
.news-body h2, .news-body h3{ margin: 1.1rem 0 .6rem; }
.news-body img{ max-width:100%; height:auto; border: 1px solid var(--border); }
.news-article-foot{ margin-top: 1.2rem; display:flex; justify-content:flex-start; }

.news-sidebar .sidebar-card{
  border:1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}
.sidebar-title{ font-weight:700; margin-bottom:.8rem; color:#111827; }

.related-list{ display:flex; flex-direction:column; gap:.65rem; }
.related-item{
  display:flex; gap:.7rem;
  padding:.55rem;
  border:1px solid rgba(4,119,87,0.18);
  background: rgba(4,119,87,0.06);
}
.related-item:hover{ border-color: rgba(4,119,87,0.40); }
.related-thumb{ width: 74px; height: 54px; overflow:hidden; border:1px solid var(--border); background:#fff; }
.related-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.related-ph{ width:100%; height:100%; background: rgba(4,119,87,0.08); }
.related-title{ font-size:.9rem; color:#111827; line-height:1.2; }
.related-date{ font-size:.8rem; color: var(--muted); margin-top:.25rem; }
.news-empty{ color: var(--muted); font-size:.92rem; padding:.5rem 0; }
/* ===== Home - últimas notícias ===== */
.news-home-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:1.1rem;
}
.news-home-actions{
  margin-top:1rem;
  display:flex;
  justify-content:flex-end;
}
@media (max-width: 980px){
  .news-home-grid{ grid-template-columns: 1fr; }
  .news-home-actions{ justify-content:flex-start; }
}
.footer-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:1rem;
  align-items:center;
}

.footer-contact{
  display:flex;
  flex-direction:column;
  gap:0.3rem;
  font-size:0.85rem;
}

.footer-item a{
  color:#047757;
}

.footer-social{
  display:flex;
  gap:0.6rem;
}

.social-icon{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #047757;
  transition:transform .2s ease;
}

.social-icon:hover{
  transform:translateY(-2px);
}
/* =================================
   MOBILE REFINADO
================================= */

@media (max-width: 900px) {
  .container {
    padding: 0 1rem;
  }

  section {
    padding: 2.4rem 0;
  }

  .hero-header-row,
  .mq-grid,
  .cesol-grid,
  .festival-card,
  .news-detail-grid,
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cities-grid,
  .pubs-grid,
  .transp-row {
    grid-template-columns: 1fr;
  }

  .hero-header-diretoria {
    margin-top: 0;
  }

  .hero-text,
  .section-description,
  .festival-text,
  .city-caption,
  .news-body,
  .mq-text {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .section-title {
    font-size: 1.45rem;
    line-height: 1.2;
  }

  .hero-meta {
    flex-direction: column;
    gap: 0.8rem;
  }

  .aapds-actions {
    gap: 0.6rem;
  }

  .aapds-actions .btn,
  .festival-actions .btn-link,
  .transp-card-small .btn,
  .emenda-botoes .btn {
    width: 100%;
  }

  .card,
  .card-soft,
  .hero-visual-inner,
  .transp-card-small,
  .news-carousel,
  .news-article,
  .sidebar-card {
    padding: 1rem;
  }

  .diretoria-card {
    padding: 0.8rem;
  }

  .carousel-item img {
    height: 220px;
  }

  .mini-item img {
    height: 220px;
  }

  .festival-media {
    min-height: auto;
  }

  .festival-media img,
  .city-cover img,
  .news-card-media img {
    height: auto;
  }

  .news-nav {
    position: static;
    margin-top: 1rem;
    justify-content: flex-end;
  }

  .footer-social {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .nav {
    align-items: flex-start;
    gap: 0.8rem;
  }

  .nav-left {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-logo img {
    width: 34px;
  }

  .nav-title span:first-child {
    font-size: 0.8rem;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .nav-links a {
    text-align: center;
    padding: 0.7rem 0.8rem;
    font-size: 0.82rem;
  }

  .nav-links a.cta {
    grid-column: 1 / -1;
  }

  .section-eyebrow {
    font-size: 0.72rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .hero-visual-tag {
    font-size: 0.95rem;
  }

  .hero-visual-title {
    font-size: 0.85rem;
    margin-top: 0;
    max-height: none;
  }

  .transp-list dt,
  .transp-list dd,
  .event-detail-box-small {
    font-size: 0.88rem;
  }

  .pub-card {
    padding: 0.9rem;
  }

  .pub-title {
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .city-meta,
  .city-panel,
  .festival-content {
    padding-left: 0;
    padding-right: 0;
  }

  .city-cta {
    padding-left: 0;
    padding-right: 0;
  }

  .news-title,
  .festival-title,
  .city-title {
    font-size: 1rem;
  }

  .social-icon {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 560px) {
  header {
    position: static;
  }

  .container {
    padding: 0 0.85rem;
  }

  section {
    padding: 2rem 0;
    scroll-margin-top: 20px;
  }

  .nav-links {
    grid-template-columns: 1fr;
  }

  .nav-links a {
    width: 100%;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .hero-text,
  .section-description,
  .festival-text,
  .city-caption,
  .news-body,
  .mq-text,
  .mq-list,
  .footer-contact {
    font-size: 0.92rem;
  }

  .carousel-item img,
  .mini-item img {
    height: 190px;
  }

  .carousel-caption,
  .zoom-caption {
    font-size: 0.78rem;
  }

  .carousel-btn,
  .mini-btn,
  .news-btn {
    width: 38px;
    height: 38px;
  }

  .lightbox-content,
  .zoom-box {
    width: 100%;
    max-width: 100%;
  }

  .news-carousel {
    padding: 1rem;
  }

  .footer-info,
  .footer-contact,
  .footer-social {
    width: 100%;
  }

  .footer-social {
    justify-content: flex-start;
  }
}
/* =========================
   MENU HAMBURGER
========================= */

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--green-dark);
  background: #ffffff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.nav-toggle:hover {
  transform: translateY(-1px);
  background: rgba(4, 119, 87, 0.06);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* animação do X */
.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   RESPONSIVO HEADER
========================= */

@media (max-width: 900px) {
  .nav {
    position: relative;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-left {
    flex: 1;
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.45rem;
    padding-top: 0.9rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 0.8rem 0.95rem;
    text-align: left;
    border: 1px solid rgba(4, 119, 87, 0.14);
    background: #ffffff;
    color: #111827;
  }

  .nav-links a.cta {
    text-align: center;
    color: #ffffff;
  }
}

@media (min-width: 901px) {
  .nav-links {
    display: flex !important;
  }
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--green-dark);
  background: #ffffff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav {
    position: relative;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-left {
    flex: 1;
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.45rem;
    padding-top: 0.9rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 0.8rem 0.95rem;
    text-align: left;
    border: 1px solid rgba(4, 119, 87, 0.14);
    background: #ffffff;
    color: #111827;
  }

  .nav-links a.cta {
    text-align: center;
    color: #ffffff;
  }
}

@media (min-width: 901px) {
  .nav-links {
    display: flex !important;
  }
}