:root {
  --verde-escuro: #0a2e18;
  --verde-base: #1a5c30;
  --verde-medio: #2d8a4e;
  --verde-claro: #4eb86a;
  --verde-neon: #7de87d;
  --folha: #a8e063;
  --dourado: #c8a84b;
  --creme: #f0ede4;
  --branco: #ffffff;
  --cinza-escuro: #1c1c1c;
  --texto-claro: #e8f5ec;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--verde-escuro);
  color: var(--texto-claro);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 4rem;
  background: rgba(10, 46, 24, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(78, 184, 106, 0.18);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}
.nav-logo span {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--branco);
  letter-spacing: -0.5px;
}
.nav-logo span em {
  color: var(--verde-claro);
  font-style: normal;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}
nav ul a {
  color: var(--texto-claro);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.8;
  transition:
    opacity 0.2s,
    color 0.2s;
}
nav ul a:hover,
nav ul a.active {
  opacity: 1;
  color: var(--verde-neon);
}
nav ul a.active {
  font-weight: 700;
}
.nav-cta {
  background: var(--verde-claro);
  color: var(--verde-escuro) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 700 !important;
  opacity: 1 !important;
  transition:
    background 0.2s,
    transform 0.2s !important;
}
.nav-cta:hover {
  background: var(--verde-neon) !important;
  transform: scale(1.04);
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 2rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 30%,
      rgba(45, 138, 78, 0.25) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 40% at 80% 70%,
      rgba(78, 184, 106, 0.12) 0%,
      transparent 60%
    ),
    linear-gradient(170deg, #0a2e18 0%, #061a0e 100%);
}

/* Partículas flutuantes */
.particle {
  position: absolute;
  border-radius: 50%;
  animation: float linear infinite;
  pointer-events: none;
}
@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-10vh) rotate(720deg);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(78, 184, 106, 0.15);
  border: 1px solid rgba(78, 184, 106, 0.4);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--verde-claro);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeDown 0.8s ease forwards;
}

.hero-badge::before {
  content: "🌿";
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.08;
  color: var(--branco);
  animation: fadeUp 0.9s 0.1s ease both;
}
h1 span {
  color: var(--verde-claro);
}
h1 em {
  font-style: italic;
  color: var(--folha);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(232, 245, 236, 0.7);
  max-width: 680px;
  margin: 1.8rem auto 0;
  line-height: 1.7;
  animation: fadeUp 0.9s 0.25s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  animation: fadeUp 0.9s 0.4s ease both;
}

.btn-primary {
  background: linear-gradient(135deg, var(--verde-claro), var(--verde-neon));
  color: var(--verde-escuro);
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(78, 184, 106, 0.4);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(78, 184, 106, 0.55);
}

.btn-outline {
  border: 1.5px solid rgba(78, 184, 106, 0.5);
  color: var(--verde-claro);
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    color 0.2s;
}
.btn-outline:hover {
  background: rgba(78, 184, 106, 0.1);
  border-color: var(--verde-claro);
}

/* Stats hero */
.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 5rem;
  animation: fadeUp 0.9s 0.55s ease both;
}
.stat {
  text-align: center;
}
.stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--verde-claro);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(232, 245, 236, 0.55);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Scroll indicator */
.scroll-ind {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.5;
  animation: bounce 2s infinite;
}
.scroll-ind span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.scroll-ind svg {
  width: 20px;
  height: 20px;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ── SECTIONS ── */
#calculadora,
#como-funciona,
#perfis,
#impacto,
#legal,
#cta-final,
#eventos,
#licenciamento {
  padding: 7rem 2rem;
}
.section-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--verde-claro);
  margin-bottom: 1rem;
}
.section-title {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--branco);
  margin-bottom: 1rem;
}
.section-sub {
  text-align: center;
  color: rgba(232, 245, 236, 0.6);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 4rem;
  line-height: 1.7;
}

.text-highlight {
  color: var(--verde-claro);
  font-style: italic;
}

.event-intro-card {
  max-width: 980px;
  margin: 0 auto 2rem;
}

#observacoes {
  margin-top: 3rem;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.event-observacoes-list {
  margin-top: 1rem;
  padding-left: 1.1rem;
  color: rgba(232, 245, 236, 0.7);
  line-height: 1.6;
}

.event-note {
  margin-top: 1rem;
  color: rgba(232, 245, 236, 0.7);
}

.steps-top {
  margin-top: 4rem;
}

.mock-label {
  font-size: 0.75rem;
  color: rgba(232, 245, 236, 0.4);
  margin-left: 0.5rem;
}

.mock-dot-green {
  background: #4eb86a;
}
.mock-dot-gold {
  background: #c8a84b;
}
.mock-dot-light {
  background: #7de87d;
}

.mock-fill-62 {
  width: 62%;
}
.mock-fill-34 {
  width: 34%;
}
.mock-fill-74 {
  width: 74%;
}
.mock-fill-88 {
  width: 88%;
}
.mock-fill-55 {
  width: 55%;
}

.calc-card {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(78, 184, 106, 0.2);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.calc-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(78, 184, 106, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(232, 245, 236, 0.75);
}
.field-group input,
.field-group select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(78, 184, 106, 0.25);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--branco);
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.field-group input:focus,
.field-group select:focus {
  border-color: var(--verde-claro);
  background: rgba(78, 184, 106, 0.08);
}
.field-group select option {
  background: #0a2e18;
}
.field-full {
  grid-column: 1/-1;
}

.calc-btn {
  grid-column: 1/-1;
  background: linear-gradient(135deg, var(--verde-claro), var(--verde-neon));
  color: var(--verde-escuro);
  border: none;
  border-radius: 12px;
  padding: 1rem;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 6px 25px rgba(78, 184, 106, 0.35);
}
.calc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(78, 184, 106, 0.5);
}

/* Resultado 3D */
.calc-result {
  grid-column: 1/-1;
  display: none;
  background: rgba(10, 46, 24, 0.8);
  border: 1px solid rgba(78, 184, 106, 0.35);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin-top: 0.5rem;
}
.calc-result.show {
  display: block;
  animation: fadeUp 0.5s ease;
}

.result-co2 {
  font-family: "Poppins", sans-serif;
  font-size: 3.5rem;
  color: var(--verde-claro);
  line-height: 1;
}
.result-co2 small {
  font-size: 1.2rem;
  font-family: "Poppins", sans-serif;
  color: rgba(232, 245, 236, 0.5);
}
.result-label {
  font-size: 0.85rem;
  color: rgba(232, 245, 236, 0.6);
  margin: 0.5rem 0 1.5rem;
}

/* Roda 3D do carbono */
.roda-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
}

canvas#rodaCanvas {
  width: 200px;
  height: 200px;
}

.roda-center-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.roda-pct {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--branco);
}
.roda-pct-label {
  font-size: 0.65rem;
  color: rgba(232, 245, 236, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.result-comparativo {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.comp-item {
  background: rgba(78, 184, 106, 0.08);
  border: 1px solid rgba(78, 184, 106, 0.2);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  color: rgba(232, 245, 236, 0.7);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.comp-item span {
  font-size: 1.1rem;
}

.result-psa-btn {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--verde-claro);
  color: var(--verde-escuro);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition:
    background 0.2s,
    transform 0.2s;
  cursor: pointer;
  border: none;
  font-family: "Poppins", sans-serif;
}
.result-psa-btn:hover {
  background: var(--verde-neon);
  transform: scale(1.03);
}

/* ── COMO FUNCIONA ── */
.steps-container {
  max-width: 1100px;
  margin: 0 auto;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(78, 184, 106, 0.15);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(78, 184, 106, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.step-card::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle,
    rgba(78, 184, 106, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}
.step-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--verde-claro);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.step-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 0.6rem;
}
.step-desc {
  font-size: 0.88rem;
  color: rgba(232, 245, 236, 0.6);
  line-height: 1.65;
}

/* ── PERFIS ── */
.perfis-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}
.perfis-tabs {
  display: flex;
  gap: 0;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50px;
  padding: 0.3rem;
  width: fit-content;
  margin: 0 auto 3rem;
  border: 1px solid rgba(78, 184, 106, 0.15);
}
.tab-btn {
  background: none;
  border: none;
  color: rgba(232, 245, 236, 0.55);
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}
.tab-btn.active {
  background: var(--verde-claro);
  color: var(--verde-escuro);
}

.tab-content {
  display: none;
  animation: fadeUp 0.4s ease;
}
.tab-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.tab-info h3 {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  color: var(--branco);
  margin-bottom: 1rem;
}
.tab-info p {
  font-size: 0.95rem;
  color: rgba(232, 245, 236, 0.65);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.tab-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.tab-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: rgba(232, 245, 236, 0.75);
}
.tab-features li::before {
  content: "✓";
  color: var(--verde-claro);
  font-weight: 700;
  min-width: 18px;
  margin-top: 1px;
}

.tab-visual {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(78, 184, 106, 0.2);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mock-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(78, 184, 106, 0.15);
}
.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mock-stat {
  background: rgba(78, 184, 106, 0.08);
  border: 1px solid rgba(78, 184, 106, 0.2);
  border-radius: 12px;
  padding: 1rem;
}
.mock-stat-label {
  font-size: 0.72rem;
  color: rgba(232, 245, 236, 0.45);
  margin-bottom: 0.3rem;
}
.mock-stat-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--verde-claro);
}
.mock-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  margin-top: 0.5rem;
  overflow: hidden;
}
.mock-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--verde-claro), var(--verde-neon));
  border-radius: 3px;
  transition: width 1s ease;
}

/* ── IMPACTO ── */
.impacto-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.impacto-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(78, 184, 106, 0.15);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition:
    transform 0.3s,
    border-color 0.3s;
}
.impacto-card:hover {
  transform: translateY(-5px);
  border-color: rgba(78, 184, 106, 0.35);
}
.impacto-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.impacto-num {
  font-size: 2.2rem;
  color: var(--verde-claro);
  line-height: 1;
  counter-reset: num;
}
.impacto-desc {
  font-size: 0.82rem;
  color: rgba(232, 245, 236, 0.55);
  margin-top: 0.4rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.event-hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}
.event-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.event-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(78, 184, 106, 0.12);
  color: var(--verde-claro);
  border: 1px solid rgba(78, 184, 106, 0.2);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  width: fit-content;
}
.event-feature-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  padding-left: 1rem;
  color: rgba(232, 245, 236, 0.8);
}
.event-feature-list li {
  position: relative;
  padding-left: 1.3rem;
  line-height: 1.7;
}
.event-feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--verde-claro);
  font-size: 1.1rem;
}
.event-hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(78, 184, 106, 0.18);
  border-radius: 28px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  backdrop-filter: blur(12px);
}
.event-card-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.event-card-top span {
  color: rgba(232, 245, 236, 0.75);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
}
.event-card-top strong {
  display: block;
  font-size: 1.2rem;
  color: var(--branco);
  margin-top: 0.35rem;
}
.event-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.event-card-stats div {
  background: rgba(78, 184, 106, 0.08);
  border: 1px solid rgba(78, 184, 106, 0.12);
  border-radius: 18px;
  padding: 1rem;
  color: rgba(232, 245, 236, 0.8);
}
.event-card-stats span {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}
.event-card-stats strong {
  display: block;
  font-size: 1.25rem;
  color: var(--verde-claro);
}
.event-card-panel {
  background: rgba(78, 184, 106, 0.08);
  border: 1px solid rgba(78, 184, 106, 0.15);
  border-radius: 20px;
  padding: 1.3rem;
}
.panel-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 0.75rem;
}
.event-card-panel p {
  color: rgba(232, 245, 236, 0.7);
  font-size: 0.92rem;
  line-height: 1.6;
}
.event-card-actions {
  margin-top: auto;
}
.event-card-actions .btn-primary {
  width: 100%;
  justify-content: center;
}

/* ODS chips */
.ods-row {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.ods-chip {
  background: rgba(78, 184, 106, 0.12);
  border: 1px solid rgba(78, 184, 106, 0.25);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  color: var(--verde-claro);
  font-weight: 600;
}

/* ── LEIS ── */
.legal-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.legal-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(78, 184, 106, 0.12);
  border-radius: 16px;
  padding: 1.5rem;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.legal-card:hover {
  border-color: rgba(78, 184, 106, 0.35);
  transform: translateY(-4px);
}
.legal-tag {
  display: inline-block;
  background: rgba(78, 184, 106, 0.15);
  color: var(--verde-claro);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}
.legal-card h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--branco);
  margin-bottom: 0.5rem;
}
.legal-card p {
  font-size: 0.82rem;
  color: rgba(232, 245, 236, 0.55);
  line-height: 1.6;
}

/* ── CTA FINAL ── */
#cta-final {
  padding: 7rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 80% at 50% 50%,
    rgba(45, 138, 78, 0.3) 0%,
    transparent 70%
  );
}
.cta-card {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(78, 184, 106, 0.25);
  border-radius: 28px;
  padding: 4rem 3rem;
  backdrop-filter: blur(12px);
    margin-top: 0.4rem;
}
.cta-card h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--branco);
  margin-bottom: 1rem;
}
.cta-card p {
  font-size: 1rem;
  color: rgba(232, 245, 236, 0.65);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(78, 184, 106, 0.12);
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-logo img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.footer-logo span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--branco);
}
footer p {
  font-size: 0.78rem;
  color: rgba(232, 245, 236, 0.35);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.78rem;
  color: rgba(232, 245, 236, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--verde-claro);
}

/* Divisor orgânico */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--verde-claro), transparent);
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* Selo badge */
.selos {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}
.selo {
  background: rgba(78, 184, 106, 0.08);
  border: 1px solid rgba(78, 184, 106, 0.2);
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  font-size: 0.72rem;
  color: rgba(232, 245, 236, 0.6);
  font-weight: 600;
}

img,
svg,
canvas {
  max-width: 100%;
  height: auto;
}
button,
.btn-primary,
.btn-outline,
.result-psa-btn {
  min-width: 0;
}

/* Responsivo */
@media (max-width: 900px) {
  nav {
    padding: 1rem 1.25rem;
  }
  nav ul {
    display: none;
  }
  nav ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 46, 24, 0.98);
    padding: 1rem 1.25rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(78, 184, 106, 0.15);
  }
  nav ul.open li {
    width: 100%;
  }
  nav ul.open a {
    width: 100%;
  }
  .nav-cta {
    width: auto;
  }
  .hero-content {
    width: 100%;
    padding-top: 2rem;
  }
  .hero-badge {
    margin-bottom: 1.5rem;
  }
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary,
  .btn-outline,
  .result-psa-btn {
    width: 100%;
  }
  .calc-card {
    padding: 2rem;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .field-group input,
  .field-group select {
    width: 100%;
  }
  .roda-wrapper {
    width: min(280px, 90vw);
    height: min(280px, 90vw);
  }
  canvas#rodaCanvas {
    width: 100%;
    height: auto;
  }
  .steps-grid,
  .impacto-grid,
  .legal-grid,
  .event-hero-grid {
    grid-template-columns: 1fr;
  }
  .event-card-stats {
    grid-template-columns: 1fr;
  }
  .perfis-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }
  .tab-content.active {
    grid-template-columns: 1fr;
  }
  .tab-visual {
    width: 100%;
  }
  footer {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .ods-row {
    gap: 0.6rem;
  }
  .cta-card {
    padding: 3rem 1.5rem;
  }
  .hero-stats {
    gap: 1.5rem;
  }
  .scroll-ind {
    bottom: 1.5rem;
  }
}

@media (max-width: 600px) {
  nav {
    padding: 0.85rem 1rem;
  }
  #hero {
    padding-top: 5rem;
  }
  .hero-badge {
    font-size: 0.72rem;
    padding: 0.5rem 0.85rem;
  }
  h1 {
    font-size: clamp(2.4rem, 9vw, 3.6rem);
  }
  .section-sub,
  .tab-info p,
  .impacto-desc,
  .legal-card p {
    font-size: 0.95rem;
  }
  .calc-card {
    padding: 1.5rem;
  }
  .step-card,
  .impacto-card,
  .legal-card {
    padding: 1.5rem;
  }
  .cta-card {
    padding: 2rem 1rem;
  }
  .tab-btn {
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
  }
}

/* Counter animation */
.count-up {
  display: inline-block;
}

/* Glow pulse */
@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(78, 184, 106, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(78, 184, 106, 0.5);
  }
}
.glowing {
  animation: glow 3s ease-in-out infinite;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.4rem;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--branco);
  border-radius: 2px;
  transition: all 0.3s;
}
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }
}
