@charset "UTF-8";

/* =========================================================================
   ExpeditionMaister — sistema visual
   Paleta natural: verde botânico, terracota, creme e salva.
   ========================================================================= */

:root {
  /* Superfícies */
  --cream-050: #fdfbf6;
  --cream-100: #fbf7ee;
  --cream-200: #f5eee0;
  --cream-300: #ede3d1;
  --cream-400: #e2d5bd;

  /* Salva */
  --sage-100: #e4ebdd;
  --sage-200: #cdd9c3;
  --sage-300: #b0c2a4;
  --sage-500: #86a079;

  /* Verde botânico */
  --green-500: #4c7a5a;
  --green-600: #3b6547;
  --green-700: #2b4d35;
  --green-800: #1d3826;
  --green-900: #132518;

  /* Terracota */
  --terra-300: #e0b49f;
  --terra-400: #c98564;
  --terra-500: #b06244;
  --terra-600: #8f4a31;
  --terra-700: #6d3623;

  /* Marca */
  --mark: #f5c400;

  /* Tinta */
  --ink: #22201a;
  --ink-soft: #574f43;
  --ink-mute: #7d7566;
  --line: #ddd2bf;
  --line-soft: #e9e0d1;

  /* Semântica */
  --bg: var(--cream-200);
  --surface: var(--cream-100);
  --surface-raised: var(--cream-050);
  --accent: var(--green-700);
  --accent-2: var(--terra-500);

  /* Tipografia */
  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --step--2: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.07rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.38rem, 1.24rem + 0.68vw, 1.8rem);
  --step-3: clamp(1.68rem, 1.4rem + 1.35vw, 2.5rem);
  --step-4: clamp(2.05rem, 1.55rem + 2.4vw, 3.5rem);
  --step-5: clamp(2.5rem, 1.6rem + 4.4vw, 5.25rem);

  /* Espaço e forma */
  --gutter: clamp(1.15rem, 0.6rem + 2.6vw, 2.75rem);
  --measure: 68ch;
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 26px;
  --radius-xl: 40px;

  --shadow-s: 0 1px 2px rgba(35, 32, 26, 0.05), 0 2px 8px -4px rgba(35, 32, 26, 0.08);
  --shadow-m: 0 2px 4px rgba(35, 32, 26, 0.04), 0 12px 28px -12px rgba(35, 32, 26, 0.16);
  --shadow-l: 0 4px 8px rgba(35, 32, 26, 0.04), 0 30px 60px -24px rgba(29, 56, 38, 0.28);

  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);
}

/* ============================== base ============================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.68;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Textura de papel sutil sobre todo o fundo, para evitar o achatamento do creme puro. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
}

body > * {
  position: relative;
  z-index: 1;
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--green-700);
  text-decoration-color: color-mix(in srgb, var(--green-700) 35%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.18s var(--ease), text-decoration-color 0.18s var(--ease);
}

a:hover {
  color: var(--terra-600);
  text-decoration-color: var(--terra-500);
}

:focus-visible {
  outline: 3px solid var(--terra-500);
  outline-offset: 3px;
  border-radius: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--green-900);
  margin: 0 0 0.5em;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-4);
}
h2 {
  font-size: var(--step-3);
}
h3 {
  font-size: var(--step-1);
  letter-spacing: -0.008em;
}
h4 {
  font-size: var(--step-0);
  font-family: var(--font-text);
  font-weight: 650;
  letter-spacing: 0;
}

p {
  margin: 0 0 1.1em;
  text-wrap: pretty;
}

strong {
  font-weight: 640;
  color: var(--green-800);
}

em {
  font-style: italic;
}

ul,
ol {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
}

li + li {
  margin-top: 0.45em;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

blockquote {
  margin: 1.8rem 0;
  padding: 0 0 0 1.4rem;
  border-left: 3px solid var(--sage-300);
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.42;
  color: var(--green-800);
  font-variation-settings: 'SOFT' 60, 'WONK' 1;
}

/* ============================== utilitários ============================== */

.wrap {
  width: min(100% - calc(var(--gutter) * 2), 1240px);
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - calc(var(--gutter) * 2), 860px);
  margin-inline: auto;
}

.prose {
  max-width: var(--measure);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--green-800);
  color: var(--cream-100);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-s);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip:focus {
  top: 1rem;
  color: var(--cream-100);
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-text);
  font-size: var(--step--2);
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra-600);
  margin: 0 0 1rem;
}

.eyebrow::before {
  content: '';
  width: 1.6rem;
  height: 1px;
  background: var(--terra-400);
  flex: none;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ============================== botões ============================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: var(--step--1);
  font-weight: 620;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

.btn--primary {
  background: linear-gradient(170deg, var(--green-600), var(--green-800) 78%);
  color: var(--cream-050);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 12px 26px -14px rgba(19, 37, 24, 0.7);
}

.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 18px 34px -14px rgba(19, 37, 24, 0.62),
    0 0 0 6px color-mix(in srgb, var(--sage-300) 34%, transparent);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--green-800);
}

.btn--ghost:hover {
  border-color: var(--green-600);
  background: color-mix(in srgb, var(--sage-100) 60%, transparent);
  color: var(--green-900);
  transform: translateY(-1px);
}

.btn--quiet {
  padding: 0.55rem 1rem;
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink-soft);
  font-size: var(--step--2);
}

.btn--quiet:hover {
  color: var(--terra-700);
  border-color: var(--terra-400);
}

/* ============================== cabeçalho ============================== */

.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--cream-200) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.site-head__in {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 4.5rem;
  padding-block: 0.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--green-900);
  flex: none;
}

.brand:hover {
  color: var(--green-900);
}

.brand__mark {
  width: 2.15rem;
  height: 2.15rem;
  flex: none;
  overflow: visible;
  transition: transform 0.35s var(--ease);
}

.brand:hover .brand__mark {
  transform: translateY(-2px) scale(1.04);
}

.brand__name {
  display: block;
  font-family: var(--font-text);
  font-size: clamp(0.72rem, 0.62rem + 0.5vw, 0.92rem);
  font-weight: 780;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand__tag {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 550;
  margin-top: 0.18rem;
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.4vw, 1.4rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list li {
  margin: 0;
}

.nav__link {
  display: block;
  padding: 0.5rem 0.2rem;
  font-size: var(--step--1);
  font-weight: 550;
  color: var(--ink-soft);
  text-decoration: none;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  bottom: 0.25rem;
  height: 1.5px;
  background: var(--terra-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current='page'] {
  color: var(--green-900);
}

.nav__link:hover::after,
.nav__link[aria-current='page']::after {
  transform: scaleX(1);
}

.nav__cta {
  margin-left: 0.4rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 2.7rem;
  height: 2.7rem;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-800);
  cursor: pointer;
}

body.travado {
  overflow: hidden;
}

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 4.5rem 0 auto;
    margin: 0;
    background: var(--cream-100);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-m);
    padding: 1rem var(--gutter) 1.6rem;
    display: none;
  }

  .nav[data-aberto='true'] {
    display: block;
    animation: dropIn 0.28s var(--ease);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: var(--step-0);
  }

  .nav__cta {
    margin: 1rem 0 0;
    width: 100%;
  }
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* ============================== hero da home ============================== */

.hero {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 5.5rem) clamp(3rem, 7vw, 7rem);
  overflow: clip;
}

.hero__atmos {
  position: absolute;
  inset: -20% -10% auto;
  height: 150%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 38% at 74% 26%, color-mix(in srgb, var(--sage-200) 78%, transparent), transparent 72%),
    radial-gradient(38% 34% at 12% 8%, color-mix(in srgb, var(--terra-300) 34%, transparent), transparent 70%),
    radial-gradient(60% 50% at 50% 100%, color-mix(in srgb, var(--cream-300) 90%, transparent), transparent 70%);
}

/* Folhagem decorativa em linha, atrás de tudo. */
.hero__fronds {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  color: var(--green-700);
  opacity: 0.09;
}

.hero__fronds--a {
  left: -7rem;
  top: 2rem;
  width: clamp(16rem, 30vw, 30rem);
  transform: rotate(-12deg);
}

.hero__fronds--b {
  right: -9rem;
  bottom: -4rem;
  width: clamp(18rem, 34vw, 34rem);
  transform: rotate(168deg);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero__title {
  font-size: var(--step-5);
  line-height: 0.99;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
  font-variation-settings: 'SOFT' 55, 'WONK' 1;
}

.hero__title em {
  font-style: italic;
  color: var(--green-600);
  font-variation-settings: 'SOFT' 90, 'WONK' 1;
}

.hero__lede {
  font-size: var(--step-1);
  line-height: 1.52;
  color: var(--ink-soft);
  max-width: 34ch;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.4rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 620;
  color: var(--green-800);
  line-height: 1;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
}

.hero__stat span {
  display: block;
  font-size: var(--step--2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 0.4rem;
  max-width: 14ch;
}

/* Composição visual do hero: arte grande, com halo e um cartão flutuante que a invade. */
.hero__stage {
  position: relative;
  isolation: isolate;
}

.hero__halo {
  position: absolute;
  inset: 4% -6% -2% 2%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 45%,
    color-mix(in srgb, var(--sage-100) 96%, transparent),
    color-mix(in srgb, var(--sage-200) 52%, transparent) 56%,
    transparent 72%
  );
  filter: blur(2px);
}

.hero__art {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-l);
  animation: floatArt 13s ease-in-out infinite;
}

@keyframes floatArt {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(-0.5deg);
  }
}

.hero__chip {
  position: absolute;
  left: -8%;
  bottom: 8%;
  width: min(19rem, 78%);
  padding: 1.05rem 1.2rem;
  background: color-mix(in srgb, var(--cream-050) 88%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--cream-400) 80%, transparent);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-m);
}

.hero__chip p {
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--ink-soft);
}

.hero__chip b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-0);
  color: var(--green-800);
  margin-bottom: 0.25rem;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__lede {
    max-width: 46ch;
  }

  .hero__stage {
    max-width: 30rem;
    margin-inline: auto;
  }

  .hero__chip {
    left: 0;
    bottom: -1.5rem;
    width: min(22rem, 92%);
  }

  .hero__fronds--a,
  .hero__fronds--b {
    display: none;
  }
}

/* ============================== busca do hero ============================== */

.quicksearch {
  position: relative;
  max-width: 26rem;
  margin-bottom: 2rem;
}

.quicksearch input {
  width: 100%;
  padding: 0.95rem 1.1rem 0.95rem 2.9rem;
  font-family: inherit;
  font-size: var(--step--1);
  color: var(--ink);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-s);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.quicksearch input::placeholder {
  color: var(--ink-mute);
}

.quicksearch input:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sage-200) 55%, transparent);
}

.quicksearch svg {
  position: absolute;
  left: 1.05rem;
  top: 50%;
  translate: 0 -50%;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--ink-mute);
  pointer-events: none;
}

/* ============================== seções ============================== */

.section {
  padding-block: clamp(3rem, 6vw, 6rem);
  position: relative;
}

.section--band {
  background: linear-gradient(180deg, transparent, var(--cream-300) 18%, var(--cream-300) 82%, transparent);
}

.section--deep {
  background: linear-gradient(165deg, var(--green-800), var(--green-900));
  color: color-mix(in srgb, var(--cream-100) 88%, transparent);
  overflow: clip;
}

.section--deep h2,
.section--deep h3 {
  color: var(--cream-100);
}

.section--deep .eyebrow {
  color: var(--sage-300);
}

.section--deep .eyebrow::before {
  background: var(--sage-500);
}

.section--deep a {
  color: var(--sage-200);
}

.section--deep a:hover {
  color: var(--terra-300);
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: clamp(1.8rem, 3.5vw, 3rem);
}

.section__head p {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  max-width: 52ch;
}

.section--deep .section__head p {
  color: color-mix(in srgb, var(--cream-200) 74%, transparent);
}

@media (max-width: 720px) {
  .section__head {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* ============================== mosaico de grupos ============================== */

.groups {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
}

.group {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 13rem;
  padding: 1.35rem;
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}

/* Primeiro e quarto blocos maiores, para quebrar a grade regular. */
.group:nth-child(1) {
  grid-column: span 4;
  min-height: 19rem;
}

.group:nth-child(4) {
  grid-column: span 3;
  min-height: 16rem;
}

.group:nth-child(5) {
  grid-column: span 3;
  min-height: 16rem;
}

.group::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -18%;
  top: -22%;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--sage-200) 70%, transparent), transparent 68%);
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
}

.group:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--sage-300) 80%, transparent);
  box-shadow: var(--shadow-m);
}

.group:hover::after {
  transform: scale(1.12) translate(-4%, 4%);
}

.group__leaf {
  position: absolute;
  z-index: -1;
  right: 0.9rem;
  top: 0.9rem;
  width: clamp(3.4rem, 7vw, 5.6rem);
  color: var(--green-700);
  opacity: 0.16;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
}

.group:hover .group__leaf {
  transform: rotate(-10deg) scale(1.08);
  opacity: 0.26;
}

.group__count {
  font-size: var(--step--2);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terra-600);
  margin-bottom: 0.5rem;
}

.group__name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 620;
  line-height: 1.12;
  color: var(--green-900);
  margin-bottom: 0.4rem;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
}

.group:nth-child(1) .group__name {
  font-size: var(--step-2);
}

.group__desc {
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  max-width: 34ch;
}

@media (max-width: 900px) {
  .groups {
    grid-template-columns: repeat(2, 1fr);
  }
  .group,
  .group:nth-child(1),
  .group:nth-child(4),
  .group:nth-child(5) {
    grid-column: span 1;
    min-height: 12rem;
  }
  .group:nth-child(1) {
    grid-column: span 2;
    min-height: 15rem;
  }
}

@media (max-width: 560px) {
  .groups {
    grid-template-columns: 1fr;
  }
  .group:nth-child(1) {
    grid-column: span 1;
  }
}

/* ============================== fichas do acervo ============================== */

.plates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: clamp(1rem, 2.2vw, 1.9rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.plates li {
  margin: 0;
}

.plate {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  border-radius: var(--radius-m);
  transition: transform 0.3s var(--ease);
}

.plate:hover {
  transform: translateY(-5px);
}

.plate__frame {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--cream-200);
  isolation: isolate;
  box-shadow: var(--shadow-s);
  transition: box-shadow 0.35s var(--ease);
}

.plate:hover .plate__frame {
  box-shadow: var(--shadow-m);
}

.plate__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 108%, rgba(29, 56, 38, 0.16), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.plate:hover .plate__frame::after {
  opacity: 1;
}

.plate__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transition: transform 0.6s var(--ease);
}

.plate:hover .plate__img {
  transform: scale(1.045);
}

.plate__flag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cream-050) 92%, transparent);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-s);
}

.plate__flag svg {
  width: 0.85rem;
  height: 0.85rem;
}

.plate__flag[data-tox='toxica'] {
  color: var(--terra-700);
}

.plate__flag[data-tox='sem-toxicidade-relatada'] {
  color: var(--green-700);
}

.plate__flag[data-tox='sem-confirmacao'] {
  color: var(--ink-soft);
}

.plate__body {
  padding: 0.95rem 0.2rem 0;
}

.plate__name {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 620;
  line-height: 1.22;
  color: var(--green-900);
  margin: 0 0 0.15rem;
  font-variation-settings: 'SOFT' 35, 'WONK' 1;
}

.plate:hover .plate__name {
  color: var(--terra-700);
}

.plate__sci {
  display: block;
  font-size: var(--step--2);
  font-style: italic;
  color: var(--ink-mute);
  margin-bottom: 0.6rem;
}

.plate__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.2rem 0.52rem;
  font-size: 0.68rem;
  font-weight: 560;
  letter-spacing: 0.015em;
  color: var(--green-700);
  background: color-mix(in srgb, var(--sage-100) 72%, transparent);
  border: 1px solid color-mix(in srgb, var(--sage-200) 74%, transparent);
  border-radius: 999px;
}

.tag svg {
  width: 0.8rem;
  height: 0.8rem;
  opacity: 0.72;
}

.tag--terra {
  color: var(--terra-700);
  background: color-mix(in srgb, var(--terra-300) 32%, transparent);
  border-color: color-mix(in srgb, var(--terra-300) 62%, transparent);
}

/* Faixa horizontal de destaques na home. */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(14rem, 16rem);
  gap: clamp(1rem, 2vw, 1.6rem);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0.3rem calc(var(--gutter) * -1 + var(--gutter)) 1.4rem;
  margin: 0;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: var(--sage-300) transparent;
}

.rail > li {
  scroll-snap-align: start;
  margin: 0;
}

.rail::-webkit-scrollbar {
  height: 7px;
}

.rail::-webkit-scrollbar-thumb {
  background: var(--sage-300);
  border-radius: 99px;
}

/* ============================== biblioteca ============================== */

.lib-head {
  padding-block: clamp(2.2rem, 4vw, 3.6rem) 1.5rem;
  position: relative;
  overflow: clip;
}

.lib-head::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -60% 30% auto -20%;
  height: 130%;
  background: radial-gradient(40% 40% at 30% 60%, color-mix(in srgb, var(--sage-200) 55%, transparent), transparent 70%);
}

.toolbar {
  position: sticky;
  top: 4.5rem;
  z-index: 60;
  margin-bottom: 2rem;
  padding: 1rem clamp(0.9rem, 2vw, 1.4rem);
  background: color-mix(in srgb, var(--cream-100) 93%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
}

.toolbar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.field {
  position: relative;
  flex: 1 1 17rem;
  min-width: 0;
}

.field input[type='search'] {
  width: 100%;
  padding: 0.75rem 2.4rem 0.75rem 2.6rem;
  font-family: inherit;
  font-size: var(--step--1);
  color: var(--ink);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 999px;
  -webkit-appearance: none;
  appearance: none;
}

.field input[type='search']::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.field input:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sage-200) 50%, transparent);
}

.field__icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  translate: 0 -50%;
  width: 1.05rem;
  height: 1.05rem;
  color: var(--ink-mute);
  pointer-events: none;
}

.field__clear {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  translate: 0 -50%;
  width: 1.7rem;
  height: 1.7rem;
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  border-radius: 999px;
  color: var(--ink-mute);
  cursor: pointer;
}

.field__clear[data-show='true'] {
  display: inline-flex;
}

.field__clear:hover {
  background: var(--cream-300);
  color: var(--terra-700);
}

.select {
  position: relative;
  flex: 0 0 auto;
}

.select select {
  font-family: inherit;
  font-size: var(--step--2);
  font-weight: 560;
  color: var(--green-800);
  padding: 0.62rem 2.1rem 0.62rem 0.9rem;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 999px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.select::after {
  content: '';
  position: absolute;
  right: 0.95rem;
  top: 50%;
  translate: 0 -60%;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.6px solid var(--ink-soft);
  border-bottom: 1.6px solid var(--ink-soft);
  rotate: 45deg;
  pointer-events: none;
}

.toolbar__facets {
  margin-top: 0.9rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 0.9rem;
  display: grid;
  gap: 0.75rem;
}

.toolbar__facets[hidden] {
  display: none;
}

.facet {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  align-items: start;
  gap: 0.7rem;
}

.facet__label {
  font-size: var(--step--2);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 0.42rem;
}

.facet__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.8rem;
  font-family: inherit;
  font-size: var(--step--2);
  font-weight: 560;
  color: var(--ink-soft);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.chip:hover {
  border-color: var(--sage-500);
  color: var(--green-800);
  transform: translateY(-1px);
}

.chip[aria-pressed='true'] {
  background: linear-gradient(170deg, var(--green-600), var(--green-800));
  border-color: var(--green-800);
  color: var(--cream-050);
  box-shadow: 0 6px 16px -8px rgba(19, 37, 24, 0.7);
}

.toolbar__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-soft);
}

.counter {
  font-size: var(--step--1);
  color: var(--ink-soft);
  margin: 0;
}

.counter b {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--green-800);
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
}

@media (max-width: 640px) {
  .facet {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .facet__label {
    padding-top: 0;
  }
  .toolbar {
    top: 4.2rem;
  }
}

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 5rem) 1rem;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius-m);
}

.empty svg {
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto 1rem;
  color: var(--sage-500);
}

.empty p {
  color: var(--ink-soft);
  max-width: 44ch;
  margin-inline: auto;
}

.alpha-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 1.6rem;
}

.alpha-nav__label {
  margin-right: 0.35rem;
  align-self: center;
  font-size: var(--step--2);
  color: var(--ink-mute);
}

.alpha-nav button,
.alpha-nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.9rem;
  height: 1.9rem;
  padding: 0;
  font: inherit;
  font-size: var(--step--2);
  font-weight: 620;
  border-radius: var(--radius-s);
  text-decoration: none;
}

.alpha-nav button {
  color: var(--green-700);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.alpha-nav button:hover {
  background: var(--green-800);
  color: var(--cream-050);
  border-color: var(--green-800);
}

.alpha-nav button[aria-pressed='true'] {
  background: var(--green-700);
  color: var(--cream-050);
  border-color: var(--green-700);
  box-shadow: 0 4px 12px -6px var(--green-900);
}

.alpha-nav span {
  color: color-mix(in srgb, var(--ink-mute) 55%, transparent);
}

/* ============================== ficha da planta ============================== */

.plant-hero {
  position: relative;
  padding-block: clamp(1.8rem, 3.5vw, 3.2rem) clamp(2rem, 4vw, 3.5rem);
  overflow: clip;
}

.plant-hero__atmos {
  position: absolute;
  z-index: -1;
  inset: -40% -15% auto;
  height: 150%;
  background:
    radial-gradient(38% 34% at 76% 34%, color-mix(in srgb, var(--sage-200) 76%, transparent), transparent 70%),
    radial-gradient(34% 30% at 16% 4%, color-mix(in srgb, var(--terra-300) 26%, transparent), transparent 72%);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  font-size: var(--step--2);
  color: var(--ink-mute);
}

.crumbs li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.crumbs li + li::before {
  content: '';
  width: 0.3rem;
  height: 0.3rem;
  border-right: 1.4px solid var(--sage-500);
  border-bottom: 1.4px solid var(--sage-500);
  rotate: -45deg;
}

.crumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--terra-700);
  text-decoration: underline;
}

.plant-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  align-items: center;
  gap: clamp(1.8rem, 4vw, 3.8rem);
}

.plant-hero__title {
  font-size: var(--step-4);
  line-height: 1.02;
  margin-bottom: 0.4rem;
}

.plant-hero__sci {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-style: italic;
  color: var(--green-600);
  margin: 0 0 1.1rem;
  font-variation-settings: 'SOFT' 80, 'WONK' 1;
}

.plant-hero__sci small {
  font-style: normal;
  font-size: 0.72em;
  color: var(--ink-mute);
  margin-left: 0.35em;
}

.plant-hero__resumo {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 40ch;
  margin-bottom: 1.4rem;
}

.plant-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.plant-hero__alias {
  font-size: var(--step--1);
  color: var(--ink-mute);
  margin: 0;
}

.plant-hero__stage {
  position: relative;
  isolation: isolate;
}

.plant-hero__halo {
  position: absolute;
  inset: -6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 46%,
    color-mix(in srgb, var(--cream-050) 90%, transparent),
    color-mix(in srgb, var(--sage-100) 70%, transparent) 52%,
    transparent 72%
  );
}

.plant-hero__art {
  width: 100%;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  object-fit: cover;
  object-position: center 58%;
  background: var(--cream-200);
}

@media (max-width: 880px) {
  .plant-hero__grid {
    grid-template-columns: 1fr;
  }
  .plant-hero__stage {
    order: -1;
    max-width: 24rem;
    margin-inline: auto;
  }
  .plant-hero__resumo {
    max-width: none;
  }
}

/* Faixa de dados essenciais. */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 1px;
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  list-style: none;
  padding: 0;
}

.facts li {
  margin: 0;
  padding: 1rem 1.1rem;
  background: var(--surface);
}

.facts dt,
.fact__k {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--step--2);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.4rem;
}

.fact__k svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--sage-500);
}

.fact__v {
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--green-800);
  line-height: 1.25;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
}

/* Corpo da ficha com índice lateral. */
.plant-body {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: clamp(1.8rem, 4vw, 4rem);
  align-items: start;
  padding-bottom: clamp(2.5rem, 5vw, 5rem);
}

.toc {
  position: sticky;
  top: 6rem;
  font-size: var(--step--1);
}

.toc h2 {
  font-family: var(--font-text);
  font-size: var(--step--2);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.8rem;
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--line);
}

.toc li {
  margin: 0;
}

.toc a {
  display: block;
  padding: 0.34rem 0 0.34rem 0.9rem;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: var(--step--1);
}

.toc a:hover,
.toc a[aria-current='true'] {
  color: var(--green-800);
  border-left-color: var(--terra-500);
  background: color-mix(in srgb, var(--sage-100) 40%, transparent);
}

@media (max-width: 940px) {
  .plant-body {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
    padding: 1rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-m);
  }
}

.chapter {
  scroll-margin-top: 6rem;
  padding-block: clamp(1.4rem, 2.6vw, 2.2rem);
  border-top: 1px solid var(--line-soft);
}

.chapter:first-child {
  border-top: 0;
  padding-top: 0;
}

.chapter > h2 {
  font-size: var(--step-2);
  margin-bottom: 0.9rem;
}

.chapter > h2 + .chapter__hint {
  margin-top: -0.6rem;
}

.chapter__hint {
  font-size: var(--step--1);
  color: var(--ink-mute);
  margin-bottom: 1.2rem;
  max-width: var(--measure);
}

.chapter p,
.chapter li {
  max-width: var(--measure);
}

/* Lista descritiva de atributos de cultivo. */
.specs {
  margin: 0;
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

.specs > div {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 0 1.4rem;
  padding: 1.05rem 1.2rem;
  background: var(--surface);
}

.specs dt {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-weight: 620;
  color: var(--green-800);
  font-size: var(--step--1);
  line-height: 1.5;
}

.specs dt svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.22rem;
  flex: none;
  color: var(--sage-500);
}

.specs dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--step--1);
  line-height: 1.62;
}

@media (max-width: 680px) {
  .specs > div {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

/* Painel de alerta editorial (rega, toxicidade). */
.note {
  margin: 1.6rem 0;
  padding: 1.2rem 1.35rem;
  background: color-mix(in srgb, var(--sage-100) 58%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--sage-200) 80%, transparent);
  border-left: 3px solid var(--green-600);
  border-radius: var(--radius-s) var(--radius-m) var(--radius-m) var(--radius-s);
}

.note > :last-child {
  margin-bottom: 0;
}

.note__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-text);
  font-size: var(--step--1);
  font-weight: 650;
  color: var(--green-800);
  margin: 0 0 0.5rem;
}

.note__title svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
}

.note p,
.note li {
  font-size: var(--step--1);
  color: var(--ink-soft);
  max-width: 62ch;
}

.note--terra {
  background: color-mix(in srgb, var(--terra-300) 20%, var(--surface));
  border-color: color-mix(in srgb, var(--terra-300) 58%, transparent);
  border-left-color: var(--terra-500);
}

.note--terra .note__title {
  color: var(--terra-700);
}

/* Bloco de toxicidade. */
.tox {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  margin-bottom: 1.6rem;
}

.tox__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  font-weight: 640;
}

.tox__head svg {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
}

.tox__head small {
  display: block;
  font-weight: 500;
  font-size: var(--step--2);
  opacity: 0.82;
  margin-top: 0.15rem;
}

.tox[data-nivel='toxica'] .tox__head {
  background: color-mix(in srgb, var(--terra-300) 34%, var(--surface));
  color: var(--terra-700);
  border-bottom: 1px solid color-mix(in srgb, var(--terra-300) 60%, transparent);
}

.tox[data-nivel='sem-toxicidade-relatada'] .tox__head {
  background: color-mix(in srgb, var(--sage-200) 42%, var(--surface));
  color: var(--green-700);
  border-bottom: 1px solid color-mix(in srgb, var(--sage-200) 80%, transparent);
}

.tox[data-nivel='sem-confirmacao'] .tox__head {
  background: var(--cream-300);
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.tox__body {
  background: var(--surface);
  padding: 1.2rem;
  display: grid;
  gap: 1.2rem;
}

.tox__body h3 {
  font-family: var(--font-text);
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.45rem;
}

.tox__body p {
  margin: 0;
  font-size: var(--step--1);
  color: var(--ink-soft);
}

@media (min-width: 700px) {
  .tox__body {
    grid-template-columns: 1fr 1fr;
  }
}

/* Problemas comuns. */
.issues {
  display: grid;
  gap: 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.issues li {
  margin: 0;
  padding: 1.05rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  max-width: none;
}

.issues b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--green-800);
  margin-bottom: 0.3rem;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
}

.issues p {
  margin: 0;
  font-size: var(--step--1);
  color: var(--ink-soft);
}

/* Lista de cuidados. */
.care {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.care li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  margin: 0;
  font-size: var(--step--1);
  color: var(--ink-soft);
  max-width: 64ch;
}

.care li::before {
  content: '';
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.18rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--sage-200) 70%, transparent) center / 0.75rem no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b4d35' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  flex: none;
}

/* Fontes. */
.sources {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.sources li {
  margin: 0;
  padding-left: 1.1rem;
  border-left: 2px solid var(--sage-200);
  font-size: var(--step--1);
  max-width: 70ch;
}

.sources cite {
  display: block;
  font-style: normal;
  font-weight: 620;
  color: var(--green-800);
}

.sources span {
  display: block;
  color: var(--ink-mute);
  font-size: var(--step--2);
  margin-top: 0.1rem;
}

.sources p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: var(--step--2);
  line-height: 1.55;
}

.updated {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  margin-top: 1.4rem;
  font-size: var(--step--2);
  color: var(--ink-soft);
  background: var(--cream-300);
  border-radius: 999px;
}

.updated svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--sage-500);
}

/* ============================== conteúdo editorial ============================== */

.page-head {
  position: relative;
  padding-block: clamp(2.4rem, 5vw, 4.5rem) clamp(1.6rem, 3vw, 2.6rem);
  overflow: clip;
}

.page-head::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -70% 20% auto -25%;
  height: 150%;
  background: radial-gradient(38% 38% at 32% 62%, color-mix(in srgb, var(--sage-200) 58%, transparent), transparent 70%);
}

.page-head h1 {
  max-width: 24ch;
}

.page-head .lede {
  margin-bottom: 0;
}

.article {
  padding-bottom: clamp(2.5rem, 5vw, 5rem);
}

.article h2 {
  font-size: var(--step-2);
  margin-top: 2.4rem;
  scroll-margin-top: 6rem;
}

.article h2:first-child {
  margin-top: 0;
}

.article h3 {
  margin-top: 1.8rem;
}

.article p,
.article li {
  max-width: var(--measure);
}

.article > figure {
  margin: 2.2rem 0;
}

.article figcaption {
  font-size: var(--step--2);
  color: var(--ink-mute);
  margin-top: 0.6rem;
  max-width: 54ch;
}

/* Glossário. */
.glossary {
  display: grid;
  gap: 0.9rem;
}

.glossary__item {
  padding: 1.1rem 1.3rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  scroll-margin-top: 6rem;
}

.glossary__item dt {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 620;
  color: var(--green-800);
  margin-bottom: 0.4rem;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
}

.glossary__item dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--step--1);
  max-width: 72ch;
}

.glossary__see {
  display: block;
  margin-top: 0.6rem;
  font-size: var(--step--2);
  color: var(--ink-mute);
}

/* Tabela simples de conteúdo editorial. */
.table-wrap {
  overflow-x: auto;
  margin: 1.8rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
}

th,
td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

th {
  background: var(--cream-300);
  font-weight: 650;
  color: var(--green-800);
  font-size: var(--step--2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

/* Grade de links internos. */
.linkgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.9rem;
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
}

.linkgrid li {
  margin: 0;
}

.linkcard {
  display: block;
  height: 100%;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  text-decoration: none;
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.linkcard:hover {
  transform: translateY(-3px);
  border-color: var(--sage-300);
  box-shadow: var(--shadow-s);
}

.linkcard b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 620;
  color: var(--green-800);
  margin-bottom: 0.25rem;
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
}

.linkcard span {
  display: block;
  font-size: var(--step--2);
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Listas longas de espécies, usadas na relação de toxicidade. */
.cols {
  columns: 2;
  column-gap: clamp(1.2rem, 3vw, 2.4rem);
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.cols li {
  break-inside: avoid;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: var(--step--1);
}

.cols li em {
  display: block;
  font-size: var(--step--2);
  color: var(--ink-mute);
}

@media (max-width: 620px) {
  .cols {
    columns: 1;
  }
}

/* Funções da equipe editorial. */
.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.person {
  position: relative;
  padding: 1.4rem 1.4rem 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.person::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--green-600), var(--terra-400));
}

.person b {
  display: block;
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 620;
  color: var(--green-900);
  font-variation-settings: 'SOFT' 40, 'WONK' 1;
}

.person__role {
  display: block;
  margin: 0.15rem 0 0.7rem;
  font-size: var(--step--2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terra-600);
}

.person p {
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.6;
  color: var(--ink-soft);
}

.person p + p {
  margin-top: 0.55rem;
}

.person strong {
  color: var(--green-700);
}

/* ============================== rodapé ============================== */

.site-foot {
  margin-top: auto;
  background: linear-gradient(168deg, var(--green-800), var(--green-900) 70%);
  color: color-mix(in srgb, var(--cream-200) 78%, transparent);
  position: relative;
  overflow: clip;
}

.site-foot::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: auto -10% -60% 40%;
  height: 120%;
  background: radial-gradient(40% 40% at 60% 40%, rgba(134, 160, 121, 0.22), transparent 70%);
}

.site-foot__in {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.6rem, 5vw, 4.2rem) 1.6rem;
}

.site-foot__top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 3.5vw, 3rem);
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-foot .brand {
  color: var(--cream-100);
}

.site-foot .brand__tag {
  color: var(--sage-300);
}

.site-foot__about {
  margin: 1.1rem 0 0;
  font-size: var(--step--1);
  line-height: 1.62;
  max-width: 38ch;
  color: color-mix(in srgb, var(--cream-200) 72%, transparent);
}

.site-foot h2 {
  font-family: var(--font-text);
  font-size: var(--step--2);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-300);
  margin-bottom: 1rem;
}

.site-foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-foot li {
  margin: 0 0 0.55rem;
}

.site-foot li a {
  font-size: var(--step--1);
  color: color-mix(in srgb, var(--cream-200) 80%, transparent);
  text-decoration: none;
}

.site-foot li a:hover {
  color: var(--terra-300);
  text-decoration: underline;
}

.site-foot__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.6rem;
  font-size: var(--step--2);
  color: color-mix(in srgb, var(--cream-200) 60%, transparent);
}

.site-foot__bottom p {
  margin: 0;
  max-width: 60ch;
}

@media (max-width: 860px) {
  .site-foot__top {
    grid-template-columns: 1fr 1fr;
  }
  .site-foot__top > :first-child {
    grid-column: span 2;
  }
}

@media (max-width: 520px) {
  .site-foot__top {
    grid-template-columns: 1fr;
  }
  .site-foot__top > :first-child {
    grid-column: span 1;
  }
}

/* ============================== 404 ============================== */

.notfound {
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(3rem, 8vw, 7rem);
  position: relative;
  overflow: clip;
}

.notfound::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -30% 10% auto;
  height: 120%;
  background: radial-gradient(34% 32% at 50% 40%, color-mix(in srgb, var(--sage-200) 62%, transparent), transparent 70%);
}

.notfound__num {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 11rem);
  line-height: 0.85;
  color: color-mix(in srgb, var(--green-700) 22%, transparent);
  margin: 0 0 0.4rem;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
}

.notfound .lede {
  margin-inline: auto;
}

.notfound .btn {
  margin-top: 1.6rem;
}

/* ============================== layout raiz ============================== */

.shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* ============================== impressão e preferências ============================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  body::before,
  .site-head,
  .site-foot,
  .toolbar,
  .toc,
  .hero__atmos,
  .hero__fronds {
    display: none !important;
  }
  body {
    background: #fff;
  }
  a {
    text-decoration: underline;
  }
}
