:root {
  --primary: #3ea22f;
  --primary-dark: #26731e;
  --secondary: #0f3b35;
  --accent: #f7c948;
  --ink: #14213d;
  --muted: #64748b;
  --surface: #ffffff;
  --surface-soft: #f6faf5;
  --line: #dce8da;
  --shadow: 0 24px 70px rgba(20, 33, 61, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fbfdfb;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  background: var(--secondary);
  color: #fff;
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: -100px;
  z-index: 2000;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(62, 162, 47, 0.14);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 0.75rem;
}

.brand-logo {
  align-items: center;
  background: #fff url("../img/chapa4.png") center / 82% auto no-repeat;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(62, 162, 47, 0.32);
  color: transparent;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 900;
  height: 80px;
  justify-content: center;
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: center;
  width: 80px;
}

.nav-link {
  color: #24364d;
  font-weight: 700;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--primary);
}

.btn-primary,
.btn-success {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-dark);
  --bs-btn-hover-border-color: var(--primary-dark);
  --bs-btn-focus-shadow-rgb: 62, 162, 47;
  border-radius: 999px;
  font-weight: 800;
  padding: 0.85rem 1.35rem;
}

.btn-outline-success {
  --bs-btn-color: var(--primary-dark);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary);
  --bs-btn-hover-border-color: var(--primary);
  --bs-btn-focus-shadow-rgb: 62, 162, 47;
  border-radius: 999px;
  font-weight: 800;
  padding: 0.85rem 1.35rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-soft {
  background: linear-gradient(180deg, #f6faf5 0%, #ffffff 100%);
}

.eyebrow {
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.section-lead {
  color: #000;
  font-size: 1.08rem;
  max-width: 760px;
}

.hero {
  background:
    radial-gradient(circle at 10% 10%, rgba(62, 162, 47, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(248, 255, 247, 0.82), rgba(255, 255, 255, 0.72)),
    url("../img/banneradas.webp") center / cover;
  overflow: hidden;
  opacity: 1 !important;
  padding: 5rem 0 4rem;
}

.hero::before {
  background-image: linear-gradient(rgba(62, 162, 47, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(62, 162, 47, 0.12) 1px, transparent 1px),  url("../img/Captura de tela de 2026-08-13 23-14-27.png") center / cover;;
  background-size: 42px 42px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  opacity: 0.42;
  position: absolute;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.65rem, 8vw, 5.8rem);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.hero-title span {
  color: var(--primary);
}

.hero-title .hero-vice {
  color: inherit;
  display: inline-block;
  font-size: 0.72em;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.hero-banner {
  background:
    linear-gradient(135deg, rgba(15, 59, 53, 0.88), rgba(62, 162, 47, 0.78)),
    url("../img/banner-candidato.svg") center / cover;
  border: 10px solid #fff;
  border-radius: 34px;
  box-shadow: var(--shadow);
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.hero-banner::after {
  background: linear-gradient(180deg, transparent, rgba(15, 59, 53, 0.78));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-badge {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  bottom: 1.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  gap: 0.8rem;
  left: 1.5rem;
  padding: 0.8rem 1rem 0.8rem 0.8rem;
  position: absolute;
  z-index: 2;
}

.round-campaign-logo {
  align-items: center;
  aspect-ratio: 1;
  background: #fff url("../img/chapa4.png") center / 82% auto no-repeat;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgba(62, 162, 47, 0.14);
  color: transparent;
  display: inline-flex;
  font-size: 1.1rem;
  font-weight: 950;
  justify-content: center;
  width: 66px;
}

.scroll-indicator {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 0.5rem;
  margin-top: 2rem;
}

.scroll-indicator i {
  animation: bounce 1.6s infinite;
  color: var(--primary);
}

.feature-card,
.candidate-card,
.proposal-card,
.news-card,
.event-card,
.material-card,
.testimonial-card,
.stat-card,
.dialog-card {
  background: var(--surface);
  border: 1px solid rgba(62, 162, 47, 0.13);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(20, 33, 61, 0.08);
  height: 100%;
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover,
.candidate-card:hover,
.proposal-card:hover,
.news-card:hover,
.event-card:hover,
.material-card:hover,
.testimonial-card:hover,
.stat-card:hover,
.dialog-card:hover {
  border-color: rgba(62, 162, 47, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.icon-pill {
  align-items: center;
  background: rgba(62, 162, 47, 0.1);
  border-radius: 18px;
  color: var(--primary-dark);
  display: inline-flex;
  font-size: 1.5rem;
  height: 54px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 54px;
}

.results-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(62, 162, 47, 0.38), transparent 32%),
    linear-gradient(135deg, #112d1a, #0b2f22 62%, #061c16);
  overflow: hidden;
  position: relative;
}

.results-section::before {
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  inset: 0;
  opacity: .35;
  position: absolute;
}

.results-section .container {
  position: relative;
  z-index: 1;
}

.metric-card {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .16);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.metric-card:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(201, 255, 193, .38);
  transform: translateY(-6px);
}

.metric-card strong {
  color: #c9ffc1;
  display: block;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 950;
  letter-spacing: -.05em;
  line-height: 1;
}

.metric-card span {
  display: block;
  font-weight: 800;
  margin-top: .85rem;
}

.metric-card small {
  color: rgba(255, 255, 255, .64);
  display: block;
  margin-top: .3rem;
}

.result-highlight {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}

.result-highlight:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(201, 255, 193, .34);
  transform: translateY(-6px);
}

.result-highlight > i {
  color: #aaf09f;
  font-size: 2rem;
}

.result-highlight ul {
  color: rgba(255, 255, 255, .74);
  padding-left: 1.15rem;
}

.result-highlight li + li {
  margin-top: .65rem;
}

.section-kicker {
  color: var(--primary-dark);
  display: inline-block;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-kicker-light {
  color: #baf0b1;
}

.section-heading {
  max-width: 760px;
}

.feature-card,
article.card.candidate-card,
.proposal-card,
.highlight-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-card:hover,
article.card.candidate-card:hover,
.proposal-card:hover,
.highlight-card:hover {
  border-color: rgba(62, 162, 47, .35);
  box-shadow: var(--shadow) !important;
  transform: translateY(-6px);
}

.feature-icon {
  color: var(--primary);
  font-size: 2rem;
}

article.card.candidate-card {
  background: #fff;
  border-radius: 30px;
  padding: 0;
}

article.card.candidate-card .badge {
  color: var(--secondary) !important;
}

.candidate-photo {
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 255, 255, .65), transparent 28%),
    linear-gradient(145deg, #ffffff, #ffffff);
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.candidate-photo::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .64), #fff 44%),
    radial-gradient(circle at 50% 100%, rgba(62, 162, 47, .18), transparent 62%);
  border-top: 1px solid rgba(62, 162, 47, .14);
  border-top-left-radius: 56% 42px;
  border-top-right-radius: 56% 42px;
  bottom: 0;
  content: "";
  height: 82px;
  left: -10%;
  pointer-events: none;
  position: absolute;
  right: -10%;
  z-index: 2;
}

.candidate-photo::before {
  background: var(--primary);
  border-radius: 999px;
  bottom: 28px;
  box-shadow: 0 14px 32px rgba(62, 162, 47, .22);
  content: "";
  height: 10px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 72px;
  z-index: 3;
}

.candidate-photo-alt {
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 255, 255, .65), transparent 28%),
    linear-gradient(145deg, #ffffff, #ffffff);
}

.candidate-initial span {
  color: var(--primary-dark);
  display: block;
  font-size: 4.5rem;
  font-weight: 950;
  letter-spacing: -.08em;
  line-height: .95;
}

.candidate-initial small {
  color: #658363;
  display: block;
  font-weight: 900;
  letter-spacing: .12em;
  margin-top: .6rem;
}

.candidate-initial {
  position: relative;
  z-index: 1;
}

.candidate-list li {
  color: #49554d;
  display: flex;
  gap: .55rem;
  margin-bottom: .65rem;
}

.candidate-list i {
  color: var(--primary);
  margin-top: .05rem;
}

.candidate-detail {
  color: var(--primary-dark) !important;
}

.candidate-detail:hover,
.candidate-detail:focus {
  color: var(--primary) !important;
}

.placeholder-media {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(62, 162, 47, 0.18), rgba(15, 59, 53, 0.16)),
    url("../img/photo-placeholder.svg") center / cover;
  border: 1px dashed rgba(38, 115, 30, 0.42);
  border-radius: 22px;
  color: var(--secondary);
  display: flex;
  font-weight: 900;
  justify-content: center;
  min-height: 240px;
  overflow: hidden;
  padding: 1rem;
  text-align: center;
}

.vision-panel {
  background:
    linear-gradient(135deg, rgba(15, 59, 53, 0.92), rgba(62, 162, 47, 0.82)),
    url("../img/campus-placeholder.svg") center / cover;
  border-radius: 34px;
  color: #fff;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4rem);
}

.strategy-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.strategy-item {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  padding: 1rem;
}

.nav-pills .nav-link {
  border: 1px solid rgba(62, 162, 47, 0.18);
  border-radius: 999px;
  color: var(--secondary);
  margin: 0.25rem;
}

.nav-pills .nav-link.active {
  background: var(--primary);
  color: #fff;
}

#propostas.bg-light {
  background:
    radial-gradient(circle at 12% 0%, rgba(62, 162, 47, .16), transparent 34%),
    linear-gradient(180deg, #f7fbf6 0%, #eef8ec 100%) !important;
}

#propostas > .container {
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(62, 162, 47, .14);
  border-radius: 34px;
  box-shadow: 0 24px 80px rgba(20, 33, 61, .1);
  padding: clamp(1.35rem, 4vw, 3.5rem);
}

#propostas .section-heading {
  max-width: 860px;
}

#propostas .display-5 {
  color: var(--secondary);
  letter-spacing: -.045em;
  line-height: 1.02;
}

.proposal-filters {
  background: #fff;
  border: 1px solid rgba(62, 162, 47, .14);
  border-radius: 999px;
  box-shadow: 0 14px 38px rgba(20, 33, 61, .06);
  margin-inline: auto;
  padding: .45rem;
  width: fit-content;
}

.proposal-filters .nav-link {
  border: 0;
  color: var(--secondary);
  font-size: .92rem;
  margin: 0;
  padding: .68rem 1rem;
}

.proposal-filters .nav-link.active {
  box-shadow: 0 10px 24px rgba(62, 162, 47, .28);
}

#proposalGrid {
  align-items: stretch;
}

article.card.proposal-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 253, 247, .96));
  border: 1px solid rgba(62, 162, 47, .14) !important;
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(20, 33, 61, .08) !important;
  overflow: hidden;
  padding: 0;
  position: relative;
}

article.card.proposal-card::after {
  background: linear-gradient(135deg, rgba(62, 162, 47, .12), transparent 55%);
  content: "";
  height: 120px;
  position: absolute;
  right: -38px;
  top: -38px;
  transform: rotate(12deg);
  width: 160px;
}

article.card.proposal-card .card-body {
  min-height: 100%;
  position: relative;
  z-index: 1;
}

.proposal-number {
  align-items: center;
  background: rgba(62, 162, 47, .1);
  border-radius: 999px;
  color: var(--primary-dark);
  display: inline-flex;
  font-size: .78rem;
  font-weight: 950;
  height: 38px;
  justify-content: center;
  letter-spacing: .08em;
  width: 48px;
}

.proposal-icon {
  align-items: center;
  background: var(--primary);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(62, 162, 47, .24);
  color: #fff;
  display: inline-flex;
  float: right;
  font-size: 1.35rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.proposal-detail {
  color: var(--primary-dark) !important;
}

.proposal-detail:hover,
.proposal-detail:focus {
  color: var(--primary) !important;
}

.commitment-number {
  color: rgba(62, 162, 47, 0.22);
  font-size: 3.5rem;
  font-weight: 950;
  line-height: 1;
}

.stat-value {
  color: var(--primary);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 950;
  letter-spacing: -0.06em;
}

.timeline {
  border-left: 3px solid rgba(62, 162, 47, 0.2);
  margin-left: 1rem;
  padding-left: 1.5rem;
}

.timeline-item {
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline-item::before {
  background: var(--primary);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(62, 162, 47, 0.15);
  content: "";
  height: 18px;
  left: -2.1rem;
  position: absolute;
  top: 0.3rem;
  width: 18px;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0f3b35, #3ea22f);
  border-radius: 28px;
  display: grid;
  place-items: center;
}

.video-frame i {
  color: #fff;
  font-size: 4rem;
}

.news-featured {
  background: linear-gradient(135deg, #102f2b, #276f25);
  color: #fff;
}

.date-card {
  align-items: center;
  background: rgba(62, 162, 47, 0.1);
  border-radius: 18px;
  color: var(--primary-dark);
  display: inline-flex;
  flex-direction: column;
  font-weight: 950;
  justify-content: center;
  min-width: 76px;
  padding: 0.6rem;
}

.gallery-grid {
  columns: 1;
  column-gap: 1rem;
}

.gallery-item {
  break-inside: avoid;
  cursor: pointer;
  margin-bottom: 1rem;
}

.gallery-item .placeholder-media {
  min-height: var(--gallery-height, 230px);
}

.social-link {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(62, 162, 47, 0.14);
  border-radius: 20px;
  display: inline-flex;
  font-size: 1.5rem;
  height: 58px;
  justify-content: center;
  transition: 0.2s ease;
  width: 58px;
}

.social-link:hover,
.social-link:focus {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.contact-panel {
  background: #fff;
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.form-control,
.form-select {
  border-color: #dbe8d9;
  border-radius: 16px;
  padding: 0.9rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(62, 162, 47, 0.18);
}

.site-footer {
  background: #0b2421;
  color: rgba(255, 255, 255, 0.82);
  padding: 4rem 0 2rem;
}

.site-footer a:hover {
  color: #fff;
}

.floating-whatsapp {
  align-items: center;
  background: #25d366;
  border-radius: 999px;
  bottom: 1rem;
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.35);
  color: #fff;
  display: inline-flex;
  font-size: 1.35rem;
  height: 58px;
  justify-content: center;
  position: fixed;
  right: 1rem;
  width: 58px;
  z-index: 1040;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero {
  background:
    radial-gradient(circle at 90% 0%, rgba(247, 201, 72, 0.18), transparent 30%),
    linear-gradient(135deg, #0f3b35, #2f8c2a);
  color: #fff;
  padding: 5rem 0;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
  color: #fff;
}

.lightbox {
  align-items: center;
  background: rgba(8, 25, 23, 0.88);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 1.5rem;
  position: fixed;
  z-index: 2000;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-content {
  background: #fff;
  border-radius: 24px;
  max-width: 900px;
  padding: 1rem;
  width: 100%;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

@media (min-width: 768px) {
  .gallery-grid {
    columns: 2;
  }
}

@media (min-width: 992px) {
  .gallery-grid {
    columns: 3;
  }
}

@media (max-width: 991.98px) {
  .section {
    padding: 4rem 0;
  }

  .hero-banner {
    min-height: 420px;
  }

  .navbar-collapse {
    background: #fff;
    border: 1px solid rgba(62, 162, 47, 0.12);
    border-radius: 24px;
    box-shadow: var(--shadow);
    margin-top: 1rem;
    padding: 1rem;
  }
}

@media (max-width: 575.98px) {
  #propostas > .container {
    border-radius: 26px;
    padding: 1.1rem;
  }

  .proposal-filters {
    border-radius: 24px;
    justify-content: flex-start !important;
    width: 100%;
  }

  .proposal-filters .nav-link {
    flex: 1 1 auto;
    font-size: .84rem;
    padding: .62rem .78rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
