/* Instituto Prístino: home do novo site (direção "caderno de campo")
   Cores da marca: areia, marrom, ferrugem (acento único) e petróleo (tinta e fundo escuro) */
:root {
  --sand: #C8B671;
  --sand-soft: #EFE8D2;
  --brown: #855B24;
  --rust: #6D2812;
  --rust-dk: #561E0D;
  --rust-xdk: #3E150A;
  --petrol: #0C3642;
  --petrol-dk: #082730;
  --paper: #F8F5EE;
  --paper-2: #F1ECE0;
  --ink: #0C3642;
  --body: #3D4A4E;
  --muted: #5F6A6C;
  --rule: #DDD5C2;
  --radius: 14px;
  --wrap: 1200px;
  --ff-head: 'Poppins', system-ui, sans-serif;
  --ff-body: 'Open Sans', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  /* lascas: recortes irregulares herdados do folder */
  --shard-a: polygon(4% 3%, 62% 0, 100% 6%, 97% 58%, 100% 97%, 38% 100%, 0 94%, 2% 40%);
  --shard-b: polygon(0 6%, 45% 0, 96% 3%, 100% 70%, 93% 100%, 8% 97%, 3% 55%);
  --shard-c: polygon(10% 0, 100% 4%, 95% 45%, 100% 100%, 0 96%, 4% 52%);

  /* grão de papel, para nenhuma faixa ficar chapada */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0 0.15 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper) var(--grain); color: var(--body);
  font-family: var(--ff-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--rust); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--ff-head); color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0; }
em { font-style: italic; color: var(--rust); }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; border-radius: 4px; }
section { position: relative; }
section[id] { scroll-margin-top: 76px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--petrol); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* botões e links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--rust); color: #fff; text-decoration: none; cursor: pointer;
  font-family: var(--ff-head); font-weight: 600; font-size: 16px;
  transition: background-color .2s ease, transform .16s var(--ease-out);
}
.btn:hover { background: var(--rust-dk); }
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 34px; font-size: 17px; }
.btn-light { background: var(--sand); color: var(--petrol-dk); }
.btn-light:hover { background: #D6C68A; }
.ico { width: 16px; height: 16px; fill: currentColor; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-head); font-weight: 600;
  font-size: 15px; color: var(--rust); text-decoration: none; min-height: 44px;
}
.link-arrow::after { content: '→'; transition: transform .2s var(--ease-out); }
.link-light { color: var(--sand-soft); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover::after { transform: translateX(4px); }
}

/* lascas */
.shard { overflow: hidden; }
.shard img { width: 100%; height: 100%; object-fit: cover; }
.shard-a { clip-path: var(--shard-a); }
.shard-b { clip-path: var(--shard-b); }
.shard-c { clip-path: var(--shard-c); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 245, 238, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.header-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand img { width: 64px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav-desktop { display: flex; gap: 24px; }
.nav a { color: var(--ink); text-decoration: none; font-family: var(--ff-head); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--rust); }
.nav-mobile { display: none; }

/* hero: brilho areia no canto e grão */
.hero {
  padding: 56px 0 80px; overflow: hidden;
  background:
    radial-gradient(60% 70% at 88% 18%, rgba(200, 182, 113, .28), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(133, 91, 36, .08), transparent 70%);
}
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.2vw, 56px); font-weight: 700; }
.hero-sub { margin-top: 22px; font-size: 19px; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 34px; }
.hero-photo { position: relative; margin: 0; }
.hero-photo .shard { aspect-ratio: 4 / 3.6; }
.field-tag {
  position: absolute; left: -28px; bottom: 28px; background: #fff; color: var(--ink);
  padding: 12px 16px; border-left: 4px solid var(--sand); box-shadow: 0 10px 30px rgba(12, 54, 66, .14);
  font-size: 14px; line-height: 1.45; max-width: 260px;
}
.tag-k { display: block; font-family: var(--ff-head); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--brown); margin-bottom: 2px; }

/* livro-razão de números */
.ledger { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: linear-gradient(90deg, var(--paper-2), var(--sand-soft)); }
.ledger-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.ledger-item { padding: 28px 24px; display: flex; flex-direction: column; gap: 4px; }
.ledger-item + .ledger-item { border-left: 1px solid var(--rule); }
.ledger .n { font-family: var(--ff-head); font-weight: 700; font-size: clamp(34px, 3.6vw, 48px); line-height: 1; color: var(--petrol); font-variant-numeric: tabular-nums; }
.ledger .l { font-size: 15px; color: var(--muted); }

/* vídeo institucional: quadro grande com lasca areia atrás */
.film { padding: 100px 0 40px; }
.film-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.film-head p { max-width: 30em; }
.film-frame { position: relative; isolation: isolate; margin-top: 36px; border-radius: var(--radius); }
.film-frame::before {
  content: ''; position: absolute; left: -4%; right: 12%; top: 10%; bottom: -8%; z-index: -1;
  background: linear-gradient(140deg, rgba(200, 182, 113, .55), rgba(133, 91, 36, .25));
  clip-path: var(--shard-b);
}
.film-frame video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius);
  background: var(--petrol); box-shadow: 0 30px 60px rgba(12, 54, 66, .22); object-fit: cover;
}
.film-play {
  position: absolute; inset: 0; width: 100%; border: 0; border-radius: var(--radius); cursor: pointer;
  display: flex; flex-direction: row; align-items: flex-end; justify-content: flex-start; gap: 16px; padding: 0 0 6% 6%;
  background: linear-gradient(200deg, rgba(8, 39, 48, 0) 50%, rgba(8, 39, 48, .55));
  color: #fff; font-family: var(--ff-head); font-weight: 600; font-size: 17px;
  transition: opacity .25s ease;
}
.film-play-ico {
  width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center;
  background: var(--rust); box-shadow: 0 12px 30px rgba(62, 21, 10, .4);
  transition: transform .2s var(--ease-out), background-color .2s ease;
}
.film-play-ico svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }
.film-play-t { margin-bottom: 33px; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.film-dur { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .35); font-size: 14px; }
.film-play:active .film-play-ico { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) {
  .film-play:hover .film-play-ico { transform: scale(1.06); background: var(--rust-dk); }
}
.film.is-playing .film-play { opacity: 0; pointer-events: none; }

/* frentes */
.fronts { padding: 80px 0 110px; background: radial-gradient(50% 60% at 0% 30%, rgba(200, 182, 113, .16), transparent 70%); }
.fronts-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.fronts-intro { position: sticky; top: 110px; }
.fronts-intro p { margin-top: 18px; max-width: 28em; }
.fronts-photo { margin-top: 32px; aspect-ratio: 16 / 10; }
.fronts-list { list-style: none; margin: 0; padding: 0; }
.fronts-list li { padding: 30px 0; border-top: 1px solid var(--rule); }
.fronts-list li:last-child { border-bottom: 1px solid var(--rule); }
.fronts-list h3 { font-size: 24px; }
.fronts-list p { margin: 10px 0 6px; }

/* atlas: petróleo com brilho e pontilhado de levantamento */
.atlas {
  color: #D5E0E2; padding: 100px 0; overflow: hidden;
  background:
    radial-gradient(55% 80% at 85% 50%, rgba(46, 110, 120, .45), transparent 70%),
    radial-gradient(rgba(200, 182, 113, .14) 1px, transparent 1.4px) 0 0 / 22px 22px,
    linear-gradient(160deg, var(--petrol) 0%, var(--petrol-dk) 100%);
}
.atlas h2 { color: #fff; }
.atlas-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.atlas-text p { margin-top: 18px; }
.atlas-list { list-style: none; padding: 0; margin: 26px 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.atlas-list a {
  display: inline-flex; align-items: center; min-height: 36px; border: 1px solid rgba(200, 182, 113, .5);
  color: var(--sand); border-radius: 999px; padding: 0 14px; font-size: 14px; text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.atlas-list a:hover { background: var(--sand); color: var(--petrol-dk); }
.atlas-note { font-size: 15px; color: #A9BCC0; }
.atlas-note a { color: var(--sand); font-weight: 600; }
.atlas-shot { margin: 0; }
.atlas-shot img { border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.atlas-shot figcaption { margin-top: 12px; font-size: 14px; color: #A9BCC0; }

/* espécies: fichas de campo */
.species { padding: 110px 0 100px; background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.species-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.species-head p { max-width: 34em; margin-top: 14px; }
.sp-nav { display: flex; gap: 10px; flex-shrink: 0; }
.sp-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--petrol); background: transparent;
  color: var(--petrol); cursor: pointer; display: grid; place-items: center;
  transition: background-color .2s ease, color .2s ease, opacity .2s ease, transform .16s var(--ease-out);
}
.sp-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sp-btn:hover:not(:disabled) { background: var(--petrol); color: #fff; }
.sp-btn:active:not(:disabled) { transform: scale(0.95); }
.sp-btn:disabled { opacity: .3; cursor: default; }
.species-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 300px); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scroll-behavior: smooth;
  padding: 40px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)) 18px;
  scroll-padding-inline: max(24px, calc((100vw - var(--wrap)) / 2 + 24px));
  scrollbar-width: none;
}
.species-track::-webkit-scrollbar { display: none; }
.card-sp { scroll-snap-align: start; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; transition: transform .25s var(--ease-out), box-shadow .25s ease; }
.card-sp img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .card-sp:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(12, 54, 66, .12); }
  .card-sp:hover img { transform: scale(1.04); }
}
.card-body { padding: 18px 20px 22px; }
.sp-name { font-size: 19px; font-weight: 500; }
.sp-fam { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--brown); margin-top: 2px; }
.sp-range { font-size: 15px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--rule); }

/* patrimônio cultural: lasca areia ao fundo */
.heritage { padding: 100px 0 110px; overflow: hidden; }
.heritage::before {
  content: ''; position: absolute; right: -8%; top: 8%; width: 46%; height: 84%;
  background: linear-gradient(140deg, rgba(200, 182, 113, .22), rgba(133, 91, 36, .08));
  clip-path: var(--shard-c); pointer-events: none;
}
.heritage-in { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.heritage-collage { position: relative; height: 620px; }
.h-cave { position: absolute; left: 0; top: 0; width: 58%; height: 88%; }
.h-art { position: absolute; right: 0; bottom: 0; width: 52%; height: 62%; }
.heritage-text { position: relative; }
.heritage-text p { margin-top: 18px; }
.d3 { display: grid; grid-template-columns: 150px 1fr; gap: 20px; margin-top: 36px; padding: 20px; background: rgba(255, 255, 255, .7); border: 1px solid var(--rule); border-radius: var(--radius); align-items: center; }
.d3 img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; }
.d3 p { font-size: 15px; margin: 6px 0 2px; }

/* conhecimento aberto */
.knowledge { padding: 100px 0; background: var(--sand-soft) var(--grain); }
.knowledge::before { content: ''; position: absolute; inset: 0; background: radial-gradient(45% 70% at 100% 0%, rgba(255, 255, 255, .55), transparent 70%); pointer-events: none; }
.knowledge-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.library p { margin-top: 16px; }
.search { margin-top: 30px; }
.search label, .f-news label { display: block; font-family: var(--ff-head); font-weight: 500; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.search-row { display: flex; gap: 10px; }
.search-row input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 18px; border: 1px solid #BFB394; border-radius: 999px;
  background: #fff; color: var(--ink); font: inherit; font-size: 16px;
}
.search-row input::placeholder { color: #7B8587; }
.lib-links { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.lib-links li { border-top: 1px solid #D6CCAE; }
.lib-links a { display: flex; align-items: center; min-height: 52px; color: var(--ink); text-decoration: none; font-family: var(--ff-head); font-weight: 500; }
.lib-links a:hover { color: var(--rust); }
.news-title { font-size: 28px; }
.news-item { display: grid; grid-template-columns: 132px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid #D6CCAE; align-items: center; }
.news-item img { width: 132px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.news-cat { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--brown); }
.news-item h3 { font-size: 17px; line-height: 1.35; margin-top: 4px; }
.news-item h3 a { color: var(--ink); text-decoration: none; }
.news-item h3 a:hover { color: var(--rust); text-decoration: underline; }
.news .link-arrow { margin-top: 14px; }

/* perguntas frequentes */
.faq { padding: 100px 0; }
.faq-in { display: grid; grid-template-columns: .7fr 1.3fr; gap: 72px; align-items: start; }
.faq-list details { border-top: 1px solid var(--rule); }
.faq-list details:last-child { border-bottom: 1px solid var(--rule); }
.faq-list summary {
  list-style: none; cursor: pointer; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--ff-head); font-weight: 600; font-size: 18px; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 26px; font-weight: 500; color: var(--rust); transition: transform .2s var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 22px; max-width: 46em; }

/* apoio: ferrugem profunda, a faixa de maior contraste da página */
.support {
  padding: 110px 0; color: #F3E4DA; overflow: hidden;
  background:
    var(--grain),
    radial-gradient(60% 80% at 100% 0%, rgba(200, 182, 113, .25), transparent 70%),
    linear-gradient(135deg, var(--rust) 0%, var(--rust-xdk) 100%);
}
.support-in { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: center; }
.support-text h2 { color: #fff; font-size: clamp(32px, 4vw, 52px); font-weight: 700; }
.support-text > p { margin-top: 20px; font-size: 19px; max-width: 32em; }
.give { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.give-card {
  display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 20px 22px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #F3E4DA; text-decoration: none;
  transition: background-color .2s ease, transform .2s var(--ease-out), border-color .2s ease;
}
.give-main { background: var(--sand-soft); border-color: var(--sand-soft); color: var(--body); }
.give-k { font-family: var(--ff-head); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--sand); }
.give-main .give-k { color: var(--brown); }
.give-t { font-family: var(--ff-head); font-weight: 700; font-size: 22px; color: #fff; }
.give-main .give-t { color: var(--rust); }
.give-d { font-size: 15px; line-height: 1.5; }
@media (hover: hover) and (pointer: fine) {
  .give-card:hover { transform: translateY(-3px); border-color: var(--sand); }
}
.support-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }
.support-photo { aspect-ratio: 4 / 5; }

/* botão flutuante de doação no celular */
.donate-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none;
  min-height: 48px; padding: 0 22px; border-radius: 999px; align-items: center;
  background: var(--rust); color: #fff; font-family: var(--ff-head); font-weight: 600; text-decoration: none;
  box-shadow: 0 10px 26px rgba(62, 21, 10, .35);
  transition: transform .25s var(--ease-out), opacity .25s ease;
}
.donate-float.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* rodapé */
.site-footer { background: var(--petrol-dk) var(--grain); color: #B9C8CB; padding: 72px 0 28px; font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-in { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 48px; }
.f-brand img { width: 88px; }
.f-brand p { margin-top: 16px; max-width: 18em; }
.f-h { font-size: 16px; color: #fff; margin-bottom: 12px; }
.f-contact p + p { margin-top: 4px; }
.f-news label { color: #B9C8CB; }
.f-news input { border-color: transparent; }
.f-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }

/* ---------- movimento ---------- */
/* entrada do hero: uma vez, por CSS, escalonada */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* mesma quantidade de pontos da lasca A, para o recorte interpolar como uma varredura */
@keyframes chip { from { clip-path: polygon(0 3%, 0 0, 0 6%, 0 58%, 0 97%, 0 100%, 0 94%, 0 40%); } to { clip-path: var(--shard-a); } }
.in { animation: rise .7s var(--ease-out) both; }
.in-1 { animation-delay: .05s; }
.in-2 { animation-delay: .15s; }
.in-3 { animation-delay: .25s; }
.in-4 { animation-delay: .75s; }
.hero-shard { animation: chip 1s var(--ease-out) .2s both; }
.hero-shard img { animation: settle 1.6s var(--ease-out) .2s both; }
@keyframes settle { from { transform: scale(1.12); } to { transform: none; } }

/* revelação no scroll (só com JS ativo) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .shard.reveal, .js .heritage-collage.reveal .shard { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), clip-path .9s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  html, .species-track { scroll-behavior: auto; }
  .in, .hero-shard, .hero-shard img { animation: rise .3s ease both; }
  .hero-shard img { animation: none; }
  .js .reveal { transform: none; transition: opacity .3s ease; }
  .card-sp, .card-sp img, .give-card, .btn, .sp-btn, .link-arrow::after, .donate-float { transition: none; }
}

/* tablet */
@media (max-width: 1080px) {
  .nav-desktop { gap: 16px; }
  .nav a { font-size: 14px; }
}
@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; position: relative; }
  .nav-mobile summary {
    list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; padding: 0 16px;
    border: 1px solid var(--rule); border-radius: 999px; font-family: var(--ff-head); font-weight: 500; color: var(--ink);
  }
  .nav-mobile summary::-webkit-details-marker { display: none; }
  .nav-mobile ul {
    position: absolute; right: 0; top: calc(100% + 10px); background: #fff; border: 1px solid var(--rule);
    border-radius: var(--radius); padding: 8px; min-width: 220px; box-shadow: 0 16px 34px rgba(12, 54, 66, .14);
  }
  .nav-mobile a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; }
  .hero-in, .fronts-in, .atlas-in, .heritage-in, .knowledge-in, .support-in, .faq-in { grid-template-columns: 1fr; gap: 44px; }
  .fronts-intro { position: static; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .f-news { grid-column: 1 / -1; }
  .heritage-collage { height: 480px; }
  .support-photo { display: none; }
  .donate-float { display: inline-flex; }
}

/* celular */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-in { min-height: 64px; gap: 10px; }
  .brand img { width: 52px; }
  .btn-donate { display: none; }
  .hero { padding: 32px 0 48px; }
  .hero-sub { font-size: 17px; }
  .field-tag { left: 12px; bottom: 12px; font-size: 13px; }
  .ledger-in { grid-template-columns: 1fr 1fr; }
  .ledger-item { padding: 20px 16px; }
  .ledger-item:nth-child(3) { border-left: 0; }
  .ledger-item:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .fronts, .species, .knowledge, .support, .atlas, .faq { padding: 72px 0; }
  .heritage { padding: 56px 0 72px; }
  .heritage-collage { height: 360px; }
  .species-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .film { padding: 64px 0 24px; }
  .film-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .film-play-ico { width: 52px; height: 52px; }
  .film-play-ico svg { width: 20px; height: 20px; margin-left: 3px; }
  .film-play-t { margin-bottom: 14px; }
  .film-play { font-size: 14px; gap: 10px; padding: 0 0 4% 4%; }
  .species-track { padding-left: 16px; padding-right: 16px; scroll-padding-inline: 16px; grid-auto-columns: 78%; }
  .d3 { grid-template-columns: 1fr; }
  .d3 img { aspect-ratio: 16 / 10; }
  .lib-links { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 96px 1fr; gap: 14px; }
  .news-item img { width: 96px; }
  .search-row { flex-direction: column; }
  .give { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 17px; }
  .footer-in { grid-template-columns: 1fr; gap: 36px; }
  .f-legal { flex-direction: column; padding-bottom: 56px; }
}
