/* ==========================================================================
   Design System & Estilos Modernos - Parque Quedas do Rio Bonito
   ========================================================================== */

/* --- Variáveis Globais (Paleta de Cores e Tipografia) --- */
:root {
  /* Cores Principais do Conceito Editorial */
  --blue-quedas: #0717D4;
  --blue-deep: #020B7A;
  --green-mata: #174A2A;
  --green-leaf: #5F7F3A;
  --blue-water: #2FA8C7;
  --sand-natural: #E9D8B5;
  --white-warm: #FFFDF7;
  --grafite: #1C2520;
  
  /* Cores de Apoio Semântico */
  --white-pure: #ffffff;
  --gray-light: #f3f0e8;
  --shadow-color: rgba(28, 37, 32, 0.08);
  --shadow-hover: rgba(7, 23, 212, 0.12);
  
  /* Fontes */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Transições e Bordas */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* --- Resets e Estilos de Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--white-warm);
  color: var(--grafite);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

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

/* --- Tipografia Fina --- */
.section-tag {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue-quedas);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green-mata);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.section-title span {
  color: var(--blue-quedas);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--grafite);
  max-width: 700px;
  margin: 0 auto 3rem auto;
  opacity: 0.85;
}

/* --- Componentes: Botões Premium --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--blue-quedas);
  color: var(--white-pure);
  box-shadow: 0 8px 24px rgba(7, 23, 212, 0.2);
}

.btn-primary:hover {
  background-color: var(--blue-deep);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(2, 11, 122, 0.35);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--green-mata);
  color: var(--green-mata);
}

.btn-secondary:hover {
  background-color: var(--green-mata);
  color: var(--white-pure);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white-pure);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(18, 140, 126, 0.35);
}

/* --- Cabeçalho Dinâmico & Menu (Glassmorphism) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.5rem 0;
}

.site-header.scrolled {
  background-color: rgba(255, 253, 247, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 30px var(--shadow-color);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(233, 216, 181, 0.3);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white-pure);
  transition: var(--transition-smooth);
}

.site-header.scrolled .logo-link {
  color: var(--blue-quedas);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-quedas);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-pure);
  font-size: 1.1rem;
  border: 2px solid var(--white-pure);
}

.site-header.scrolled .logo-icon {
  background: var(--blue-quedas);
  border-color: var(--blue-quedas);
}

/* Menu de Navegação */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 0.5rem 0;
}

.site-header.scrolled .nav-link {
  color: var(--grafite);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--blue-quedas);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--blue-quedas) !important;
}

.nav-link:hover::after {
  width: 100%;
}

.btn-header-cta {
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
}

/* Menu Mobile Hamburguer */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--white-pure);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.site-header.scrolled .menu-toggle {
  color: var(--grafite);
}

/* --- Hero Section Imersiva --- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-pure);
  text-align: center;
  overflow: hidden;
  background-color: var(--green-mata);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Efeito de Parallax / Zoom Suave */
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-out infinite alternate;
  filter: brightness(0.45);
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.1); }
}

/* Gradiente sobreposto para melhor contraste */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(15, 20, 18, 0.4) 0%, rgba(15, 20, 18, 0.8) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 2rem;
  transform: translateY(20px);
  animation: heroReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroReveal {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-tag {
  font-family: var(--font-title);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--blue-water);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  display: block;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--blue-water);
  text-shadow: 0 4px 20px rgba(47, 168, 199, 0.3);
}

.hero-description {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  opacity: 0.9;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Indicador de Rolar para Baixo */
.scroll-indicator {
  position: absolute;
  bottom: 3.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--white-pure);
  border-radius: 20px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--white-pure);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouseWheel 1.5s infinite;
}

@keyframes mouseWheel {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 22px; }
}

/* --- Container e Layouts Gerais --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 8rem 0;
}

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

/* --- Seção: Chamadas por Público (Famílias, Amigos, Escolas, Empresas) --- */
.public-section {
  background-color: var(--white-warm);
  position: relative;
  z-index: 10;
  margin-top: 3.5rem;
  padding-bottom: 6rem;
}

.public-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.public-card {
  background-color: var(--white-pure);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 40px var(--shadow-color);
  border: 1px solid rgba(23, 74, 42, 0.05);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.public-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--green-leaf);
  transition: var(--transition-smooth);
}

.public-card:nth-child(1)::before { background-color: var(--blue-water); }
.public-card:nth-child(2)::before { background-color: var(--green-leaf); }
.public-card:nth-child(3)::before { background-color: var(--sand-natural); }
.public-card:nth-child(4)::before { background-color: var(--blue-quedas); }

.public-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px var(--shadow-hover);
  border-color: rgba(7, 23, 212, 0.15);
}

.public-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.public-card:nth-child(1) .public-icon { background: rgba(47, 168, 199, 0.1); color: var(--blue-water); }
.public-card:nth-child(2) .public-icon { background: rgba(95, 127, 58, 0.1); color: var(--green-leaf); }
.public-card:nth-child(3) .public-icon { background: rgba(233, 216, 181, 0.2); color: #B38627; }
.public-card:nth-child(4) .public-icon { background: rgba(7, 23, 212, 0.08); color: var(--blue-quedas); }

.public-card:hover .public-icon {
  transform: scale(1.1);
}

.public-card h3 {
  font-size: 1.35rem;
  color: var(--green-mata);
  margin-bottom: 1rem;
}

.public-card p {
  font-size: 0.95rem;
  color: var(--grafite);
  opacity: 0.8;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.public-cta {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue-quedas);
  transition: var(--transition-smooth);
}

.public-cta i {
  transition: var(--transition-smooth);
}

.public-card:hover .public-cta i {
  transform: translateX(5px);
}

/* --- Seção: Sobre o Parque (Imagem + Texto) --- */
.about-section {
  background-color: var(--white-pure);
  border-bottom: 1px solid rgba(233, 216, 181, 0.3);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  text-align: left;
}

.about-text .section-title {
  margin-bottom: 2rem;
}

.about-paragraph {
  font-size: 1.1rem;
  color: var(--grafite);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.about-features {
  list-style: none;
  margin: 2rem 0;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--green-mata);
}

.about-features i {
  color: var(--blue-quedas);
  font-size: 1.2rem;
}

.about-images-wrapper {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px var(--shadow-color);
  width: 100%;
  object-fit: cover;
  height: 480px;
}

.about-badge {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  background-color: var(--green-mata);
  color: var(--white-pure);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(23, 74, 42, 0.25);
  border-left: 5px solid var(--blue-quedas);
  max-width: 250px;
}

.about-badge-num {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  display: block;
  line-height: 1;
  color: var(--sand-natural);
}

.about-badge-txt {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.5rem;
  display: block;
  opacity: 0.9;
  letter-spacing: 0.05em;
}

/* --- Seção: Experiências do Parque (Carrossel Interativo) --- */
.experience-section {
  background-color: var(--white-warm);
  overflow: hidden;
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.carousel-viewport {
  overflow: hidden;
  margin: 0 -1rem;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem 1rem;
}

.carousel-slide {
  flex: 0 0 calc(33.333% - 1.333rem);
  min-width: 320px;
  background-color: var(--white-pure);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 30px var(--shadow-color);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(23, 74, 42, 0.03);
}

.carousel-slide:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(28, 37, 32, 0.12);
  border-color: rgba(7, 23, 212, 0.1);
}

.slide-img-wrapper {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.carousel-slide:hover .slide-img {
  transform: scale(1.08);
}

.slide-tag {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background-color: rgba(15, 20, 18, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white-pure);
  padding: 0.4rem 1rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  border-radius: 50px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.slide-content h3 {
  font-size: 1.3rem;
  color: var(--green-mata);
  margin-bottom: 0.75rem;
  transition: var(--transition-smooth);
}

.carousel-slide:hover .slide-content h3 {
  color: var(--blue-quedas);
}

.slide-content p {
  font-size: 0.95rem;
  color: var(--grafite);
  opacity: 0.8;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.slide-link {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--green-mata);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition-smooth);
}

.carousel-slide:hover .slide-link {
  color: var(--blue-quedas);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.carousel-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--white-pure);
  border: 1px solid rgba(233, 216, 181, 0.5);
  color: var(--green-mata);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px var(--shadow-color);
}

.carousel-btn:hover {
  background-color: var(--blue-quedas);
  color: var(--white-pure);
  border-color: var(--blue-quedas);
  transform: scale(1.05);
}

/* --- Seção: Natureza e Biodiversidade (Mamíferos, Aves e Flora) --- */
.biodiversity-section {
  background-color: var(--white-pure);
}

.bio-tabs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.bio-tab-btn {
  background-color: var(--white-warm);
  border: 1px solid rgba(233, 216, 181, 0.4);
  color: var(--grafite);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.bio-tab-btn:hover, .bio-tab-btn.active {
  background-color: var(--green-mata);
  color: var(--white-pure);
  border-color: var(--green-mata);
  box-shadow: 0 8px 20px rgba(23, 74, 42, 0.15);
}

.bio-tab-btn.active {
  background-color: var(--blue-quedas);
  border-color: var(--blue-quedas);
  box-shadow: 0 8px 20px rgba(7, 23, 212, 0.2);
}

.bio-content-pane {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.bio-content-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Painel de Mamíferos */
.mammals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.mammal-card {
  background-color: var(--white-warm);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 20px var(--shadow-color);
  border: 1px solid rgba(23, 74, 42, 0.03);
  transition: var(--transition-smooth);
}

.mammal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-color);
  border-color: var(--green-leaf);
}

.mammal-img-placeholder {
  height: 180px;
  background: linear-gradient(135deg, var(--green-mata) 0%, var(--green-leaf) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.25);
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.mammal-img-placeholder i {
  position: relative;
  z-index: 2;
}

.mammal-img-placeholder::after {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(233, 216, 181, 0.15) 0%, transparent 70%);
  top: -25%;
  left: -25%;
}

.mammal-info {
  padding: 1.5rem;
}

.mammal-name {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-mata);
  margin-bottom: 0.25rem;
}

.mammal-scientific {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--grafite);
  opacity: 0.65;
}

/* Painel de Aves (WikiAves Card) */
.aves-card {
  background-color: var(--white-warm);
  border-radius: var(--radius-lg);
  padding: 4rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 15px 40px var(--shadow-color);
  border: 1px solid rgba(23, 74, 42, 0.05);
  display: flex;
  align-items: center;
  gap: 3.5rem;
  text-align: left;
}

.aves-icon-box {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: rgba(47, 168, 199, 0.1);
  color: var(--blue-water);
  font-size: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 4px 10px rgba(0,0,0,0.05);
}

.aves-content h3 {
  font-size: 1.8rem;
  color: var(--green-mata);
  margin-bottom: 1rem;
}

.aves-content p {
  font-size: 1.05rem;
  color: var(--grafite);
  opacity: 0.85;
  margin-bottom: 2rem;
}

/* Painel de Flora */
.flora-box {
  background-color: var(--white-warm);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: 0 15px 40px var(--shadow-color);
  border: 1px solid rgba(233, 216, 181, 0.3);
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.flora-text h3 {
  font-size: 1.8rem;
  color: var(--green-mata);
  margin-bottom: 1.5rem;
}

.flora-text p {
  font-size: 1.05rem;
  color: var(--grafite);
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.flora-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.flora-stat-item {
  background-color: var(--white-pure);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(233, 216, 181, 0.2);
  box-shadow: 0 4px 15px var(--shadow-color);
  text-align: center;
}

.flora-stat-num {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue-quedas);
  display: block;
}

.flora-stat-lbl {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.75;
  margin-top: 0.25rem;
  display: block;
}

/* --- Seção: Roteiro de Um Dia (Timeline Interativa) --- */
.timeline-section {
  background-color: var(--white-warm);
  border-bottom: 1px solid rgba(233, 216, 181, 0.3);
}

.timeline-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 5rem auto 0 auto;
}

.timeline-bar {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background-color: rgba(23, 74, 42, 0.1);
  border-radius: 2px;
  z-index: 1;
}

.timeline-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.timeline-row:last-child {
  margin-bottom: 0;
}

.timeline-col-text {
  position: relative;
}

.timeline-col-img {
  display: flex;
  justify-content: center;
  position: relative;
}

.timeline-img-card {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 10px 30px var(--shadow-color);
  border: 1px solid rgba(23, 74, 42, 0.05);
  transition: var(--transition-smooth);
}

.timeline-row:hover .timeline-img-card {
  transform: scale(1.03);
  box-shadow: 0 15px 35px var(--shadow-hover);
}

.timeline-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--white-pure);
  border: 4px solid var(--blue-quedas);
  z-index: 10;
  box-shadow: 0 0 0 8px rgba(7, 23, 212, 0.08);
  transition: var(--transition-smooth);
}

.timeline-row:hover .timeline-node {
  background-color: var(--blue-quedas);
  box-shadow: 0 0 0 12px rgba(7, 23, 212, 0.15);
  transform: translate(-50%, -50%) scale(1.1);
}

.timeline-time {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--blue-quedas);
  margin-bottom: 0.75rem;
  display: block;
}

.timeline-content {
  background-color: var(--white-pure);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  box-shadow: 0 8px 30px var(--shadow-color);
  border: 1px solid rgba(23, 74, 42, 0.03);
  transition: var(--transition-smooth);
}

.timeline-row:hover .timeline-content {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px var(--shadow-hover);
  border-color: rgba(7, 23, 212, 0.1);
}

.timeline-content h4 {
  font-size: 1.25rem;
  color: var(--green-mata);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--grafite);
  opacity: 0.8;
}

/* --- Seção: Grupos e Eventos --- */
.events-section {
  background-color: var(--white-pure);
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.events-visual {
  position: relative;
  background-color: var(--green-mata);
  border-radius: var(--radius-lg);
  padding: 4rem;
  color: var(--white-pure);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(23, 74, 42, 0.15);
}

.events-visual::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(233, 216, 181, 0.12) 0%, transparent 60%);
  top: -25%;
  right: -25%;
}

.events-visual-icon {
  font-size: 4rem;
  color: var(--sand-natural);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.events-visual h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.events-visual p {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.events-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.events-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
}

.events-list i {
  color: var(--sand-natural);
}

.events-form-box {
  background-color: var(--white-warm);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 35px var(--shadow-color);
  border: 1px solid rgba(233, 216, 181, 0.3);
}

.events-form-box h3 {
  font-size: 1.5rem;
  color: var(--green-mata);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-label {
  display: block;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--grafite);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(23, 74, 42, 0.15);
  background-color: var(--white-pure);
  color: var(--grafite);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue-quedas);
  box-shadow: 0 0 0 3px rgba(7, 23, 212, 0.08);
}

/* --- Seção: Informações Práticas e Calculadora de Ingressos --- */
.practical-section {
  background-color: var(--white-warm);
  border-top: 1px solid rgba(233, 216, 181, 0.3);
}

.practical-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.info-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-box-card {
  background-color: var(--white-pure);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 6px 20px var(--shadow-color);
  border: 1px solid rgba(23, 74, 42, 0.03);
  display: flex;
  gap: 1.5rem;
  text-align: left;
}

.info-box-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(7, 23, 212, 0.06);
  color: var(--blue-quedas);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-box-content h4 {
  font-size: 1.15rem;
  color: var(--green-mata);
  margin-bottom: 0.5rem;
}

.info-box-content p {
  font-size: 0.95rem;
  color: var(--grafite);
  opacity: 0.85;
}

.info-table {
  width: 100%;
  margin-top: 0.8rem;
  border-collapse: collapse;
}

.info-table td {
  padding: 0.4rem 0;
  font-size: 0.9rem;
}

.info-table td:last-child {
  font-weight: 700;
  text-align: right;
  color: var(--blue-quedas);
}

/* Calculadora Widget Moderno */
.calculator-box {
  background-color: var(--white-pure);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 15px 40px var(--shadow-color);
  border: 1px solid rgba(23, 74, 42, 0.05);
  text-align: left;
}

.calculator-box h3 {
  font-size: 1.5rem;
  color: var(--green-mata);
  margin-bottom: 0.5rem;
}

.calculator-desc {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.calc-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(23, 74, 42, 0.08);
}

.calc-row:last-of-type {
  border-bottom: none;
  margin-bottom: 1.5rem;
}

.calc-label h4 {
  font-size: 1rem;
  color: var(--grafite);
}

.calc-label p {
  font-size: 0.8rem;
  opacity: 0.6;
}

.calc-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.calc-btn-ctrl {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(23, 74, 42, 0.2);
  background-color: var(--white-warm);
  color: var(--grafite);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.calc-btn-ctrl:hover {
  background-color: var(--blue-quedas);
  color: var(--white-pure);
  border-color: var(--blue-quedas);
}

.calc-count {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  min-width: 20px;
  text-align: center;
}

.calc-result-box {
  background-color: var(--white-warm);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(233, 216, 181, 0.5);
}

.calc-total-label {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--green-mata);
}

.calc-total-val {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue-quedas);
}

/* --- CTA Final --- */
.cta-final-section {
  background-color: var(--green-mata);
  color: var(--white-pure);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-final-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: grayscale(100%);
  z-index: 1;
}

.cta-final-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-final-content h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.cta-final-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* --- Rodapé Institucional --- */
.site-footer {
  background-color: var(--blue-deep);
  color: var(--white-pure);
  padding: 5rem 0 2rem 0;
  border-top: 5px solid var(--blue-quedas);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-info h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.footer-info p {
  opacity: 0.75;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link-icon:hover {
  background-color: var(--blue-quedas);
  color: var(--white-pure);
  transform: translateY(-3px);
  border-color: var(--blue-quedas);
}

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--sand-natural);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-menu-link:hover {
  color: var(--sand-natural);
  padding-left: 5px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  opacity: 0.85;
}

.footer-contact-list i {
  color: var(--sand-natural);
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* --- Revelação por Scroll (Classes de Animação) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsividade (Media Queries) --- */
@media (max-width: 1024px) {
  .public-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .about-grid, .events-grid, .practical-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .about-badge {
    left: 0;
    bottom: -1rem;
  }
  
  .carousel-slide {
    flex: 0 0 calc(50% - 1rem);
  }
  
  .mammals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .flora-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .site-header {
    padding: 1rem 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--white-pure);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2.5rem 3rem 2.5rem;
    gap: 1.8rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    color: var(--grafite);
    font-size: 1.1rem;
    width: 100%;
  }
  
  .btn-header-cta {
    width: 100%;
    margin-top: 1rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .public-grid {
    grid-template-columns: 1fr;
  }
  
  .carousel-slide {
    flex: 0 0 100%;
  }
  
  .mammals-grid {
    grid-template-columns: 1fr;
  }
  
  .aves-card {
    padding: 2rem;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .aves-icon-box {
    margin: 0 auto;
  }
  
  .timeline-bar {
    left: 2rem;
    transform: none;
  }
  
  .timeline-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
  }
  
  .timeline-col-text {
    padding-left: 4.5rem;
    text-align: left !important;
  }
  
  .timeline-col-img {
    padding-left: 4.5rem;
  }
  
  .timeline-img-card {
    height: 180px;
  }
  
  .timeline-node {
    left: 2rem;
    top: 2.2rem;
    transform: translate(-50%, -50%);
  }
  
  .timeline-row:hover .timeline-node {
    transform: translate(-50%, -50%) scale(1.1);
  }
  
  .calculator-box {
    padding: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
