/* ============================================
   SECTIONS — Amigos da Vida Animal
   Crisis environmental design system
   ============================================ */

/* Hero background animation */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 6px 2px var(--color-primary);
  animation: particle-float var(--duration, 8s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

@keyframes particle-float {
  0%   { transform: translateY(0) scale(0); opacity: 0; }
  20%  { opacity: 0.8; }
  80%  { opacity: 0.4; }
  100% { transform: translateY(-120px) scale(1.5); opacity: 0; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(62,223,37,0.5);
  font-size: var(--text-xl);
  animation: bounce 2s infinite;
  z-index: 2;
}

/* ============================================
   WILDLIFE PHOTO STRIP
   ============================================ */
.wildlife-strip {
  overflow: hidden;
  background: #020604;
  border-top: 1px solid rgba(62,223,37,0.08);
  border-bottom: 1px solid rgba(62,223,37,0.08);
  position: relative;
}

.wildlife-strip::before,
.wildlife-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.wildlife-strip::before {
  left: 0;
  background: linear-gradient(to right, #020604, transparent);
}

.wildlife-strip::after {
  right: 0;
  background: linear-gradient(to left, #020604, transparent);
}

.wildlife-strip__track {
  display: flex;
  gap: 4px;
  animation: strip-scroll 40s linear infinite;
  width: max-content;
}

@media (prefers-reduced-motion: reduce) {
  .wildlife-strip__track {
    animation: none;
  }
}

@keyframes strip-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.wildlife-strip__item {
  flex-shrink: 0;
  width: 200px;
  height: 120px;
  overflow: hidden;
}

.wildlife-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.7) brightness(0.8);
  transition: filter 0.3s ease;
}

.wildlife-strip__item:hover img {
  filter: saturate(1) brightness(1);
}

/* ============================================
   CRISE SILENCIOSA SECTION
   ============================================ */
.crise-section {
  background: #020604;
  position: relative;
  overflow: hidden;
  padding-block: var(--space-24);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

[data-theme="light"] .crise-section {
  background: #0C1A0B;
}

.crise-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(255,69,0,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(255,149,0,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.crise-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,49,49,0.12);
  border: 1px solid rgba(255,49,49,0.35);
  color: #FF3131;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,49,49,0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(255,49,49,0); }
}

.crise-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF3131;
  animation: dot-blink 1.2s ease-in-out infinite;
}

@keyframes dot-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.crise-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #ffffff;
  line-height: 0.95;
  margin-bottom: var(--space-4);
}

.crise-headline span {
  color: var(--color-crisis);
  text-shadow: 0 0 40px rgba(255,69,0,0.4);
}

.crise-subtitle {
  font-size: var(--text-lg);
  color: rgba(200,232,187,0.6);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: var(--space-16);
}

.crise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  max-width: 1100px;
}

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

.crise-stat-main {
  background: rgba(255,69,0,0.06);
  border: 1px solid rgba(255,69,0,0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.crise-stat-main::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(255,69,0,0.15), transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}

.crise-number-huge {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--color-crisis);
  text-shadow: 0 0 60px rgba(255,69,0,0.4);
  margin-bottom: var(--space-4);
}

.crise-number-huge sup {
  font-size: 0.45em;
  vertical-align: super;
  letter-spacing: 0;
}

.crise-stat-label {
  font-size: var(--text-xl);
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
  max-width: 320px;
  margin-bottom: var(--space-3);
}

.crise-stat-source {
  font-size: var(--text-xs);
  color: rgba(200,232,187,0.35);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.crise-stats-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

@media (max-width: 480px) {
  .crise-stats-secondary {
    grid-template-columns: 1fr;
  }
}

.crise-stat-card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border-vivid);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-6);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.crise-stat-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--glow-alarm);
}

.crise-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.crise-stat-card--amber::before { background: var(--color-accent); }
.crise-stat-card--red::before   { background: var(--color-danger); }
.crise-stat-card--teal::before  { background: var(--color-secondary); }
.crise-stat-card--lime::before  { background: var(--color-primary); }

.crise-number-mid {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}

.crise-stat-card--amber .crise-number-mid { color: var(--color-accent); text-shadow: 0 0 20px rgba(255,149,0,0.35); }
.crise-stat-card--red   .crise-number-mid { color: var(--color-danger); text-shadow: 0 0 20px rgba(255,49,49,0.35); }
.crise-stat-card--teal  .crise-number-mid { color: var(--color-secondary); text-shadow: 0 0 20px rgba(0,217,255,0.3); }
.crise-stat-card--lime  .crise-number-mid { color: var(--color-primary); text-shadow: 0 0 20px rgba(62,223,37,0.3); }

.crise-card-label {
  font-size: var(--text-sm);
  color: rgba(200,232,187,0.7);
  line-height: 1.5;
  margin-bottom: var(--space-2);
}

[data-theme="light"] .crise-card-label {
  color: rgba(255,255,255,0.75);
}

.crise-card-source {
  font-size: 0.68rem;
  color: rgba(200,232,187,0.3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.crise-quote {
  margin-top: var(--space-16);
  padding: var(--space-8) var(--space-10);
  border-left: 3px solid var(--color-crisis);
  position: relative;
}

.crise-quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 0.6;
  color: rgba(255,69,0,0.12);
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  pointer-events: none;
}

.crise-quote p {
  font-size: var(--text-xl);
  font-style: italic;
  color: rgba(200,232,187,0.75);
  line-height: 1.65;
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.crise-quote cite {
  display: block;
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: rgba(200,232,187,0.4);
  font-style: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================
   SOBRE SECTION
   ============================================ */
.sobre-section {
  background: var(--color-bg);
}

[data-theme="dark"] .sobre-section {
  background: var(--color-surface-alt);
}

/* ============================================
   EVENTO SECTION
   ============================================ */
.evento-section {
  background: linear-gradient(160deg, #050D04 0%, #071407 50%, #050A09 100%);
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .evento-section {
  background: linear-gradient(160deg, #092009 0%, #0D2B0A 50%, #071A12 100%);
}

.evento-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 80% 50%, rgba(62,223,37,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.evento-section .section-title {
  color: var(--color-primary) !important;
  text-shadow: 0 0 30px rgba(62,223,37,0.3);
}

.evento-section .section-title::after {
  background: var(--color-accent);
  box-shadow: 0 0 12px rgba(255,149,0,0.5);
}

.evento-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(62,223,37,0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
  box-shadow: 0 0 60px rgba(62,223,37,0.04);
}

.evento-info h3 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-4);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.evento-info p {
  color: rgba(200,232,187,0.75);
  margin-bottom: var(--space-3);
  font-size: var(--text-base);
}

.evento-meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.evento-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(200,232,187,0.85);
  font-size: var(--text-sm);
}

.evento-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.evento-stat-card {
  background: rgba(62,223,37,0.06);
  border: 1px solid rgba(62,223,37,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.evento-stat-card:hover {
  border-color: rgba(62,223,37,0.35);
  box-shadow: var(--glow-green);
}

.evento-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  text-shadow: 0 0 20px rgba(62,223,37,0.4);
}

.evento-stat-label {
  font-size: var(--text-xs);
  color: rgba(200,232,187,0.6);
  margin-top: var(--space-1);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================
   BIBLIOTECA ANIMAL
   ============================================ */

/* ============================================
   DADOS — Fauna em Números
   ============================================ */
.dados-section {
  background: var(--color-surface-alt);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .dados-section {
  background: #060C05;
}

[data-theme="dark"] .dados-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(62,223,37,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.dados-context {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: rgba(255,149,0,0.07);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  background: var(--color-bg);
}

[data-theme="dark"] .faq-section {
  background: var(--color-surface);
}

.faq-intro {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
  max-width: 600px;
}

/* ============================================
   APOIE SECTION
   ============================================ */
.apoie-section {
  background: var(--color-surface-alt);
}

[data-theme="dark"] .apoie-section {
  background: var(--color-surface-alt);
  position: relative;
}

[data-theme="dark"] .apoie-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(62,223,37,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* ============================================
   CONTATOS SECTION
   ============================================ */
.contatos-group-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-4);
  margin-top: var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

[data-theme="dark"] .contatos-group-title {
  color: var(--color-primary);
}

.contatos-group-title:first-child {
  margin-top: 0;
}

.contatos-disclaimer {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-8);
  padding: var(--space-4);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  line-height: 1.6;
}

/* ============================================
   INSTAGRAM SECTION
   ============================================ */
.instagram-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.instagram-header .section-title::after {
  margin-inline: auto;
}

.instagram-follow-btn {
  margin-top: var(--space-6);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.instagram-follow-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: #fff;
}

/* ============================================
   ONG CARD
   ============================================ */
.ong-card {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #005577 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.ong-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl, 0 20px 60px rgba(0,0,0,0.4));
}

.ong-logo {
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.08);
  padding: var(--space-2);
}

[data-theme="dark"] .ong-card {
  background: linear-gradient(135deg, rgba(36,176,21,0.15) 0%, rgba(0,100,140,0.15) 100%);
  border: 1px solid rgba(62,223,37,0.2);
  box-shadow: var(--glow-green);
}

.ong-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ong-card p {
  opacity: 0.88;
  line-height: 1.7;
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
}

.ong-card .ong-detail {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  opacity: 0.8;
  margin-bottom: var(--space-2);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
