/* =====================================================================
   SINTERP-MA — Site
   Identidade: vermelho SINTERP, azul e preto da marca, tipografia condensada.
   ===================================================================== */
@view-transition { navigation: auto; }

:root {
  --red: #D7261E;
  --red-600: #C11D16;
  --red-700: #9C1510;
  --red-900: #3E0805;
  --red-50: #FDF0EF;
  --blue: #0095DB;
  --ink: #15120F;
  --ink-2: #211D19;
  --ink-3: #35302B;
  --paper: #F6F3EE;
  --paper-2: #ECE7DF;
  --card: #FFFFFF;
  --text: #1B1714;
  --muted: #625B54;
  --line: rgba(21, 18, 15, .10);
  --line-2: rgba(21, 18, 15, .18);
  --wa: #1FAF54;

  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --sans: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1280px;
  --gutter: clamp(16px, 4.2vw, 40px);
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.7, 0, .84, 0);
  --shadow-1: 0 1px 2px rgba(21,18,15,.06), 0 4px 14px rgba(21,18,15,.06);
  --shadow-2: 0 2px 6px rgba(21,18,15,.06), 0 18px 48px -12px rgba(21,18,15,.22);
  --shadow-red: 0 14px 34px -12px rgba(215,38,30,.55);
  --header-h: 72px;
  --appbar-h: 0px;
  --prose-scale: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; padding-bottom: var(--appbar-h);
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 999; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 16px; }
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: initial; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografia utilitária ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--red);
}
.kicker::before { content: ""; width: 26px; height: 3px; background: currentColor; border-radius: 3px; }
.kicker-light { color: #fff; }
.kicker-light::before { background: var(--red); }
.section { padding-block: clamp(56px, 9vw, 112px); position: relative; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(24px, 4vw, 44px); }
.section-title {
  font: 800 clamp(2.3rem, 6.4vw, 4.4rem)/.92 var(--display); text-transform: uppercase; letter-spacing: -.01em; margin-top: 12px;
}
.section-title em { font-style: normal; color: var(--red); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); padding: 10px 0; border-bottom: 2px solid var(--red); }
.link-arrow i { transition: transform .35s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg); font: 700 1rem/1 var(--sans); letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-red { --bg: var(--red); box-shadow: var(--shadow-red); }
.btn-red:hover { --bg: var(--red-600); }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-outline-light { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.btn-outline-light:hover { --bg: rgba(255,255,255,.1); }
.btn-outline { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-outline:hover { --bg: var(--ink); --fg: #fff; }
.btn-wa { --bg: var(--wa); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn-lg { min-height: 56px; padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: currentColor; opacity: .28; animation: ripple .65s var(--ease) forwards; pointer-events: none; z-index: -1; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

.icon-btn {
  width: 44px; height: 44px; border-radius: 14px; display: inline-grid; place-items: center; flex-shrink: 0;
  color: var(--ink); background: transparent; transition: background .25s, transform .25s var(--ease);
}
.icon-btn:hover { background: rgba(21,18,15,.06); }
.icon-btn:active { transform: scale(.92); }
.icon-btn-light { color: #fff; background: rgba(255,255,255,.08); }
.icon-btn-light:hover { background: rgba(255,255,255,.16); }

/* ---------- INTRO ---------- */
.intro { display: none; }
.has-intro .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  animation: introOut .01s linear 2.35s forwards;
}
.intro-curtain { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.intro-curtain span { background: var(--red); animation: curtainUp .9s var(--ease) forwards; }
.intro-curtain span:nth-child(1) { animation-delay: 1.35s; }
.intro-curtain span:nth-child(2) { animation-delay: 1.45s; background: var(--red-600); }
.intro-curtain span:nth-child(3) { animation-delay: 1.55s; }
.intro-core { position: relative; display: grid; justify-items: center; gap: 14px; color: #fff; text-align: center; padding: 24px; animation: coreOut .5s var(--ease-in) 1.2s forwards; }
.intro-mark { width: 92px; height: 92px; border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,.3); animation: markIn .9s var(--ease) both; }
.intro-word { display: flex; font: 900 clamp(3.2rem, 14vw, 6.5rem)/.9 var(--display); letter-spacing: .01em; overflow: hidden; padding-bottom: .05em; }
.intro-word span, .intro-word em { display: inline-block; font-style: normal; transform: translateY(105%); animation: letterUp .7s var(--ease) forwards; }
.intro-word em { color: var(--ink); margin-left: .05em; }
.intro-word span:nth-child(1) { animation-delay: .25s; } .intro-word span:nth-child(2) { animation-delay: .29s; }
.intro-word span:nth-child(3) { animation-delay: .33s; } .intro-word span:nth-child(4) { animation-delay: .37s; }
.intro-word span:nth-child(5) { animation-delay: .41s; } .intro-word span:nth-child(6) { animation-delay: .45s; }
.intro-word span:nth-child(7) { animation-delay: .49s; } .intro-word em { animation-delay: .6s; }
.intro-tag { font: 600 .82rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: 0; animation: fadeIn .6s ease .75s forwards; }
.intro-bar { width: min(240px, 60vw); height: 3px; background: rgba(255,255,255,.25); border-radius: 3px; overflow: hidden; }
.intro-bar i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); animation: barFill 1s var(--ease) .2s forwards; }
@keyframes curtainUp { to { transform: translateY(-101%); } }
@keyframes coreOut { to { opacity: 0; transform: translateY(-24px) scale(.96); } }
@keyframes markIn { from { opacity: 0; transform: scale(.4) rotate(-25deg); } to { opacity: 1; transform: none; } }
@keyframes letterUp { to { transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes barFill { to { transform: scaleX(1); } }
@keyframes introOut { to { visibility: hidden; } }
.has-intro body { overflow: hidden; }
.has-intro.intro-done body { overflow: auto; }

/* ---------- TICKER ---------- */
.ticker { display: flex; align-items: stretch; background: var(--ink); color: #fff; font-size: .88rem; position: relative; z-index: 60; height: 38px; }
.ticker-label { display: flex; align-items: center; gap: 8px; padding: 0 14px 0 var(--gutter); background: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; flex-shrink: 0; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); padding-right: 22px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
.ticker-viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; width: max-content; height: 100%; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; }
.ticker-item { padding: 0 26px; white-space: nowrap; position: relative; color: rgba(255,255,255,.88); transition: color .2s; }
.ticker-item::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--red); transform: rotate(45deg); }
a.ticker-item:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(246,243,238,.82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent; transition: transform .45s var(--ease), box-shadow .3s, border-color .3s, background .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(21,18,15,.35); background: rgba(255,255,255,.88); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; min-width: 0; flex: 1 1 auto; }
.brand img { height: 38px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; transition: transform .4s var(--ease); }
.brand:hover img { transform: scale(1.02); }
.brand-text { font: 900 1.9rem/1 var(--display); color: var(--red); }
.main-nav { display: none; position: relative; }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-cta { display: none; }
.burger { display: grid; gap: 5px; place-content: center; }
.burger span { width: 22px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(2) { width: 15px; justify-self: end; }

@media (min-width: 768px) {
  :root { --header-h: 84px; }
  .brand img { height: 50px; }
  .header-cta { display: inline-flex; margin-left: 6px; }
}
@media (min-width: 1180px) {
  .brand { flex: 0 1 auto; max-width: 340px; }
  .main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
  .main-nav a { position: relative; padding: 10px 12px; font: 700 .95rem/1 var(--sans); color: var(--ink-3); border-radius: 10px; transition: color .2s; }
  .main-nav a:hover, .main-nav a.is-active { color: var(--ink); }
  .nav-indicator { position: absolute; bottom: 2px; left: 0; height: 3px; width: 0; background: var(--red); border-radius: 3px; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; opacity: 0; }
  .header-actions { margin-left: 12px; }
  .burger { display: none; }
}

/* ---------- BUSCA ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 200; display: flex; justify-content: center; align-items: flex-start; padding: max(12px, env(safe-area-inset-top)) 12px 12px; }
.search-backdrop { position: absolute; inset: 0; background: rgba(21,18,15,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .3s forwards; opacity: 0; }
.search-panel { position: relative; width: min(760px, 100%); margin-top: 6vh; background: #fff; border-radius: 22px; box-shadow: 0 40px 100px -20px rgba(0,0,0,.5); overflow: hidden; animation: panelIn .45s var(--ease) both; max-height: 84vh; display: flex; flex-direction: column; }
@keyframes panelIn { from { opacity: 0; transform: translateY(-18px) scale(.97); } }
.search-form { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 22px; border-bottom: 1px solid var(--line); }
.search-form > i { color: var(--red); font-size: 1.15rem; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; font: 600 1.2rem/1.2 var(--sans); padding: 14px 0; background: transparent; color: var(--ink); }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-form kbd { font: 600 .72rem var(--sans); padding: 4px 8px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--muted); }
.search-results { overflow-y: auto; padding: 14px 14px 18px; overscroll-behavior: contain; }
.search-section + .search-section { margin-top: 16px; }
.search-label { font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 6px 8px 10px; }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 6px; }
.search-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: var(--paper); font-weight: 600; font-size: .92rem; transition: background .2s, color .2s; }
.search-chips a i { color: var(--red); }
.search-chips a:hover { background: var(--ink); color: #fff; }
.search-list a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; transition: background .2s; }
.search-list a:hover, .search-list a.is-focus { background: var(--paper); }
.search-list a > i:first-child { color: var(--muted); width: 18px; text-align: center; }
.search-list a span { flex: 1; font-weight: 600; line-height: 1.35; }
.search-list a small { display: block; color: var(--muted); font-weight: 500; font-size: .82rem; margin-top: 2px; }
.search-list .go { color: var(--red); opacity: 0; transform: translateX(-6px); transition: .25s var(--ease); }
.search-list a:hover .go, .search-list a.is-focus .go { opacity: 1; transform: none; }
.search-thumb { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; background: var(--paper-2); flex-shrink: 0; }
.search-empty { padding: 26px 12px; text-align: center; color: var(--muted); }
.search-all { display: flex; justify-content: center; margin-top: 12px; }
mark { background: rgba(215,38,30,.16); color: inherit; border-radius: 3px; padding: 0; }

/* ---------- MENU OVERLAY ---------- */
.menu-overlay { position: fixed; inset: 0; z-index: 210; background: var(--ink); color: #fff; overflow-y: auto; animation: menuIn .6s var(--ease) both; }
.menu-overlay::before { content: ""; position: fixed; inset: auto -20% -30% auto; width: 80vw; height: 80vw; background: radial-gradient(circle, rgba(215,38,30,.45), transparent 60%); pointer-events: none; }
@keyframes menuIn { from { clip-path: circle(0% at calc(100% - 40px) 40px); } to { clip-path: circle(150% at calc(100% - 40px) 40px); } }
.menu-overlay.is-closing { animation: menuOut .45s var(--ease-in) forwards; }
@keyframes menuOut { to { clip-path: circle(0% at calc(100% - 40px) 40px); } }
.menu-inner { position: relative; min-height: 100%; display: flex; flex-direction: column; padding: max(16px, env(safe-area-inset-top)) var(--gutter) max(28px, env(safe-area-inset-bottom)); }
.menu-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; }
.menu-logo { height: 40px; width: auto; }
.menu-links { display: flex; flex-direction: column; margin: 26px 0; }
.menu-links a { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); opacity: 0; transform: translateY(24px); animation: linkIn .6s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + 120ms); }
.menu-links .n { font: 700 .82rem var(--sans); color: rgba(255,255,255,.45); width: 26px; }
.menu-links .t { font: 800 clamp(2.1rem, 9vw, 3.4rem)/1 var(--display); text-transform: uppercase; flex: 1; transition: transform .35s var(--ease), color .25s; }
.menu-links a > i { color: var(--red); opacity: 0; transform: translateX(-12px); transition: .35s var(--ease); }
.menu-links a:hover .t, .menu-links a.is-active .t { color: var(--red); transform: translateX(8px); }
.menu-links a:hover > i, .menu-links a.is-active > i { opacity: 1; transform: none; }
@keyframes linkIn { to { opacity: 1; transform: none; } }
.menu-foot { margin-top: auto; display: grid; gap: 10px; opacity: 0; animation: linkIn .6s var(--ease) .6s forwards; transform: translateY(20px); }
.menu-social { display: flex; gap: 10px; justify-content: center; margin-top: 8px; }
.menu-social a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); font-size: 1.15rem; }

/* ---------- REVEAL ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="right"] { transform: translateX(36px); }
.js [data-reveal="zoom"] { transform: scale(.94); }

/* ---------- MÍDIA (imagem inteira com fundo desfocado) ---------- */
.media { position: relative; overflow: hidden; background: var(--ink-2); isolation: isolate; }
.media::before { content: ""; position: absolute; inset: -30px; background: var(--img) center / cover no-repeat; filter: blur(22px) saturate(1.25) brightness(.85); transform: scale(1.1); z-index: -1; }
.media img { width: 100%; height: 100%; object-fit: contain; transition: transform 1s var(--ease); }
.media-empty { display: grid; place-items: center; color: rgba(255,255,255,.3); font-size: 2.6rem; background: linear-gradient(135deg, var(--ink-2), var(--ink-3)); }

/* ---------- CARD DE NOTÍCIA ---------- */
.ncard { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-1); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.ncard:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.ncard:hover .media img { transform: scale(1.06); }
.ncard-media { position: relative; aspect-ratio: 16 / 11; }
.ncard-media .media { position: absolute; inset: 0; }
.date-badge { position: absolute; top: 14px; left: 14px; display: grid; justify-items: center; min-width: 52px; padding: 7px 8px 6px; border-radius: 12px; background: #fff; color: var(--ink); font: 700 .7rem/1 var(--sans); letter-spacing: .1em; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.date-badge b { font: 800 1.5rem/1 var(--display); color: var(--red); letter-spacing: 0; margin-bottom: 2px; }
.ncard-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.ncard-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.ncard-meta i { margin-right: 3px; }
.ncard-likes { color: var(--red); }
.ncard-title { font: 700 1.38rem/1.12 var(--display); letter-spacing: .005em; }
.ncard-title a { background: linear-gradient(var(--red), var(--red)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease), color .2s; }
.ncard:hover .ncard-title a { background-size: 100% 2px; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ncard-excerpt { color: var(--muted); font-size: .96rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard-more { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: .9rem; color: var(--red); display: inline-flex; align-items: center; gap: 8px; }
.ncard-more i { transition: transform .35s var(--ease); }
.ncard:hover .ncard-more i { transform: translateX(5px); }

.ncard-row { flex-direction: row; align-items: stretch; box-shadow: none; background: transparent; border-radius: 14px; }
.ncard-row:hover { background: var(--card); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.ncard-row .ncard-media { width: 118px; flex-shrink: 0; aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.ncard-row .date-badge, .ncard-row .ncard-more { display: none; }
.ncard-row .ncard-body { padding: 4px 6px 4px 16px; gap: 6px; justify-content: center; }
.ncard-row .ncard-title { font-size: 1.18rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.ncard-lead .ncard-media { aspect-ratio: 16 / 10; }
.ncard-lead .ncard-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.02; }
.ncard-lead .ncard-body { padding: 22px 24px 26px; }

.news-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .news-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- HERO (home) ---------- */
.hero { position: relative; padding-bottom: 54px; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; touch-action: pan-y; }
.hero-bgs { position: absolute; inset: 0; z-index: -1; }
.hero-bg { position: absolute; inset: -60px; background: var(--img) center / cover; filter: blur(40px) saturate(1.3) brightness(.45); opacity: 0; transform: scale(1.15); transition: opacity 1.2s var(--ease), transform 7s linear; }
.hero-bg.is-active { opacity: 1; transform: scale(1.02); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(70% 90% at 0% 100%, rgba(215,38,30,.55), transparent 60%),
  linear-gradient(180deg, rgba(21,18,15,.2), rgba(21,18,15,.75)); }
.hero-grain { position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px); }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; display: grid; gap: 22px; align-items: center; padding-block: 26px 86px; visibility: hidden; }
.hero-slide.is-active { visibility: visible; }
.hero-visual { order: -1; perspective: 1200px; }
.hero-card { display: block; position: relative; margin: 0 auto; width: min(100%, 520px); aspect-ratio: 4 / 3.4; max-height: 44svh; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -24px rgba(0,0,0,.7); opacity: 0; transform: translateY(30px) rotate(-3deg) scale(.94); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.hero-card .media { position: absolute; inset: 0; }
.hero-slide.is-active .hero-card { opacity: 1; transform: rotate(-1.5deg); }
.hero-card-tag { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--red); font: 700 .74rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; z-index: 2; }
.hero-copy { display: grid; gap: 16px; }
.hero-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font: 600 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.hero-kicker b { color: #fff; background: var(--red); padding: 7px 12px; border-radius: 999px; letter-spacing: .14em; }
.hero-title { font: 800 clamp(2.15rem, 7.6vw, 5rem)/.95 var(--display); text-transform: uppercase; letter-spacing: -.005em; text-wrap: balance; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .w > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--wi) * 45ms + 150ms); }
.hero-slide.is-active .hero-title .w > span { transform: none; }
.hero-excerpt { color: rgba(255,255,255,.78); font-size: 1.04rem; max-width: 56ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.hero-copy > * { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero-slide.is-active .hero-copy > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-copy > :nth-child(1) { transition-delay: .1s; }
.hero-slide.is-active .hero-copy > :nth-child(3) { transition-delay: .45s; }
.hero-slide.is-active .hero-copy > :nth-child(4) { transition-delay: .55s; }

.hero-nav { position: absolute; left: 0; right: 0; bottom: 76px; display: flex; align-items: center; gap: 14px; }
.hero-count { font: 800 1.05rem/1 var(--display); letter-spacing: .06em; min-width: 54px; }
.hero-count b { font-size: 1.6rem; color: #fff; }
.hero-count span { color: rgba(255,255,255,.5); }
.hero-dots { display: flex; gap: 6px; flex: 1; }
.hero-dot { position: relative; flex: 1; max-width: 200px; height: 30px; display: flex; align-items: center; }
.hero-dot::before { content: ""; position: absolute; left: 0; right: 0; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); }
.hero-dot i { position: absolute; left: 0; height: 3px; width: 100%; border-radius: 3px; background: #fff; transform-origin: left; transform: scaleX(0); }
.hero-dot.is-done i { transform: scaleX(1); }
.hero-dot.is-active i { animation: dotFill var(--dur, 7s) linear forwards; }
.hero.is-paused .hero-dot.is-active i { animation-play-state: paused; }
.hero-dot span { display: none; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrows button { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); transition: background .25s, transform .25s var(--ease); }
.hero-arrows button:hover { background: #fff; color: var(--ink); }
.hero-arrows button:active { transform: scale(.9); }

@media (min-width: 900px) {
  .hero-slide { grid-template-columns: 1.15fr .85fr; gap: 56px; padding-block: 72px 130px; min-height: min(78vh, 720px); }
  .hero-visual { order: 0; }
  .hero-card { aspect-ratio: 4 / 4.4; max-height: 60vh; transform: translateY(40px) rotate(6deg) scale(.9); }
  .hero-slide.is-active .hero-card { transform: rotate(2.5deg); }
  .hero-dot { height: auto; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 12px; text-align: left; }
  .hero-dot::before, .hero-dot i { top: 0; }
  .hero-dot span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 600 .82rem/1.3 var(--sans); color: rgba(255,255,255,.55); transition: color .3s; }
  .hero-dot.is-active span, .hero-dot:hover span { color: #fff; }
  .hero-nav { bottom: 84px; align-items: flex-start; }
}

/* ---------- ACESSO RÁPIDO ---------- */
.quick { position: relative; z-index: 3; margin-top: -54px; }
.quick-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 18px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.quick-track::-webkit-scrollbar { display: none; }
.qcard { scroll-snap-align: start; position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px; min-height: 150px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-2); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), color .35s; }
.qcard::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .55s var(--ease); z-index: -1; }
.qcard:nth-child(odd)::before { background: var(--red); }
.qcard:hover { color: #fff; transform: translateY(-6px); }
.qcard:hover::before { transform: none; }
.qcard-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.25rem; background: var(--red-50); color: var(--red); transition: background .35s, color .35s, transform .5s var(--ease); }
.qcard:hover .qcard-ic { background: rgba(255,255,255,.15); color: #fff; transform: rotate(-8deg) scale(1.08); }
.qcard h3 { font: 800 1.35rem/1 var(--display); text-transform: uppercase; }
.qcard p { font-size: .84rem; color: var(--muted); margin-top: 4px; transition: color .35s; }
.qcard:hover p { color: rgba(255,255,255,.8); }
.qcard-go { position: absolute; top: 16px; right: 16px; font-size: .9rem; opacity: .35; transition: transform .45s var(--ease), opacity .3s; }
.qcard:hover .qcard-go { opacity: 1; transform: rotate(-45deg); }
@media (min-width: 1100px) { .quick-track { overflow: visible; grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; } }

/* ---------- HOME: notícias + avisos ---------- */
.home-news { display: grid; gap: 28px; }
.lead-col { display: grid; gap: 22px; }
.side-list { display: grid; gap: 8px; align-content: start; }
.side-list .ncard-row + .ncard-row { border-top: 1px solid var(--line); border-radius: 0 0 14px 14px; padding-top: 8px; }
@media (min-width: 1000px) {
  .home-news { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
  .lead-col { grid-template-columns: 1.25fr 1fr; align-items: start; }
}
.aside-block { display: grid; gap: 14px; align-content: start; }
.aside-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 3px solid var(--ink); }
.aside-title h3 { font: 800 1.6rem/1 var(--display); text-transform: uppercase; }
.aside-title .ctrl { display: none; }
.banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.banners::-webkit-scrollbar { display: none; }
.banner { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--shadow-1); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.banner img { width: 100%; height: auto; transition: transform .9s var(--ease); }
a.banner:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
a.banner:hover img { transform: scale(1.04); }
@media (min-width: 640px) { .banners { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .aside-sticky { position: sticky; top: calc(var(--header-h) + 20px); }
  .banners { grid-template-columns: 1fr; }
  .aside-title .ctrl { display: none; }
}
.empty-box { padding: 32px; border: 2px dashed var(--line-2); border-radius: var(--r); text-align: center; color: var(--muted); }

/* ---------- INSTITUCIONAL ---------- */
.inst { background: #fff; overflow: hidden; }
.inst-grid { display: grid; gap: 22px; }
.inst-logo { position: relative; display: grid; place-items: center; padding: clamp(28px, 6vw, 60px); border-radius: var(--r-lg); background: var(--paper); overflow: hidden; }
.inst-logo::before { content: ""; position: absolute; width: 140%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 0deg, transparent, rgba(215,38,30,.12), transparent 30%, rgba(0,149,219,.1), transparent 60%); animation: spin 18s linear infinite; }
.inst-logo img { position: relative; width: 100%; max-width: 560px; height: auto; transition: transform .6s var(--ease); }
@keyframes spin { to { transform: rotate(360deg); } }
.inst-cards { display: grid; gap: 18px; }
.box { position: relative; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); overflow: hidden; isolation: isolate; }
.box-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 18px; animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-6px) rotate(4deg); } }
.box-white { background: var(--paper); }
.box-white .box-ic { background: var(--ink); color: #fff; }
.box-red { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.box-red::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255,255,255,.08); z-index: -1; }
.box-red .box-ic { background: rgba(255,255,255,.16); color: #fff; }
.box-red .rich, .box-red .rich * { color: #fff !important; }
@media (min-width: 1000px) { .inst-grid { grid-template-columns: 1fr 1fr; align-items: stretch; gap: 28px; } .inst-cards { grid-template-rows: auto auto; } }

/* conteúdo rico (Quill) */
.rich { font-size: 1.05rem; line-height: 1.7; }
.rich > * + * { margin-top: .8em; }
.rich h1, .rich h2, .rich h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; text-transform: uppercase; }
.rich h1 { font-size: 2rem; } .rich h2 { font-size: 1.7rem; } .rich h3 { font-size: 1.4rem; }
.rich strong { font-weight: 700; }
.rich a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.rich ul, .rich ol { padding-left: 1.3em; }
.rich li + li { margin-top: .35em; }
.rich .ql-align-center { text-align: center; } .rich .ql-align-right { text-align: right; } .rich .ql-align-justify { text-align: justify; }
.rich p:empty, .rich p:has(> br:only-child) { margin-top: .3em; }

/* ---------- NÚMEROS ---------- */
.stats { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px); }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--ink); padding: clamp(22px, 4vw, 40px) clamp(16px, 3vw, 32px); display: grid; gap: 6px; align-content: start; transition: background .4s; }
.stat:hover { background: var(--ink-2); }
.stat-n { font: 900 clamp(3rem, 9vw, 5.6rem)/.85 var(--display); color: #fff; font-variant-numeric: tabular-nums; }
.stat-n small { font-size: .45em; color: var(--red); margin-left: 4px; }
.stat-l { font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: rgba(255,255,255,.65); }
.stat-d { font-size: .9rem; color: rgba(255,255,255,.55); }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stats-head .section-title { color: #fff; }

.timeline { display: grid; gap: 14px; margin-top: 28px; position: relative; }
.tl-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.tl-year { font: 900 2rem/1 var(--display); color: var(--red); min-width: 70px; }
.tl-item p { color: rgba(255,255,255,.8); }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(3, 1fr); } }

/* ---------- CONVÊNIOS (marquee home) ---------- */
.logos-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-track { display: flex; gap: 16px; width: max-content; animation: ticker 40s linear infinite; padding-block: 8px; }
.logos-marquee:hover .logos-track { animation-play-state: paused; }
.logo-tile { width: 200px; height: 130px; border-radius: var(--r); background: #fff; display: grid; place-items: center; padding: 18px; box-shadow: var(--shadow-1); flex-shrink: 0; transition: transform .4s var(--ease); }
.logo-tile { position: relative; }
.logo-tile img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; }
.logo-tile:hover { transform: translateY(-4px) rotate(-1deg); }

/* ---------- CCT (home + página) ---------- */
.cct-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .cct-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .cct-grid { grid-template-columns: repeat(3, 1fr); } }
.cct { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-1); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; isolation: isolate; }
.cct:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.cct-ic { width: 58px; height: 70px; border-radius: 10px 18px 10px 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 .8rem var(--sans); flex-shrink: 0; position: relative; transition: background .3s; }
.cct-ic::after { content: "PDF"; position: absolute; bottom: 8px; font-size: .62rem; letter-spacing: .1em; color: rgba(255,255,255,.7); }
.cct-ic i { font-size: 1.3rem; margin-top: -10px; }
.cct:hover .cct-ic { background: var(--red); }
.cct-body { flex: 1; min-width: 0; }
.cct-body h3 { font: 800 1.4rem/1.05 var(--display); text-transform: uppercase; }
.cct-body p { font-size: .84rem; color: var(--muted); margin-top: 4px; }
.cct-latest { position: absolute; top: 12px; right: 12px; font: 700 .64rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; background: var(--red); color: #fff; padding: 5px 8px; border-radius: 999px; }
.cct-actions { display: flex; gap: 6px; }
.cct-actions a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); transition: background .2s, color .2s; position: relative; z-index: 2; }
.cct-actions a:hover { background: var(--ink); color: #fff; }
.cct.is-missing { opacity: .7; }
.cct.is-missing .cct-ic { background: var(--paper-2); color: var(--muted); }

/* ---------- PAGE HERO (internas) ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; padding-block: clamp(36px, 7vw, 88px) clamp(48px, 8vw, 100px); }
.page-hero[style]::before { content: ""; position: absolute; inset: -40px; background: var(--img) center / cover; filter: blur(30px) brightness(.4) saturate(1.2); z-index: -2; }
.page-hero-fx .glow { position: absolute; z-index: -1; right: -10%; bottom: -60%; width: 70vw; height: 70vw; max-width: 800px; max-height: 800px; border-radius: 50%; background: radial-gradient(circle, rgba(215,38,30,.55), transparent 62%); animation: glowMove 12s ease-in-out infinite alternate; }
.page-hero-fx .stripe { position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 2px, transparent 2px 16px); }
@keyframes glowMove { to { transform: translate(-12%, -8%) scale(1.1); } }
.page-hero-inner { display: grid; gap: 16px; justify-items: start; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .84rem; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { font-size: .6rem; opacity: .5; }
.crumbs [aria-current] { color: #fff; font-weight: 600; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-title { font: 900 clamp(2.9rem, 11vw, 7rem)/.88 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.page-title em { font-style: normal; color: var(--red); }
.page-lead { max-width: 62ch; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.78); }
.split-in .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; }
.split-in .w > span { display: inline-block; transform: translateY(110%); animation: letterUp .9s var(--ease) forwards; animation-delay: calc(var(--wi, 0) * 60ms + .1s); }
.has-intro:not(.intro-done) .split-in .w > span { animation-play-state: paused; }
.page-body { padding-block: clamp(36px, 6vw, 80px) clamp(56px, 9vw, 110px); }
.overlap { margin-top: clamp(-70px, -6vw, -40px); position: relative; z-index: 2; }

/* ---------- TOOLBAR (filtros) ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-2); margin-bottom: 28px; }
.field-search { flex: 1 1 260px; position: relative; }
.field-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.field-search input { width: 100%; height: 50px; padding: 0 16px 0 44px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); font: 600 1rem var(--sans); color: var(--ink); outline: none; transition: border-color .2s, background .2s; }
.field-search input:focus { border-color: var(--red); background: #fff; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--paper); font-weight: 700; font-size: .9rem; color: var(--ink-3); transition: background .25s, color .25s, transform .25s var(--ease); }
.chip:hover { background: var(--paper-2); }
.chip.is-active { background: var(--ink); color: #fff; }
.chip:active { transform: scale(.95); }
.select { height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); padding: 0 40px 0 16px; font: 600 .95rem var(--sans); color: var(--ink); appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2315120F' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.result-info { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; color: var(--muted); font-weight: 600; }
.result-info b { color: var(--ink); }
.load-more-wrap { display: flex; justify-content: center; margin-top: 36px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: #fff; font-weight: 700; box-shadow: var(--shadow-1); padding: 0 12px; }
.pager .is-current { background: var(--red); color: #fff; }
.js .pager { display: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }

.empty { text-align: center; padding: clamp(40px, 8vw, 80px) 20px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-1); }
.empty i { font-size: 3rem; color: var(--paper-2); margin-bottom: 16px; }
.empty h3 { font: 800 2rem/1 var(--display); text-transform: uppercase; margin-bottom: 8px; }
.empty p { color: var(--muted); }

/* ---------- ARTIGO ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 300; pointer-events: none; }
.read-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), #ff6a3d); transform-origin: left; transform: scaleX(0); }
.art-hero { padding-bottom: clamp(140px, 22vw, 260px); }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: rgba(255,255,255,.75); font-weight: 600; font-size: .92rem; }
.art-meta i { color: var(--red); margin-right: 6px; }
.art-title { font: 800 clamp(2.1rem, 6.2vw, 4.6rem)/.96 var(--display); text-transform: uppercase; max-width: 22ch; text-wrap: balance; }
.art-cover { margin-top: clamp(-240px, -20vw, -120px); position: relative; z-index: 2; }
.art-cover .media { border-radius: var(--r-lg); max-height: 78vh; aspect-ratio: auto; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); cursor: zoom-in; }
.art-cover .media img { max-height: 78vh; height: auto; margin-inline: auto; width: auto; }
.art-layout { display: grid; gap: 28px; padding-block: clamp(28px, 5vw, 56px); }
.share-rail { display: none; }
.art-main { min-width: 0; max-width: 760px; width: 100%; margin-inline: auto; }
.art-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-1); margin-bottom: 30px; }
.art-tools .group { display: flex; gap: 6px; align-items: center; }
.tool-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 12px; background: var(--paper); font-weight: 700; font-size: .88rem; transition: background .2s, color .2s, transform .2s; }
.tool-btn:hover { background: var(--ink); color: #fff; }
.tool-btn:active { transform: scale(.95); }
.tool-btn.is-on { background: var(--red); color: #fff; }
.tool-btn .eq { display: none; gap: 2px; align-items: flex-end; height: 14px; }
.tool-btn.is-on .eq { display: inline-flex; }
.tool-btn.is-on .eq + i { display: none; }
.eq b { width: 3px; background: currentColor; animation: eq .9s ease-in-out infinite; }
.eq b:nth-child(2) { animation-delay: .2s; } .eq b:nth-child(3) { animation-delay: .4s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

.prose { font-size: calc(1.14rem * var(--prose-scale)); line-height: 1.78; color: #2A2520; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.15em; }
.prose > p:first-child::first-letter { float: left; font: 900 4.4em/.78 var(--display); color: var(--red); margin: .06em .12em 0 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 1.02; color: var(--ink); margin-top: 1.6em; }
.prose h1 { font-size: 2.1em; } .prose h2 { font-size: 1.8em; } .prose h3 { font-size: 1.45em; }
.prose a { color: var(--red); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: rgba(215,38,30,.35); transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: var(--red); }
.prose strong, .prose b { color: var(--ink); font-weight: 700; }
.prose blockquote { margin: 1.6em 0; padding: 1.1em 1.4em; border-left: 5px solid var(--red); background: #fff; border-radius: 0 16px 16px 0; font: 600 1.15em/1.45 var(--sans); color: var(--ink); box-shadow: var(--shadow-1); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--red); font-weight: 700; }
.prose img { border-radius: 16px; margin-inline: auto; height: auto; cursor: zoom-in; box-shadow: var(--shadow-1); }
.prose iframe, .prose .ql-video { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92em; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line-2); padding: 8px 10px; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-justify { text-align: justify; }
.prose hr { border: 0; height: 1px; background: var(--line-2); margin: 2em 0; }

.art-end { margin-top: 48px; padding: clamp(22px, 4vw, 36px); border-radius: var(--r-lg); background: var(--ink); color: #fff; display: grid; gap: 18px; position: relative; overflow: hidden; }
.art-end::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(215,38,30,.6), transparent 65%); }
.art-end h3 { font: 800 clamp(1.8rem, 4vw, 2.6rem)/1 var(--display); text-transform: uppercase; }
.art-end p { color: rgba(255,255,255,.7); }
.art-end-actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }

.like-btn { --c: var(--red); position: relative; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-weight: 700; box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); transition: background .3s, box-shadow .3s, transform .2s; }
.like-btn i { font-size: 1.2rem; transition: transform .4s var(--ease); }
.like-btn:active { transform: scale(.94); }
.like-btn.is-liked { background: var(--c); box-shadow: none; }
.like-btn.is-liked i { animation: heartPop .6s var(--ease); }
.like-btn.light { background: var(--paper); color: var(--ink); box-shadow: none; }
.like-btn.light.is-liked { background: var(--red); color: #fff; }
@keyframes heartPop { 0% { transform: scale(1); } 30% { transform: scale(1.5); } 60% { transform: scale(.85); } 100% { transform: scale(1); } }
.burst { position: fixed; pointer-events: none; z-index: 400; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--red); animation: burst .8s var(--ease) forwards; }
@keyframes burst { to { transform: translate(var(--x), var(--y)) scale(.2); opacity: 0; } }

.art-nav { display: grid; gap: 12px; margin-top: 28px; }
.art-nav a { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-1); transition: transform .4s var(--ease), box-shadow .4s; }
.art-nav a:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.art-nav small { font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.art-nav span { font: 700 1.2rem/1.15 var(--display); }
.art-nav .next { text-align: right; }
@media (min-width: 700px) { .art-nav { grid-template-columns: 1fr 1fr; } }

@media (min-width: 1100px) {
  .art-layout { grid-template-columns: 76px minmax(0, 760px) 1fr; gap: 40px; }
  .art-main { margin: 0; }
  .share-rail { display: flex; flex-direction: column; gap: 10px; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
  .share-rail .lbl { font: 700 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); margin: 4px auto; }
  .rail-btn { width: 52px; height: 52px; margin-inline: auto; border-radius: 16px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-1); font-size: 1.1rem; transition: transform .3s var(--ease), background .25s, color .25s; position: relative; }
  .rail-btn:hover { transform: translateY(-3px) scale(1.05); }
  .rail-btn.wa:hover { background: var(--wa); color: #fff; } .rail-btn.fb:hover { background: #1877F2; color: #fff; }
  .rail-btn.x:hover { background: #000; color: #fff; } .rail-btn.tg:hover { background: #229ED9; color: #fff; }
  .rail-btn.in:hover { background: #0A66C2; color: #fff; } .rail-btn.cp:hover { background: var(--ink); color: #fff; }
  .rail-btn.like { flex-direction: column; gap: 2px; height: 64px; font-size: 1.15rem; color: var(--red); }
  .rail-btn.like small { font: 700 .72rem/1 var(--sans); color: var(--ink); }
  .rail-btn.like.is-liked { background: var(--red); color: #fff; }
  .rail-btn.like.is-liked small { color: #fff; }
  .art-aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: grid; gap: 14px; }
}
.art-aside { display: grid; gap: 12px; }
@media (max-width: 1099px) { .art-aside { display: none; } }

/* barra de ações no artigo (celular) */
.art-bar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 80; display: flex; gap: 6px; padding: 6px; border-radius: 22px; background: rgba(21,18,15,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #fff; box-shadow: 0 20px 50px -10px rgba(0,0,0,.5); transform: translateY(140%); transition: transform .55s var(--ease); }
.art-bar.is-visible { transform: none; }
.art-bar button { flex: 1; display: grid; justify-items: center; gap: 3px; padding: 8px 4px; border-radius: 16px; font-size: .7rem; font-weight: 700; transition: background .2s; }
.art-bar button i { font-size: 1.1rem; }
.art-bar button:active { background: rgba(255,255,255,.12); }
.art-bar .is-liked { color: #ff5b52; }
.art-bar .is-on { background: var(--red); }
@media (min-width: 1100px) { .art-bar { display: none; } }
.pg-noticia .app-bar, .pg-noticia .fab-wa { display: none !important; }

/* ---------- PÁGINAS INTERNAS ---------- */
.about-grid { display: grid; gap: 28px; align-items: start; }
.about-figure { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.about-figure img { width: 100%; height: auto; }
.about-figure figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); }
.about-figure figcaption i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--red); color: #fff; flex-shrink: 0; }
.about-figure figcaption b { display: block; font: 800 1.2rem/1 var(--display); text-transform: uppercase; }
.about-figure figcaption span { font-size: .88rem; color: var(--muted); }
.about-card { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 5vw, 52px); box-shadow: var(--shadow-1); }
.about-card .rich li { list-style: none; position: relative; padding-left: 1.6em; }
.about-card .rich ul { padding-left: 0; }
.about-card .rich li::before { content: "\f00c"; font: 900 .9em "Font Awesome 6 Free"; position: absolute; left: 0; top: .25em; color: var(--red); }
.about-card .rich strong { color: var(--red); }
.about-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 1000px) { .about-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; } .about-figure { position: sticky; top: calc(var(--header-h) + 24px); } }

/* Convênios */
.conv-grid { display: grid; gap: 20px; }
@media (min-width: 680px) { .conv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .conv-grid { grid-template-columns: repeat(3, 1fr); } }
.conv { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); transition: transform .5s var(--ease), box-shadow .5s; }
.conv:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.conv-media { position: relative; width: 100%; height: 230px; background: #fff; display: grid; place-items: center; padding: 24px; border-bottom: 1px solid var(--line); cursor: zoom-in; overflow: hidden; }
.conv-media img { position: absolute; inset: 22px; width: calc(100% - 44px); height: calc(100% - 44px); object-fit: contain; transition: transform .8s var(--ease); }
.conv:hover .conv-media img { transform: scale(1.06); }
.conv-zoom { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; opacity: 0; transform: scale(.6); transition: .35s var(--ease); }
.conv:hover .conv-zoom { opacity: 1; transform: none; }
.conv-body { padding: 22px 24px 26px; display: grid; gap: 12px; }
.conv-body h2 { font: 800 1.6rem/1.02 var(--display); text-transform: uppercase; }
.conv-body .rich { font-size: .97rem; color: var(--muted); }
.conv-body .rich strong { color: var(--ink); }
.conv-tag { display: inline-flex; align-items: center; gap: 6px; font: 700 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }

/* Diretoria */
.dir-group + .dir-group { margin-top: clamp(40px, 6vw, 64px); }
.dir-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 3px solid var(--ink); margin-bottom: 20px; }
.dir-head h2 { font: 800 clamp(1.6rem, 4vw, 2.4rem)/1 var(--display); text-transform: uppercase; }
.dir-head span { font-weight: 700; color: var(--muted); font-size: .9rem; white-space: nowrap; }
.dir-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .dir-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .dir-grid { grid-template-columns: repeat(3, 1fr); } }
.member { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-1); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; isolation: isolate; }
.member::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--red); transform: scaleY(0); transition: transform .45s var(--ease); }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.member:hover::before { transform: none; }
.avatar { width: 60px; height: 60px; border-radius: 18px; flex-shrink: 0; display: grid; place-items: center; font: 800 1.4rem/1 var(--display); color: #fff; background: linear-gradient(135deg, var(--red), var(--red-700)); letter-spacing: .02em; }
.member:nth-child(3n+2) .avatar { background: linear-gradient(135deg, var(--ink-3), var(--ink)); }
.member:nth-child(3n+3) .avatar { background: linear-gradient(135deg, #1AA4E6, #006FA8); }
.member-role { font: 700 .72rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.member-name { font: 700 1.3rem/1.1 var(--display); margin-top: 4px; }
.member-is-top { grid-column: 1 / -1; padding: 22px; background: var(--ink); color: #fff; }
.member-is-top .member-role { color: #ff7a72; }
.member-is-top .member-name { font-size: 1.8rem; }
.member-is-top .avatar { width: 76px; height: 76px; font-size: 1.8rem; background: var(--red) !important; }

/* Estatuto */
.doc-card { display: grid; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.doc-side { padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; align-content: start; background: var(--red); color: #fff; position: relative; overflow: hidden; }
.doc-side::after { content: "\f1c1"; font: 900 220px/1 "Font Awesome 6 Free"; position: absolute; right: -30px; bottom: -40px; opacity: .1; }
.doc-side .kicker::before { background: #fff; }
.doc-side h2 { font: 900 clamp(2.2rem, 5vw, 3.2rem)/.95 var(--display); text-transform: uppercase; }
.doc-side p { color: rgba(255,255,255,.85); }
.doc-feats { display: grid; gap: 10px; margin: 6px 0; }
.doc-feats span { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.doc-feats i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.16); }
.doc-actions { display: grid; gap: 10px; position: relative; z-index: 1; }
.doc-view { min-height: 480px; background: var(--paper-2); }
.doc-view iframe { width: 100%; height: 100%; min-height: 70vh; border: 0; display: block; }
@media (min-width: 1000px) { .doc-card { grid-template-columns: 380px 1fr; } .doc-view iframe { min-height: 820px; } }
@media (max-width: 767px) { .doc-view { display: none; } }

/* ---------- FAIXA DE CHAMADA ---------- */
.join-band { position: relative; background: var(--red); color: #fff; overflow: hidden; isolation: isolate; }
.join-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 100% 0%, rgba(255,255,255,.18), transparent 60%), radial-gradient(50% 100% at 0% 100%, rgba(0,0,0,.25), transparent 60%); }
.join-inner { display: grid; gap: 26px; padding-block: clamp(48px, 7vw, 88px) 34px; align-items: end; }
.join-band .kicker::before { background: #fff; }
.join-title { font: 800 clamp(2rem, 5.6vw, 4rem)/.95 var(--display); text-transform: uppercase; margin-top: 14px; max-width: 20ch; }
.join-title em { font-style: normal; color: var(--ink); }
.join-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 1000px) { .join-inner { grid-template-columns: 1fr auto; } }
.join-marquee { overflow: hidden; border-top: 1px solid rgba(255,255,255,.2); padding-block: 14px; }
.join-marquee > div { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.join-marquee span { font: 800 clamp(1.6rem, 4vw, 2.6rem)/1 var(--display); text-transform: uppercase; padding-inline: 22px; color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.75); }
.join-marquee span:nth-child(even) { color: #fff; -webkit-text-stroke: 0; }

/* ---------- RODAPÉ ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-top: clamp(48px, 7vw, 80px); position: relative; overflow: hidden; }
.footer-grid { display: grid; gap: 34px; }
.footer-logo { height: 64px; width: auto; margin-bottom: 18px; }
.footer-about p { max-width: 46ch; font-size: .96rem; }
.footer-badge { margin-top: 14px; display: inline-flex !important; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: .86rem !important; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.06); }
.footer-badge i { color: var(--red); }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.footer-social a { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #fff; font-size: 1.05rem; transition: background .25s, transform .3s var(--ease); }
.footer-social a:hover { background: var(--red); transform: translateY(-3px); }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h3 { font: 800 1.3rem/1 var(--display); text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.footer-col a { transition: color .2s, transform .3s var(--ease); width: fit-content; }
.footer-col > a:hover { color: #fff; transform: translateX(4px); }
.footer-contact p, .footer-contact a { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.footer-contact i { color: var(--red); margin-top: 5px; width: 16px; }
@media (min-width: 400px) and (max-width: 759px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about, .footer-contact { grid-column: 1 / -1; } }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.6fr .8fr .9fr 1.2fr; } .footer-about { grid-column: auto; } }
.footer-word { font: 900 clamp(4rem, 19vw, 17rem)/.8 var(--display); text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); margin-top: 40px; white-space: nowrap; letter-spacing: -.01em; user-select: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px calc(22px + var(--appbar-h)); border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.footer-bottom a { color: #fff; font-weight: 700; }
.footer-bottom a:hover { color: var(--red); }

/* ---------- APP BAR / FLUTUANTES ---------- */
.app-bar { display: none; }
@media (max-width: 767px) {
  :root { --appbar-h: calc(68px + env(safe-area-inset-bottom)); }
  .app-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; height: var(--appbar-h); padding: 0 6px env(safe-area-inset-bottom); background: rgba(255,255,255,.94); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); border-top: 1px solid var(--line); }
  .app-bar a, .app-bar button { display: grid; justify-items: center; gap: 4px; padding: 10px 0 12px; font-size: .68rem; font-weight: 700; color: var(--muted); transition: color .2s; -webkit-tap-highlight-color: transparent; }
  .app-bar i { font-size: 1.15rem; transition: transform .35s var(--ease); }
  .app-bar .is-active { color: var(--red); }
  .app-bar .is-active i { transform: translateY(-2px); }
  .app-bar a:active i, .app-bar button:active i { transform: scale(.85); }
  .app-bar .app-bar-main { align-self: center; justify-self: center; width: 56px; height: 56px; padding: 0; place-items: center; border-radius: 20px; background: var(--red); color: #fff; box-shadow: var(--shadow-red); transform: translateY(-14px); }
  .app-bar .app-bar-main i { font-size: 1.25rem; }
}
.fab-wa { position: fixed; right: 16px; bottom: calc(16px + var(--appbar-h)); z-index: 85; display: flex; align-items: center; gap: 10px; height: 58px; min-width: 58px; padding: 0 17px; border-radius: 999px; background: var(--wa); color: #fff; font-size: 1.65rem; box-shadow: 0 14px 34px -8px rgba(31,175,84,.6); transition: transform .35s var(--ease); }
.fab-wa::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31,175,84,.55); animation: waPulse 2.6s infinite; }
@keyframes waPulse { 70% { box-shadow: 0 0 0 16px rgba(31,175,84,0); } 100% { box-shadow: 0 0 0 0 rgba(31,175,84,0); } }
.fab-wa:hover { transform: scale(1.06); }
.fab-label { font: 700 .95rem var(--sans); max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease); }
@media (hover: hover) { .fab-wa:hover .fab-label { max-width: 140px; } }
.to-top { position: fixed; right: 23px; bottom: calc(90px + var(--appbar-h)); z-index: 84; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: var(--shadow-2); display: grid; place-items: center; opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; transition: .4s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke-width: 3; }
.to-top .track { stroke: var(--line); }
.to-top .bar { stroke: var(--red); stroke-dasharray: 138.2; stroke-dashoffset: 138.2; stroke-linecap: round; }
.to-top i { position: relative; font-size: .9rem; }

.toast { position: fixed; left: 50%; bottom: calc(24px + var(--appbar-h)); z-index: 500; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; box-shadow: 0 20px 40px -10px rgba(0,0,0,.45); transition: .45s var(--ease); max-width: calc(100vw - 32px); width: max-content; }
@media (max-width: 767px) { .toast { bottom: auto; top: max(14px, env(safe-area-inset-top)); transform: translate(-50%, -30px); } .toast.is-on { transform: translate(-50%, 0); } }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast i { color: #4ADE80; }
@media (min-width: 768px) { .pg-noticia .toast { bottom: 100px; } }

/* folha de compartilhamento */
.sheet { position: fixed; inset: 0; z-index: 450; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(21,18,15,.5); backdrop-filter: blur(4px); animation: fadeIn .3s forwards; opacity: 0; }
.sheet-panel { position: relative; width: min(560px, 100%); background: #fff; border-radius: 26px 26px 0 0; padding: 12px 20px max(24px, env(safe-area-inset-bottom)); animation: sheetUp .5s var(--ease) both; }
@keyframes sheetUp { from { transform: translateY(100%); } }
.sheet-grip { width: 44px; height: 5px; border-radius: 5px; background: var(--paper-2); margin: 0 auto 14px; }
.sheet h3 { font: 800 1.8rem/1 var(--display); text-transform: uppercase; }
.sheet-sub { color: var(--muted); font-size: .9rem; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; margin-top: 20px; }
.share-grid a, .share-grid button { display: grid; justify-items: center; gap: 8px; font-size: .74rem; font-weight: 600; cursor: pointer; }
.share-grid i { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.35rem; color: #fff; background: var(--ink); transition: transform .3s var(--ease); }
.share-grid a:hover i, .share-grid button:hover i { transform: translateY(-3px); }
.share-grid [data-net=whatsapp] i { background: var(--wa); } .share-grid [data-net=facebook] i { background: #1877F2; }
.share-grid [data-net=x] i { background: #000; } .share-grid [data-net=telegram] i { background: #229ED9; }
.share-grid [data-net=linkedin] i { background: #0A66C2; } .share-grid [data-net=email] i { background: var(--ink-3); }
.share-grid [data-net=copy] i { background: var(--red); }
@media (min-width: 640px) { .sheet { align-items: center; } .sheet-panel { border-radius: 26px; padding-bottom: 26px; } .sheet-grip { display: none; } }

.lightbox { position: fixed; inset: 0; z-index: 480; background: rgba(10,9,8,.94); display: grid; place-items: center; padding: 20px; animation: fadeIn .3s forwards; opacity: 0; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: zoomIn .45s var(--ease) both; touch-action: pinch-zoom; }
@keyframes zoomIn { from { transform: scale(.88); opacity: 0; } }
.lightbox-close { position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px; }

/* ---------- 404 ---------- */
.nf { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.nf-code { font: 900 clamp(7rem, 30vw, 16rem)/.8 var(--display); color: var(--red); letter-spacing: -.02em; }
.nf h1 { font: 800 clamp(2rem, 6vw, 3.2rem)/1 var(--display); text-transform: uppercase; margin: 16px 0 10px; }
.nf p { color: var(--muted); max-width: 46ch; margin: 0 auto 24px; }
.nf form { display: flex; gap: 8px; max-width: 460px; margin: 0 auto 18px; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ticker-track, .logos-track, .join-marquee > div { animation: none !important; }
}
@media print {
  .ticker, .site-header, .app-bar, .fab-wa, .to-top, .join-band, .site-footer, .share-rail, .art-tools, .art-bar, .art-end, .art-nav, .art-aside, .read-progress { display: none !important; }
  .page-hero { background: none; color: #000; padding: 0; }
  .page-hero * { color: #000 !important; }
}
