/* styles.css - Versão Completa e Organizada */

/* ===== VARIÁVEIS E BASE ===== */
:root {
  --forest-700: #2c5e3a;
  --forest-900: #1a3a1e;
  --gold-400: #d4af37;
  --gold-500: #c9a227;
  --terracotta: #e27d60;
  --cream: #f5f5dc;
  --white: #ffffff;
  --black: #000000;
  --terracotta-light: #f5d7d0;
  --blue: #3a86b8;
  --blue-light: #a8d0e6;
  --green-500: #27ae60;
  --green-700: #229954;
  --red-500: #e74c3c;
  --forest-50: #f0f7f0;
  --forest-100: #e0f0e0;
  --forest-200: #c8e6c8;
  --forest-600: #4a7c59;
  --gold-50: #fdf6e3;
  --gold-100: #f9e4a4;
  --terracotta-lighter: #f9ece8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--forest-900);
  transition: all 0.4s ease;
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  backdrop-filter: blur(10px);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: scale(1.05);
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  line-height: 1.2;
}

.logo-text h1 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  transition: color 0.3s ease;
  margin: 0;
  font-family: 'Playfair Display', serif;
}

.logo-text p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
  margin: 0;
}

.header.scrolled .logo-text h1 {
  color: var(--forest-900);
}

.header.scrolled .logo-text p {
  color: var(--forest-700);
}

/* Navegação Principal */
.desktop-nav {
  flex-grow: 1;
}

.desktop-nav ul {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav li {
  position: relative;
}

.desktop-nav a {
  display: block;
  padding: 10px 18px;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.desktop-nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.desktop-nav a:hover::before {
  left: 100%;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--gold-400);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.header.scrolled .desktop-nav a {
  color: var(--forest-900);
}

.header.scrolled .desktop-nav a:hover,
.header.scrolled .desktop-nav a.active {
  color: var(--gold-400);
  background: rgba(44, 94, 58, 0.1);
}

/* Informações de Contato no Header */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.header.scrolled .contact-info {
  color: var(--forest-700);
}

.contact-info i {
  margin-right: 5px;
}

/* Menu Mobile */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 8px;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1001;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.header.scrolled .mobile-menu-btn {
  color: var(--forest-900);
}

.mobile-menu {
  position: fixed;
  top: 84px;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transform: translateY(-150%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  border-top: 3px solid var(--gold-400);
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu a {
  display: block;
  padding: 15px 20px;
  color: var(--forest-900);
  text-decoration: none;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  background: var(--gray-100);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: var(--cream);
  color: var(--forest-900);
  border-left-color: var(--gold-400);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Hero Section - Botões Simplificados */
.hero .btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--forest-900);
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.hero .btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.hero .btn-primary i {
  transition: transform 0.2s ease;
}

.hero .btn-primary:hover i {
  transform: translateX(3px);
}

.hero .btn-secondary {
  background: var(--blue);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid var(--blue);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero .btn-secondary:hover {
  background-color: #1d4b69;
  border-color: rgba(255, 255, 255, 0.8);
}

.hero .btn-secondary i {
  transition: transform 0.2s ease;
}

.hero .btn-secondary:hover i {
  transform: scale(1.05);
}

/* Efeito de clique sutil */
.hero .btn-primary:active,
.hero .btn-secondary:active {
  transform: translateY(1px);
}

.click-effect {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transform: scale(0);
  animation: clickEffect 0.6s ease-out;
  pointer-events: none;
}

.hover-effect {
  transform: scale(0.95);
  opacity: 0.9;
  transition: all 0.3s ease;
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
  }
  100% {
    box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
  }
}

@keyframes clickEffect {
  to {
    transform: scale(10);
    opacity: 0;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 135vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('NovaMajol/IMG-20250710-WA0137.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

@keyframes zoomOut {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
  font-size: 1.8rem;
  margin-bottom: 30px;
  opacity: 0.9;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero .description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  opacity: 0;
  animation: fadeIn 1s ease 3s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.scroll-indicator i {
  animation: bounce 2s infinite;
  font-size: 1.5rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--forest-900);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
  box-shadow: 0 4px 15px rgba(58, 134, 184, 0.3);
}

.btn-secondary:hover {
  background: #1d4b69;
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 134, 184, 0.4);
}

/* Botão Terciário para o Hero */
.btn-tertiary {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: var(--white);
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid var(--green-500);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: left;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
  cursor: pointer;
}

.btn-tertiary:hover {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.btn-tertiary:active {
  transform: translateY(1px);
}

.btn-tertiary i {
  transition: transform 0.2s ease;
}

.btn-tertiary:hover i {
  transform: scale(1.1);
}

/* Ajuste responsivo para 3 botões */
@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn-tertiary {
    width: 100%;
    justify-content: center;
  }
}

.btn i {
  transition: transform 0.2s ease;
}

.btn:hover i {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(1px);
}

/* Efeitos de Clique */
.click-effect {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transform: scale(0);
  animation: clickEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes clickEffect {
  to {
    transform: scale(10);
    opacity: 0;
  }
}

.hover-effect {
  transform: scale(0.95);
  opacity: 0.9;
  transition: all 0.3s ease;
}

/* ===== SEÇÕES GERAIS ===== */
.section {
  padding: 80px 0;
  position: relative;
}

.section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--forest-700);
  position: relative;
  font-family: 'Playfair Display', serif;
}

.section h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--gold-400), var(--gold-500));
  margin: 15px auto 0;
  border-radius: 2px;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--forest-600);
  line-height: 1.6;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: linear-gradient(to bottom, var(--cream), var(--white));
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.value-card {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white;
}

.bg-forest {
  background: linear-gradient(135deg, var(--forest-700), var(--forest-900));
}

.bg-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
}

.bg-terracotta {
  background: linear-gradient(135deg, var(--terracotta), var(--red-500));
}

.value-card h3 {
  font-size: 1.5rem;
  color: var(--forest-700);
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.value-card p {
  color: var(--forest-600);
  line-height: 1.6;
}

/* ===== ÁREAS DE ATUAÇÃO - ESTILOS MODERNIZADOS ===== */
.about-row {
  margin-bottom: 60px;
}

.operation-areas {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.operation-areas::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--forest-700), var(--gold-400), var(--terracotta));
}

.operation-areas h3 {
  font-size: 2rem;
  color: var(--forest-700);
  margin-bottom: 30px;
  font-family: 'Playfair Display', serif;
  display: flex;
  align-items: center;
  gap: 15px;
}

.operation-areas h3 i {
  color: var(--gold-400);
  font-size: 1.8rem;
}

/* Container principal áreas + mapa */
.areas-and-map-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 992px) {
  .areas-and-map-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* Coluna de Áreas */
.areas-column {
  background: linear-gradient(135deg, var(--cream), var(--white));
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(44, 94, 58, 0.1);
}

.areas-column h3 {
  font-size: 1.5rem;
  color: var(--forest-700);
  margin-bottom: 25px;
  font-family: 'Playfair Display', serif;
  display: flex;
  align-items: center;
  gap: 10px;
}

.area-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s;
}

.area-card:hover::before {
  left: 100%;
}

.area-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.area-bullet {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
  z-index: 2;
}

.area-card h4 {
  font-size: 1.2rem;
  color: var(--forest-700);
  margin-bottom: 8px;
  font-weight: 600;
}

.area-card p {
  color: var(--forest-600);
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: 0.95rem;
}

.map-link {
  color: var(--forest-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 20px;
  background: rgba(44, 94, 58, 0.1);
}

.map-link:hover {
  color: var(--white);
  background: var(--forest-700);
  transform: translateX(5px);
}

/* Coluna do Mapa */
/* ===== MAPA SIMPLES ===== */
.map-column {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.map-column h3 {
  color: var(--forest-700);
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
  display: flex;
  align-items: center;
  gap: 10px;
}

.map-column h3 i {
  color: var(--gold-400);
}

#zambeziaMap {
  height: 400px;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 3px solid var(--forest-50);
}

@media (max-width: 768px) {
  #zambeziaMap {
    height: 300px;
  }
  
  .map-column {
    padding: 20px;
  }
}



/* Estatísticas das Áreas */
.area-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px solid var(--cream);
}

.stat-card {
  background: linear-gradient(135deg, var(--forest-700), var(--forest-900));
  color: var(--white);
  padding: 25px 20px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s;
}

.stat-card:hover::before {
  transform: rotate(45deg) translate(10px, 10px);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(44, 94, 58, 0.3);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  font-family: 'Playfair Display', serif;
  position: relative;
  z-index: 2;
  color: var(--gold-400);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

/* ===== ECOSSISTEMAS PROTEGIDOS ===== */
.ecosystems-section {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.ecosystems-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--forest-700), var(--blue));
}

.ecosystems-section h3 {
  font-size: 2rem;
  color: var(--forest-700);
  margin-bottom: 30px;
  font-family: 'Playfair Display', serif;
  display: flex;
  align-items: center;
  gap: 15px;
}

.ecosystems-section h3 i {
  color: var(--green-500);
  font-size: 1.8rem;
}

.ecosystems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.ecosystem-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(44, 94, 58, 0.1);
}

.ecosystem-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.ecosystem-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  transition: transform 0.5s ease;
}

.ecosystem-card:hover .ecosystem-image {
  transform: scale(1.05);
}

.ecosystem-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ecosystem-card:hover .ecosystem-image::after {
  opacity: 1;
}

.ecosystem-card h4 {
  font-size: 1.3rem;
  color: var(--forest-700);
  margin: 20px 20px 10px;
  font-family: 'Playfair Display', serif;
}

.ecosystem-card p {
  color: var(--forest-600);
  margin: 0 20px 20px;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Efeito de brilho nas bordas */
.ecosystem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  padding: 2px;
  background: linear-gradient(135deg, var(--forest-700), transparent, var(--green-500));
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ecosystem-card:hover::before {
  opacity: 1;
}

/* ===== ANIMAÇÕES ESPECÍFICAS ===== */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(44, 94, 58, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(44, 94, 58, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(44, 94, 58, 0);
  }
}

.active-area {
  animation: pulseGlow 1s ease;
}

/* Efeito de flutuação suave */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.area-card:hover,
.ecosystem-card:hover {
  animation: float 2s ease-in-out infinite;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  .operation-areas,
  .ecosystems-section {
    padding: 25px 20px;
  }
  
  .areas-and-map-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .areas-column,
  .map-column {
    padding: 20px;
  }
  
  .operation-areas h3,
  .ecosystems-section h3 {
    font-size: 1.6rem;
  }
  
  .area-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .stat-card {
    padding: 20px 15px;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .ecosystems-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  #zambeziaMap {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .area-stats {
    grid-template-columns: 1fr;
  }
  
  .area-card {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }
  
  .area-bullet {
    align-self: center;
  }
  
  .operation-areas h3,
  .ecosystems-section h3 {
    font-size: 1.4rem;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
  .area-card::before,
  .ecosystem-card::before,
  .stat-card::before,
  .ecosystem-image,
  .area-card,
  .ecosystem-card {
    transition: none;
    animation: none;
  }
}

/* Estados de foco para acessibilidade */
.area-card:focus-within {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
}

.map-link:focus {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
}

/* Loading state para o mapa */
#zambeziaMap.loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ===== ACTIVITIES SECTION ===== */
.activities-section {
  background: linear-gradient(to bottom, var(--white), var(--cream));
  position: relative;
}

.activities-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--forest-700), var(--gold-400), var(--forest-700));
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: bold;
  background: var(--white);
  color: var(--forest-700);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.filter-btn.active, .filter-btn:hover {
  background: linear-gradient(135deg, var(--forest-700), var(--forest-900));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(44, 94, 58, 0.3);
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.activity-card {
  background: var(--white);
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: visible;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.6s ease forwards;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.activity-image {
  width: 100%;
  height: 150px;
  background-size: cover;
  background-position: center;
  margin-bottom: 15px;
  border-radius: 15px;
  transition: transform 0.3s ease;
  will-change: transform;
  backface-visibility: hidden;
}

.activity-card:hover .activity-image {
  transform: scale(1.05);
}

/* Ícones Personalizados com Números */
.custom-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--forest-700), var(--forest-900));
  color: white;
  font-weight: bold;
  font-size: 20px;
  font-family: 'Arial', sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 3px solid white;
  margin: 0 auto 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.custom-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  transition: all 0.3s ease;
}

.activity-card:hover .custom-icon::before {
  transform: rotate(45deg) translate(10px, 10px);
}

.custom-icon.double-digit {
  font-size: 16px;
}

.activity-card:hover .custom-icon {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Cores por categoria */
.custom-icon.agriculture {
  background: linear-gradient(135deg, var(--forest-700), var(--forest-900));
}

.custom-icon.industry {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.custom-icon.forestry {
  background: linear-gradient(135deg, #8b4513, #654321);
}

.custom-icon.community {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

.activity-card h4 {
  font-size: 1rem;
  color: var(--forest-900);
  margin-bottom: 5px;
  font-weight: 600;
  line-height: 1.3;
}

/* Tooltip */
.activity-tooltip {
  position: absolute;
  bottom: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  background: var(--forest-900);
  color: white;
  padding: 15px;
  border-radius: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  text-align: left;
}

.activity-tooltip:after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: var(--forest-900) transparent transparent transparent;
}

.activity-tooltip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--gold-400);
}

.activity-tooltip p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
  opacity: 0.9;
}

.activity-card:hover .activity-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

/* Sistema Cooperativo */
.cooperative-system {
  background: linear-gradient(135deg, var(--forest-700), var(--forest-900));
  padding: 40px;
  border-radius: 20px;
  color: white;
  text-align: center;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.cooperative-system::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: rotate(45deg) translateX(-100%); }
  100% { transform: rotate(45deg) translateX(100%); }
}

.cooperative-system h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
  position: relative;
  z-index: 1;
}

.cooperative-system p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.system-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.system-card:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.15);
}

.system-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white;
  background: rgba(255, 255, 255, 0.2);
}

.system-card h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.system-card p {
  opacity: 0.8;
  font-size: 1rem;
  margin-bottom: 0;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
  background: linear-gradient(to bottom, var(--cream), var(--white));
  position: relative;
  overflow: hidden;
}

.projects-section::before,
.projects-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
  z-index: 0;
}

.projects-section::before {
  background: var(--forest-700);
  top: 20%;
  right: 10%;
}

.projects-section::after {
  background: var(--gold-400);
  bottom: 20%;
  left: 10%;
}

.projects-carousel {
  position: relative;
  z-index: 1;
}

.project-slides {
  display: flex;
  transition: transform 0.5s ease;
}

.project-slide {
  min-width: 100%;
  display: none;
  gap: 40px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.project-slide.active {
  display: grid;
  grid-template-columns: 1fr;
  opacity: 1;
}

@media (min-width: 992px) {
  .project-slide.active {
    grid-template-columns: 1fr 1fr;
  }
}

.project-image {
  position: relative;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-slide:hover .project-image img {
  transform: scale(1.05);
}

.project-icon {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.bg-yellow {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
}

.bg-green {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
}

.bg-forest {
  background: linear-gradient(135deg, var(--forest-700), var(--forest-900));
}

.bg-terracotta {
  background: linear-gradient(135deg, var(--terracotta), var(--red-500));
}

.bg-blue {
  background: linear-gradient(135deg, var(--blue), #2a6a9a);
}

.project-stats {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 15px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  z-index: 2;
}

.project-stat-item {
  text-align: center;
}

.project-stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--forest-700);
  font-family: 'Playfair Display', serif;
}

.project-stat-label {
  font-size: 14px;
  color: var(--forest-600);
  font-weight: 500;
}

.project-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-content h3 {
  font-size: 32px;
  color: var(--forest-700);
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

.project-content p {
  color: var(--forest-600);
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.project-benefits {
  margin-bottom: 30px;
}

.project-benefits h4 {
  font-size: 20px;
  color: var(--forest-700);
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.project-benefits ul {
  list-style: none;
  padding: 0;
}

.project-benefits li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--forest-700);
  line-height: 1.4;
}

/* Dots de cores */
.terracotta-dot, .gold-dot, .green-dot, .forest-dot, .blue-dot {
  font-size: 8px;
  margin-right: 10px;
  min-width: 8px;
}

.terracotta-dot { color: var(--terracotta); }
.gold-dot { color: var(--gold-400); }
.green-dot { color: var(--green-500); }
.forest-dot { color: var(--forest-700); }
.blue-dot { color: var(--blue); }

/* Botões de projeto */
.btn-project-cta {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  align-self: flex-start;
}

.terracotta-gradient { 
  background: linear-gradient(135deg, var(--terracotta), #d86a4d); 
  color: white; 
}

.gold-gradient { 
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); 
  color: var(--forest-900);
}

.green-gradient { 
  background: linear-gradient(135deg, var(--green-500), var(--green-700)); 
  color: white;
}

.forest-gradient { 
  background: linear-gradient(135deg, var(--forest-700), var(--forest-900)); 
  color: white;
}

.blue-gradient { 
  background: linear-gradient(135deg, var(--blue), #2a6a9a); 
  color: white;
}

.btn-project-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-project-cta:hover i {
  transform: translateX(5px);
}

.btn-project-cta i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

/* Controles do carousel */
.project-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 20px;
}

.project-prev, .project-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--forest-700);
}

.project-prev:hover, .project-next:hover {
  background: var(--forest-700);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 94, 58, 0.3);
}

.project-dots {
  display: flex;
  gap: 10px;
}

.project-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-dot.active {
  background: var(--forest-700);
  transform: scale(1.2);
}

.project-dot:hover {
  background: var(--forest-500);
}

/* Estatísticas de impacto */
.projects-impact-stats {
  background: linear-gradient(135deg, var(--forest-700), var(--forest-900));
  padding: 40px;
  border-radius: 20px;
  margin-top: 60px;
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
}

.projects-impact-stats h3 {
  font-size: 32px;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.projects-impact-stats p {
  opacity: 0.8;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

/* Estilos para a seção técnica dos SAFs */
.project-technical {
  background: var(--forest-50);
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
  border-left: 4px solid var(--green-500);
}

.project-technical h4 {
  color: var(--forest-700);
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}

.tech-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tech-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid rgba(44, 94, 58, 0.1);
}

.tech-item:last-child {
  border-bottom: none;
}

.tech-label {
  font-weight: 600;
  color: var(--forest-700);
  font-size: 0.9rem;
  flex: 1;
}

.tech-value {
  color: var(--forest-600);
  font-size: 0.9rem;
  flex: 1;
  text-align: right;
}

/* Responsividade para tech specs */
@media (max-width: 768px) {
  .tech-item {
    flex-direction: column;
    gap: 5px;
  }
  
  .tech-value {
    text-align: left;
  }
}

.impact-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.impact-stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 25px;
  border-radius: 15px;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.impact-stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.impact-stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 24px;
  color: white;
  background: rgba(255, 255, 255, 0.2);
}

.impact-stat-value {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--gold-400);
  font-family: 'Playfair Display', serif;
}

.impact-stat-label {
  font-size: 16px;
  opacity: 0.9;
}

/* ===== IMPACT SECTION ===== */
.impact-section {
  background: linear-gradient(to bottom, var(--white), var(--cream));
  position: relative;
  overflow: hidden;
}

.impact-section::before,
.impact-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
  z-index: 0;
}

.impact-section::before {
  background: var(--forest-700);
  top: 20%;
  left: 10%;
}

.impact-section::after {
  background: var(--gold-400);
  bottom: 20%;
  right: 10%;
}

.impact-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
  z-index: 1;
  position: relative;
}

.impact-metric-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.impact-metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--forest-700), var(--gold-400));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.impact-metric-card:hover::before {
  transform: scaleX(1);
}

.impact-metric-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.impact-metric-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: white;
  position: relative;
  z-index: 1;
}

.impact-metric-value {
  font-size: 42px;
  font-weight: 700;
  color: var(--forest-700);
  margin-bottom: 5px;
  font-family: 'Playfair Display', serif;
  position: relative;
  z-index: 1;
}

.impact-metric-label {
  font-size: 18px;
  font-weight: 600;
  color: var(--forest-700);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.impact-metric-description {
  font-size: 14px;
  color: var(--forest-600);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}



/* ===== TESTIMONIALS ===== */
.testimonials-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .testimonials-section {
    grid-template-columns: 1fr 1fr;
  }
}

.testimonials-content {
  position: relative;
}

.testimonials-content h3 {
  font-size: 32px;
  color: var(--forest-700);
  margin-bottom: 30px;
  font-family: 'Playfair Display', serif;
}

.testimonial {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  display: none;
  animation: fadeIn 0.5s ease;
  border-left: 4px solid var(--gold-400);
}

.testimonial.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-quote-icon {
  font-size: 40px;
  color: var(--gold-400);
  margin-bottom: 20px;
  opacity: 0.5;
}

.testimonial blockquote {
  font-size: 18px;
  color: var(--forest-700);
  line-height: 1.6;
  margin-bottom: 30px;
  font-style: italic;
  position: relative;
  quotes: """ """ "'" "'";
}

.testimonial blockquote::before {
  content: open-quote;
  font-size: 4em;
  color: var(--gold-400);
  position: absolute;
  left: -10px;
  top: -20px;
  opacity: 0.3;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.testimonial-author img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-400);
}

.testimonial-author h4 {
  font-size: 18px;
  color: var(--forest-700);
  margin-bottom: 5px;
  font-weight: 600;
}

.testimonial-author p {
  font-size: 14px;
  color: var(--forest-600);
  margin: 0;
}

.testimonial-impact {
  background: linear-gradient(to right, var(--gold-50), var(--gold-100));
  padding: 15px;
  border-radius: 10px;
  border-left: 4px solid var(--gold-400);
}

.testimonial-impact p {
  font-size: 16px;
  color: var(--forest-700);
  font-weight: 600;
  margin: 0;
}

.testimonial-impact strong {
  color: var(--forest-900);
}

/* Controles de testemunhos */
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--forest-700);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(44, 94, 58, 0.3);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--forest-900);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 94, 58, 0.4);
}

.testimonial-prev:active,
.testimonial-next:active {
  transform: translateY(0);
}

.testimonial-dots {
  display: flex;
  gap: 10px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background: var(--forest-700);
  transform: scale(1.2);
}

.testimonial-dot:hover {
  background: var(--forest-500);
}

/* Galeria de testemunhos */
.testimonials-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  aspect-ratio: 1;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

/* ===== CERTIFICAÇÕES ===== */
.certifications-section {
  background: linear-gradient(135deg, var(--forest-700), var(--forest-900));
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.certifications-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

.certifications-section h3 {
  font-size: 32px;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
  position: relative;
  z-index: 1;
}

.certifications-section p {
  opacity: 0.8;
  margin-bottom: 40px;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.certification-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 30px;
  border-radius: 15px;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.certification-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.certification-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: white;
  background: rgba(255, 255, 255, 0.2);
}

.certification-card h4 {
  font-size: 20px;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.certification-card p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ===== CONTACT SECTION ===== */
#contact {
  background: linear-gradient(to bottom, var(--cream), var(--white));
  position: relative;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  margin-top: 40px;
}

@media (min-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* ===== FORMULÁRIOS - ESTILOS ATUALIZADOS ===== */
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--forest-700), var(--gold-400), var(--terracotta));
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--forest-700);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid var(--forest-100);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
  background: var(--white);
  color: var(--forest-700);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--forest-700);
  box-shadow: 0 0 0 3px rgba(44, 94, 58, 0.15);
  outline: none;
  background: var(--white);
  transform: translateY(-2px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--forest-300);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

/* Estados de validação */
.form-group input:valid:not(:placeholder-shown),
.form-group select:valid,
.form-group textarea:valid:not(:placeholder-shown) {
  border-color: var(--green-500);
  background: linear-gradient(to right, rgba(39, 174, 96, 0.05), transparent);
}

.form-group input:invalid:not(:focus):not(:placeholder-shown),
.form-group select:invalid:not(:focus),
.form-group textarea:invalid:not(:focus):not(:placeholder-shown) {
  border-color: var(--red-500);
  background: linear-gradient(to right, rgba(231, 76, 60, 0.05), transparent);
}

/* Placeholder estilizado */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--forest-400);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
  opacity: 0.5;
}

/* Ícones nos campos */
.form-group.with-icon {
  position: relative;
}

.form-group.with-icon i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--forest-500);
  transition: all 0.3s ease;
  z-index: 2;
}

.form-group.with-icon input,
.form-group.with-icon select,
.form-group.with-icon textarea {
  padding-left: 50px;
}

.form-group.with-icon:focus-within i {
  color: var(--forest-700);
  transform: translateY(-50%) scale(1.1);
}

/* Botão de envio melhorado */
.btn-submit {
  background: linear-gradient(135deg, var(--forest-700), var(--forest-900));
  color: var(--white);
  border: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 6px 20px rgba(44, 94, 58, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(44, 94, 58, 0.4);
  background: linear-gradient(135deg, var(--forest-900), var(--forest-700));
}

.btn-submit:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(44, 94, 58, 0.3);
}

.btn-submit:disabled {
  background: var(--forest-300);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-submit:disabled:hover::before {
  left: -100%;
}

/* Loading state para o botão */
.btn-submit.loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn-submit.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid var(--white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Grupo de formulário em linha para campos menores */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Checkbox e Radio personalizados */
.form-check {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  cursor: pointer;
}

.form-check-input {
  width: 20px;
  height: 20px;
  border: 2px solid var(--forest-300);
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.form-check-input:checked {
  background: var(--forest-700);
  border-color: var(--forest-700);
}

.form-check-input:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
}

.form-check-label {
  color: var(--forest-700);
  font-size: 0.95rem;
  user-select: none;
}

/* Radio buttons */
.form-radio {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  cursor: pointer;
}

.form-radio-input {
  width: 20px;
  height: 20px;
  border: 2px solid var(--forest-300);
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.form-radio-input:checked {
  border-color: var(--forest-700);
}

.form-radio-input:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--forest-700);
  border-radius: 50%;
}

/* Mensagens de erro e sucesso */
.form-message {
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 15px;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.form-message.error {
  background: linear-gradient(to right, rgba(231, 76, 60, 0.1), transparent);
  color: var(--red-500);
  border-left: 4px solid var(--red-500);
  display: block;
}

.form-message.success {
  background: linear-gradient(to right, rgba(39, 174, 96, 0.1), transparent);
  color: var(--green-500);
  border-left: 4px solid var(--green-500);
  display: block;
}

.form-message.info {
  background: linear-gradient(to right, rgba(52, 152, 219, 0.1), transparent);
  color: var(--blue);
  border-left: 4px solid var(--blue);
  display: block;
}

/* Tooltip de ajuda */
.form-tooltip {
  position: relative;
  display: inline-block;
  margin-left: 8px;
  color: var(--forest-400);
  cursor: help;
}

.form-tooltip:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--forest-900);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-tooltip:hover::before {
  content: '';
  position: absolute;
  bottom: calc(100% - 5px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--forest-900);
}

/* Select personalizado */
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%232c5e3a' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 12px;
  padding-right: 50px;
}

/* Animações para formulários */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  animation: shake 0.3s ease;
  border-color: var(--red-500);
}

/* Progresso do formulário */
.form-progress {
  margin-bottom: 30px;
}

.progress-bar {
  height: 6px;
  background: var(--forest-100);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--forest-700), var(--gold-400));
  border-radius: 3px;
  transition: width 0.5s ease;
  width: 0%;
}

.progress-text {
  text-align: center;
  font-size: 0.9rem;
  color: var(--forest-600);
  font-weight: 500;
}

/* Responsividade para formulários */
@media (max-width: 768px) {
  .contact-form {
    padding: 30px 25px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 14px 16px;
    font-size: 16px; /* Prevenir zoom no iOS */
  }
  
  .btn-submit {
    padding: 16px 30px;
    font-size: 1rem;
  }
  
  .form-group.with-icon input,
  .form-group.with-icon select,
  .form-group.with-icon textarea {
    padding-left: 45px;
  }
  
  .form-group.with-icon i {
    left: 16px;
  }
}

@media (max-width: 480px) {
  .contact-form {
    padding: 25px 20px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
  }
  
  .btn-submit {
    padding: 14px 25px;
  }
}

/* Acessibilidade para formulários */
@media (prefers-reduced-motion: reduce) {
  .form-group input,
  .form-group select,
  .form-group textarea,
  .btn-submit {
    transition: none;
  }
  
  .btn-submit::before {
    display: none;
  }
}

/* Foco visível para acessibilidade */
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible,
.btn-submit:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
}

/* Estados de carregamento */
.form-loading {
  position: relative;
  pointer-events: none;
}

.form-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border: 3px solid var(--forest-100);
  border-top: 3px solid var(--forest-700);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1;
}

.contact-form {
    background: linear-gradient(135deg, #f8fafc, #f0fdf4);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Botão de submit */
.btn-primary2 {
    width: 100%;
    justify-content: center;
}

.btn-primary2{
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary2 {
    background: #16a34a;
    color: white;
    box-shadow: 0 4px 6px rgba(22, 163, 74, 0.2);
}

.btn-primary:hover {
    background: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(22, 163, 74, 0.3);
}


@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.contact-info-section {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info-section h3 {
  font-size: 1.5rem;
  color: var(--forest-700);
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.contact-info-section p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--forest-700);
  font-size: 1rem;
}

.contact-info-section i {
  color: var(--forest-700);
  width: 20px;
  text-align: center;
}

.contact-link {
  color: var(--forest-700);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: var(--gold-400);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--forest-700);
  color: var(--white);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background-color: var(--gold-400);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--forest-900);
  color: var(--white);
  padding: 60px 0 0;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo .logo-icon {
  background: transparent;
}

.footer-logo h3 {
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  color: white;
}

.footer-logo p {
  font-size: 0.9rem;
  opacity: 0.8;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links h4,
.footer-newsletter h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
  color: white;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a {
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold-400);
  padding-left: 5px;
}

.footer-newsletter p {
  margin-bottom: 15px;
  opacity: 0.8;
  color: rgba(255, 255, 255, 0.8);
}

.footer-newsletter form {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  overflow: hidden;
}

.footer-newsletter input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  background: transparent;
  color: white;
  font-size: 1rem;
}

.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
}

.footer-newsletter button {
  background-color: var(--gold-400);
  color: var(--forest-900);
  border: none;
  padding: 0 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 600;
}

.footer-newsletter button:hover {
  background-color: var(--gold-500);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.8;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.activity-card {
  animation: fadeInUp 0.6s ease forwards;
}

.activity-card:nth-child(odd) {
  animation-delay: 0.1s;
}

.activity-card:nth-child(even) {
  animation-delay: 0.2s;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--forest-700), var(--forest-900));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--forest-900), var(--forest-700));
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 992px) {
  .desktop-nav, .contact-info {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .header .container {
    gap: 15px;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .section h2 {
    font-size: 2.2rem;
  }
  
  .logo-text h1 {
    font-size: 1.2rem;
  }
  
  .logo-icon {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
    margin-top: 70px;
    background-attachment: scroll;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero .subtitle {
    font-size: 1.3rem;
  }
  
  .hero .description {
    font-size: 1.1rem;
    padding: 0 20px;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .values-grid,
  .activities-grid,
  .system-grid,
  .impact-metrics,
  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonials-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .testimonials-gallery {
    grid-template-columns: 1fr;
  }
  
  .project-slide.active {
    grid-template-columns: 1fr;
  }
  
  .project-image {
    height: 250px;
  }
  
  .project-content h3 {
    font-size: 1.8rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .mobile-menu {
    top: 72px;
  }
  
  .impact-stat-value {
    font-size: 36px;
  }
  
  .impact-metric-value {
    font-size: 36px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero .subtitle {
    font-size: 1.1rem;
  }
  
  .hero .description {
    font-size: 1rem;
  }
  
  .section h2 {
    font-size: 1.8rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .mobile-menu {
    top: 72px;
  }
  
  .activities-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
  
  .activity-card {
    padding: 15px;
  }
  
  .custom-icon {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
  
  .custom-icon.double-digit {
    font-size: 14px;
  }
  
  .cooperative-system {
    padding: 25px;
  }
  
  .cooperative-system h3 {
    font-size: 1.5rem;
  }
  
  .cooperative-system p {
    font-size: 1rem;
  }
  
  .project-controls,
  .testimonial-controls {
    gap: 15px;
  }
  
  .project-prev, .project-next,
  .testimonial-prev, .testimonial-next {
    width: 45px;
    height: 45px;
  }
  
  .project-dot,
  .testimonial-dot {
    width: 10px;
    height: 10px;
  }
  
  .testimonial-author {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .testimonial-author img {
    width: 60px;
    height: 60px;
  }
}

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border: 3px solid var(--gray-300);
  border-top: 3px solid var(--forest-700);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Cursor piscante para efeito de digitação */
.blinking-cursor {
  animation: blink 1s infinite;
  color: var(--gold-400);
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Efeito de pulso para destaques */
@keyframes pulseHighlight {
  0% { box-shadow: 0 0 0 0 rgba(44, 94, 58, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(44, 94, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(44, 94, 58, 0); }
}

.active-area {
  animation: pulseHighlight 1s;
}

/* Utilitários para cores de fundo */
.bg-cream {
  background-color: var(--cream);
}

.bg-forest-light {
  background: linear-gradient(to right, var(--forest-50), var(--forest-100));
}

.bg-gold-light {
  background: linear-gradient(to right, var(--gold-50), var(--gold-100));
}

.bg-terracotta-light {
  background: linear-gradient(to right, #f8e5e0, var(--terracotta-light));
}

.bg-blue-light {
  background-color: var(--blue-light);
}

/* Acessibilidade - Foco visível */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 2px;
}

/* Prevenir quebra de layout em mobile */
img {
  max-width: 100%;
  height: auto;
}

/* Melhorar legibilidade do texto */
p, li {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Modal de Iniciativas */
.initiative-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: white;
  border-radius: 20px;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--forest-700);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: var(--forest-900);
  transform: scale(1.1);
}

.initiative-details {
  padding: 40px;
}

.initiative-details h3 {
  color: var(--forest-700);
  font-size: 2.2rem;
  margin-bottom: 30px;
  font-family: 'Playfair Display', serif;
  text-align: center;
  border-bottom: 3px solid var(--gold-400);
  padding-bottom: 15px;
}

.initiative-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.initiative-text h4 {
  color: var(--forest-700);
  font-size: 1.3rem;
  margin: 25px 0 15px 0;
  font-family: 'Playfair Display', serif;
}

.initiative-text h4:first-child {
  margin-top: 0;
}

.initiative-text p {
  color: var(--forest-600);
  line-height: 1.6;
  margin-bottom: 15px;
}

.initiative-text ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.initiative-text li {
  padding: 8px 0;
  color: var(--forest-700);
  position: relative;
  padding-left: 25px;
  line-height: 1.5;
}

.initiative-text li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-400);
  font-weight: bold;
  font-size: 1.1rem;
}

.initiative-text strong {
  color: var(--forest-900);
}

.initiative-image {
  text-align: center;
}

.initiative-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

.image-caption {
  font-size: 0.9rem;
  color: var(--forest-600);
  font-style: italic;
  text-align: center;
  margin: 0;
}

/* Animações */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsividade */
@media (max-width: 768px) {
  .initiative-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .initiative-details {
    padding: 30px 20px;
  }
  
  .initiative-details h3 {
    font-size: 1.8rem;
  }
  
  .modal-content {
    margin: 20px;
    max-height: 85vh;
  }
  
  .initiative-image img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .initiative-details {
    padding: 20px 15px;
  }
  
  .initiative-details h3 {
    font-size: 1.5rem;
  }
  
  .initiative-text h4 {
    font-size: 1.1rem;
  }
  
  .modal-close {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
  }
}

/* Problema: Muitas animações podem afetar performance */
.activity-card:hover .activity-image {
  transform: scale(1.05); /* Pode causar repaint */
}

.activity-image {
  will-change: transform;
  backface-visibility: hidden;
}

/* Agrupar animações similares */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}