:root {
  /* Paleta híbrida: preserva o verde institucional e incorpora as cores de impacto vistas no modelo alternativo. */
  --green: #3c9a40;
  --green-dark: #23682d;
  --green-soft: #eaf6e8;
  --navy: #10151d;
  --navy-2: #19212c;
  --accent: #c9332b;
  --accent-dark: #a72721;
  --amber: #f2b92b;
  --blue: #0675ad;
  --ink: #10151d;
  --muted: #5a6470;
  --line: #e2e5e1;
  --bg: #ffffff;
  --soft: #f5f6f3;
  --card: #ffffff;
  --shadow: 0 18px 55px rgba(16, 21, 29, 0.11);
  --radius: 22px;
  --container: 1120px;
  --font-display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Acessibilidade: foco visível em qualquer elemento navegável por teclado */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Respeita usuários que preferem menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn { transition: none; }
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -44px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 999;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 229, 225, 0.9);
}
.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 168px;
  max-width: 520px;
}
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.brand-text {
  display: grid;
  line-height: 1.08;
  gap: 2px;
}
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 0.95;
  letter-spacing: 0.055em;
  font-weight: 900;
}
.brand-text small {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 0.82rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 0.96rem;
  font-weight: 700;
}
.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--navy);
}
.main-nav a:hover,
.main-nav a:focus-visible {
  background: #fff1ef;
  outline: none;
}
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  box-shadow: none;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

.menu-toggle {
  display: none;
  border: 0;
  background: #eef5fb;
  border-radius: 12px;
  width: 46px;
  height: 42px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 4px;
}

.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 68px 0; }
.bg-soft { background: var(--soft); }
.center { text-align: center; margin-inline: auto; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(60, 154, 64, 0.18), transparent 28%),
    radial-gradient(circle at 92% 16%, rgba(242, 185, 43, 0.22), transparent 24%),
    radial-gradient(circle at 78% 86%, rgba(6, 117, 173, 0.12), transparent 28%),
    radial-gradient(circle at 52% 70%, rgba(201, 51, 43, 0.08), transparent 26%),
    linear-gradient(135deg, #f8fff6 0%, #ffffff 56%, #fff8ef 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -280px auto;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: rgba(16, 21, 29, 0.06);
}
.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 52px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  font-weight: 900;
}
h1, h2, h3 { line-height: 1.08; margin: 0; }
h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 7vw, 5.75rem);
  letter-spacing: -0.07em;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.05em;
}
h3 {
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
.hero-lead {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 28px rgba(224, 85, 47, 0.28);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--green-dark);
}
.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-outline-light {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.full { width: 100%; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.hero-tags span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}
.hero-card {
  position: relative;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(219, 231, 221, 0.9);
  border-radius: 36px;
  box-shadow: var(--shadow);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  border: 1px dashed rgba(201, 51, 43, 0.24);
  pointer-events: none;
}
.hero-card img {
  max-height: 520px;
  width: auto;
  object-fit: contain;
}

.intro-strip {
  border-block: 1px solid rgba(255,255,255,0.10);
  background: var(--navy);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.strip-grid article {
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.strip-grid article:first-child { padding-left: 0; }
.strip-grid article:last-child { border-right: 0; padding-right: 0; }
.strip-grid strong {
  display: block;
  font-size: 1.1rem;
  color: var(--amber);
  margin-bottom: 7px;
}
.strip-grid span { color: rgba(255,255,255,0.72); }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 62px;
}
.align-center { align-items: center; }
.section-heading { max-width: 760px; }
.section-heading.center { margin-bottom: 44px; }
.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}
.content-block p { color: var(--muted); font-size: 1.05rem; }
.mini-cards {
  margin-top: 30px;
  display: grid;
  gap: 14px;
}
.mini-cards article,
.service-card,
.transparency-card,
.contact-card,
.feature-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(22, 55, 27, 0.06);
}
.mini-cards article { padding: 22px; }
.mini-cards article:nth-child(1) { border-top: 4px solid var(--accent); }
.mini-cards article:nth-child(2) { border-top: 4px solid var(--blue); }
.mini-cards article:nth-child(3) { border-top: 4px solid var(--amber); }

.mini-cards p { margin-bottom: 0; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  padding: 28px;
  min-height: 245px;
  border-top: 4px solid var(--blue);
}
.service-card:nth-child(2),
.service-card:nth-child(5) { border-top-color: var(--accent); }
.service-card:nth-child(3),
.service-card:nth-child(6) { border-top-color: var(--amber); }
.service-card:nth-child(4) { border-top-color: var(--blue); }
.service-card p,
.transparency-card p,
.feature-panel p { color: var(--muted); }
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: #eef5fb;
  font-size: 1.65rem;
}
.service-card:nth-child(2) .card-icon,
.service-card:nth-child(5) .card-icon { background: #fff1ef; }
.service-card:nth-child(3) .card-icon,
.service-card:nth-child(6) .card-icon { background: #fff8e5; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
  font-weight: 700;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
  font-size: 0.82rem;
}
.feature-panel { padding: 34px; border-top: 4px solid var(--accent); }
.steps {
  list-style: none;
  padding: 0;
  margin: 26px 0;
  display: grid;
  gap: 14px;
}
.steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 800;
}
.steps span {
  flex: 0 0 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff1ef;
  color: var(--accent-dark);
  font-weight: 900;
}
.steps li:nth-child(2) span {
  background: #eef5fb;
  color: var(--blue);
}
.steps li:nth-child(3) span {
  background: #fff8e5;
  color: #b88608;
}
.steps li:nth-child(4) span {
  background: #fff1ef;
  color: var(--accent-dark);
}

.callout {
  background:
    radial-gradient(circle at 10% 10%, rgba(242, 185, 43, 0.20), transparent 28%),
    radial-gradient(circle at 92% 16%, rgba(6, 117, 173, 0.18), transparent 24%),
    radial-gradient(circle at 58% 84%, rgba(201, 51, 43, 0.14), transparent 22%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
}
.callout .eyebrow { color: var(--amber); }
.callout p { color: rgba(255, 255, 255, 0.84); }
.callout-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}
.callout-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.transparency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.transparency-card { padding: 28px; border-top: 4px solid var(--amber); }
.transparency-card span {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent-dark);
  background: #fff1ef;
  border-radius: 999px;
  padding: 7px 10px;
  font-weight: 900;
  font-size: 0.82rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: start;
}
.contact-card { padding: 32px; }
dl { margin: 0; display: grid; gap: 18px; }
dt { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 900; }
dd { margin: 3px 0 0; font-weight: 900; font-size: 1.06rem; }
dd a { color: var(--accent-dark); }
.note {
  margin: 24px 0 0;
  padding: 16px;
  border-radius: 16px;
  background: #fff1ef;
  color: var(--accent-dark);
  font-weight: 700;
}

.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 42px 0 24px;
}
.footer-grid,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-grid p { color: rgba(255,255,255,0.72); margin: 8px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a,
.footer-bottom a { color: rgba(255,255,255,0.82); }
.footer-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.64);
  font-size: 0.94rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .menu-toggle { display: inline-block; }
  .main-nav {
    position: absolute;
    inset: 92px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .hero-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid { min-height: auto; padding-top: 26px; }
  .hero-card img { max-height: 440px; }
  .strip-grid,
  .cards-grid,
  .transparency-grid { grid-template-columns: 1fr; }
  .strip-grid article,
  .strip-grid article:first-child,
  .strip-grid article:last-child {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .strip-grid article:last-child { border-bottom: 0; }
  .callout-inner { align-items: stretch; flex-direction: column; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, var(--container)); }
  .section-pad { padding: 70px 0; }
  .hero-actions,
  .callout-actions { flex-direction: column; }
  .btn { width: 100%; }
  .header-inner { min-height: 84px; }
  .brand { max-width: calc(100% - 64px); }
  .brand-logo {
    width: 52px;
    height: 52px;
  }
  .brand-text strong {
    font-size: 1.08rem;
    letter-spacing: 0.04em;
  }
  .brand-text small {
    display: block;
    font-size: 0.68rem;
    line-height: 1.15;
  }
  .hero-card { padding: 18px; border-radius: 24px; }
  .service-card,
  .transparency-card,
  .contact-card,
  .feature-panel { padding: 24px; }
  .footer-grid,
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}


/* Calendário público de atividades — V14 (revisão institucional) */
.calpub-section {
  padding: 64px 0 56px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9f4 100%);
}
.calpub-shell {
  max-width: 860px;
  margin: 0 auto;
}
.calpub-heading {
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
}
.calpub-heading h1 {
  margin: 0 0 12px;
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.calpub-heading p:not(.eyebrow) {
  margin: 0 auto;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.02rem;
}

.calpub-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 28px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--green-soft);
}
.calpub-panel-text strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 800;
}
.calpub-panel-text span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.88rem;
}
.calpub-panel-count {
  margin: 0;
  white-space: nowrap;
  border-radius: 999px;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid rgba(35, 104, 45, 0.18);
  color: var(--green-dark);
  font-size: 0.85rem;
  font-weight: 800;
}

.calpub-list {
  display: grid;
  gap: 16px;
}
.calpub-state {
  padding: 30px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: #fff;
  text-align: center;
}
.calpub-state h2 {
  margin: 0 0 8px;
  font-family: inherit;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: normal;
}
.calpub-state p {
  margin: 0;
  color: var(--muted);
}
.calpub-error {
  border-color: rgba(201, 51, 43, 0.32);
  background: #fffaf9;
}

.calpub-card {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 10px 28px rgba(16, 21, 29, 0.05);
}
.calpub-card.calpub-status-cancelada {
  opacity: 0.82;
}
.calpub-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.calpub-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}
.calpub-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.calpub-tag-type {
  background: #eef5fb;
  color: var(--blue);
}
.calpub-tag-status {
  background: #fff8e5;
  color: #93700a;
}
.calpub-status-cancelada .calpub-tag-status {
  background: #eef0f2;
  color: #4b5563;
}
.calpub-status-adiada .calpub-chip {
  background: #fff8e5;
  color: #93700a;
}

.calpub-title {
  margin: 0 0 6px;
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.3;
  letter-spacing: normal;
  color: var(--ink);
}
.calpub-when {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.calpub-meta {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}
.calpub-meta div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.calpub-meta dt {
  margin: 0;
  color: var(--green-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.calpub-meta dd {
  margin: 0;
  color: #2e3642;
  font-size: 0.96rem;
  line-height: 1.45;
  font-weight: 600;
}

.calpub-description {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.96rem;
}

/* Chamada final da página — versão isolada e mais sóbria que o callout padrão do site */
.calpub-cta-section {
  padding: 8px 0 88px;
}
.calpub-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 32px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--soft);
}
.calpub-cta-text .eyebrow { margin-bottom: 8px; }
.calpub-cta-text h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  letter-spacing: normal;
  margin-bottom: 8px;
}
.calpub-cta-text p {
  margin: 0;
  color: var(--muted);
  max-width: 480px;
}
.calpub-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 720px) {
  .calpub-section {
    padding: 40px 0 40px;
  }
  .calpub-panel {
    align-items: flex-start;
    flex-direction: column;
  }
  .calpub-panel-count {
    white-space: normal;
  }
  .calpub-card {
    padding: 20px;
  }
  .calpub-meta div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .calpub-cta {
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  .calpub-cta-actions {
    flex-direction: column;
  }
  .calpub-cta-actions .btn {
    width: 100%;
  }
}
