@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Lato:wght@300;400;700;900&display=swap');
@import 'reset.css';
@import 'variables.css';
@import 'animations.css';

/* ============================================================
   BASE
   ============================================================ */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--color-lime);
  color: var(--color-text-dark);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}

.container--wide   { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }

.section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--surface {
  background-color: var(--color-bg-surface);
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.section-tag {
  font-family: var(--font-body);
  font-size: var(--text-section-tag);
  font-weight: var(--font-bold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-lime);
  display: inline-block;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-section-tag);
  font-weight: var(--font-bold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-lime);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--font-bold);
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: var(--leading-tight);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-body-large);
  font-weight: var(--font-light);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  max-width: 600px;
}

.section-header {
  margin-bottom: var(--space-xxl);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--font-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  padding: var(--space-3) var(--space-8);
  transition: transform var(--transition-base), background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

/* Lime (primary CTA) */
.btn--lime {
  background-color: var(--color-lime);
  color: var(--color-text-dark);
  border-color: var(--color-lime);
}

.btn--lime:hover {
  background-color: #BDD98A;
  border-color: #BDD98A;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lime);
}

/* Outline lime */
.btn--outline-lime {
  background-color: transparent;
  color: var(--color-lime);
  border-color: var(--color-lime);
}

.btn--outline-lime:hover {
  background-color: var(--color-lime-dim);
}

/* Sizes */
.btn--lg {
  padding: var(--space-4) var(--space-xl);
  font-size: 13px;
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: 11px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background-color: rgba(4, 17, 5, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(164, 211, 146, 0.15);
  transition: box-shadow var(--transition-base), background-color var(--transition-base);
}

.header.scrolled {
  background-color: rgba(4, 17, 5, 0.96);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.header__logo-wordmark {
  font-family: var(--font-heading);
  font-weight: var(--font-black);
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--color-lime);
  line-height: 1;
  text-transform: lowercase;
}

/* Nav links */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--font-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(212, 232, 208, 0.75);
  text-decoration: none;
  transition: color var(--transition-fast);
  padding: var(--space-1) 0;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-lime);
  transition: width var(--transition-base);
}

.nav__link:hover {
  color: var(--color-lime);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link.active {
  color: var(--color-lime);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--color-lime);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ============================================================
   NAV DRAWER (mobile only — rendered outside header to avoid
   backdrop-filter containing-block trap)
   ============================================================ */
#nav-drawer {
  display: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-bg);
  padding: 80px var(--space-8) 0;
}

/* Topographic SVG background */
.hero__topo {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at center, transparent 20%, rgba(7, 23, 9, 0.55) 100%),
    url("data:image/svg+xml,%3Csvg width='1000' height='1000' viewBox='0 0 1000 1000' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,500 C150,450 300,550 500,500 S850,450 1000,500 M0,300 C200,250 400,350 600,300 S800,250 1000,300 M0,700 C200,650 400,750 600,700 S800,650 1000,700 M0,100 C100,50 200,150 500,100 S900,50 1000,100 M0,900 C100,850 200,950 500,900 S900,850 1000,900' fill='none' stroke='%23A8CC70' stroke-width='1' opacity='0.15'/%3E%3C/svg%3E");
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}

/* Decorative circles */
.hero__deco {
  position: absolute;
  border-radius: var(--radius-full);
  pointer-events: none;
  z-index: 1;
}

.hero__deco--1 {
  top: 22%;
  left: -80px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(168, 204, 112, 0.05);
}

.hero__deco--2 {
  bottom: -60px;
  right: -140px;
  width: 580px;
  height: 580px;
  border: 1px solid rgba(168, 204, 112, 0.08);
}

/* Floating ambient particles */
.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero__particles span {
  position: absolute;
  border-radius: 50%;
  background: var(--color-lime);
  opacity: 0;
  animation: particleFloat var(--p-dur, 9s) ease-in-out var(--p-delay, 0s) infinite;
}

.hero__particles span:nth-child(1) { left: 12%; bottom: -8px; width: 3px; height: 3px; --p-dur: 9s;  --p-delay: 0s;  }
.hero__particles span:nth-child(2) { left: 28%; bottom: -8px; width: 5px; height: 5px; --p-dur: 11s; --p-delay: 2.5s; }
.hero__particles span:nth-child(3) { left: 47%; bottom: -8px; width: 3px; height: 3px; --p-dur: 8s;  --p-delay: 4s;  }
.hero__particles span:nth-child(4) { left: 63%; bottom: -8px; width: 4px; height: 4px; --p-dur: 12s; --p-delay: 1s;  }
.hero__particles span:nth-child(5) { left: 78%; bottom: -8px; width: 2px; height: 2px; --p-dur: 10s; --p-delay: 3s;  }
.hero__particles span:nth-child(6) { left: 90%; bottom: -8px; width: 4px; height: 4px; --p-dur: 9s;  --p-delay: 5.5s; }

/* Content */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--container-max);
  width: 100%;
}

/* Eyebrow */
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  animation: fadeUp 0.8s var(--ease-expo) 0.1s both;
}

.hero__rule {
  width: 64px;
  height: 1px;
  background-color: rgba(168, 204, 112, 0.4);
}

/* Wordmark block */
.hero__wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  animation: fadeUp 0.9s var(--ease-expo) 0.22s both;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: var(--font-black);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-white);
  text-transform: lowercase;
}

/* Leaf decoration */
.hero__leaf {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  padding-bottom: 14px;
  margin-left: var(--space-md);
}

.hero__leaf-a {
  width: 18px;
  height: 36px;
  background-color: var(--color-lime);
  border-radius: var(--radius-full);
  transform: rotate(12deg);
  opacity: 0.92;
}

.hero__leaf-b {
  width: 18px;
  height: 48px;
  background-color: var(--color-green-leaf);
  border-radius: var(--radius-full);
  transform: rotate(-12deg);
}

.hero__leaf-c {
  width: 18px;
  height: 28px;
  background-color: var(--color-green-forest);
  border-radius: var(--radius-full);
  transform: rotate(30deg);
  opacity: 0.82;
}

/* Subtitle */
.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-body-large);
  font-weight: var(--font-light);
  line-height: 1.6;
  letter-spacing: 0.22em;
  color: var(--color-green-pale);
  margin-bottom: var(--space-sm);
  animation: fadeUp 0.7s var(--ease-expo) 0.38s both;
}

/* Location tag */
.hero__location {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: var(--font-bold);
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--color-lime);
  margin-bottom: var(--space-xxl);
  animation: fadeUp 0.7s var(--ease-expo) 0.48s both;
}

/* CTAs */
.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.7s var(--ease-expo) 0.58s both;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: max(3rem, calc(env(safe-area-inset-bottom) + 1.5rem));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  animation: fadeUp 1s var(--ease-expo) 1s both;
}

.hero__scroll-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: var(--font-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(197, 217, 168, 0.45);
  margin-bottom: var(--space-3);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(197, 217, 168, 0.45), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

/* ============================================================
   SECTION: IMPACTO (content sample from reference)
   ============================================================ */
.impacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.impacto__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: rgba(79, 122, 66, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.impacto__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: overlay;
}

/* Placeholder visual enquanto imagem real não está disponível */
.impacto__img-wrap--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-green-deep) 0%, var(--color-bg-surface) 100%);
  border: 1px dashed var(--color-border-strong);
  gap: var(--space-4);
}

.img-placeholder__icon {
  width: 64px;
  height: 64px;
  color: var(--color-lime);
}

.img-placeholder__label {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: var(--font-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: var(--font-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-lime);
  text-decoration: none;
  transition: gap var(--transition-base);
}

.inline-link:hover {
  gap: var(--space-3);
}

.inline-link svg {
  transition: transform var(--transition-base);
}

.inline-link:hover svg {
  transform: translateX(4px);
}

/* ============================================================
   QUEM SOMOS — redesign visual ref 3
   ============================================================ */
.qs {
  background-color: var(--color-bg);
}

.qs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.qs__title {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: var(--font-bold);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #F4F7EF;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.qs__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  font-size: var(--text-body-large);
  font-weight: var(--font-light);
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

/* Callout — borda lime esquerda, bg escuro */
.qs__callout {
  padding: var(--space-md);
  border-left: 2px solid var(--color-lime);
  background-color: var(--color-bg-alt);
}

.qs__stats {
  display: flex;
  gap: var(--space-xxl);
}

/* Glass cards grid */
.qs__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: start;
}

.glass-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.qs__card {
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color var(--transition-base);
}

.qs__card:hover {
  border-color: rgba(168, 204, 112, 0.4);
}

.qs__card--offset {
  margin-top: var(--space-xl);
}

.qs__card-icon {
  width: 36px;
  height: 36px;
  color: var(--color-lime);
  margin-bottom: var(--space-md);
  display: block;
}

.qs__card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: var(--font-normal);
  color: #F4F7EF;
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.qs__card-text {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--color-text-muted);
  transition: color var(--transition-base);
}

.qs__card:hover .qs__card-text {
  color: var(--color-text);
}

/* Legacy classes (mantidas para não quebrar nada) */
.quem-somos {
  background-color: var(--color-bg);
}

.quem-somos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  align-items: start;
}

.quem-somos__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: var(--font-bold);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.quem-somos__text {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: var(--font-light);
  line-height: 1.8;
  color: var(--color-green-pale);
  margin-bottom: var(--space-8);
}

.quem-somos__stats {
  display: flex;
  gap: var(--space-xxl);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat__number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: var(--font-bold);
  color: var(--color-lime);
  line-height: 1;
}

.stat__suffix {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: var(--color-lime);
}

.stat__label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: var(--font-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-green-pale);
}

/* Propostas list */
.propostas {
  margin-top: var(--space-md);
  border-top: 1px solid rgba(168, 204, 112, 0.2);
}

.proposta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(168, 204, 112, 0.2);
  transition: background-color var(--transition-fast);
}

.proposta__num {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--color-lime);
  width: 44px;
  flex-shrink: 0;
  line-height: 1;
}

.proposta__text {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--font-normal);
  color: var(--color-white);
  line-height: var(--leading-normal);
}

/* ============================================================
   VALORES STRIP
   ============================================================ */
.valores-strip {
  position: relative;
  background-color: #2D6E2D;
  overflow: hidden;
}

.valores-strip__topo {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 100 Q 100 50 200 100 T 400 100' fill='none' stroke='%23A8CC70' stroke-opacity='0.1' stroke-width='1'/%3E%3Cpath d='M0 200 Q 100 150 200 200 T 400 200' fill='none' stroke='%23A8CC70' stroke-opacity='0.1' stroke-width='1'/%3E%3Cpath d='M0 300 Q 100 250 200 300 T 400 300' fill='none' stroke='%23A8CC70' stroke-opacity='0.1' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.valores-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 80px;
  align-items: center;
}

.valor {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-md) var(--space-md);
  border-right: 1px solid rgba(168, 204, 112, 0.25);
}

.valor:last-child {
  border-right: none;
}

.valor__label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: var(--font-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-lime);
  margin-bottom: var(--space-1);
}

.valor__text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: var(--font-bold);
  color: var(--color-white);
  line-height: 1.3;
}

/* ============================================================
   AMAZÔNIA BANNER
   ============================================================ */
.amazon-banner {
  position: relative;
  height: 400px;
  overflow: hidden;
}

/* Placeholder de fundo — remover quando a imagem real for adicionada */
.amazon-banner__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a3a1a 0%, #2d6e2d 40%, #4f7a42 70%, #3d5a3e 100%);
  z-index: 0;
}

/* Quando imagem real for adicionada, usar: */
/* .amazon-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
} */

.amazon-banner__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(61, 90, 62, 0.45);
  z-index: 1;
}

.amazon-banner__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--space-8);
}

.amazon-banner__title {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: var(--font-bold);
  color: var(--color-white);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.amazon-banner__rule {
  width: 96px;
  height: 4px;
  background-color: var(--color-lime);
  border-radius: var(--radius-sm);
}

/* ============================================================
   GOVERNANÇA
   ============================================================ */
.gov-section {
  background-color: var(--color-bg);
  padding: var(--space-section) 0;
}

.gov-header {
  margin-bottom: var(--space-xxl);
}

.gov-title {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--font-bold);
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: var(--leading-tight);
  margin-top: var(--space-xs);
}

.gov-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.gov-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color var(--transition-base), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow var(--transition-base);
  transform-style: preserve-3d;
  will-change: transform;
}

.gov-card:hover {
  border-color: rgba(168, 204, 112, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.gov-card__img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-color: var(--color-green-forest);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gov-card__img svg {
  color: rgba(168, 204, 112, 0.4);
  width: 38%;
  height: 38%;
}

.gov-card__role {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: var(--font-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-lime);
  margin-bottom: var(--space-xs);
}

.gov-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: var(--font-normal);
  line-height: var(--leading-snug);
  color: var(--color-text);
}

.gov-footer {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.gov-footer__note {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .gov-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PROJETOS
   ============================================================ */
.projetos {
  background-color: var(--color-bg);
}

/* Header: label+título esquerda, link direita */
.projetos__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-xl);
}

.projetos__title {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--font-bold);
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: #F4F7EF;
  margin-top: var(--space-3);
}

.projetos__ver-todos {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: var(--font-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-lime);
  text-decoration: none;
  white-space: nowrap;
  transition: gap var(--transition-base), color var(--transition-fast);
  padding-bottom: 4px;
}

.projetos__ver-todos:hover {
  gap: var(--space-sm);
}

/* Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* proj-card: frameless, image-led */
.proj-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.proj-card__img-wrap {
  position: relative;
  height: 400px;
  margin-bottom: var(--space-md);
  overflow: hidden;
  border-radius: var(--radius-lg);
}

/* The scalable layer (bg + icon) */
.proj-card__visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 800ms cubic-bezier(0.4, 0, 0.2, 1);
}

.proj-card:hover .proj-card__visual {
  transform: scale(1.1);
}

/* When real photo is added:
   .proj-card__visual img {
     position: absolute; inset: 0;
     width: 100%; height: 100%;
     object-fit: cover;
   } */

.proj-card__visual--deep   { background-color: var(--color-green-deep); }
.proj-card__visual--forest { background-color: var(--color-green-forest); }
.proj-card__visual--mid    { background-color: var(--color-green-mid); }

.proj-card__icon {
  width: 52px;
  height: 52px;
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

/* Gradient overlay — doesn't scale */
.proj-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61, 90, 62, 0.85) 0%, transparent 60%);
  pointer-events: none;
}

/* Category badge — doesn't scale */
.proj-card__badge {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  background-color: var(--color-lime);
  color: var(--color-text-dark);
  padding: 3px 12px;
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: var(--font-bold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  z-index: 1;
  line-height: 1.8;
}

.proj-card__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: var(--font-normal);
  line-height: 1.4;
  color: #F4F7EF;
  margin-bottom: var(--space-xs);
  transition: color var(--transition-base);
}

.proj-card:hover .proj-card__title {
  color: var(--color-lime);
}

.proj-card__desc {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  flex: 1;
}

.proj-card__link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: var(--font-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-lime);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap var(--transition-base);
  margin-top: auto;
}

.proj-card__link:hover {
  gap: var(--space-3);
}

/* ============================================================
   DOCUMENTOS
   ============================================================ */
.docs-section {
  position: relative;
  background-color: var(--color-green-deep);
  padding: var(--space-section) 0;
  overflow: hidden;
}

.docs-topo {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='800' height='800' viewBox='0 0 800 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 100Q150 50 300 100T600 150T800 100M0 250Q200 200 400 250T800 200M0 400Q100 450 300 400T500 350T800 450M0 600Q250 550 500 600T800 550M0 750Q300 800 600 750T800 800' fill='none' stroke='%23A8CC70' stroke-width='1.5' stroke-opacity='0.08'/%3E%3C/svg%3E");
  background-size: cover;
  pointer-events: none;
}

.docs-header {
  text-align: center;
  max-width: var(--container-narrow);
  margin: 0 auto var(--space-xxl);
}

.docs-title {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: var(--font-black);
  color: var(--color-white);
  margin: var(--space-xs) 0 var(--space-md);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
}

.docs-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-body-large);
  color: var(--color-green-pale);
  line-height: var(--leading-relaxed);
  font-weight: var(--font-light);
}

.docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}

.docs-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.docs-cat__title {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 22px;
  font-weight: var(--font-normal);
  color: var(--color-lime);
  padding-bottom: var(--space-xs);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid rgba(168, 204, 112, 0.25);
}

.docs-item {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-xs);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: var(--color-green-pale);
  font-family: var(--font-body);
  font-size: 15px;
  transition: background-color var(--transition-base), color var(--transition-base);
}

.docs-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(168, 204, 112, 0.08), transparent);
  transform: translateX(-120%);
  pointer-events: none;
}

.docs-item:hover {
  background-color: rgba(168, 204, 112, 0.04);
  color: var(--color-white);
}

.docs-item:hover::after {
  animation: shimmerSweep 0.55s ease forwards;
}

.docs-item:hover .docs-item__arrow {
  transform: translate(2px, -2px);
}

.docs-item__arrow {
  color: var(--color-lime);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

@media (max-width: 768px) {
  .docs-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--color-green-pale);
  margin-bottom: var(--space-1);
  letter-spacing: 0.04em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  color: var(--color-text);
  background-color: var(--color-bg-elevated);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-faint);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-lime);
  box-shadow: 0 0 0 3px rgba(168, 204, 112, 0.12);
}

.form-select option {
  background-color: var(--color-bg-elevated);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.card:hover {
  border-color: var(--color-border-strong);
  transform: translateY(-4px);
}

.card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.card__body {
  padding: var(--space-lg);
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  font-weight: var(--font-bold);
  color: var(--color-text);
  margin-bottom: var(--space-3);
  line-height: var(--leading-tight);
}

.card__text {
  font-size: var(--text-body);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

/* ============================================================
   TRANSPARÊNCIA
   ============================================================ */
.transp-section {
  background-color: var(--color-bg-alt);
  padding: var(--space-section) 0;
}

.transp-header {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-xxl);
  max-width: 560px;
}

.transp-title {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--font-bold);
  color: var(--color-text);
  letter-spacing: -0.01em;
  line-height: var(--leading-tight);
  margin-top: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.transp-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.transp-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-xl);
  row-gap: 0;
}

.transp-item {
  position: relative;
  overflow: hidden;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-xs);
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: background-color var(--transition-base);
  border-radius: var(--radius-sm);
}

.transp-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(168, 204, 112, 0.07), transparent);
  transform: translateX(-120%);
  pointer-events: none;
}

.transp-item:hover {
  background-color: rgba(79, 122, 66, 0.12);
}

.transp-item:hover::after {
  animation: shimmerSweep 0.55s ease forwards;
}

.transp-item:hover .transp-item__arrow {
  transform: translate(3px, -3px);
}

.transp-item__left {
  display: flex !important;
  align-items: center;
  gap: var(--space-md);
  min-width: 0;
  flex: 1;
}

.transp-item__icon {
  display: inline-block;
  flex-shrink: 0;
  color: var(--color-lime);
  width: 24px;
  height: 24px;
}

.transp-item__title {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--font-bold);
  color: var(--color-text);
  line-height: 1.3;
}

.transp-item__meta {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: var(--font-bold);
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-top: 2px;
  text-transform: uppercase;
}

.transp-item__arrow {
  display: inline-block;
  flex-shrink: 0;
  color: var(--color-lime);
  transition: transform var(--transition-base);
}

@media (max-width: 768px) {
  .transp-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
}

/* ============================================================
   GRID
   ============================================================ */
.grid   { display: grid; gap: var(--space-lg); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Asymmetric (DESIGN_VARIANCE 8) */
.grid--7-5  { grid-template-columns: 7fr 5fr; }
.grid--5-7  { grid-template-columns: 5fr 7fr; }
.grid--2-1  { grid-template-columns: 2fr 1fr; }

/* ============================================================
   CONTATO
   ============================================================ */
.contact-section {
  position: relative;
  background-color: var(--color-bg-surface);
  padding-top: var(--space-section);
  overflow: hidden;
}

.contact-section__topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.1;
  z-index: 0;
}

.contact-section__inner {
  position: relative;
  z-index: 1;
}

.contact-hero {
  text-align: center;
  margin-bottom: var(--space-xxl);
}

.contact-hero__wordmark-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-sm) 0;
}

.contact-hero__wordmark {
  font-family: var(--font-heading);
  font-size: clamp(64px, 9vw, 96px);
  font-weight: var(--font-black);
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.contact-hero__leaf {
  display: block;
  color: var(--color-lime);
  width: clamp(48px, 7vw, 72px);
  height: clamp(48px, 7vw, 72px);
  flex-shrink: 0;
}

.contact-hero__sub {
  font-family: var(--font-body);
  font-size: var(--text-body-large);
  font-weight: var(--font-light);
  color: var(--color-green-pale);
  letter-spacing: 0.05em;
  line-height: var(--leading-relaxed);
}

.contact-items {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-xxl);
  position: relative;
  z-index: 1;
  margin-top: var(--space-xl);
  padding-bottom: var(--space-xxl);
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-base);
}

.contact-item:hover {
  transform: translateY(-4px);
}

.contact-item__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(168, 204, 112, 0.2);
  background-color: rgba(168, 204, 112, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-lime);
  margin-bottom: var(--space-md);
}

.contact-item__icon svg { display: block; }

.contact-item__label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: var(--font-bold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-lime);
  margin-bottom: var(--space-1);
}

.contact-item__value {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-green-pale);
  text-decoration: none;
  transition: color var(--transition-base);
}

.contact-item__value:hover {
  color: var(--color-white);
}

.contact-form-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--space-8) var(--space-section);
  position: relative;
  z-index: 1;
}

.contact-card {
  background: rgba(19, 35, 20, 0.5);
  border: 1px solid rgba(168, 204, 112, 0.2);
  border-radius: 20px;
  padding: var(--space-xxl);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: var(--font-bold);
  color: var(--color-white);
  text-align: center;
  margin-bottom: var(--space-xxl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-form__group { position: relative; }

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(168, 204, 112, 0.3);
  padding: var(--space-3) 0;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-body);
  outline: none;
  transition: border-color var(--transition-base);
  -webkit-text-fill-color: var(--color-white);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: rgba(212, 232, 208, 0.4);
  -webkit-text-fill-color: rgba(212, 232, 208, 0.4);
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-bottom-color: var(--color-lime);
}

.contact-form__textarea {
  min-height: 120px;
  resize: none;
}

.contact-form__btn {
  margin-top: var(--space-lg);
  background-color: var(--color-lime);
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-weight: var(--font-bold);
  font-size: var(--text-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  width: 100%;
  transition: filter var(--transition-base), transform var(--transition-fast);
}

.contact-form__btn:hover  { filter: brightness(1.1); }
.contact-form__btn:active { transform: scale(0.98); }

.contact-divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-lime);
  opacity: 0.15;
}

@media (max-width: 768px) {
  .contact-items    { flex-direction: column; gap: var(--space-xl); align-items: center; }
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-card     { padding: var(--space-xl) var(--space-lg); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-bg);
  padding-top: var(--space-xxl);
  padding-bottom: var(--space-xxl);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-xxl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer__wordmark {
  font-family: var(--font-body);
  font-size: var(--text-2xl);
  font-weight: var(--font-black);
  color: var(--color-white);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-lg);
}

.footer__nav a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer__nav a:hover {
  color: var(--color-white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copy {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(197, 217, 168, 0.5);
}

.footer__location {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: var(--font-bold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(168, 204, 112, 0.6);
}

.footer__cnpj {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(197, 217, 168, 0.4);
}

@media (max-width: 768px) {
  .footer__top     { flex-direction: column; align-items: flex-start; }
  .footer__nav     { justify-content: flex-start; }
  .footer__bottom  { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   ANIMATIONS — keyframes
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.45; transform: translateY(0); }
  50%       { opacity: 1;    transform: translateY(8px); }
}

@keyframes leafFloat {
  0%, 100% { transform: rotate(12deg) translateY(0); }
  50%       { transform: rotate(12deg) translateY(-4px); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid--4      { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section {
    padding-top: var(--space-xxl);
    padding-bottom: var(--space-xxl);
  }

  /* Custom sections: forçar redução de padding */
  .docs-section,
  .gov-section,
  .transp-section {
    padding-top: var(--space-xxl);
    padding-bottom: var(--space-xxl);
  }

  .contact-section {
    padding-top: var(--space-xxl);
  }

  /* Nav mobile — hide desktop nav, show drawer + toggle */
  #main-nav {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  /* Drawer shell */
  #nav-drawer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 99; /* below header (100) so header stays on top */
    pointer-events: none;
  }

  #nav-drawer.open {
    pointer-events: auto;
  }

  /* Backdrop */
  .nav__drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 17, 5, 0.55);
    opacity: 0;
    transition: opacity 0.35s ease;
  }

  #nav-drawer.open .nav__drawer-backdrop {
    opacity: 1;
  }

  /* Panel slides down from behind the header */
  .nav__drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(7, 23, 9, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-strong);
    padding-top: calc(80px + var(--space-6)); /* clear header */
    padding-left: var(--space-8);
    padding-right: var(--space-8);
    padding-bottom: max(var(--space-8), env(safe-area-inset-bottom));
    transform: translateY(-100%);
    transition: transform 0.42s var(--ease-expo);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  }

  #nav-drawer.open .nav__drawer-panel {
    transform: translateY(0);
  }

  /* Link list */
  .nav__drawer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

  .nav__drawer-link {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    padding: var(--space-4) 0;
    min-height: 56px;
    text-decoration: none;
    color: rgba(212, 232, 208, 0.65);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: var(--font-bold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(168, 204, 112, 0.08);
    transition: color 0.2s ease;
  }

  .nav__drawer-list li:last-child .nav__drawer-link {
    border-bottom: none;
  }

  .nav__drawer-link:hover,
  .nav__drawer-link:active {
    color: var(--color-lime);
  }

  .nav__drawer-num {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: var(--font-bold);
    letter-spacing: 0.14em;
    color: var(--color-lime);
    opacity: 0.5;
    min-width: 20px;
    line-height: 1;
  }

  /* Tagline below links */
  .nav__drawer-tagline {
    margin-top: var(--space-6);
    font-family: var(--font-body);
    font-size: var(--text-xs);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(168, 204, 112, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  #nav-drawer.open .nav__drawer-tagline {
    opacity: 1;
    transition-delay: 0.46s;
  }

  /* Stagger link reveal */
  .nav__drawer-list li {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.28s ease, transform 0.28s ease;
  }

  #nav-drawer.open .nav__drawer-list li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.18s; }
  #nav-drawer.open .nav__drawer-list li:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.24s; }
  #nav-drawer.open .nav__drawer-list li:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.30s; }
  #nav-drawer.open .nav__drawer-list li:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.36s; }
  #nav-drawer.open .nav__drawer-list li:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.42s; }

  /* Hero mobile */
  .hero {
    padding-top: 80px;
  }

  .hero__rule {
    width: 32px;
  }

  .hero__leaf-a { width: 12px; height: 24px; }
  .hero__leaf-b { width: 12px; height: 32px; }
  .hero__leaf-c { width: 12px; height: 18px; }
  .hero__leaf   { padding-bottom: 10px; margin-left: var(--space-sm); gap: 4px; }

  .hero__subtitle {
    letter-spacing: 0.12em;
  }

  .hero__location {
    letter-spacing: 0.18em;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Grids */
  .grid--2,
  .grid--3,
  .grid--7-5,
  .grid--5-7,
  .grid--2-1,
  .impacto-grid,
  .quem-somos__grid {
    grid-template-columns: 1fr;
  }

  /* Quem Somos */
  .quem-somos__stats,
  .qs__stats {
    gap: var(--space-xl);
  }

  .qs__grid { grid-template-columns: 1fr; }

  .qs__cards { grid-template-columns: 1fr 1fr; }

  .qs__card--offset { margin-top: 0; }

  /* Projetos: 2 colunas no tablet */
  .projects-grid { grid-template-columns: repeat(2, 1fr); }

  .projetos__header { flex-direction: column; align-items: flex-start; gap: var(--space-md); }

  .proj-card__img-wrap { height: 300px; }

  /* Transparência: 1 coluna */
  .transp-grid { grid-template-columns: 1fr; }

  /* Documentos header */
  .docs-header { margin-bottom: var(--space-xl); }

  /* Governança: gov-grid já tem regra própria no 768px block */

  /* Fale Conosco */
  .contact-hero__wordmark {
    font-size: clamp(48px, 14vw, 72px);
  }

  .contact-hero__leaf {
    width: clamp(36px, 10vw, 52px);
    height: clamp(36px, 10vw, 52px);
  }

  .contact-form-wrap {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
    padding-bottom: var(--space-xxl);
  }

  /* Footer */
  .footer__nav {
    gap: var(--space-md);
    justify-content: flex-start;
  }

  /* Valores strip — 2x2 no mobile */
  .valores-strip__grid {
    grid-template-columns: 1fr 1fr;
    padding: var(--space-md) 0;
  }

  .valor {
    padding: var(--space-md) var(--space-sm);
    border-right: none;
    border-bottom: 1px solid rgba(168, 204, 112, 0.2);
  }

  .valor:nth-child(odd) {
    border-right: 1px solid rgba(168, 204, 112, 0.2);
  }

  .valor:nth-child(3),
  .valor:nth-child(4) {
    border-bottom: none;
  }

  /* Amazon banner */
  .amazon-banner {
    height: 280px;
  }

  .amazon-banner__title {
    font-size: var(--text-h2);
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }

  .footer__legal {
    flex-direction: column;
    gap: var(--space-2);
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }

  .qs__cards { grid-template-columns: 1fr; }

  /* Projetos: 1 coluna no mobile */
  .projects-grid { grid-template-columns: 1fr; }

  .proj-card__img-wrap { height: 260px; }

  /* Wordmark de contato: ainda menor em telas muito compactas */
  .contact-hero__wordmark {
    font-size: clamp(44px, 15vw, 60px);
    letter-spacing: -0.03em;
  }

  .contact-hero__leaf {
    width: 32px;
    height: 32px;
  }

  /* Formulário de contato — card sem padding excessivo */
  .contact-card {
    padding: var(--space-lg) var(--space-md);
    border-radius: 14px;
  }

  /* Gov cards: imagem menos alta em tela pequena */
  .gov-card__img {
    aspect-ratio: 3 / 2;
  }

  /* Footer: colunas compactas */
  .footer__nav {
    gap: var(--space-sm);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }

  /* Section padding mínimo */
  .docs-section,
  .gov-section,
  .transp-section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }

  .contact-section {
    padding-top: var(--space-xl);
  }
}
