/* ============================================================
   TRUJILLO ULTRA — HTML Version
   Theme: Documentário de Aventura
   Palette: Verde Musgo + Creme/Areia + Terra
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

:root {
  --moss-green: #4A5C3A;
  --moss-green-dark: #3A4A2C;
  --moss-green-light: #6B7A3E;
  --neon-lime: #AECB3A;
  --cream: #F5F0E8;
  --cream-dark: #EDE7D9;
  --earth-brown: #3D2B1F;
  --earth-light: #6B4C35;
  --warm-white: #FAFAF5;
  --olive: #7A8C4A;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background-color: var(--cream);
  color: var(--earth-brown);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ── Header ────────────────────────────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background-color: transparent;
}

header.scrolled {
  background-color: rgba(74, 92, 58, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  color: #F5F0E8;
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 0.625rem;
  color: var(--neon-lime);
  letter-spacing: 0.1em;
  margin-top: 0.125rem;
}

nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  nav {
    display: flex;
  }
}

nav a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #F5F0E8;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--neon-lime);
}

.btn-apoiar {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background-color: var(--neon-lime);
  color: var(--earth-brown);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

@media (min-width: 768px) {
  .btn-apoiar {
    display: inline-flex;
  }
}

.btn-apoiar:hover {
  transform: scale(1.05);
}

.btn-apoiar:active {
  transform: scale(0.95);
}

/* ── Hero Section ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 22, 12, 0.92) 0%, rgba(30, 22, 12, 0.55) 45%, rgba(30, 22, 12, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-bottom: 5rem;
  padding-top: 8rem;
}

.tag-badge {
  display: inline-block;
  background-color: var(--moss-green);
  color: var(--cream);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3.5rem, 10vw, 7rem);
  color: #F5F0E8;
  margin-bottom: 1rem;
  line-height: 1;
}

.hero h1 .highlight {
  color: var(--neon-lime);
}

.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: #F5F0E8;
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.hero-quote {
  border-left: 4px solid var(--neon-lime);
  padding-left: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-quote p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: #F5F0E8;
  opacity: 0.9;
  line-height: 1.6;
  font-style: italic;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  padding: 1rem 2rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--neon-lime);
  color: var(--earth-brown);
  animation: pulse-green 2.5s ease-in-out infinite;
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-secondary {
  background-color: transparent;
  color: #F5F0E8;
  border: 2px solid #F5F0E8;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

@keyframes pulse-green {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(74, 92, 58, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(74, 92, 58, 0);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #F5F0E8;
  opacity: 0.6;
}

.scroll-indicator span {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}

.scroll-indicator svg {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(0.5rem);
  }
}

/* ── Stats Bar ────────────────────────────────────────────────────────────────── */
.stats-bar {
  background-color: var(--moss-green);
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(28px);
}

.stat:nth-child(1) { animation-delay: 0ms; }
.stat:nth-child(2) { animation-delay: 80ms; }
.stat:nth-child(3) { animation-delay: 160ms; }
.stat:nth-child(4) { animation-delay: 240ms; }

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

.stat-value {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--neon-lime);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #F5F0E8;
  opacity: 0.7;
  text-transform: uppercase;
}

/* ── Section Styling ──────────────────────────────────────────────────────────── */
section {
  padding: 6rem 0;
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
}

.section-cream {
  background-color: var(--cream);
}

.section-dark {
  background-color: var(--earth-brown);
}

.section-green {
  background-color: var(--moss-green);
}

.section-alt {
  background-color: var(--cream-dark);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--earth-brown);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.section-title.light {
  color: #F5F0E8;
}

.section-title .highlight {
  color: var(--moss-green);
}

.section-title.light .highlight {
  color: var(--neon-lime);
}

/* ── Challenge Section ────────────────────────────────────────────────────────── */
.challenge-grid {
  display: grid;
  md-grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .challenge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.challenge-image {
  position: relative;
  order: 2;
}

@media (max-width: 768px) {
  .challenge-image {
    order: 1;
  }
}

.challenge-image img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  max-height: 600px;
}

.challenge-image-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(30, 22, 12, 0.85) 0%, transparent 100%);
}

.challenge-image-label .tag-badge {
  display: block;
  margin-bottom: 0.5rem;
}

.challenge-image-label p {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: white;
}

.challenge-text {
  order: 1;
}

@media (max-width: 768px) {
  .challenge-text {
    order: 2;
  }
}

.challenge-text h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--earth-brown);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.challenge-text p {
  font-size: 1.05rem;
  color: var(--earth-brown);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  text-align: justify;
}

.challenge-blockquote {
  border-left: 4px solid var(--neon-lime);
  padding-left: 1.25rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  margin: 1.5rem 0;
}

.challenge-blockquote p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  color: var(--moss-green);
  font-style: italic;
}

/* ── About Section ────────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 3fr 2fr;
  }
}

.about-text h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #F5F0E8;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.about-text h2 .highlight {
  color: var(--neon-lime);
}

.about-text p {
  font-size: 1.05rem;
  color: #F5F0E8;
  line-height: 1.85;
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.social-links {
  margin-top: 2.5rem;
}

.social-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--neon-lime);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

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

.social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--moss-green);
  background-color: rgba(74, 92, 58, 0.2);
  color: #F5F0E8;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-icon:hover {
  background-color: var(--moss-green);
  border-color: var(--moss-green);
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.about-image-label {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 0.75rem;
  background-color: var(--neon-lime);
}

.about-image-label span {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--earth-brown);
}

/* ── Route Section ────────────────────────────────────────────────────────────── */
.route-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .route-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.route-map img {
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.checkpoints {
  position: relative;
}

.checkpoints-line {
  position: absolute;
  left: 20px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background-color: var(--moss-green);
  opacity: 0.3;
}

.checkpoints-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.checkpoint {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.checkpoint-dot {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  background-color: #F5F0E8;
  border: 2px solid var(--moss-green);
  position: relative;
  z-index: 2;
}

.checkpoint:first-child .checkpoint-dot,
.checkpoint:last-child .checkpoint-dot {
  background-color: var(--moss-green);
}

.checkpoint-content h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.checkpoint-km {
  font-family: 'Oswald', sans-serif;
  color: var(--neon-lime);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.checkpoint-city {
  font-family: 'Oswald', sans-serif;
  color: var(--earth-brown);
  font-size: 1.1rem;
}

.checkpoint-desc {
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--earth-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Why Support Section ──────────────────────────────────────────────────────── */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.reason-card {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(28px);
}

.reason-card:nth-child(1) { animation-delay: 0ms; }
.reason-card:nth-child(2) { animation-delay: 80ms; }
.reason-card:nth-child(3) { animation-delay: 160ms; }
.reason-card:nth-child(4) { animation-delay: 240ms; }

.reason-card:hover {
  border-color: rgba(174, 203, 58, 0.5);
  transform: translateY(-0.25rem);
}

.reason-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.reason-card h3 {
  font-family: 'Oswald', sans-serif;
  color: var(--neon-lime);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.reason-card p {
  font-family: 'Source Serif 4', Georgia, serif;
  color: #F5F0E8;
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.85;
}

/* ── Gallery Section ──────────────────────────────────────────────────────────── */
.gallery-carousel {
  position: relative;
}

.carousel-container {
  position: relative;
  overflow: hidden;
}

.carousel-desktop {
  display: none;
}

@media (min-width: 768px) {
  .carousel-desktop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.carousel-mobile {
  display: block;
}

@media (min-width: 768px) {
  .carousel-mobile {
    display: none;
  }
}

.carousel-slide {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.carousel-controls {
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(74, 92, 58, 0.8);
  color: var(--cream);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.carousel-btn:hover {
  background-color: var(--moss-green);
}

.carousel-btn-next {
  right: 0.5rem;
  left: auto;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(74, 92, 58, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background-color: var(--moss-green);
  width: 24px;
  border-radius: 4px;
}

/* ── Manifesto Section ────────────────────────────────────────────────────────── */
.manifesto {
  position: relative;
  padding: 8rem 0;
  text-align: center;
}

.manifesto-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.manifesto-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manifesto-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(30, 22, 12, 0.82);
}

.manifesto-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease-out;
}

.manifesto-quote-mark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 5rem;
  color: var(--moss-green);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 0.5rem;
  user-select: none;
}

.manifesto-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  color: #F5F0E8;
  line-height: 1.5;
  margin-bottom: 2.5rem;
}

/* ── Support Section ──────────────────────────────────────────────────────────── */
.support-content {
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
}

.support-content h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--earth-brown);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.support-content h2 .highlight {
  color: var(--moss-green);
}

.support-content p {
  font-size: 1.1rem;
  color: var(--earth-brown);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.vakinha-box {
  padding: 2rem;
  margin-bottom: 2rem;
  border: 2px solid var(--moss-green);
  background-color: var(--cream);
}

.vakinha-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.vakinha-box h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  color: var(--earth-brown);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.vakinha-box p {
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--earth-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.vakinha-note {
  font-family: 'Oswald', sans-serif;
  color: var(--earth-light);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-top: 1rem;
}

/* ── Footer ────────────────────────────────────────────────────────────────────── */
footer {
  background-color: var(--earth-brown);
  color: #F5F0E8;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-section h4 {
  font-family: 'Oswald', sans-serif;
  color: var(--neon-lime);
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.footer-section p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.7;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #F5F0E8;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.75;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: var(--neon-lime);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  display: flex;
  flex-direction: column;
  md-flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-copyright {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  opacity: 0.5;
  letter-spacing: 0.05em;
}

.footer-credit {
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--neon-lime);
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ── Utilities ────────────────────────────────────────────────────────────────── */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(28px);
}

/* ── Responsive ────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  nav {
    display: none !important;
  }

  .challenge-grid,
  .route-grid {
    grid-template-columns: 1fr;
  }

  .challenge-image {
    order: 1 !important;
  }

  .challenge-text {
    order: 2 !important;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}
