/* ============================================================
   HOME.CSS — Estilos exclusivos da homepage (index.html)
   - Hero com vídeo + stats overlay
   - About (apresentação do projeto)
   - Verra CTA (gradient + glow)
   - Location (2 colunas + mapa)
   ============================================================ */

/* ---------- HERO (full-screen com vídeo) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--branco-puro);
  padding: 110px 0 0;
  background: var(--verde-floresta);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0 0 24px 24px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 800ms ease;
}
.hero-bg-img.fade-out { opacity: 0; }
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  border: 0;
  opacity: 0;
  transition: opacity 1200ms ease;
}
.hero-video.loaded { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,67,50,0.30) 0%, rgba(27,67,50,0.40) 55%, rgba(27,67,50,0.85) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-content {
  max-width: 920px;
  padding: 40px 0;
  animation: heroFade 1s ease both;
}
.hero-content h1 {
  color: var(--branco-puro);
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
  margin-bottom: 28px;
}
.hero-content p {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.6;
  max-width: 700px;
  color: rgba(255,255,255,0.94);
  margin-bottom: 40px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.25);
}

/* Stats overlay no bottom do hero */
.hero-stats { position: relative; z-index: 2; padding: 32px 0 48px; }
.hero-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
.hero-stat { padding: 0 clamp(12px, 2vw, 28px); position: relative; }
.hero-stat-sub {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-bottom: 14px;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--branco-puro);
  margin-bottom: 2px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-stat-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  max-width: 240px;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (min-width: 600px) {
  .hero-stats-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-stat { border-right: 1px solid rgba(255,255,255,0.18); }
  .hero-stat:last-child { border-right: none; }
}

/* ---------- ABOUT (Section 1) ---------- */
.about { background: var(--branco-puro); }
.about-text { max-width: 100%; }
.about-text h2 { margin-bottom: 32px; max-width: 1100px; }
.about-paragraphs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px 64px;
  margin-bottom: 40px;
}
.about-paragraphs p {
  color: var(--cinza-suave);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 720px;
}
.about-cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.about-hero-image {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21/9;
  box-shadow: var(--shadow-lg);
}
.about-hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.about-hero-image:hover img { transform: scale(1.03); }
@media (min-width: 900px) {
  .about-paragraphs { grid-template-columns: 1fr 1fr; }
}

/* ---------- SLIDER SECTIONS (clima/communities/biodiversity on home) ---------- */
.slider-section.communities { background: var(--branco-puro); }
.slider-section.climate { background: var(--branco-floresta); }
.slider-section.biodiversity { background: var(--branco-puro); }

/* ---------- VERRA CTA ---------- */
.verra {
  background: linear-gradient(135deg, var(--verde-floresta) 0%, #143028 100%);
  color: var(--branco-puro);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: clamp(16px, 1.8vw, 24px);
  margin-left: clamp(8px, 1.2vw, 16px);
  margin-right: clamp(8px, 1.2vw, 16px);
}
.verra::before, .verra::after {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82,183,136,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.verra::before { top: -140px; left: -140px; }
.verra::after  { bottom: -140px; right: -140px; }
.verra .container { position: relative; z-index: 1; max-width: 1280px; }
.verra .label { color: var(--verde-claro); margin-bottom: 22px; }
.verra h2 { color: var(--branco-puro); margin: 0 auto 24px; max-width: 1180px; }
.verra p {
  color: rgba(255,255,255,0.82);
  font-size: 1.0625rem;
  max-width: 760px;
  margin: 0 auto 40px;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(149,213,178,0.3);
  border-radius: var(--radius-pill);
  color: var(--branco-puro);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--t-fast);
}
.badge:hover { background: rgba(149,213,178,0.15); border-color: var(--verde-claro); }
.badge .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--verde-vivo);
  color: var(--verde-floresta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex: 0 0 18px;
}

/* ---------- LOCATION ---------- */
.location { background: var(--branco-floresta); }
.location-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 5vw, 64px); align-items: center; }
.location-text h2 { margin-bottom: 24px; }
.location-text p { color: var(--cinza-suave); font-size: 1.0625rem; margin-bottom: 32px; max-width: 580px; }
.location-list { display: flex; flex-direction: column; gap: 14px; }
.location-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--branco-puro);
  border-radius: var(--radius);
  border-left: 3px solid var(--verde-vivo);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.location-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.location-item .icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--verde-nevoa);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  color: var(--verde-floresta);
}
.location-item .icon svg { width: 20px; height: 20px; }
.location-item-text {
  color: var(--quase-preto);
  font-size: 0.9375rem;
  line-height: 1.5;
  font-weight: 500;
}
.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: var(--verde-nevoa);
}
.location-map img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) {
  .location-grid { grid-template-columns: 1.1fr 1fr; }
}
