/* Verde Horizonte — amazoniainfo.info */
:root {
  --vh-forest: #1B4332;
  --vh-forest-light: #2D6A4F;
  --vh-forest-pale: #D8F3DC;
  --vh-brown: #6B4423;
  --vh-brown-light: #A67C52;
  --vh-brown-pale: #F5EDE4;
  --vh-cream: #FDF8F3;
  --vh-white: #ffffff;
  --vh-text: #2C2416;
  --vh-muted: #6B5D4F;
  --vh-border: #D4C4B0;
  --font-serif: "Georgia", "Times New Roman", "Palatino Linotype", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max-width: 74rem;
  --radius: 3px;
  --shadow: 0 4px 20px rgba(27, 67, 50, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--vh-text);
  background: var(--vh-cream);
}

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

a {
  color: var(--vh-forest);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--vh-brown-light);
}

a:hover { color: var(--vh-brown); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--vh-forest);
  line-height: 1.2;
  margin-top: 0;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 2.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.15rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Stacked header */
.site-header {
  background: var(--vh-white);
  border-bottom: 1px solid var(--vh-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-topbar {
  background: var(--vh-forest);
  color: var(--vh-cream);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-align: center;
  padding: 0.4rem 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-stack {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
  text-align: center;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--vh-forest);
  margin-bottom: 0.75rem;
}

.logo:hover { color: var(--vh-forest); }

.logo svg { width: 48px; height: 48px; }

.logo-name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.logo-tagline {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--vh-muted);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.85rem;
  border-top: 1px solid var(--vh-border);
  padding-top: 0.85rem;
  position: relative;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--vh-border);
  border-radius: var(--radius);
  padding: 0.5rem;
  cursor: pointer;
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--vh-forest);
  margin: 4px 0;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--vh-text);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--vh-forest);
  border-bottom-color: var(--vh-brown-light);
}

/* Featured story homepage */
.featured-story {
  margin: 2rem 0 2.5rem;
}

.featured-story-inner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
}

.featured-story-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2.5rem 2rem;
  background: linear-gradient(to top, rgba(27, 67, 50, 0.92) 0%, rgba(27, 67, 50, 0.4) 55%, transparent 100%);
  color: var(--vh-cream);
}

.featured-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vh-brown-pale);
  margin-bottom: 0.75rem;
  display: block;
}

.featured-overlay h2 {
  color: var(--vh-white);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  max-width: 38rem;
  margin-bottom: 0.75rem;
}

.featured-overlay h2 a {
  color: inherit;
  text-decoration: none;
}

.featured-overlay h2 a:hover { text-decoration: underline; }

.featured-meta {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.featured-overlay p {
  max-width: 36rem;
  font-size: 1.05rem;
  opacity: 0.95;
}

/* Intro block */
.intro-block {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.intro-block p:first-child::first-letter {
  font-size: 3.2rem;
  float: left;
  line-height: 0.85;
  margin: 0.1rem 0.5rem 0 0;
  color: var(--vh-brown);
  font-weight: 700;
}

/* Section titles */
.section-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--vh-brown);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--vh-forest);
  display: inline-block;
}

/* Image-overlay cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.story-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.story-card:hover { transform: translateY(-3px); }

.story-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(107, 68, 35, 0.9) 0%, rgba(27, 67, 50, 0.55) 100%);
  color: var(--vh-cream);
}

.story-card-cat {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
  margin-bottom: 0.4rem;
}

.story-card h3 {
  color: var(--vh-white);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.story-card h3 a {
  color: inherit;
  text-decoration: none;
}

.story-card h3 a:hover { text-decoration: underline; }

.story-card-meta {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  opacity: 0.85;
}

/* Authors strip */
.authors-section { margin: 3rem 0; }

.authors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.author-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--vh-white);
  border: 1px solid var(--vh-border);
  border-radius: var(--radius);
}

.author-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 3px solid var(--vh-forest-pale);
}

.author-card h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }

.author-role {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--vh-brown);
  margin-bottom: 0.75rem;
}

.author-card p {
  font-size: 0.9rem;
  color: var(--vh-muted);
  margin: 0;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--vh-forest);
  color: var(--vh-cream);
  padding: 2.5rem 0;
  margin-bottom: 2rem;
}

.page-hero h1 { color: var(--vh-white); margin-bottom: 0.5rem; }

.page-hero p {
  font-family: var(--font-sans);
  opacity: 0.9;
  max-width: 36rem;
  margin: 0;
}

/* Article listing */
.articles-list { margin-bottom: 3rem; }

.article-list-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--vh-border);
  align-items: start;
}

.article-list-item img {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.article-list-cat {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vh-brown);
}

.article-list-item h2 { font-size: 1.35rem; margin: 0.35rem 0 0.5rem; }

.article-list-item h2 a { text-decoration: none; color: var(--vh-forest); }
.article-list-item h2 a:hover { color: var(--vh-brown); }

.article-list-meta {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--vh-muted);
}

/* Image-heavy article layout */
.article-header {
  margin-bottom: 2rem;
}

.article-header-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.article-header-image img { width: 100%; max-height: 480px; object-fit: cover; }

.article-cat {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vh-brown);
  margin-bottom: 0.5rem;
}

.article-meta {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--vh-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--vh-border);
}

.article-meta .updated { color: var(--vh-brown-light); }

.article-body {
  max-width: 40rem;
  margin: 0 auto;
}

.article-body .lead {
  font-size: 1.2rem;
  color: var(--vh-brown);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.article-figure {
  margin: 2rem -2rem;
  text-align: center;
}

.article-figure img {
  border-radius: var(--radius);
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.article-figure figcaption {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--vh-muted);
  margin-top: 0.75rem;
  font-style: italic;
}

.article-author-box {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--vh-brown-pale);
  border-left: 4px solid var(--vh-forest);
  margin: 2.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-author-box img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
}

.article-author-box h3 { font-size: 1rem; margin-bottom: 0.25rem; }

.article-author-box .role {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--vh-brown);
  margin-bottom: 0.5rem;
}

.article-author-box p { font-size: 0.92rem; margin: 0; }

/* Related stories */
.related-stories {
  margin: 3rem 0;
  padding-top: 2rem;
  border-top: 2px solid var(--vh-forest);
}

.related-stories h2 { font-size: 1.25rem; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.related-item {
  background: var(--vh-white);
  border: 1px solid var(--vh-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.related-item img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

.related-item div { padding: 1rem; }

.related-item h3 { font-size: 0.95rem; margin: 0; }
.related-item h3 a { text-decoration: none; color: var(--vh-forest); }

/* Content pages */
.content-page {
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.content-page h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
  color: var(--vh-brown);
}

.content-page ul, .content-page ol {
  margin: 0 0 1.15rem;
  padding-left: 1.5rem;
}

.content-page li { margin-bottom: 0.5rem; }

/* Contact form */
.contact-form {
  max-width: 32rem;
  margin: 2rem 0;
}

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

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--vh-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--vh-border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: var(--vh-white);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: var(--vh-forest);
  color: var(--vh-white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background: var(--vh-forest-light);
  color: var(--vh-white);
}

.contact-info {
  background: var(--vh-brown-pale);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.contact-info p { margin: 0 0 0.5rem; }
.contact-info p:last-child { margin: 0; }

/* Footer */
.site-footer {
  background: var(--vh-forest);
  color: var(--vh-cream);
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
}

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

.site-footer h3 {
  color: var(--vh-brown-pale);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
}

.site-footer a {
  color: var(--vh-cream);
  text-decoration: none;
  display: block;
  margin-bottom: 0.4rem;
  opacity: 0.9;
}

.site-footer a:hover { opacity: 1; text-decoration: underline; }

.footer-brand p {
  opacity: 0.85;
  line-height: 1.6;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.25rem;
  text-align: center;
  opacity: 0.75;
  font-size: 0.8rem;
}

/* Cookie notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--vh-text);
  color: var(--vh-cream);
  padding: 1rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-notice.is-visible { display: flex; }

.cookie-notice p { margin: 0; max-width: 50rem; }

.cookie-notice .btn {
  background: var(--vh-brown-light);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--vh-white);
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid var(--vh-border);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open { display: flex; }

  .featured-story-inner { min-height: 360px; }

  .article-list-item {
    grid-template-columns: 1fr;
  }

  .article-list-item img { max-height: 200px; }

  .article-figure { margin: 1.5rem 0; }
}
