:root {
  color-scheme: light;
  --green-700: #59b224;
  --green-200: #d0dec8;
  --neutral-100: #f7f7f7;
  --neutral-200: #e6e6e6;
  --neutral-300: #cccccc;
  --text-900: #1f1f1f;
  --text-700: #3d3d3d;
  --text-500: #5f5f5f;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.08);
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--neutral-100);
  color: var(--text-900);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--green-700);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--neutral-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--text-900);
}

.brand img {
  height: 48px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-700);
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
}

.site-nav a.active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--green-700);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--neutral-200);
  background: white;
  color: var(--text-700);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.hero {
  padding: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.hero-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow);
  max-width: 870px;
  margin: 0 auto;
  border: 1px solid var(--neutral-200);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--text-900);
  margin-bottom: 16px;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 700px;
}

.hero-image {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1b2b1a url("../../imagens/banner-novo.jpg") center / cover no-repeat;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-image__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 24px;
  max-width: 900px;
  color: white;
}

.hero-image__content .hero-title {
  color: white;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-image__content .hero-subtitle {
  margin: 0 auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.section {
  padding: 36px 0;
}

.section-title {
  font-size: 1.6rem;
  color: var(--text-900);
  margin-bottom: 16px;
}

.section p + p {
  margin-top: 12px;
}

.section-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 15px;
}

.card {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--neutral-200);
}

.card img {
  border-radius: 12px;
  margin-bottom: 12px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.tag {
  padding: 6px 12px;
  background: var(--green-200);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text-700);
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.95rem;
}

.inline-links {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.inline-links--fit {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  grid-template-columns: unset;
  margin-top: 15px;
}

.inline-links a {
  color: var(--green-700);
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;
  text-decoration: none;
}

.inline-links--fit a {
  flex: 0 1 auto;
}

.inline-links a:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.inline-links ion-icon {
  font-size: 32px;
  min-width: 32px;
  flex-shrink: 0;
}

.contact-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 20px;
}

.contact-card {
  display: flex;
  gap: 20px;
  background: white;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;
  align-items: flex-start;
}

.contact-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card__icon ion-icon {
  font-size: 28px;
  color: white;
}

.contact-card__content h3 {
  margin: 0 0 4px 0;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.contact-card__content p {
  margin: 0;
  font-size: 0.95rem;
  color: #5d7366;
}

.highlight {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px;
  border-left: 4px solid var(--green-700);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--neutral-200);
}

.video-section {
  align-items: stretch;
}

.video-section .highlight {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #000;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

figure.captioned {
  margin: 0;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--neutral-200);
  height: fit-content;
}

figure.captioned img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top;
}

figure.captioned figcaption {
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-500);
  background: var(--neutral-100);
  border-top: 1px solid var(--neutral-200);
}

.table-wrapper {
  overflow-x: auto;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 16px;
  border: 1px solid var(--neutral-200);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

thead {
  background: var(--green-200);
  color: var(--text-900);
}

th,
td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--neutral-200);
}

.gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gallery-grid a {
  color: inherit;
}

.gallery-grid figure {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--neutral-200);
}

.gallery-grid figure:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.gallery-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.gallery-grid figcaption {
  font-size: 0.85rem;
  padding: 10px 12px;
  color: var(--text-500);
}

.newspaper-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.newspaper-item {
  margin: 0;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--neutral-200);
}

.newspaper-item img {
  width: 100%;
  height: auto;
  display: block;
}

.newspaper-item.tall {
  grid-row: span 2;
}

.newspaper-item.tall img {
  height: 100%;
  object-fit: cover;
}

.site-footer {
  background: #1d2b1a;
  color: white;
  padding: 28px 0 40px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-grid a {
  color: #e9f7f0;
}

.footer-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

@media (max-width: 820px) {
  .site-nav {
    position: absolute;
    top: 72px;
    right: 4%;
    flex-direction: column;
    background: white;
    padding: 16px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }
}
