/* Thydêwá — visual limpo, paleta única
   Paleta: verde-azulado (#336e6a) e seus tons; coral só nos prêmios do histórico.
   Tipos: Aboreto nos títulos, Montserrat no texto. */
:root {
  --white: #ffffff;
  --ink: #1e2b2a;          /* texto */
  --muted: #5d6d6b;        /* texto secundário */
  --teal: #336e6a;         /* cor principal */
  --teal-deep: #1f4744;    /* rodapé, seção do canal */
  --mint: #def0ee;         /* superfícies */
  --mint-soft: #eef5f4;    /* fundos de seção */
  --line: #d3e4e1;         /* linhas e bordas */
  --coral: #dd5f56;        /* só nos prêmios do histórico */
  --font-display: "Aboreto", Georgia, serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --radius: 4px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--ink); font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.h-section { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3.2vw, 40px); color: var(--teal-deep); margin: 0; }

/* ---------- botões ---------- */
.btn, .prose a.btn { display: inline-flex; align-items: center; gap: .5em; padding: 13px 24px; border-radius: var(--radius); border: 1px solid var(--teal);
  background: var(--teal); color: #fff; font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.btn:hover, .prose a.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--mint-soft); color: var(--teal-deep); border-color: var(--teal); }
.btn-light { background: #fff; border-color: #fff; color: var(--teal-deep); }
.btn-light:hover { background: var(--mint); border-color: var(--mint); color: var(--teal-deep); }
.btn-sm { padding: 9px 14px; font-size: 13px; }
.link { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.link:hover { border-color: var(--teal); }

/* ---------- cabeçalho ---------- */
.site-header { background: rgba(255,255,255,.97); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav > ul { margin-right: -12px; } /* o último item alinha com a borda do conteúdo */
.nav li { position: relative; }
.nav a, .nav button.sub-toggle { display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; font: 500 15px var(--font-body); background: none; border: 0; cursor: pointer; border-radius: var(--radius); }
.nav a:hover, .nav button.sub-toggle:hover { color: var(--teal); }
.nav a[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav .has-sub > .sub-toggle::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-3px) rotate(45deg); }
.nav .sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 210px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: none; }
.nav .has-sub:hover > .sub, .nav .has-sub:focus-within > .sub, .nav .has-sub.open > .sub { display: block; }
.nav .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
.nav .sub a { padding: 8px 12px; font-size: 14.5px; }
.nav .sub a:hover { background: var(--mint-soft); }
.menu-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; fill: currentColor; }

/* ---------- abertura (home) ---------- */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--teal-deep) center 30%/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,52,50,.78) 0%, rgba(24,52,50,.45) 50%, rgba(24,52,50,.08) 100%), linear-gradient(180deg, rgba(24,52,50,0) 50%, rgba(24,52,50,.55) 100%); }
.video-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; }
.video-bg.ready { opacity: 1; }
/* ampliado para esconder o título e a marca do YouTube nas bordas */
.video-bg iframe { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; transform: translate(-50%, -50%) scale(1.35); border: 0; }
/* cobre o bloco inteiro em qualquer proporção (16:9 recortado), não só a tela */
@supports (width: 1cqw) {
  .video-bg { container-type: size; }
  .video-bg iframe { width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); min-width: 0; min-height: 0; }
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.hero-video.ready { opacity: 1; }
.hero-toggle { position: absolute; z-index: 3; right: max(24px, calc((100% - var(--wrap)) / 2)); bottom: clamp(20px, 4vh, 36px); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55); background: rgba(24,52,50,.35); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.hero-toggle[hidden] { display: none; }
.hero-toggle:hover { background: rgba(24,52,50,.6); border-color: #fff; }
.hero-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.hero-toggle .i-play, .hero-toggle.is-paused .i-pause { display: none; }
.hero-toggle.is-paused .i-play { display: block; }
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vh, 88px); }
.hero-text { max-width: 720px; }
.hero .pre { font-size: 18px; color: var(--mint); margin: 0 0 6px; }
.hero h1 { font-family: var(--font-display); font-weight: 400; color: #fff; font-size: clamp(44px, 6.4vw, 88px); line-height: 1.02; margin: 0 0 22px; }
.hero .mission { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: rgba(255,255,255,.9); max-width: 58ch; margin: 0 0 30px; }

/* ---------- seções ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.tint { background: var(--mint-soft); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { margin: 10px 0 0; color: var(--muted); max-width: 60ch; }

/* apresentação */
.intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro .statement { font-size: clamp(21px, 2vw, 26px); line-height: 1.5; color: var(--ink); margin: 0; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 32px; margin: 0; }
.facts div { border-top: 1px solid var(--line); padding-top: 14px; }
.facts dt { font-family: var(--font-display); font-size: 34px; color: var(--teal); line-height: 1.1; }
.facts dd { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(56px, 7vw, 88px); }
.pillar { text-decoration: none; color: var(--ink); display: block; }
.pillar img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--radius); margin-bottom: 18px; }
.pillar h3 { font-size: 20px; margin: 0 0 8px; color: var(--teal-deep); }
.pillar p { color: var(--muted); font-size: 15.5px; margin: 0 0 12px; }
.pillar span { font-weight: 600; font-size: 15px; color: var(--teal); border-bottom: 1px solid var(--line); }
.pillar:hover h3 { color: var(--teal); }
.pillar:hover span { border-color: var(--teal); }
.pillars-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.pillars-2 .pillar img { aspect-ratio: 16 / 9; }

/* canal Mensagens da Terra */
.channel { position: relative; color: #fff; background: var(--teal-deep) center/cover no-repeat; overflow: hidden; }
.channel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,71,68,.94) 0%, rgba(31,71,68,.82) 45%, rgba(31,71,68,.35) 100%); }
.channel .wrap { position: relative; z-index: 2; padding: clamp(80px, 11vw, 140px) 0; }
.channel .text { max-width: 540px; }
.channel .pre { color: var(--mint); margin: 0 0 12px; }
.channel h2 { font-family: var(--font-display); font-weight: 400; color: #fff; font-size: clamp(34px, 4vw, 52px); margin: 0 0 20px; }
.channel p { color: rgba(255,255,255,.88); }
.channel .btn { margin-top: 12px; }
.channel-video::after { background: linear-gradient(90deg, rgba(31,71,68,.42) 0%, rgba(31,71,68,.3) 45%, rgba(31,71,68,.22) 100%); }
.channel-video .text { text-shadow: 0 1px 16px rgba(14,34,32,.65), 0 0 2px rgba(14,34,32,.4); }
.channel .btn { text-shadow: none; }
.channel-latest { background: var(--teal-deep); color: #fff; padding: 8px 0 clamp(56px, 7vw, 88px); }
.channel-latest h3 { font-size: 15px; font-weight: 600; color: var(--mint); margin: 0 0 20px; padding-top: 28px; border-top: 1px solid rgba(222,240,238,.18); }
.video-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.video-list a { display: grid; gap: 10px; color: #fff; text-decoration: none; }
.video-list .thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: rgba(255,255,255,.08); }
.video-list img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.video-list a:hover img { transform: scale(1.03); }
.video-list a:hover .v-title { text-decoration: underline; text-underline-offset: 3px; }
.video-list .v-title { font-weight: 500; font-size: 16px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.video-list time { font-size: 14px; color: rgba(222,240,238,.7); }
.video-list .thumb { position: relative; }
.video-list .play { position: absolute; left: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; background: rgba(31,71,68,.88); display: grid; place-items: center; transition: background .2s ease, transform .2s ease; }
.video-list .play svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; transition: fill .2s ease; }
.video-list a:hover .play, .video-list a:focus-visible .play { background: #fff; transform: scale(1.06); }
.video-list a:hover .play svg, .video-list a:focus-visible .play svg { fill: var(--teal-deep); }
.video-list a:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; border-radius: var(--radius); }

/* ---------- player de vídeo ---------- */
.video-modal { border: 0; padding: 0; margin: auto; background: transparent; color: #fff; overflow: visible;
  width: min(1120px, 92vw, calc((100vh - 170px) * 16 / 9)); max-width: none; max-height: none; }
.video-modal::backdrop { background: rgba(13, 32, 30, .88); }
.video-modal[open] { animation: video-in .22s ease-out; }
@keyframes video-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.video-modal-box { display: grid; gap: 14px; }
.video-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.video-modal-title { margin: 0; font-family: inherit; font-size: 17px; font-weight: 500; line-height: 1.45; color: #fff; }
.video-modal-close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.video-modal-close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.video-modal-close:hover { background: rgba(255,255,255,.14); }
.video-modal-close:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.video-modal-frame { aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-modal-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-modal-yt { justify-self: start; font-size: 14px; color: var(--mint); }
.video-modal-yt:hover { color: #fff; }
html.video-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .video-modal[open] { animation: none; } .video-list .play, .video-list .play svg { transition: none; } }
@media (max-width: 860px) { .video-list { gap: 20px; } .video-list .v-title { font-size: 15px; } }
@media (max-width: 560px) { .video-list { grid-template-columns: 1fr; gap: 28px; } }
@media (prefers-reduced-motion: reduce) { .video-list img { transition: none; } }

/* livros */
.shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
.shelf a { text-decoration: none; color: var(--ink); }
.shelf img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; border-radius: 2px; background: var(--mint); box-shadow: 0 1px 0 var(--line); }
.shelf span { display: block; margin-top: 12px; font-size: 15px; font-weight: 500; line-height: 1.35; }
.shelf a:hover span { color: var(--teal); }

/* apoio */

/* ---------- listas de cartões ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 48px 32px; }
.grid-cards.three { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card .thumb { aspect-ratio: 3 / 2; background: var(--mint) url('/images/favicon.png') center/40px no-repeat; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 19px; margin: 0; line-height: 1.3; color: var(--teal-deep); }
.card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.card:hover h3 { color: var(--teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.meta { font-size: 14px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; }
.tag { font-size: 13px; color: var(--teal); }

/* filtros */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 44px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 7px 14px; border-radius: 99px; font: 500 14px var(--font-body); cursor: pointer; text-decoration: none; }
.chip:hover { border-color: var(--teal); color: var(--teal); }
.chip.active, .chip[aria-current="page"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip small { opacity: .7; margin-left: 2px; }
.filters .count { margin-left: auto; color: var(--muted); font-size: 14px; }
.search { display: flex; margin-left: auto; }
.search input { border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; font: 15px var(--font-body); min-width: 240px; color: var(--ink); }

/* ---------- topo das páginas internas ---------- */
.page-hero { background: var(--mint-soft); padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-family: var(--font-display); font-weight: 400; color: var(--teal-deep); font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; margin: 0; max-width: 20ch; }
.page-hero.long h1 { font-size: clamp(28px, 3.4vw, 44px); max-width: 28ch; }
.page-hero .lead { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; max-width: 62ch; margin: 18px 0 0; }
.crumbs { font-size: 14px; margin-bottom: 18px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal); }
.crumbs span { margin: 0 8px; opacity: .5; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 20px; font-size: 14.5px; color: var(--muted); }

/* ---------- conteúdo ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 720px) 280px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.layout.single { grid-template-columns: minmax(0, 760px); }
.cover { margin: 0 0 40px; }
.cover img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; font-size: 15px; }
.aside dl { margin: 0; display: grid; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.aside dt { font-size: 13px; color: var(--muted); }
.aside dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; }
.aside .btn { justify-content: center; }
.aside-box { background: var(--mint-soft); border-radius: var(--radius); padding: 22px; font-size: 15px; }
.aside-box h3 { font-size: 16px; margin: 0 0 8px; color: var(--teal-deep); }

.prose { font-size: 17.5px; line-height: 1.78; overflow-wrap: anywhere; }
.prose > p:first-child, .prose p.lead { font-size: 1.2em; line-height: 1.6; color: var(--ink); }
.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); color: var(--teal-deep); margin: 2em 0 .6em; }
.prose h3 { font-size: 19px; margin: 1.7em 0 .5em; color: var(--teal-deep); }
.prose h4 { font-size: 17px; margin: 1.4em 0 .4em; }
.prose img { border-radius: var(--radius); margin: 1.6em auto; }
.prose figure { margin: 1.8em 0; }
.prose figure img { margin: 0 auto; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--teal); color: var(--teal-deep); font-size: 1.08em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--teal); }
.prose ul.columns { columns: 3 200px; column-gap: 28px; padding: 0; list-style: none; font-size: 15px; }
.prose ul.columns li { break-inside: avoid; padding: 4px 0; border-bottom: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.6em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin: 1.8em 0; }
.prose .gallery img { margin: 0; aspect-ratio: 1; object-fit: cover; width: 100%; height: 100%; }
.prose .note { background: var(--mint-soft); padding: 18px 22px; border-radius: var(--radius); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.embed { position: relative; aspect-ratio: 16 / 9; margin: 1.8em 0; background: var(--teal-deep); border-radius: var(--radius); overflow: hidden; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-tall { aspect-ratio: 4 / 3; background: var(--mint-soft); }

.related { margin-top: clamp(64px, 8vw, 96px); padding-top: 48px; border-top: 1px solid var(--line); }
.related .h-section { margin-bottom: 32px; font-size: clamp(24px, 2.4vw, 30px); }

/* notícias */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-nav a { text-decoration: none; display: block; color: var(--teal-deep); font-weight: 500; }
.post-nav small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; margin-bottom: 4px; }
.post-nav .next { text-align: right; }

/* paginação */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 64px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius); text-decoration: none; border: 1px solid var(--line); font-weight: 500; font-size: 14px; color: var(--ink); }
.pagination a:hover { border-color: var(--teal); color: var(--teal); }
.pagination .current { background: var(--teal); color: #fff; border-color: var(--teal); }
.pagination .disabled { opacity: .4; }

/* biblioteca */
.lib-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 56px; }
.collection { margin-bottom: 80px; scroll-margin-top: calc(var(--header-h) + 24px); }
.collection:last-child { margin-bottom: 0; }
.collection h2 { font-family: var(--font-display); font-weight: 400; color: var(--teal-deep); font-size: clamp(24px, 2.4vw, 30px); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 44px 28px; }
.book .cover-img { aspect-ratio: 1; background: var(--mint); border-radius: 2px; overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.book .cover-img img { width: 100%; height: 100%; object-fit: cover; }
.book h3 { font-size: 15.5px; font-weight: 600; margin: 14px 0 8px; line-height: 1.35; }
.book .dl { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.book .dl a { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.book .dl a:hover { border-color: var(--teal); }

/* linha do tempo */
.tl-filter { display: flex; gap: 8px; margin-bottom: 40px; }
.tl-year { display: grid; grid-template-columns: 120px 1fr; gap: 40px; padding: 28px 0; border-top: 1px solid var(--line); }
.tl-year > h2 { font-family: var(--font-display); font-weight: 400; font-size: 26px; color: var(--teal); margin: 0; position: sticky; top: calc(var(--header-h) + 20px); align-self: start; line-height: 1.15; }
.tl-items { display: grid; gap: 22px; max-width: 760px; }
.tl-item { font-size: 16px; line-height: 1.7; }
.tl-item h3 { font-size: 17px; margin: 0 0 4px; color: var(--teal-deep); }
.tl-item.premio { padding-left: 16px; border-left: 2px solid var(--coral); }
.tl-item .type { display: block; font-size: 13px; font-weight: 600; color: var(--coral); margin-bottom: 2px; }
.tl-item p { margin: 0; }

/* transparência */
.docs { list-style: none; padding: 0; margin: 0; }
.docs li { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.docs .year { font-family: var(--font-display); color: var(--teal); font-size: 22px; }
.docs .title { font-weight: 500; }

/* ---------- rodapé ---------- */
.site-footer { background: var(--teal-deep); color: var(--mint); font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding: 72px 0 56px; }
.site-footer img { height: 46px; width: auto; margin-bottom: 20px; }
.site-footer p { color: rgba(222,240,238,.8); max-width: 34ch; }
.site-footer h3 { font-size: 15px; color: #fff; margin: 6px 0 16px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: rgba(222,240,238,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.bottombar { border-top: 1px solid rgba(222,240,238,.15); }
.bottombar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; flex-wrap: wrap; }
.bottombar p { margin: 0; font-size: 14px; color: rgba(222,240,238,.7); max-width: none; }
.social { display: flex; gap: 18px; align-items: center; }
.social svg { width: 18px; height: 18px; fill: currentColor; display: block; }

/* sem animações de entrada por bloco */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .video-bg, .hero-video { display: none; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 24px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; border-top: 1px solid var(--line); }
  .site-header.menu-open .nav { transform: none; }
  .nav > ul { flex-direction: column; margin-right: 0; }
  .nav a, .nav button.sub-toggle { font-size: 18px; padding: 14px 4px; width: 100%; text-align: left; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .sub { position: static; border: 0; padding: 0 0 0 16px; }
  .nav .has-sub:hover > .sub { display: none; }
  .nav .has-sub.open > .sub, .nav .has-sub.open:hover > .sub { display: block; }
  .layout { grid-template-columns: 1fr; }
  .aside { position: static; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .grid-cards.three { grid-template-columns: repeat(2, 1fr); }
  .shelf { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 36px, var(--wrap)); }
  .intro { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 40px; }
  .grid-cards.three { grid-template-columns: 1fr; }
  .shelf { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .channel::after { background: rgba(31,71,68,.88); }
  .channel-video::after { background: rgba(31,71,68,.38); }
  .tl-year { grid-template-columns: 1fr; gap: 12px; }
  .tl-year > h2 { position: static; }
  .post-nav { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 36px; }
  .search { margin-left: 0; width: 100%; }
  .search input { flex: 1; min-width: 0; }
  .filters .count { margin-left: 0; width: 100%; }
  .docs li { grid-template-columns: 56px 1fr; }
  .docs li .btn { grid-column: 2; justify-self: start; }
}

/* ---------- transparência ---------- */
.transparency { min-width: 0; }
.t-head { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); color: var(--teal-deep); margin: 0 0 10px; }
.t-head:not(:first-child) { margin-top: 80px; }
.t-intro { color: var(--muted); max-width: 62ch; margin: 0 0 12px; }
.docs small { font-weight: 400; color: var(--muted); }
.pact { border-top: 1px solid var(--line); padding: 32px 0 36px; }
.pact header { margin-bottom: 20px; }
.pact-meta { font-size: 14px; color: var(--muted); margin: 0 0 6px; }
.pact-meta span { margin: 0 6px; opacity: .5; }
.pact h3 { font-size: 21px; margin: 0 0 4px; color: var(--teal-deep); }
.pact h3 a { color: inherit; text-decoration: none; }
.pact h3 a:hover { text-decoration: underline; }
.pact-instrument { margin: 0; font-weight: 500; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.pact-status { font-size: 13px; font-weight: 600; color: var(--teal-deep); background: var(--mint); border-radius: 99px; padding: 2px 11px; }
.pact-data { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; margin: 0; }
.pact-data .wide { grid-column: 1 / -1; }
.pact-data dt { font-size: 13px; color: var(--muted); }
.pact-data dd { margin: 2px 0 0; font-size: 15.5px; line-height: 1.6; }
.pact-data dd small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.pact-data .small dd { font-size: 13.5px; color: var(--muted); }
.tbd { color: var(--muted); font-style: italic; }
.pact-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 28px; }
.pact-team { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-top: 4px; }
.pact-team th, .pact-team td { text-align: left; padding: 7px 12px 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.pact-team thead th { font-size: 13px; color: var(--muted); font-weight: 500; }
.pact-team td:nth-child(2) { color: var(--muted); }
.pact-team .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-right: 0; }
.pact-team tfoot th, .pact-team tfoot td { font-weight: 600; border-bottom: 0; }
.pact-docs { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 15px; }
.pact-docs a { display: inline-flex; gap: 7px; align-items: center; font-weight: 500; }
.pact-docs svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 760px) {
  .pact-data { grid-template-columns: 1fr 1fr; }
  .pact-list { grid-template-columns: 1fr; }
  .pact-team td:nth-child(2), .pact-team th:nth-child(2) { display: none; }
  .pact-team tfoot th { display: table-cell; }
}

/* ---------- prêmios e parceiros ---------- */
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 20px 0 0; font-weight: 500; }
.aw-highlights { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; }
.aw-highlights li { border-top: 2px solid var(--teal); padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.aw-highlights .aw-year { font-family: var(--font-display); font-size: 34px; color: var(--teal); line-height: 1; }
.aw-highlights h3 { font-size: 18px; line-height: 1.4; margin: 10px 0 0; color: var(--teal-deep); }
.aw-chip { display: inline-block; vertical-align: 2px; font: 600 12.5px var(--font-body); color: var(--teal-deep); background: var(--mint); border-radius: 99px; padding: 2px 10px; white-space: nowrap; }
.aw-highlights .aw-chip { align-self: flex-start; }
.aw-org { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.aw-desc { margin: 0; font-size: 15px; line-height: 1.6; }
.aw-more { margin-top: auto; padding-top: 8px; font-weight: 500; font-size: 15px; }
.aw-count { margin: 0; color: var(--muted); }
.aw-list { margin-top: 28px; }
.aw-row { display: grid; grid-template-columns: 120px 1fr; gap: 40px; padding: 24px 0; border-top: 1px solid var(--line); }
.aw-row > h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; color: var(--teal); margin: 0; line-height: 1.15; }
.aw-row ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; max-width: 760px; }
.aw-title { margin: 0; font-weight: 600; font-size: 16.5px; line-height: 1.45; color: var(--ink); }
.aw-row .aw-desc { margin-top: 3px; }
.pt-head { font-size: 15px; font-weight: 600; color: var(--muted); margin: 48px 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pt-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 40px; }
.pt-name { margin: 0; font-weight: 600; font-size: 16.5px; color: var(--teal-deep); }
.pt-name a { color: inherit; }
.pt-name span { display: block; font-weight: 500; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.pt-desc { margin: 6px 0 0; font-size: 14.5px; line-height: 1.6; }
.recognition .aw-rows { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.aw-rows li { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; border-top: 2px solid var(--teal); padding-top: 16px; }
.aw-rows .aw-year { font-family: var(--font-display); font-size: 28px; color: var(--teal); line-height: 1.1; }
.aw-rows .aw-org { margin-top: 4px; }
.pt-strip-more { margin: 16px 0 0; font-size: 15px; font-weight: 500; }
.tl-note { margin: 0 0 18px; color: var(--muted); }
@media (max-width: 900px) { .aw-highlights, .pt-grid, .recognition .aw-rows { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .aw-highlights, .pt-grid, .recognition .aw-rows { grid-template-columns: 1fr; }
  .aw-row { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- faixa de parceiros (desliza para os lados) ---------- */
.pt-carousel { margin-top: 64px; }
.pt-strip-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.pt-strip-head { font-size: 15px; font-weight: 600; color: var(--muted); margin: 0; }
.pt-arrows { display: flex; gap: 8px; }
.pt-carousel.no-overflow .pt-arrows { display: none; }
.pt-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--teal-deep); display: grid; place-items: center; cursor: pointer; transition: background .2s ease, border-color .2s ease, opacity .2s ease; }
.pt-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pt-arrow:hover:not(:disabled) { background: var(--mint-soft); border-color: var(--teal); }
.pt-arrow:disabled { opacity: .35; cursor: default; }
.pt-arrow:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.pt-track { --fade-l: 0px; --fade-r: 72px; list-style: none; margin: 0; padding: 30px 2px; display: flex; align-items: center; gap: clamp(44px, 5vw, 76px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%); }
.pt-track::-webkit-scrollbar { display: none; }
.pt-carousel:not(.at-start) .pt-track { --fade-l: 72px; }
.pt-carousel.at-end .pt-track { --fade-r: 0px; }
.pt-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.pt-track.dragging a { pointer-events: none; }
.pt-track:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.pt-track li { flex: none; scroll-snap-align: start; }
.pt-track a { display: block; color: var(--muted); text-decoration: none; transition: color .2s ease; -webkit-user-drag: none; }
.pt-track a:hover, .pt-track a:focus-visible { color: var(--teal-deep); }
.pt-mark { position: relative; display: inline-block; vertical-align: middle; line-height: 0; }
.pt-mark img { display: block; height: var(--h, 40px); width: auto; max-width: 220px; object-fit: contain; filter: grayscale(1); opacity: .7; user-select: none; }
.pt-ink { display: none; }
@supports ((mask-image: none) or (-webkit-mask-image: none)) {
  .pt-mark img { opacity: 0; }
  .pt-ink { display: block; position: absolute; inset: 0; background: currentColor;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
}
.pt-word { display: block; font-weight: 700; font-size: 17px; line-height: 1.2; white-space: nowrap; letter-spacing: -.01em; }
.pt-logo { margin-bottom: 14px; color: var(--teal-deep); }
@media (max-width: 600px) { .pt-arrows { display: none; } .pt-track { --fade-r: 48px; } .pt-carousel:not(.at-start) .pt-track { --fade-l: 48px; } }
@media (prefers-reduced-motion: reduce) { .pt-track a, .pt-arrow { transition: none; } }

/* âncoras não ficam escondidas atrás do cabeçalho fixo */
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- página inicial, opção 02: uma faixa por assunto ---------- */
/* A Thydêwá: três portas com foto */
.doors { padding: clamp(56px, 7vw, 96px) 0; }
.doors-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.door { position: relative; display: block; aspect-ratio: 1 / 1; max-height: 620px; width: 100%; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; background: var(--teal-deep); }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,71,68,0) 30%, rgba(31,71,68,.9) 100%); transition: background-color .3s ease; }
.door:hover::after { background-color: rgba(31,71,68,.18); }
.door-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(20px, 2.4vw, 32px); }
.door h2 { font-family: var(--font-display); font-weight: 400; color: #fff; font-size: clamp(26px, 2.5vw, 34px); margin: 0 0 8px; }
.door p { color: rgba(255,255,255,.9); font-size: 15.5px; line-height: 1.55; margin: 0 0 16px; max-width: 34ch; }
.door-link { font-weight: 600; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.55); padding-bottom: 2px; }
.door:hover .door-link { border-color: #fff; }
.door:hover, .door:hover h2 { color: #fff; }
.door:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* Projetos: o fundo da faixa do canal vira um mosaico com as fotos dos projetos */
.band-projects { background-image: none; }
.band-mosaic { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(3, 1fr); gap: 2px; background: var(--teal-deep); }
.band-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.band-projects::after { background: linear-gradient(90deg, rgba(31,71,68,.95) 0%, rgba(31,71,68,.86) 42%, rgba(31,71,68,.42) 100%); }

/* Livros: capas na prateleira */
.band-books { background: var(--mint); padding: clamp(64px, 8vw, 104px) 0; overflow: hidden; }
.band-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.band-books .pre, .news-band .pre { color: var(--teal); font-size: 16px; margin: 0 0 12px; }
.band-books h2, .news-band h2 { font-family: var(--font-display); font-weight: 400; color: var(--teal-deep); font-size: clamp(34px, 4vw, 52px); margin: 0 0 20px; }
.band-books .text p:not(.pre), .news-band .text p:not(.pre) { max-width: 46ch; }
.band-books .btn, .news-band .btn { margin-top: 12px; }
.shelf-row { --shelf-h: clamp(150px, 14vw, 210px); min-width: 0; margin-right: calc(-1 * max(24px, (100vw - var(--wrap)) / 2)); display: flex; align-items: flex-end; gap: clamp(10px, 1.2vw, 16px); border-bottom: 4px solid var(--teal-deep); padding: 0 8px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.nowrap { white-space: nowrap; }
.shelf-row img { height: var(--shelf-h); width: auto; max-width: calc(var(--shelf-h) * .78); object-fit: cover; border-radius: 2px 3px 3px 2px; box-shadow: 0 1px 2px rgba(31,71,68,.18); flex: none; }
.shelf-row img:nth-child(3n+2) { height: calc(var(--shelf-h) * .88); }
.shelf-row img:nth-child(3n) { height: calc(var(--shelf-h) * .94); }

/* Notícias: texto à esquerda, as três últimas como manchetes */
.news-band { background: var(--mint-soft); padding: clamp(64px, 8vw, 104px) 0; }
.news-band .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li + li { border-top: 1px solid var(--line); }
.news-list li:first-child a { padding-top: 0; }
.news-list a { display: grid; grid-template-columns: minmax(120px, 220px) 1fr; gap: clamp(16px, 2vw, 28px); align-items: center; padding: 22px 0; color: var(--ink); text-decoration: none; }
.news-list .thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--mint); }
.news-list img { width: 100%; height: 100%; object-fit: cover; }
.news-list time { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.news-list .n-title { display: block; font-weight: 600; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.35; color: var(--teal-deep); }
.news-list a:hover .n-title { text-decoration: underline; text-underline-offset: 3px; }
.news-list a:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }

@media (max-width: 1080px) {
  .band-split, .news-band .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .doors-grid { grid-template-columns: 1fr; }
  .door { aspect-ratio: auto; min-height: 340px; }
  .door::after { background: linear-gradient(180deg, rgba(31,71,68,.2) 0%, rgba(31,71,68,.92) 72%); }
  .band-mosaic { grid-template-columns: repeat(3, 1fr); }
  .band-mosaic img:nth-child(n+10) { display: none; }
  .band-projects::after { background: rgba(31,71,68,.86); }
  .shelf-row { --shelf-h: 150px; overflow: hidden; }
  .news-list a { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; }
  .news-list .thumb { aspect-ratio: 16 / 9; }
}

/* ---------- página inicial, opção 03 ---------- */
/* imagens com cantos arredondados */
.home-v3 { --radius-img: 16px; }
.home-v3 .pillar img, .home-v3 .news-list .thumb { border-radius: var(--radius-img); }

/* Projetos: a colagem de fundo e o véu verde por cima, mais escuro atrás do texto */
.home-v3 .band-projects { background: var(--teal-deep); }
.home-v3 .band-projects::after { z-index: 1; background: linear-gradient(90deg, rgba(31,71,68,.95) 0%, rgba(31,71,68,.86) 40%, rgba(31,71,68,.42) 66%, rgba(31,71,68,.18) 100%); }
.home-v3 .band-projects .text { text-shadow: 0 1px 12px rgba(20,48,46,.45); }
.band-collage { min-height: min(41vw, 660px); display: flex; align-items: center; }
.collage { position: absolute; inset: 0; }
.collage img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Livros: prateleira rústica de madeira, com os livros de capa para a frente */
.band-books-rustic .band-split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; }
.rustic-shelf { --shelf-h: clamp(136px, 12vw, 170px); position: relative; min-width: 0; width: fit-content; max-width: 100%; justify-self: center; padding-bottom: 24px; }
.rs-row { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: clamp(10px, 1.1vw, 16px); padding: 0 clamp(24px, 3vw, 44px); margin-bottom: -6px; }
.rs-book { position: relative; flex: none; height: var(--shelf-h); aspect-ratio: var(--r, .68); filter: drop-shadow(7px 3px 6px rgba(52,36,20,.32)); }
.rs-book.is-square { height: calc(var(--shelf-h) * .8); }
.rs-row > .rs-book:nth-child(2) { height: calc(var(--shelf-h) * .92); }
/* um livro encostado no vizinho */
.rs-row > .rs-book:nth-child(3) { transform-origin: 0 100%; transform: rotate(-5deg); margin-left: 12px; }
.rs-book img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px 4px 4px 2px; }
/* dobra da lombada e brilho do papel */
.rs-book::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 2px 4px 4px 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.32) 0, rgba(0,0,0,.14) 2.5%, rgba(255,255,255,.3) 4%, rgba(255,255,255,0) 7%, rgba(0,0,0,.08) 9%, rgba(0,0,0,0) 13%),
              linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 45%, rgba(0,0,0,.1)); }
/* folhas aparecendo do lado */
.rs-book::after { content: ""; position: absolute; top: 3px; bottom: 2px; right: -5px; width: 5px; border-radius: 0 2px 2px 0;
  background: repeating-linear-gradient(90deg, #f7f2e6 0 1px, #d8cdb6 1px 2px); }
/* no fim: três livros em pé, um na frente do outro, sinal de que a coleção continua */
.rs-more { flex: none; margin-left: clamp(14px, 2vw, 30px); display: flex; align-items: flex-end; padding-right: 6px; }
.rs-more .rs-book { height: var(--shelf-h); }
.rs-more .rs-book + .rs-book { margin-left: calc(var(--shelf-h) * -.5); }
.rs-more .rs-book:nth-child(2) { height: calc(var(--shelf-h) * .9); }
.rs-more .rs-book:nth-child(3) { height: calc(var(--shelf-h) * .8); }
.rs-more .rs-book:nth-child(1) img { filter: brightness(.82) saturate(.9); }
.rs-more .rs-book:nth-child(2) img { filter: brightness(.92); }
/* tábua: tampo visto de cima, frente com veios e sombra na parede */
.rs-plank { position: relative; z-index: 1; height: 30px; border-radius: 3px 3px 4px 4px;
  background: linear-gradient(180deg, rgba(255,230,190,.16), rgba(0,0,0,0) 40%, rgba(0,0,0,.24)),
              url('/images/grafismo-madeira.svg') 0 0 / 40px 30px repeat-x,
              url('/images/madeira.jpg') 0 -22px / 1400px 72px, #7d4f2c;
  box-shadow: 0 16px 22px -12px rgba(52,36,20,.55), inset 0 -3px 0 rgba(0,0,0,.18), inset 0 1px 0 rgba(255,228,190,.35); }
.rs-plank::before { content: ""; position: absolute; left: 4px; right: 4px; bottom: 100%; height: 12px;
  background: linear-gradient(180deg, rgba(255,236,205,.34), rgba(255,236,205,.12)), url('/images/madeira.jpg') -300px 0 / 1400px 36px, #a3703f; clip-path: polygon(1.2% 0, 98.8% 0, 100% 100%, 0 100%); }

@media (max-width: 1080px) {
  .band-books-rustic .band-split { grid-template-columns: 1fr; }
  .rustic-shelf { justify-self: start; }
}
@media (max-width: 760px) {
  /* no celular: a versão em pé da colagem de fundo, véu por igual */
  .home-v3 .band-projects::after { background: rgba(31,71,68,.78); }
  .band-collage { min-height: 0; }
  .collage img { object-position: center 30%; }
  .rustic-shelf { --shelf-h: 104px; }
  .rs-row { padding: 0 14px; gap: 8px; }
  .rs-row > .rs-book:nth-child(n+3) { display: none; }
  /* cartões institucionais em linha: foto pequena à esquerda, texto à direita */
  .home-v3 .pillars { gap: 20px; }
  .home-v3 .pillar { display: grid; grid-template-columns: 104px 1fr; column-gap: 16px; align-items: start; }
  .home-v3 .pillar img { grid-row: 1 / span 3; aspect-ratio: 1; margin: 0; border-radius: 12px; }
  .home-v3 .pillar h3 { font-size: 18px; margin: 2px 0 4px; }
  .home-v3 .pillar p { font-size: 15px; margin: 0 0 8px; }
  .home-v3 .pillar span { justify-self: start; }
}
