/* ============================================================
   ASSOCIAÇÃO DOS PRODUTORES RURAIS DO BAIRRO DO CAMPINHO
   styles.css — Design system, layout e responsividade
   ============================================================ */

/* ── 1. VARIÁVEIS ─────────────────────────────────────────── */
:root {
  /* Cores extraídas do logo SVG oficial */
  --color-primary:      #086600;
  --color-green-main:   #219510;
  --color-green-vivid:  #15e303;
  --color-accent:       #ec5e13;
  --color-accent-warm:  #e5571d;
  --color-yellow:       #faf10b;
  --color-dark:         #042b00;
  --color-light:        #f0f7ee;
  --color-text:         #1a2e18;
  --color-text-muted:   #4a6645;
  --color-white:        #ffffff;

  /* Tipografia */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Espaçamentos */
  --section-padding:        100px;
  --section-padding-mobile: 64px;
  --container-max:          1200px;
  --radius:                 12px;
  --radius-full:            50%;

  /* Animações */
  --transition-fast:   0.25s ease;
  --transition-base:   0.4s ease;
  --anim-duration:     0.7s;
  --anim-easing:       cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Sombras */
  --shadow-sm:  0 2px 8px rgba(4, 43, 0, 0.10);
  --shadow-md:  0 6px 24px rgba(4, 43, 0, 0.15);
  --shadow-lg:  0 16px 48px rgba(4, 43, 0, 0.20);
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

ul { list-style: none; }

/* ── 3. UTILITÁRIOS ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding-mobile) 0;
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
}

.section__title--light {
  color: var(--color-white);
}

.section__subtitle {
  margin-top: 16px;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--color-text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section__subtitle--light {
  color: rgba(255, 255, 255, 0.78);
}

.section--light { background-color: var(--color-light); }
.section--dark  { background-color: var(--color-dark); }
.section--white { background-color: var(--color-white); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── 4. TIPOGRAFIA ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
}

h1 { font-size: clamp(1.8rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 600; font-family: var(--font-body); }
p  { font-size: clamp(0.95rem, 1.5vw, 1rem); line-height: 1.8; }

/* ── 5. ANIMAÇÕES ─────────────────────────────────────────── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05); }
}

/* Classes de entrada — estado inicial (oculto) */
.animate-fade-up,
.animate-slide-left,
.animate-slide-right,
.animate-fade-in {
  opacity: 0;
  transition: opacity var(--anim-duration) var(--anim-easing),
              transform var(--anim-duration) var(--anim-easing);
}

.animate-fade-up    { transform: translateY(40px); }
.animate-slide-left { transform: translateX(-50px); }
.animate-slide-right{ transform: translateX(50px); }
.animate-fade-in    { transform: translateY(16px); }

/* Estado visível — acionado pelo Intersection Observer */
.animate-fade-up.is-visible,
.animate-slide-left.is-visible,
.animate-slide-right.is-visible,
.animate-fade-in.is-visible {
  opacity: 1;
  transform: none;
}

/* Delays escalonados para grupos de cards */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ── 6. BOTÃO ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  min-height: 44px;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background: var(--color-accent-warm);
  border-color: var(--color-accent-warm);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-dark);
  transform: translateY(-2px);
}

.btn--green {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn--green:hover {
  background: var(--color-green-main);
  border-color: var(--color-green-main);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* ── 7. HEADER ────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition-base),
              padding var(--transition-base),
              box-shadow var(--transition-base);
}

.header.scrolled {
  background: var(--color-dark);
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-img {
  height: 48px;
  width: auto;
}

.header__logo-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
  max-width: 160px;
  display: none;
}

/* Nav desktop */
.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 12px;
  border-radius: 6px;
  transition: color var(--transition-fast),
              background var(--transition-fast);
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.12);
}

/* Hambúrguer */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background var(--transition-fast);
}

.hamburger:hover { background: rgba(255, 255, 255, 0.1); }

.hamburger__line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base),
              opacity var(--transition-fast);
  transform-origin: center;
}

.hamburger.active .hamburger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active .hamburger__line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active .hamburger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile overlay */
.nav-mobile {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.nav-mobile.active {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile__link {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  padding: 12px 32px;
  transition: color var(--transition-fast);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-mobile__link:hover { color: var(--color-white); }

/* ── 8. HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image:
    linear-gradient(135deg,
      rgba(4, 43, 0, 0.88) 0%,
      rgba(8, 102, 0, 0.70) 45%,
      rgba(236, 94, 19, 0.35) 100%),
    url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 80px 24px 48px;
  max-width: 900px;
}

.hero__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-yellow);
  margin-bottom: 20px;
  animation: fadeInDown 0.8s var(--anim-easing) both;
}

.hero__title {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  animation: fadeInDown 0.9s var(--anim-easing) 0.15s both;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 36px;
  animation: fadeInUp 0.9s var(--anim-easing) 0.3s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  animation: fadeInUp 0.9s var(--anim-easing) 0.45s both;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  animation: bounce 2.2s ease-in-out infinite;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

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

/* ── 9. SOBRE ─────────────────────────────────────────────── */
.sobre__grid {
  display: grid;
  gap: 48px;
  align-items: start;
}

.sobre__logo {
  text-align: center;
  margin-bottom: 28px;
}

.sobre__logo img {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.sobre__text h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--color-dark);
  margin-bottom: 20px;
}

.sobre__text p {
  color: var(--color-text);
  margin-bottom: 16px;
}

.sobre__quote {
  border-left: 4px solid var(--color-accent);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--color-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Cards de números */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--color-white);
  border: 1px solid rgba(33, 149, 16, 0.2);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-card__number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

/* ── 10. O BAIRRO ─────────────────────────────────────────── */
.bairro__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.bairro__content h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--color-dark);
  margin-bottom: 20px;
}

.bairro__content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  margin-top: 24px;
}

.bairro__content p {
  color: var(--color-text);
  margin-bottom: 8px;
}

.bairro__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.bairro__img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.bairro__img:hover img { transform: scale(1.03); }

/* Cards de destaques */
.highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.highlight-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--color-green-main);
  transition: transform var(--transition-base);
}

.highlight-card:hover { transform: translateY(-3px); }

.highlight-card__icon {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.highlight-card__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}

/* ── 11. CULTURA (COMPANHIA DE SANTOS REIS) ───────────────── */
.cultura {
  background: var(--color-dark);
  color: var(--color-white);
}

.cultura__grid {
  display: grid;
  gap: 48px;
  align-items: start;
}

.cultura__text h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--color-white);
  margin-bottom: 8px;
}

.cultura__text .section__tag {
  color: var(--color-yellow);
}

.cultura__text p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 16px;
}

.cultura__text strong {
  color: var(--color-white);
}

.cultura__photo {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cultura__photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.cultura__photo:hover img { transform: scale(1.03); }

.cultura__video-col h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cultura__video-col h3 i {
  color: var(--color-accent);
  font-size: 1.1rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

.video-caption {
  margin-top: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  font-style: italic;
}

/* ── 12. DIRIGENTES ───────────────────────────────────────── */
/* Organograma — versão mobile: lista */
.org-chart { display: none; }

.org-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.org-list__group-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-top: 24px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--color-light);
}

.dir-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(33, 149, 16, 0.15);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.dir-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.dir-card__avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-heading);
}

.dir-card--fiscal .dir-card__avatar {
  background: var(--color-accent);
}

.dir-card__info { flex: 1; }

.dir-card__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 4px;
}

.dir-card__cargo {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge--diretoria {
  background: rgba(33, 149, 16, 0.15);
  color: var(--color-primary);
}

.badge--fiscal {
  background: rgba(236, 94, 19, 0.15);
  color: var(--color-accent);
}

/* Organograma desktop — árvore com linhas */
.org-chart {
  text-align: center;
}

.org-chart__tree {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.org-vline {
  width: 2px;
  height: 36px;
  background: var(--color-green-main);
  margin: 0 auto;
}

.org-row {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.org-row--single { flex-direction: column; align-items: center; }

.org-branch {
  display: flex;
  justify-content: center;
  gap: 12px;
  position: relative;
  padding-top: 36px;
}

/* Linha vertical do VP até a horizontal */
.org-branch::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 18px;
  background: var(--color-green-main);
  transform: translateX(-50%);
}

/* Linha horizontal sobre os cards — largura calculada por JS */
.org-branch::after {
  content: '';
  position: absolute;
  top: 18px;
  left: var(--line-left, 10%);
  right: var(--line-right, 10%);
  height: 2px;
  background: var(--color-green-main);
}

/* Linha vertical de cada card até a horizontal */
.org-branch .org-card::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 50%;
  width: 2px;
  height: 18px;
  background: var(--color-green-main);
  transform: translateX(-50%);
}

.org-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(33, 149, 16, 0.15);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  min-width: 140px;
  max-width: 160px;
}

.org-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.org-card--presidente { border-top: 3px solid var(--color-primary); }
.org-card--vp        { border-top: 3px solid var(--color-green-main); }
.org-card--membro    { border-top: 3px solid var(--color-green-main); }
.org-card--fiscal    { border-top: 3px solid var(--color-accent); }

.org-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 auto 12px;
}

.org-card--presidente .org-card__avatar { background: var(--color-dark); }
.org-card--vp .org-card__avatar        { background: var(--color-primary); }
.org-card--fiscal .org-card__avatar    { background: var(--color-accent); }

.org-card__cargo {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.org-card--fiscal .org-card__cargo { color: var(--color-accent); }

.org-card__name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
}

/* Conselho Fiscal */
.org-fiscal {
  margin-top: 56px;
}

.org-fiscal__title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.org-fiscal__title::before,
.org-fiscal__title::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: rgba(236, 94, 19, 0.3);
}

.org-fiscal__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ── 13. DOCUMENTOS ───────────────────────────────────────── */
.docs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.doc-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(8, 102, 0, 0.1);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.doc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.doc-card__icon {
  font-size: 3rem;
  color: #e53935;
  line-height: 1;
}

.doc-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-dark);
}

.doc-card__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}

/* ── 14. CONTATO ──────────────────────────────────────────── */
.contato__grid {
  display: grid;
  gap: 48px;
  align-items: start;
}

.contato__info h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--color-dark);
  margin-bottom: 24px;
}

.contato__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contato__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contato__item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--color-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1rem;
}

.contato__item-text {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.5;
}

.contato__item-text strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.contato__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-light);
}

.contato__map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* ── 15. FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  gap: 40px;
  padding-bottom: 48px;
}

.footer__brand-logo img {
  max-width: 200px;
  margin-bottom: 16px;
}

.footer__brand-text {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer__brand-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
}

.footer__brand-email:hover { color: var(--color-white); }

.footer__col-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
}

.footer__link:hover { color: var(--color-white); }
.footer__link i { font-size: 0.75rem; opacity: 0.5; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ── 16. BACK TO TOP ──────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--transition-base),
              transform var(--transition-base),
              background var(--transition-fast);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-to-top:hover { background: var(--color-green-main); }

/* ── 17. RESPONSIVIDADE — TABLET (≥ 768px) ────────────────── */
@media (min-width: 768px) {

  .section { padding: var(--section-padding) 0; }

  /* Header */
  .header__logo-name { display: block; }

  /* Hero */
  .hero__actions { flex-wrap: nowrap; }

  /* Sobre */
  .stats { grid-template-columns: repeat(4, 1fr); }

  /* Bairro */
  .highlights { grid-template-columns: repeat(4, 1fr); }
  .bairro__img img { height: 440px; }

  /* Cultura */
  .cultura__photo img { height: 360px; }

  /* Dirigentes — tablet: lista compacta em 2 colunas */
  .org-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .org-list__group-title { grid-column: 1 / -1; }

  /* Footer */
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── 18. RESPONSIVIDADE — NOTEBOOK (≥ 1024px) ────────────── */
@media (min-width: 1024px) {

  /* Header: mostrar nav desktop, esconder hambúrguer */
  .nav { display: block; }
  .hamburger { display: none; }

  /* Sobre */
  .sobre__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .sobre__logo { text-align: left; }

  /* Bairro */
  .bairro__grid { grid-template-columns: 1fr 1fr; }

  /* Cultura */
  .cultura__grid { grid-template-columns: 1fr 1fr; }
  .cultura__photo img { height: 300px; }

  /* Dirigentes: esconder lista, mostrar organograma */
  .org-list  { display: none; }
  .org-chart { display: block; }

  /* Contato */
  .contato__grid { grid-template-columns: 1fr 1fr; }
}

/* ── 19. RESPONSIVIDADE — DESKTOP (≥ 1440px) ─────────────── */
@media (min-width: 1440px) {
  .container { padding: 0 40px; }

  .org-branch { gap: 20px; }
  .org-card   { min-width: 150px; max-width: 175px; }
}

/* ── 20. HOVER: desabilitar em touch ──────────────────────── */
@media (hover: none) {
  .org-card:hover,
  .dir-card:hover,
  .doc-card:hover,
  .stat-card:hover,
  .highlight-card:hover { transform: none; }
}

/* ── 21. PREFERS-REDUCED-MOTION ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  .animate-fade-up,
  .animate-slide-left,
  .animate-slide-right,
  .animate-fade-in {
    opacity: 1;
    transform: none;
  }
}
