/* =========================================================
   Edital Animal SP — 4ª Edição 2026
   Identidade: amarelo vibrante · azul royal · preto · branco
   ========================================================= */

@font-face {
  font-family: 'Anton';
  src: url('../fonts/anton-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin-var.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
/* Fallback métrico para reduzir layout shift enquanto a Anton carrega */
@font-face {
  font-family: 'Anton Fallback';
  src: local('Impact'), local('Arial Narrow Bold'), local('Arial Black');
  size-adjust: 96%;
  ascent-override: 118%;
}

:root {
  --yellow: #ffde00;
  --yellow-soft: #fff3a3;
  --blue: #1146d6;
  --blue-600: #0c38b4;
  --blue-800: #08257c;
  --blue-light: #3d7bff;
  --ink: #0b0b0f;
  --ink-700: #1a1a21;
  --paper: #f5f2e9;
  --white: #ffffff;
  --muted: #55555f;
  --line: rgba(11, 11, 15, 0.12);

  --font-display: 'Anton', 'Anton Fallback', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(84px, 11vw, 160px);
  --radius: 22px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-snap: cubic-bezier(0.3, 1.4, 0.5, 1);
  --header-h: 76px;
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
main { overflow-x: clip; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow); color: var(--ink); }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 70px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografia ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.2vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.h2--light { color: var(--white); }
.mark {
  position: relative;
  display: inline;
  color: var(--blue);
}
.mark--yellow { color: var(--yellow); }
.grunge {
  padding-top: 0.12em; margin-top: -0.12em;
  -webkit-mask-image: url('../img/grunge-mask.webp');
  mask-image: url('../img/grunge-mask.webp');
  -webkit-mask-size: 220px; mask-size: 220px;
}
.lead { font-size: clamp(1.06rem, 1.35vw, 1.28rem); line-height: 1.55; color: var(--ink-700); max-width: 60ch; }
.lead--light { color: rgba(255, 255, 255, 0.86); }
.lead strong { color: inherit; font-weight: 750; }
.footnote { font-size: 0.85rem; color: var(--muted); }
.footnote--light { color: rgba(255, 255, 255, 0.55); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 750; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 22px;
}
.kicker svg { width: 18px; height: 18px; fill: currentColor; transform: rotate(-18deg); }
.kicker--light { color: var(--yellow); }

.section { position: relative; padding-block: var(--section-y); }
.section-head { max-width: 900px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head .h2 { margin-top: 0; }

/* ---------- Botões ---------- */
.btn {
  --h: 52px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font-weight: 800; font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), color 0.2s var(--ease) 0.08s, border-color 0.3s var(--ease), background-color 0.3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ''; position: absolute; inset: -2px; z-index: -1;
  background: var(--ink); border-radius: inherit;
  transform: translateY(102%); transition: transform 0.3s var(--ease);
}
.btn__icon { width: 20px; height: 20px; flex: none; transition: transform 0.3s var(--ease); }
.btn:hover .btn__icon:not(.btn__icon--lead) { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: 0.8rem; }
.btn--lg { --h: 60px; padding: 0 30px; font-size: 0.96rem; }
.btn--primary { background: var(--yellow); color: var(--ink); }
.btn--primary:hover { color: var(--yellow); }
.btn--primary:hover::before { transform: translateY(0); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover { color: var(--ink); border-color: var(--white); }
.btn--ghost:hover::before { transform: translateY(0); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding-block: 22px;
  color: var(--white);
  transition: padding 0.35s var(--ease), background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.site-header__inner { display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; }
.brand__logo {
  width: 170px; height: auto;
  opacity: 0; transform: translateY(-8px) scale(0.92);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
}
.site-header.is-compact {
  padding-block: 10px;
  background: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 222, 0, 0.6), 0 12px 30px -18px rgba(0, 0, 0, 0.6);
}
.site-header.is-compact .brand__logo { opacity: 1; transform: none; }

.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  position: relative; display: block; padding: 10px 12px;
  font-size: 0.86rem; font-weight: 650; letter-spacing: 0.02em; text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s;
}
.nav__link::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--yellow); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform 0.3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
  display: none; margin-left: auto; position: relative;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--yellow);
}
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 2.5px; background: var(--ink); border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 27px; }
.menu-toggle[aria-expanded='true'] span:first-child { top: 23px; transform: rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:last-child { top: 23px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(720px, 100svh);
  color: var(--white);
  background: #020a26;
  padding-top: calc(var(--header-h) + 24px);
  display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -3; }
/* Fundo casado com a arte do retrato: azul-noite, fumaça e luz de recorte atrás do deputado */
.hero__light {
  position: absolute; inset: 0;
  background:
    radial-gradient(34% 52% at 74% 40%, rgba(40, 96, 230, 0.55) 0%, rgba(20, 60, 170, 0.22) 45%, transparent 75%),
    radial-gradient(50% 60% at 18% 30%, rgba(17, 70, 214, 0.42) 0%, transparent 70%),
    radial-gradient(70% 55% at 50% 110%, rgba(1, 6, 30, 0.95) 0%, transparent 70%),
    linear-gradient(180deg, #03113b 0%, #061a52 48%, #030d30 100%);
}
.hero__light::after {
  content: ''; position: absolute; inset: 0;
  background: url('../img/hero-grunge.webp') center / cover no-repeat;
  opacity: 0.3; mix-blend-mode: screen;
}
.hero__speckle, .impact__speckle, .funds__speckle, .cta__speckle, .deputy__speckle {
  position: absolute; inset: 0; pointer-events: none;
  background: url('../img/speckle.webp') repeat; background-size: 360px;
  opacity: 0.22;
}
.hero__giant {
  position: absolute; z-index: -2;
  right: max(-2vw, calc((100vw - var(--container)) / 2 - 140px));
  top: 50%; transform: translateY(-46%);
  font-family: var(--font-display); font-size: clamp(20rem, 46vw, 50rem); line-height: 0.78;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 222, 0, 0.14);
  letter-spacing: -0.02em; user-select: none; pointer-events: none;
}

.hero__grid {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: end;
  min-height: calc(max(720px, 100svh) - var(--header-h) - 24px);
}
.hero__content { position: relative; z-index: 5; padding-block: 8px clamp(70px, 10vh, 120px); max-width: 640px; align-self: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(11, 11, 15, 0.38); border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.pulse::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--yellow);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse { to { transform: scale(3); opacity: 0; } }

.hero__title { margin: 22px 0 18px -1.5%; width: clamp(320px, 40vw, 560px); transform: rotate(-2deg); }
.hero__title img { width: 100%; height: auto; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.25)) drop-shadow(0 22px 26px rgba(0, 4, 24, 0.6)); }

.hero__headline {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.5rem, 4.3vw, 4.1rem); line-height: 0.92; letter-spacing: 0.005em;
  margin-bottom: 18px;
}
.line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.line > span { display: inline-block; }
.hl { color: var(--yellow); }
.hero__lead { font-size: clamp(1.02rem, 1.25vw, 1.16rem); line-height: 1.6; color: rgba(255, 255, 255, 0.88); max-width: 52ch; }
.hero__lead strong { color: var(--white); font-weight: 750; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero__facts {
  display: flex; gap: 0; margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 520px;
}
.hero__facts li { flex: 1; padding: 16px 16px 0 0; }
.hero__facts li + li { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, 0.2); }
.hero__facts strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1; color: var(--yellow); }
.hero__facts span { display: block; font-size: 0.8rem; color: rgba(255, 255, 255, 0.72); margin-top: 6px; }

/* Retrato: a arte original (fundo, correntes e luz) se funde ao fundo do hero pelas bordas */
.hero__portrait {
  position: relative; z-index: 2;
  align-self: end; justify-self: end;
  width: clamp(420px, 43vw, 660px);
  margin-right: max(-40px, calc((var(--container) - 100vw) / 2 - 10px));
}
.hero__rim {
  position: absolute; z-index: 0; left: 18%; right: 12%; top: 6%; height: 62%;
  background: radial-gradient(closest-side, rgba(70, 130, 255, 0.55), rgba(17, 70, 214, 0.18) 60%, transparent);
  filter: blur(30px);
}
.hero__person {
  position: relative; z-index: 1;
  display: block; width: 100%; height: auto;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 26%, #000 80%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 70%, transparent 97%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 26%, #000 80%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 70%, transparent 97%);
  mask-composite: intersect;
}

/* Tag de identificação (coleira) */
.id-tag {
  position: absolute; z-index: 4; left: 2%; bottom: 13%;
  display: grid; gap: 4px; padding: 30px 22px 18px;
  background: var(--ink); color: var(--white);
  border-radius: 18px 18px 18px 4px;
  transform: rotate(-6deg); transform-origin: 50% 0;
  box-shadow: 0 22px 40px -16px rgba(0, 0, 0, 0.55);
}
.id-tag__ring {
  position: absolute; top: 10px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
  border-radius: 50%; background: var(--blue); box-shadow: inset 0 0 0 3px var(--ink), 0 0 0 2px var(--yellow);
}
.id-tag__label { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); }
.id-tag__name { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.02; text-transform: uppercase; }
.id-tag__motto {
  margin-top: 6px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.72rem; font-weight: 650; line-height: 1.35; color: rgba(255, 255, 255, 0.78);
}

/* Camada 3D */
.hero__canvas { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero.has-3d .hero__canvas { opacity: 1; }
.hero__canvas canvas { width: 100% !important; height: 100% !important; display: block; }

/* Fallback decorativo (sem WebGL) */
.hero__decor { position: absolute; inset: 0; z-index: 1; pointer-events: none; transition: opacity 0.6s; }
.hero.has-3d .hero__decor { opacity: 0; }
.decor-paw { position: absolute; fill: var(--yellow); }
.decor-paw--1 { width: 64px; height: 64px; right: 6%; top: 18%; transform: rotate(24deg); }
.decor-paw--2 { width: 40px; height: 40px; right: 44%; bottom: 14%; transform: rotate(-16deg); fill: var(--white); opacity: 0.9; }
.decor-paw--3 { width: 120px; height: 120px; left: 46%; top: 10%; transform: rotate(-30deg); fill: var(--blue-light); opacity: 0.55; }
.decor-tag {
  position: absolute; right: 3%; bottom: 30%; width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); box-shadow: inset 0 0 0 10px var(--white), inset 0 0 0 13px var(--blue);
  transform: rotate(12deg);
}


/* ---------- Entrada (pré-estado aplicado apenas quando há JS + movimento) ---------- */
.js-anim [data-intro] { opacity: 0; transform: translateY(18px); animation: intro-fallback 0.01s 2.6s forwards; }
.js-anim [data-intro-line] { transform: translateY(105%); animation: intro-fallback 0.01s 2.6s forwards; }
@keyframes intro-fallback { to { opacity: 1; transform: none; } }

/* =========================================================
   FAIXA (marquee)
   ========================================================= */
.band {
  position: relative; z-index: 7;
  margin-top: -46px; margin-inline: -2vw;
  background: var(--yellow); color: var(--ink);
  transform: rotate(-2deg);
  overflow: hidden; padding-block: 16px;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.4);
}
.band__track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  animation: marquee 38s linear infinite;
}
.band.is-paused .band__track { animation-play-state: paused; }
.band span { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2.1rem); text-transform: uppercase; white-space: nowrap; line-height: 1; }
.band svg { width: 26px; height: 26px; fill: var(--blue); flex: none; transform: rotate(18deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SOBRE
   ========================================================= */
.about { padding-top: calc(var(--section-y) + 20px); }
.about__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.about__text .lead { margin-top: 28px; }
.pillars { margin-top: clamp(40px, 5vw, 64px); border-top: 2px solid var(--ink); }
.pillar { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.pillar__n {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--yellow); font-family: var(--font-display); font-size: 1.3rem;
}
.pillar h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; }
.pillar p { color: var(--muted); max-width: 56ch; }

.about__media { position: sticky; top: 110px; }
/* Foto em formato de tag de identificação */
.tag-photo {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 34px 34px 34px 160px;
  -webkit-mask: radial-gradient(circle at 50% 34px, transparent 12px, #000 13px);
  mask: radial-gradient(circle at 50% 34px, transparent 12px, #000 13px);
  background: var(--blue);
}
.stamp {
  position: absolute; right: -18px; bottom: 34px;
  display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); text-align: center; transform: rotate(-12deg);
  box-shadow: 0 0 0 6px var(--paper);
}
.stamp strong { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; align-self: end; }
.stamp span { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; align-self: start; }

/* =========================================================
   IMPACTO
   ========================================================= */
.impact { background: var(--ink); color: var(--white); overflow: hidden; }
.impact__speckle { opacity: 0.08; }
.section-head--split { display: grid; gap: 0; }
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 12px; padding: 30px 24px 30px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.stat dd {
  font-family: var(--font-display); font-size: clamp(3.4rem, 6vw, 5.6rem); line-height: 0.9; color: var(--yellow);
  display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums;
}
.stat dd small { font-size: 0.42em; color: var(--white); }
.stat dt { font-size: 0.95rem; color: rgba(255, 255, 255, 0.7); max-width: 26ch; }
.stat--xl { grid-column: 1 / -1; flex-direction: row-reverse; justify-content: flex-end; align-items: flex-end; gap: clamp(20px, 3vw, 44px); padding-right: 0; }
.stat--xl dd { font-size: clamp(5rem, 15vw, 13rem); }
.stat--xl dt { font-size: clamp(1.1rem, 1.8vw, 1.6rem); line-height: 1.25; color: rgba(255, 255, 255, 0.85); max-width: 18ch; padding-bottom: clamp(14px, 2vw, 30px); }
.stat--xl + .stat { padding-left: 0; border-left: 0; }
.impact .footnote { margin-top: 16px; }

.gallery-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 60px; align-items: end;
  margin-top: clamp(64px, 8vw, 110px); margin-bottom: clamp(24px, 3vw, 36px);
}
.gallery-head__title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 0.98; text-transform: uppercase; color: var(--white); max-width: 16ch; }
.gallery-head__text { color: rgba(255, 255, 255, 0.7); max-width: 46ch; justify-self: end; }
.gallery {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(170px, 17vw, 250px); gap: clamp(10px, 1.4vw, 18px);
}
.gallery__item { position: relative; overflow: hidden; margin: 0; border-radius: var(--radius); background: var(--ink-700); }
.gallery__item picture, .gallery__item img { display: block; width: 100%; height: 100%; }
.gallery__item img { object-fit: cover; transition: transform 0.9s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 11, 15, 0) 55%, rgba(11, 11, 15, 0.55) 100%);
}
.gallery__item--a { grid-column: span 5; grid-row: span 2; }
.gallery__item--a img { object-position: 60% 40%; }
.gallery__item--b { grid-column: span 3; grid-row: span 2; }
.gallery__item--b img { object-position: 50% 30%; }
.gallery__item--c { grid-column: span 4; }
.gallery__item--c img { object-position: 50% 35%; }
.gallery__item--d { grid-column: span 4; }
.gallery__item--d img { object-position: 50% 72%; }
.gallery__item figcaption {
  position: absolute; z-index: 1; left: 14px; bottom: 14px;
  padding: 6px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink);
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}

/* =========================================================
   QUEM PODE PARTICIPAR
   ========================================================= */
.who { background: var(--white); }
.who__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.checklist { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.checklist li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.checklist svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--yellow); color: var(--ink); }
.checklist strong { display: block; font-size: 1.18rem; font-weight: 800; letter-spacing: -0.01em; }
.checklist span { color: var(--muted); }
.notice {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--white); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px);
}
.notice__art { position: absolute; right: -24px; top: -20px; width: 150px; height: 150px; color: rgba(255, 222, 0, 0.16); }
.notice__item + .notice__item { margin-top: 26px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.notice h3 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; color: var(--yellow); }
.notice h3 svg { width: 22px; height: 22px; flex: none; }
.notice p { color: rgba(255, 255, 255, 0.78); position: relative; }

/* =========================================================
   MODALIDADES
   ========================================================= */
.modes { padding-top: calc(var(--section-y) * 0.6); }
.modes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.mode {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: clamp(28px, 3.4vw, 48px); border-radius: var(--radius);
}
.mode--food { background: var(--yellow); color: var(--ink); }
.mode--care { background: var(--blue); color: var(--white); }
.mode::after {
  content: ''; position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px; border-radius: 50%;
  border: 2px dashed currentColor; opacity: 0.18;
}
.mode__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.mode__tag { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; border: 1.5px solid currentColor; }
.mode__icon { width: 56px; height: 56px; }
.mode__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 4.4vw, 3.8rem); line-height: 0.95; text-transform: uppercase; margin-bottom: 14px; }
.mode__desc { font-size: 1.08rem; max-width: 46ch; }
.mode__label { margin-top: 28px; margin-bottom: 10px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; }
.doclist { display: grid; gap: 8px; }
.doclist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.doclist li { position: relative; padding-left: 22px; font-weight: 600; font-size: 0.96rem; line-height: 1.4; }
.doclist li::before {
  content: ''; position: absolute; left: 0; top: 0.42em; width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid currentColor;
}
.mode--care .doclist li:nth-child(-n + 3)::before { background: currentColor; }
.mode__foot { margin-top: auto; padding-top: 28px; font-size: 0.9rem; font-weight: 650; opacity: 0.85; }

/* =========================================================
   RECURSOS
   ========================================================= */
.funds { background: var(--blue); color: var(--white); overflow: hidden; }
.funds__speckle { opacity: 0.16; }
.funds__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 80px); align-items: start; position: relative; }
.funds__intro .lead { margin-top: 26px; }
.funds__total { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.funds__total strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; color: var(--yellow); }
.funds__total span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); }

.tiers { background: var(--ink); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 30px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
.tiers__head, .tier { display: grid; grid-template-columns: 1.15fr 1.1fr 0.9fr 0.8fr; gap: 12px; align-items: center; }
.tiers__head { padding: 0 14px 12px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.tier {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 14px; border-radius: 12px; font-variant-numeric: tabular-nums; font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  transition: background-color 0.25s;
}
.tier + .tier { margin-top: 6px; }
.tier:hover { background: rgba(255, 255, 255, 0.05); }
.tier__bar {
  position: absolute; z-index: -1; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%);
  background: linear-gradient(90deg, rgba(255, 222, 0, 0.26), rgba(255, 222, 0, 0.08));
  border-radius: 12px; transform-origin: left;
}
.tier:nth-child(-n + 5) .tier__bar { box-shadow: inset 3px 0 0 var(--yellow); }
.tier__pos { font-size: 1.12rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; color: var(--white); }
.tier__pos small { display: block; margin-top: 3px; font-size: 0.72rem; font-weight: 600; color: rgba(255, 255, 255, 0.55); }
.tier__val { font-weight: 800; color: var(--yellow); font-size: 1.04rem; }
.tier--split { margin-top: 18px !important; }
.tier--split::before { content: ''; position: absolute; left: 14px; right: 14px; top: -10px; border-top: 1px dashed rgba(255, 255, 255, 0.25); }
.tiers__legend { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 0 14px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.65); }
.tiers__legend .dot { width: 12px; height: 12px; flex: none; border-radius: 3px; background: var(--yellow); }
.funds__notes { display: grid; gap: 4px; margin-top: 18px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.65); }

/* =========================================================
   COMO FUNCIONA
   ========================================================= */
.steps { overflow: hidden; }
.trail { display: flex; justify-content: space-between; align-items: center; margin-bottom: -10px; padding-inline: 2%; }
.trail__paw { width: 22px; height: 22px; fill: var(--blue); opacity: 0.2; transform: rotate(90deg); }
.trail__paw:nth-child(odd) { transform: rotate(90deg) translateX(-12px); }
.step-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); counter-reset: step; }
.step {
  position: relative; padding: 30px 26px 34px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.step:hover { transform: translateY(-6px); border-color: var(--ink); box-shadow: 0 24px 40px -28px rgba(11, 11, 15, 0.4); }
.step__n { display: block; font-family: var(--font-display); font-size: 3.6rem; line-height: 1; color: var(--blue); margin-bottom: 18px; }
.step:nth-child(2) .step__n { color: var(--ink); }
.step:nth-child(3) .step__n { color: var(--blue); }
.step:nth-child(4) { background: var(--yellow); border-color: var(--yellow); }
.step:nth-child(4) .step__n { color: var(--ink); }
.step h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.97rem; }
.step:nth-child(4) p { color: var(--ink-700); }

.vote-rules {
  display: grid; grid-template-columns: auto 1fr; gap: 24px 40px; align-items: center;
  margin-top: clamp(28px, 4vw, 44px); padding: 26px 30px; border-radius: var(--radius);
  background: var(--ink); color: var(--white);
}
.vote-rules__title { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; text-transform: uppercase; color: var(--yellow); }
.vote-rules ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.vote-rules li { font-size: 0.95rem; color: rgba(255, 255, 255, 0.75); }
.vote-rules strong { display: block; color: var(--white); font-size: 1.02rem; }

/* =========================================================
   CRONOGRAMA
   ========================================================= */
.schedule { background: var(--white); }
.schedule__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.schedule__head { position: sticky; top: 110px; }
.schedule__head .lead { margin-top: 24px; }
.schedule__head .footnote { margin-top: 14px; }
.timeline { position: relative; padding-left: 0; }
.timeline::before, .timeline::after {
  content: ''; position: absolute; left: 160px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px;
}
.timeline::before { background: var(--line); }
.timeline::after { background: var(--blue); transform-origin: top; transform: scaleY(var(--progress, 1)); }
.tl { position: relative; display: grid; grid-template-columns: 160px 1fr; gap: 0 40px; padding: 18px 0 30px; }
.tl::before {
  content: ''; position: absolute; left: 153px; top: 26px; z-index: 1; width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--blue);
  transition: background-color 0.3s, transform 0.3s var(--ease-snap);
}
.tl.is-now::before { background: var(--yellow); border-color: var(--ink); transform: scale(1.35); }
.tl.is-done::before { background: var(--blue); }
.tl__date {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.05; text-transform: uppercase;
  color: var(--ink); padding-right: 28px; text-align: right;
}
.tl--final .tl__date { color: var(--blue); }
.tl__body h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 1.22rem; font-weight: 800; margin-bottom: 6px; }
.tl__body p { color: var(--muted); max-width: 52ch; }
.tl__status:empty { display: none; }
.tl__status { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--muted); }
.tl.is-now .tl__status { background: var(--yellow); color: var(--ink); }
.tl.is-done .tl__status { background: transparent; border: 1px solid var(--line); }
.tl.is-done .tl__body, .tl.is-done .tl__date { opacity: 0.55; }

/* =========================================================
   DEPUTADO
   ========================================================= */
.deputy { background: var(--yellow); overflow: hidden; }
.deputy__speckle { opacity: 0.22; filter: invert(1); mix-blend-mode: multiply; }
.deputy__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: center; position: relative; }
.deputy__media { position: relative; }
/* Retrato recortado sobre painel azul: a cabeça "sai" pelo topo do painel e os braços são cortados nas laterais */
.deputy__frame {
  --panel-top: 34%;
  position: relative; aspect-ratio: 4 / 5;
  clip-path: inset(-40% 0 0 0 round 0 0 32px 32px);
}
.deputy__frame::before, .deputy__frame::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: var(--panel-top);
  border-radius: 32px;
}
.deputy__frame::before { background: var(--blue); }
.deputy__frame::after { z-index: 1; background: url('../img/speckle.webp') repeat; background-size: 300px; opacity: 0.28; mix-blend-mode: screen; }
.deputy__frame picture { position: absolute; inset: 0; z-index: 2; }
.deputy__frame img { position: absolute; left: -9%; bottom: 0; width: 118%; max-width: none; }
.deputy__paw { position: absolute; z-index: 3; width: 88px; height: 88px; right: -22px; top: calc(34% - 64px); fill: var(--ink); transform: rotate(22deg); }
.deputy__text .lead { margin-top: 26px; color: var(--ink); }
.deputy__text > p:not(.kicker):not(.lead):not(.signature) { margin-top: 16px; color: var(--ink-700); max-width: 60ch; }
.deputy .kicker { color: var(--ink); }
.deputy .mark { color: var(--blue); }
.editions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; border-top: 2px solid var(--ink); }
.editions li { padding: 16px 16px 0 0; }
.editions li + li { padding-left: 16px; border-left: 1px solid rgba(11, 11, 15, 0.2); }
.editions span { display: block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(11, 11, 15, 0.65); }
.editions strong { display: block; margin-top: 6px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; }
.editions .is-now strong { color: var(--blue); }
.signature { margin-top: 34px; font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); text-transform: uppercase; line-height: 1.05; color: var(--blue); }

/* =========================================================
   FAQ
   ========================================================= */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.faq__tabs button {
  padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent;
  font-size: 0.86rem; font-weight: 700;
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.faq__tabs button:hover { transform: translateY(-2px); }
.faq__tabs button[aria-pressed='true'] { background: var(--ink); color: var(--yellow); }
.faq__contact {
  display: flex; align-items: center; gap: 14px; margin-top: 32px; padding: 18px 20px; border-radius: 16px;
  background: var(--white); border: 1px solid var(--line); text-decoration: none; font-size: 0.95rem;
  transition: border-color 0.2s, transform 0.25s var(--ease);
}
.faq__contact:hover { border-color: var(--ink); transform: translateY(-2px); }
.faq__contact svg { width: 40px; height: 40px; flex: none; padding: 8px; border-radius: 50%; background: #25d366; color: var(--white); }

.faq__list { border-top: 2px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.04rem, 1.3vw, 1.2rem); font-weight: 750; letter-spacing: -0.01em;
  transition: color 0.2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue); }
.qa summary svg {
  width: 36px; height: 36px; flex: none; padding: 8px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--ink);
  transition: transform 0.35s var(--ease), background-color 0.2s;
}
.qa[open] summary svg { transform: rotate(45deg); background: var(--yellow); }
.qa__a { padding: 0 56px 26px 0; color: var(--ink-700); }
.qa__a p + p, .qa__a p + ul, .qa__a p + ol, .qa__a ul + p { margin-top: 12px; }
.qa__a ul, .qa__a ol { display: grid; gap: 6px; padding-left: 0; }
.qa__a li { position: relative; padding-left: 20px; }
.qa__a ul li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.qa__a ol { counter-reset: qa; }
.qa__a ol li { counter-increment: qa; padding-left: 28px; }
.qa__a ol li::before { content: counter(qa); position: absolute; left: 0; top: 0.1em; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--yellow); font-size: 0.72rem; font-weight: 800; display: grid; place-items: center; }
.qa[open] .qa__a { animation: qa-in 0.4s var(--ease); }
@keyframes qa-in { from { opacity: 0; transform: translateY(-6px); } }

/* =========================================================
   INSCRIÇÃO (CTA)
   ========================================================= */
.cta { position: relative; padding: 0 0 0; background: var(--paper); }
.cta__inner {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--blue); color: var(--white);
  padding-block: clamp(90px, 12vw, 170px);
}
.cta__speckle { opacity: 0.2; z-index: -1; }
.cta__inner::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(50% 70% at 80% 50%, rgba(93, 150, 255, 0.8), transparent 70%);
}
.cta__photo { position: absolute; z-index: -1; right: 0; top: 0; bottom: 0; width: 42%; }
.cta__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.cta__photo { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.cta__content { max-width: 720px; }
.cta__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3.4rem, 9vw, 8.4rem); line-height: 0.88; letter-spacing: 0.005em; margin-bottom: 26px;
}
.cta__title .grunge { color: var(--yellow); display: inline-block; padding-top: 0.14em; margin-top: -0.14em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.75); padding-top: clamp(64px, 8vw, 100px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 0.8fr; gap: 40px; padding-bottom: 56px; }
.footer__brand img { width: 220px; height: auto; }
.footer__brand p { margin-top: 20px; font-size: 0.95rem; }
.footer__col { display: grid; align-content: start; gap: 10px; }
.footer__title { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 6px; }
.footer__col a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 0.95rem; width: fit-content; transition: color 0.2s, transform 0.2s var(--ease); }
.footer__col a:hover { color: var(--white); transform: translateX(3px); }
.footer__col svg { width: 18px; height: 18px; flex: none; }
.footer__bottom { display: flex; align-items: flex-end; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 22px 26px; font-size: 0.85rem; }
.footer__cat { width: 64px; height: 64px; color: rgba(255, 222, 0, 0.5); margin-bottom: -26px; }

/* ---------- WhatsApp (etapas da ONG) e CTA mobile ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 18px 0 8px; border-radius: 999px;
  background: var(--ink); color: var(--white); text-decoration: none; font-weight: 650; font-size: 0.88rem;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s var(--ease);
}
.wa-float strong { font-weight: 800; }
.wa-float svg { flex: none; width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: #25d366; }
.wa-float:hover { transform: translateY(-3px); }
.mobile-cta { display: none; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
/* Barra do desktop estreito: itens secundários saem da barra (continuam no menu mobile e na página) */
.nav__link { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1399px) {
  .nav__item--opt { display: none; }
}
@media (min-width: 1400px) {
  .nav { gap: 16px; }
  .nav__link { padding-inline: 9px; }
  .nav__link::after { left: 9px; right: 9px; }
}

@media (max-width: 1180px) {
  .site-header__inner { gap: 16px; }
  .brand__logo { width: 124px; }
  .nav { gap: 12px; }
  .nav__list { gap: 0; }
  .nav__link { padding-inline: 7px; font-size: 0.8rem; white-space: nowrap; }
  .nav__link::after { left: 9px; right: 9px; }
}

@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .site-header { padding-block: 10px; }
  .brand__logo { width: 140px; }
  .site-header.is-compact { padding-block: 8px; }
  .menu-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 34px;
    padding: 100px var(--gutter) 40px;
    background: var(--yellow); color: var(--ink);
    clip-path: circle(0 at calc(100% - 44px) 34px);
    visibility: hidden;
    transition: clip-path 0.55s var(--ease), visibility 0s 0.55s;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 44px) 34px); visibility: visible; transition: clip-path 0.6s var(--ease); }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__link { font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3rem); line-height: 1.1; text-transform: uppercase; color: var(--ink); padding: 4px 0; }
  .nav__link::after { left: 0; right: auto; width: 40px; bottom: 6px; height: 4px; background: var(--blue); }
  .nav__link:hover, .nav__link.is-active { color: var(--blue); }
  .nav__cta { --h: 56px; font-size: 0.92rem; }
  .menu-open .menu-toggle { background: var(--ink); }
  .menu-open .menu-toggle span { background: var(--yellow); }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 18px); display: block; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__content { padding-bottom: 20px; max-width: none; }
  .hero__title { width: min(560px, 100%); margin-left: 0; }
  /* Foto mais alta, com espaço embaixo para a etiqueta ficar sobre o paletó (e não no rosto) */
  .hero__portrait { width: min(100% + var(--gutter) * 2, 560px); justify-self: center; margin: -90px calc(var(--gutter) * -1) 0; padding-bottom: 72px; }
  .hero__person {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 12%, #000 82%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 12%, #000 82%, transparent 100%);
  }
  .hero__giant { font-size: 72vw; top: auto; bottom: 4%; transform: none; right: -6vw; }
  .id-tag { left: calc(var(--gutter) + 2px); bottom: clamp(34px, 7.5vw, 64px); gap: 3px; padding: 22px 13px 11px; }
  .id-tag__name { font-size: 1.02rem; }
  .id-tag__motto { font-size: 0.68rem; }
  .decor-paw--3, .decor-tag { display: none; }

  .gallery-head { grid-template-columns: 1fr; }
  .gallery-head__text { justify-self: start; }
  .about__grid, .who__grid, .funds__grid, .schedule__grid, .faq__grid, .deputy__grid { grid-template-columns: 1fr; }
  .about__media { position: relative; top: 0; max-width: 420px; }
  .schedule__head, .faq__head { position: static; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { padding-left: 0; border-left: 0; }
  .stat:nth-child(4) { padding-left: 0; border-left: 0; }
  .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trail { display: none; }
  .vote-rules { grid-template-columns: 1fr; }
  .deputy__media { max-width: 440px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .mobile-cta {
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 90;
    display: flex; gap: 8px; padding: 8px; border-radius: 999px;
    background: var(--ink); box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.55);
    transform: translateY(140%); transition: transform 0.45s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { flex: 1; --h: 50px; }
  .mobile-cta__wa { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 50%; background: #25d366; color: var(--white); }
  .mobile-cta__wa svg { width: 26px; height: 26px; }
  .footer { padding-bottom: 84px; }
}

@media (max-width: 640px) {
  .wa-float { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); height: 48px; padding-right: 14px; font-size: 0.8rem; }
  .wa-float strong { display: none; }
  .wa-float svg { width: 36px; height: 36px; }
  /* No cadastro a barra de ações fica presa no rodapé da tela */
  .wa-float--alto { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .hero__ctas .btn { width: 100%; }
  .hero__eyebrow { font-size: 0.7rem; letter-spacing: 0.08em; }
  .hero__facts strong { font-size: 1.4rem; }
  .hero__facts li { padding-right: 10px; }
  .hero__facts li + li { padding-left: 10px; }
  .band { margin-top: -28px; padding-block: 12px; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding-left: 0; border-left: 0; padding-right: 0; }
  .stat--xl { flex-direction: column-reverse; align-items: flex-start; }
  .stat--xl dt { text-align: left; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery__item--a { grid-column: 1 / -1; grid-row: span 2; }
  .gallery__item--b { grid-column: 1; grid-row: span 2; }
  .gallery__item--c, .gallery__item--d { grid-column: 2; }
  .doclist--cols { grid-template-columns: 1fr; }
  .modes__grid { grid-template-columns: 1fr; }
  .tiers { padding: 12px; margin-inline: calc(var(--gutter) * -0.5); }
  .tiers__head { display: none; }
  .tier { row-gap: 2px; padding: 12px; }
  .tier > span:nth-child(3), .tier > span:nth-child(4) { text-align: right; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
  .tier > span:nth-child(4)::after { content: ' sacos'; }
  .tier__val { text-align: right; }
  .tier { grid-template-areas: 'pos val' 'pos kg' 'pos sac'; grid-template-columns: 1fr auto; }
  .tier__pos { grid-area: pos; }
  .tier__val { grid-area: val; }
  .tier > span:nth-child(3) { grid-area: kg; }
  .tier > span:nth-child(4) { grid-area: sac; }
  .funds__total { grid-template-columns: 1fr 1fr; }
  .step-list { grid-template-columns: 1fr; }
  .vote-rules ul { grid-template-columns: 1fr; gap: 14px; }
  .timeline::before, .timeline::after { left: 7px; }
  .tl { grid-template-columns: 1fr; padding-left: 34px; }
  .tl::before { left: 0; top: 22px; }
  .tl__date { text-align: left; padding: 0 0 6px; }
  .qa__a { padding-right: 0; }
  .cta__photo { position: relative; width: 100%; height: 300px; margin-top: -40px; order: 2; }
  .cta__inner { display: flex; flex-direction: column-reverse; padding-bottom: 0; }
  .cta__photo { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .cta__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .editions strong { font-size: 1.4rem; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .band__track { animation: none; }
}
