:root {
  --bg: #fbf7f0;
  --bg-soft: #f3ebdc;
  --ink: #1f1a14;
  --ink-soft: #4a3f31;
  --accent: #9a6b1c;
  --accent-dark: #6f4a0e;
  --accent-soft: #d9b577;
  --line: #d9cdb4;
  --vulneravel: #c47100;
  --ameacado: #b3261e;
  --ok: #3b7d3c;
  --shadow: 0 10px 30px -18px rgba(31, 26, 20, 0.4);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Georgia", "Times New Roman", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  letter-spacing: -0.01em;
}

main {
  max-width: 920px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

/* HERO */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(135deg, #2d2515 0%, #5a3f1a 55%, #8a5c1f 100%);
  color: #fbf7f0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(217, 181, 119, 0.35), transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 200, 120, 0.25), transparent 55%);
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.55) 100%);
}

.hero__content {
  position: relative;
  padding: 3rem 1.5rem 4.5rem;
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}

.hero__eyebrow {
  font-family: "Helvetica Neue", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  opacity: 0.85;
  margin: 0 0 0.8rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 1.2rem;
  font-weight: 700;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

.hero__subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 640px;
  opacity: 0.92;
  margin: 0;
}

/* SECTIONS */
section {
  margin-bottom: 4rem;
}

section h2 {
  font-size: 1.6rem;
  margin: 0 0 1.2rem;
  color: var(--accent-dark);
  border-bottom: 2px solid var(--line);
  padding-bottom: 0.6rem;
}

.intro p {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

/* CARDS */
.species {
  display: grid;
}

.card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.2rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.1rem;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -18px rgba(31, 26, 20, 0.45);
}

.card__icon {
  font-size: 2.4rem;
  width: 64px;
  height: 64px;
  background: var(--bg-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card__body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.18rem;
  color: var(--ink);
}

.card__sci {
  display: inline-block;
  font-style: italic;
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-left: 0.4rem;
}

.card__status {
  display: inline-block;
  font-family: "Helvetica Neue", system-ui, sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  margin: 0 0 0.7rem;
  font-weight: 600;
}

.status--vulneravel    { background: #fcebcf; color: var(--vulneravel); }
.status--ameacado      { background: #f7d6d4; color: var(--ameacado); }
.status--pouco-preocupante { background: #dbecd9; color: var(--ok); }

.card__body p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

/* LISTS */
.threats ul,
.visit ul {
  padding-left: 1.2rem;
}

.threats li,
.visit li {
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
}

.threats strong {
  color: var(--ink);
}

/* FOOTER */
footer {
  background: #1f1a14;
  color: #d9cdb4;
  padding: 2rem 1.5rem;
  text-align: center;
  font-family: "Helvetica Neue", system-ui, sans-serif;
  font-size: 0.9rem;
}

footer p {
  margin: 0.2rem 0;
}

.footer__sub {
  opacity: 0.65;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* RESPONSIVE */
@media (max-width: 540px) {
  .hero { min-height: 62vh; }
  .card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .card__icon {
    width: 56px;
    height: 56px;
    font-size: 2rem;
  }
}
