/* Archivo hospedada aqui mesmo (fonte variável: todos os pesos em 2 arquivos) */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../assets/fonts/archivo-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("../assets/fonts/archivo-italic.woff2") format("woff2");
}

/* ==========================================================================
   André Santos 1045 — site oficial da campanha
   ========================================================================== */

:root {
  --navy-950: #030a1f;
  --navy-900: #051233;
  --navy-800: #0a1d4d;
  --blue: #1653d4;
  --blue-soft: #0075ff;
  --yellow: #fee000;
  --white: #ffffff;
  --dim: rgba(255, 255, 255, 0.68);
  --dim-2: rgba(255, 255, 255, 0.45);
  --line: rgba(255, 255, 255, 0.10);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: var(--font);
  background: var(--navy-950);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(1160px, 92vw); margin: 0 auto; }

/* ---------- tipografia display ---------- */
h1, h2, h3, .hero-num, .final-num, .nav-num, .tl-ano {
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.98;
}
h2 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); margin: 0.35em 0 0.6em; }
.kicker {
  color: var(--yellow);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
}

/* títulos quebrados palavra a palavra pelo JS */
.split-title .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-title .w > span { display: inline-block; }

/* máscaras do hero */
.mask { display: inline-block; overflow: clip; vertical-align: top; }
.mask-in { display: inline-block; }

/* ---------- barra de progresso ---------- */
.progresso {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0);
  z-index: 90;
}

/* ---------- nav: pílula de vidro com a logo no centro ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 18px min(3vw, 40px);
  transition: padding 0.4s ease;
}
.nav.solid { padding: 10px min(3vw, 40px); }
.nav-pilula {
  position: relative; height: 66px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(22px, 2.6vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px;
  background: rgba(3, 10, 31, 0.34);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 0.4s ease, height 0.4s ease, border-color 0.4s ease;
}
.nav.solid .nav-pilula { height: 58px; background: rgba(3, 10, 31, 0.72); border-color: rgba(255, 255, 255, 0.16); }
.nav-brand {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; z-index: 2;
}
.logo-nav { height: 50px; width: auto; transition: height 0.4s ease; }
.nav.solid .logo-nav { height: 42px; }
.nav-links { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-links a {
  font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.78); transition: color 0.25s; white-space: nowrap;
}
.nav-links a:hover { color: var(--yellow); }
.nav-vazio { width: 120px; flex-shrink: 0; }
.nav-cta {
  color: var(--yellow) !important; font-weight: 800 !important;
  padding: 9px 16px; border: 1px solid rgba(254, 224, 0, 0.55); border-radius: 999px;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.nav-cta:hover { background: var(--yellow); color: var(--navy-950) !important; box-shadow: 0 8px 24px rgba(254, 224, 0, 0.3); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: clip; }
.hero-media { position: absolute; inset: 0; will-change: transform; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 110%, rgba(3, 10, 31, 0.94) 0%, rgba(3, 10, 31, 0.55) 45%, rgba(3, 10, 31, 0.30) 70%),
    linear-gradient(180deg, rgba(3, 10, 31, 0.55) 0%, rgba(3, 10, 31, 0.18) 35%, rgba(3, 10, 31, 0.82) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 120px 5vw 90px; will-change: transform, opacity; }
.hero-eyebrow {
  font-size: clamp(0.7rem, 1.4vw, 0.85rem); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.34em; color: var(--dim);
  margin-bottom: 22px;
}
.hero-title .line { display: block; }
.hero-title .line.sm { font-size: clamp(1.4rem, 3.6vw, 2.6rem); color: var(--yellow); font-style: italic; font-weight: 900; text-transform: uppercase; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hero-logo {
  display: block; margin: 18px auto 0;
  height: clamp(230px, 40vh, 390px); width: auto;
  filter: drop-shadow(0 18px 50px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 60px rgba(254, 224, 0, 0.12));
  will-change: transform, opacity;
}
.hero-sub { margin-top: 18px; font-size: clamp(0.98rem, 2vw, 1.25rem); color: var(--dim); font-weight: 500; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 15px 30px; border-radius: 999px;
  font-weight: 800; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.btn-yellow { background: var(--yellow); color: var(--navy-950); }
.btn-yellow:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(254, 224, 0, 0.35); }
.btn-ghost { border: 2px solid rgba(255, 255, 255, 0.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-3px); }

.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero-scroll span {
  display: block; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 14px; position: relative;
}
.hero-scroll span::after {
  content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 9px; margin-left: -2px;
  border-radius: 4px; background: var(--yellow); animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { background: var(--yellow); overflow: clip; padding: 13px 0; transform: rotate(-1.2deg) scale(1.02); position: relative; z-index: 3; }
.marquee-track { display: flex; white-space: nowrap; will-change: transform; }
.marquee-track span {
  font-weight: 900; font-style: italic; text-transform: uppercase;
  color: var(--navy-950); font-size: 1.05rem; letter-spacing: 0.04em;
}

/* ---------- quem é ---------- */
.quem {
  position: relative; overflow: clip;
  padding: clamp(90px, 12vw, 150px) 0;
  background:
    radial-gradient(55% 45% at 88% 6%, rgba(0, 117, 255, 0.17), transparent 62%),
    radial-gradient(45% 40% at 4% 100%, rgba(254, 224, 0, 0.07), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.quem-ghost {
  position: absolute; top: 2%; right: -4%;
  font-size: clamp(200px, 28vw, 460px);
  font-weight: 900; font-style: italic; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, 0.055);
  pointer-events: none; user-select: none; will-change: transform;
}
.grid-2 { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(34px, 5vw, 72px); align-items: center; position: relative; }
.quem-foto { position: relative; will-change: transform; }
.quem-foto::before {
  content: ""; position: absolute; inset: 22px -18px -18px 22px;
  border: 2px solid rgba(254, 224, 0, 0.5); border-radius: 20px;
  pointer-events: none;
}
.foto-reveal { position: relative; z-index: 1; overflow: clip; border-radius: 18px; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55); outline: 1px solid var(--line); aspect-ratio: 3 / 3.3; }
.foto-reveal img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 10%; will-change: transform; }
.foto-tag {
  position: absolute; z-index: 2; left: 18px; bottom: 18px;
  background: rgba(3, 10, 31, 0.78); backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  padding: 10px 16px; border-radius: 12px;
  font-size: 0.78rem; color: var(--dim); line-height: 1.5;
}
.foto-tag strong { color: var(--yellow); text-transform: uppercase; font-style: italic; }
.quem-texto p:not(.kicker) { color: var(--dim); line-height: 1.75; margin-bottom: 1.1em; font-size: 1.02rem; }
.quem-texto em { color: var(--white); font-style: italic; }

/* ---------- trajetória: linha do tempo horizontal ---------- */
.trajetoria { background: var(--navy-900); position: relative; overflow: clip; }
.tl-pin { height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 24px; gap: clamp(14px, 3vh, 40px); }
.tl-cab { position: relative; }
.tl-cab h2 { margin-bottom: 0.2em; font-size: clamp(1.5rem, 2.7vw, 2.3rem); max-width: 900px; }
.tl-dica { color: var(--dim-2); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; animation: pisca 2.4s ease-in-out infinite; }

.tl-track {
  position: relative; display: flex; gap: clamp(28px, 3vw, 56px);
  width: max-content; padding: 0 8vw;
  height: clamp(360px, calc(100svh - 330px), 620px); will-change: transform;
}
.tl-linha {
  position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px;
  background: linear-gradient(90deg, var(--blue-soft), var(--yellow));
  transform-origin: 0 50%; transform: scaleX(0);
  box-shadow: 0 0 18px rgba(0, 117, 255, 0.35);
}
.tl-item {
  position: relative; width: 330px; flex-shrink: 0;
  display: grid; grid-template-rows: 1fr auto 1fr; justify-items: center; align-items: center;
}
.tl-no {
  width: 18px; height: 18px; border-radius: 50%; z-index: 2;
  background: var(--navy-900); border: 3px solid var(--blue-soft);
  box-shadow: 0 0 0 6px rgba(0, 117, 255, 0.14);
}
.tl-item.destaque .tl-no { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 0 8px rgba(254, 224, 0, 0.18), 0 0 30px rgba(254, 224, 0, 0.5); }

/* conectores pontilhados: do nó até o bloco de cima e o de baixo */
.tl-item > :first-child { align-self: end; margin-bottom: 44px; position: relative; }
.tl-item > :last-child { align-self: start; margin-top: 44px; position: relative; }
.tl-no { position: relative; }
.tl-no::before, .tl-no::after {
  content: ""; position: absolute; left: 50%; margin-left: -1px; width: 0; height: 34px;
  border-left: 2px dashed rgba(255, 255, 255, 0.28);
}
.tl-no::before { bottom: calc(100% + 6px); }
.tl-no::after { top: calc(100% + 6px); }

/* foto redonda com círculo amarelo atrás */
.tl-foto { position: relative; width: 176px; height: 176px; box-sizing: content-box; }
.tl-foto::before {
  content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%;
  background: var(--yellow); right: -26px; bottom: -18px; z-index: 0;
  transition: transform 0.5s ease;
}
.tl-foto img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  filter: grayscale(1) contrast(1.08); transition: filter 0.5s ease, transform 0.5s ease;
  outline: 2px solid rgba(255, 255, 255, 0.12);
}
.tl-foto::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: 2; pointer-events: none;
  background: rgba(0, 117, 255, 0.38); mix-blend-mode: multiply; transition: opacity 0.5s ease;
}
.tl-item:hover .tl-foto img { filter: none; transform: scale(1.04); }
.tl-item:hover .tl-foto::after { opacity: 0; }
.tl-item:hover .tl-foto::before { transform: translate(6px, 6px); }
.tl-item.destaque .tl-foto img { outline-color: rgba(254, 224, 0, 0.7); }

/* texto */
.tl-texto { text-align: center; max-width: 300px; }
.texto-cima .tl-texto { display: flex; flex-direction: column; justify-content: flex-end; }
.tl-ano { display: block; color: var(--yellow); font-size: 1.6rem; margin-bottom: 6px; }
.tl-texto h3 { font-size: 1.05rem; margin-bottom: 8px; }
.tl-texto p { color: var(--dim); font-size: 0.9rem; line-height: 1.6; }
.tl-texto p strong { color: var(--white); }
.tl-item.destaque h3 { color: var(--yellow); }

/* ---------- banda (citação com foto em parallax) ---------- */
.banda { position: relative; min-height: 72vh; display: grid; place-items: center; overflow: clip; }
.parallax-wrap { position: absolute; inset: -18% 0; overflow: clip; }
.parallax-img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.banda-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,10,31,0.88), rgba(3,10,31,0.45) 50%, rgba(3,10,31,0.92)); }
.banda-inner { position: relative; text-align: center; padding: 110px 6vw; max-width: 1050px; }
.banda blockquote {
  font-size: clamp(1.4rem, 3.4vw, 2.6rem); font-weight: 800; font-style: italic; line-height: 1.25;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.6)); text-transform: none; letter-spacing: 0;
}
.banda strong { color: var(--yellow); }
.banda-assina { margin-top: 22px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.8rem; font-weight: 700; }

/* ---------- bandeiras ---------- */
.bandeiras { padding: clamp(90px, 12vw, 150px) 0; background: var(--navy-950); }
/* ---------- bandeiras: mosaico de fotos ---------- */
.pautas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: clamp(26px, 4vw, 48px); }
.pauta {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: clip; border-radius: 6px;
  background: var(--navy-800); isolation: isolate;
}
.pauta img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.8) contrast(1.05) brightness(0.92);
  transform: scale(1.02); transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease;
}
.pauta::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgba(0, 60, 170, 0.38); mix-blend-mode: multiply; transition: opacity 0.6s ease;
}
.pauta-sombra {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(3,10,31,0.05) 30%, rgba(3,10,31,0.72) 72%, rgba(3,10,31,0.92) 100%);
  transition: opacity 0.5s ease;
}
.pauta-txt {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: clamp(18px, 2.2vw, 30px);
  transform: translateY(var(--escondido, 0px)); transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pauta-n { display: block; color: var(--yellow); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; margin-bottom: 8px; }
.pauta h3 { font-size: clamp(1.2rem, 1.7vw, 1.6rem); line-height: 1.05; color: var(--white); text-transform: uppercase; }
.pauta-mais { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease 0.08s; }
.pauta-mais p { color: rgba(255,255,255,0.82); font-size: 0.9rem; line-height: 1.55; margin-top: 12px; max-width: 34ch; }
.pauta-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--yellow); font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; }
.pauta-link i { display: block; width: 26px; height: 2px; background: var(--yellow); transition: width 0.3s ease; }
/* hover: foto ganha cor, texto sobe, descrição aparece */
.pauta:hover img, .pauta:focus-visible img { filter: none; transform: scale(1.07); }
.pauta:hover::before { opacity: 0; }
.pauta:hover .pauta-mais, .pauta:focus-visible .pauta-mais { max-height: 200px; opacity: 1; }
.pauta:hover .pauta-link i { width: 40px; }
.pauta:hover .pauta-sombra { opacity: 1; }
.pauta:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
}

/* ---------- leis ---------- */
.leis { padding: clamp(90px, 12vw, 150px) 0; background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.leis-sub { color: var(--dim); max-width: 560px; line-height: 1.7; }
.leis-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(28px, 4vw, 46px); align-items: start; }
.leis-col { display: grid; gap: 16px; }
.lei {
  border-left: 3px solid var(--yellow); background: rgba(255, 255, 255, 0.035);
  border-radius: 0 14px 14px 0; padding: 20px 18px;
  transition: background 0.3s ease;
}
.lei:hover { background: rgba(255, 255, 255, 0.07); }
.lei span { color: var(--yellow); font-weight: 800; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }
.lei p { margin-top: 10px; color: var(--dim); font-size: 0.9rem; line-height: 1.6; }

/* ---------- clipe ---------- */
.clipe { padding: clamp(90px, 12vw, 150px) 0; background: var(--navy-950); text-align: center; }
.player { margin-top: clamp(24px, 4vw, 44px); will-change: transform; }
.player video {
  width: 100%; border-radius: 20px; outline: 1px solid var(--line);
  box-shadow: 0 40px 120px rgba(0, 117, 255, 0.25);
}

/* ---------- galeria em fitas ---------- */
.galeria { padding: clamp(90px, 12vw, 140px) 0 clamp(60px, 8vw, 110px); background: var(--navy-950); overflow: clip; }
.galeria .wrap { margin-bottom: clamp(26px, 4vw, 50px); }
.fita { display: flex; gap: 10px; width: max-content; will-change: transform; }
.fita + .fita { margin-top: 10px; }
.fita img {
  height: clamp(180px, 30vh, 300px); width: auto; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: 12px; filter: saturate(0.95);
}

/* ---------- jornada (filme no scroll) ---------- */
.jornada { position: relative; background: #000; }
.jornada-pin { position: relative; height: 100svh; overflow: clip; }
#filme { position: absolute; inset: 0; width: 100%; height: 100%; }
.jornada-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,10,31,0.5), transparent 30%, transparent 65%, rgba(3,10,31,0.75)); }
.legenda {
  position: absolute; left: min(6vw, 70px); bottom: 12vh; max-width: min(460px, 80vw);
  opacity: 0; transform: translateY(24px);
}
.legenda h3 { font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--white); margin-bottom: 8px; text-shadow: 0 8px 30px rgba(0,0,0,0.7); }
.legenda h3::after { content: ""; display: block; width: 54px; height: 4px; background: var(--yellow); margin-top: 10px; }
.legenda p { color: var(--dim); font-size: 1rem; line-height: 1.6; text-shadow: 0 4px 18px rgba(0,0,0,0.8); }
.jornada-dica {
  position: absolute; right: min(5vw, 60px); bottom: 5vh;
  color: rgba(255,255,255,0.6); font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.24em;
  animation: pisca 2.4s ease-in-out infinite;
}
@keyframes pisca { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.9; } }

/* ---------- final ---------- */
.final { position: relative; min-height: 96vh; display: grid; place-items: center; text-align: center; overflow: clip; }
.final-bg { will-change: transform; }
.final-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,10,31,0.92), rgba(3,10,31,0.5) 45%, rgba(3,10,31,0.94)); }
.final-inner { position: relative; padding: 120px 6vw; }
.final-title { font-size: clamp(1.9rem, 4.6vw, 3.6rem); }
.final-num {
  font-size: clamp(5rem, 18vw, 13rem); line-height: 1;
  color: var(--white); text-shadow: 0 20px 80px rgba(0, 0, 0, 0.6); letter-spacing: -0.02em;
  will-change: transform;
}
.final-num span { color: var(--yellow); }
.final-confirma { color: var(--dim); text-transform: uppercase; letter-spacing: 0.26em; font-size: 0.82rem; font-weight: 700; margin: 14px 0 26px; }

/* ---------- footer ---------- */
.footer { background: #020714; padding: 56px 0 30px; border-top: 1px solid var(--line); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.logo-footer { height: 96px; width: auto; }
.footer-dim { color: var(--dim-2); font-size: 0.82rem; margin-top: 10px; }
.footer-social { display: flex; gap: 20px; }
.footer-social a { color: var(--dim); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-social a:hover { color: var(--yellow); }
.footer-legal {
  text-align: center; color: rgba(255, 255, 255, 0.3); font-size: 0.72rem;
  margin-top: 40px; padding: 0 6vw; letter-spacing: 0.04em;
}

/* ---------- botão do hino ---------- */
.btn-som {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  display: flex; align-items: center; gap: 9px;
  background: rgba(3, 10, 31, 0.82); color: var(--white);
  border: 1px solid rgba(254, 224, 0, 0.45); border-radius: 999px;
  padding: 11px 18px; cursor: pointer;
  font-family: var(--font); font-weight: 800; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s, color 0.3s, transform 0.25s;
}
.btn-som:hover { transform: translateY(-2px); border-color: var(--yellow); color: var(--yellow); }
.btn-som svg { width: 18px; height: 18px; }
.btn-som .ico-on { display: none; }
.btn-som.tocando .ico-on { display: block; }
.btn-som.tocando .ico-off { display: none; }
.btn-som:not(.tocando) { animation: chama 2.2s ease-in-out infinite; }
@keyframes chama {
  0%, 100% { box-shadow: 0 0 0 0 rgba(254, 224, 0, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(254, 224, 0, 0); }
}
.btn-som.tocando { border-color: var(--yellow); color: var(--yellow); animation: none; }

/* ---------- responsivo ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .quem-foto { max-width: 460px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .pautas { grid-template-columns: 1fr 1fr; }
  .leis-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pautas { grid-template-columns: 1fr; }
  .pauta { aspect-ratio: 16 / 10; }
  .pauta-mais { max-height: 200px; opacity: 1; }
  .pauta img { filter: grayscale(0.5) brightness(0.75); }
  .leis-grid { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
  .btn-som-txt { display: none; }
  .btn-som { padding: 12px; }
  .legenda { bottom: 16vh; }
  .jornada-dica { right: auto; left: 6vw; bottom: 6vh; }
}

/* ---------- acessibilidade ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-scroll span::after, .jornada-dica, .btn-som:not(.tocando) { animation: none; }
}

/* ==========================================================================
   Páginas internas
   ========================================================================== */

/* ---------- cabeçalho de página ---------- */
.page-hero {
  position: relative; min-height: 62vh; display: grid; align-items: end;
  overflow: clip; padding-bottom: clamp(40px, 6vw, 80px);
}
.page-hero .page-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  will-change: transform;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,10,31,0.78), rgba(3,10,31,0.45) 45%, rgba(3,10,31,0.96));
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 5rem); margin-top: 14px;
}
.page-hero h1 span { display: inline-block; }
.page-sub { color: var(--dim); max-width: 640px; line-height: 1.7; margin-top: 16px; font-size: 1.05rem; }

.nav-links a.ativo { color: var(--yellow); }

/* ---------- home: teaser quem é ---------- */
.teaser-acao { margin-top: 28px; }

/* ---------- página projetos ---------- */
.proj-intro { padding: clamp(60px, 8vw, 100px) 0 0; }
.proj-intro p { color: var(--dim); line-height: 1.75; max-width: 720px; }
.proj-numeros { display: flex; gap: clamp(22px, 5vw, 64px); flex-wrap: wrap; margin-top: 30px; }
.proj-numeros div strong {
  display: block; font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 900; font-style: italic; color: var(--yellow); line-height: 1;
}
.proj-numeros div span { font-size: 0.78rem; color: var(--dim-2); text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-top: 8px; max-width: 180px; line-height: 1.5; }

.bloco-bandeira { padding: clamp(56px, 7vw, 90px) 0; border-bottom: 1px solid var(--line); }
.bloco-bandeira:last-of-type { border-bottom: none; }
/* ---------- projetos: ficha do tema + lista editorial ---------- */
.tema { display: grid; grid-template-columns: minmax(280px, 5fr) 7fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.bloco-bandeira:nth-of-type(even) .tema { grid-template-columns: 7fr minmax(280px, 5fr); }
.bloco-bandeira:nth-of-type(even) .tema-ficha { order: 2; }
.tema-ficha { position: sticky; top: 110px; }
.tema-foto {
  position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: clip; isolation: isolate; background: var(--navy-800);
}
.tema-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.8) brightness(0.9); }
.tema-foto::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 60, 170, 0.38); mix-blend-mode: multiply; }
.tema-foto::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(3,10,31,0.05) 35%, rgba(3,10,31,0.85) 100%); }
.tema-n { position: absolute; z-index: 3; left: 26px; bottom: 74px; color: var(--yellow); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; }
.tema-foto h2 { position: absolute; z-index: 3; left: 26px; right: 26px; bottom: 24px; margin: 0; font-size: clamp(1.5rem, 2.4vw, 2.3rem); line-height: 1.02; text-transform: uppercase; }
.tema-num { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; border-top: 1px solid var(--line); }
.tema-num div { padding: 18px 0 0; }
.tema-num div + div { border-left: 1px solid var(--line); padding-left: 22px; }
.tema-num strong { display: block; color: var(--yellow); font-size: clamp(2rem, 3.2vw, 2.8rem); font-style: italic; font-weight: 900; line-height: 1; }
.tema-num span { display: block; margin-top: 6px; color: var(--dim-2); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; }
/* lista */
.tema-lista { padding-top: 6px; }
.grupo + .grupo { margin-top: 34px; }
.grupo h3 {
  display: flex; align-items: center; gap: 12px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--dim-2); font-style: normal; margin-bottom: 6px;
}
.grupo h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); flex-shrink: 0; }
.grupo h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.grupo-co h3::before { background: var(--blue-soft); }
.grupo-tram h3::before { background: transparent; border: 2px solid rgba(255,255,255,0.5); }
.tema-lista .lei {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 28px; align-items: baseline;
  padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none;
  transition: padding-left 0.3s ease, background 0.3s ease;
}
.tema-lista .lei:hover { background: linear-gradient(90deg, rgba(255,255,255,0.04), transparent); padding-left: 10px; }
.tema-lista .lei p { margin: 0; color: var(--white); font-size: 1rem; line-height: 1.55; }
.tema-lista .lei-ref { display: block; margin: 0; white-space: nowrap; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); }
.grupo-co .lei-ref { color: var(--blue-soft); }
.grupo-tram .lei-ref { color: var(--dim-2); }
.grupo-tram .lei p { color: rgba(255,255,255,0.82); }

/* ---------- página contato ---------- */
.contato-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(34px, 5vw, 80px); padding: clamp(70px, 9vw, 120px) 0; align-items: start; }
.form-whats { display: grid; gap: 14px; margin-top: 26px; }
.form-whats label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim-2); }
.form-whats input, .form-whats textarea {
  width: 100%; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  border-radius: 12px; padding: 15px 16px; color: var(--white);
  font-family: var(--font); font-size: 1rem; outline: none;
  transition: border-color 0.25s;
}
.form-whats input:focus, .form-whats textarea:focus { border-color: var(--yellow); }
.form-whats textarea { min-height: 120px; resize: vertical; }
.form-whats .btn { border: none; cursor: pointer; justify-self: start; }
.canais { display: grid; gap: 14px; }
.canal {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  border-radius: 16px; padding: 20px 22px;
  transition: border-color 0.3s, transform 0.3s;
}
.canal:hover { border-color: rgba(254, 224, 0, 0.5); transform: translateY(-3px); }
.canal svg { width: 26px; height: 26px; color: var(--yellow); flex-shrink: 0; }
.canal strong { display: block; font-size: 0.95rem; text-transform: uppercase; font-style: italic; }
.canal span { color: var(--dim-2); font-size: 0.85rem; }

@media (max-width: 900px) {
  .tema, .bloco-bandeira:nth-of-type(even) .tema { grid-template-columns: 1fr; gap: 26px; }
  .bloco-bandeira:nth-of-type(even) .tema-ficha { order: 0; }
  .tema-ficha { position: static; }
  .tema-foto { aspect-ratio: 16 / 9; }
  .tema-lista .lei { grid-template-columns: 1fr; gap: 6px; }
  .contato-grid { grid-template-columns: 1fr; }
}

.lei-ref { display: block; margin-top: 8px; color: var(--yellow); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.contato { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); }

/* ---------- menu mobile ---------- */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; z-index: 61;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: transform 0.3s, opacity 0.3s; }
.nav.aberto .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.aberto .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.aberto .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav { padding: 12px 14px; }
  .nav.solid { padding: 8px 14px; }
  .nav-pilula { height: 60px; padding: 0 8px 0 18px; justify-content: space-between; }
  .nav-brand { position: static; left: auto; top: auto; transform: none; }
  .logo-nav, .nav.solid .logo-nav { height: 44px; }
  .nav-vazio { display: none; }
  /* com o menu aberto, a pílula perde o vidro para a tela cheia poder sair dela */
  .nav.aberto .nav-pilula { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-color: transparent; box-shadow: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0; z-index: 60;
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px;
    background: rgba(3, 10, 31, 0.97);
    opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .nav.aberto .nav-links { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { font-size: 1.4rem; font-weight: 900; font-style: italic; letter-spacing: 0.04em; color: var(--white); }
  .nav-links a.ativo { color: var(--yellow); }
  .nav-cta { display: none; }
  .nav.aberto .nav-cta { display: inline-block; position: fixed; left: 50%; bottom: 14vh; transform: translateX(-50%); z-index: 61; background: var(--yellow); color: var(--navy-950) !important; font-size: 0.9rem; padding: 14px 28px; }
}
.nav.aberto .nav-brand { position: relative; z-index: 61; }

/* logo oficial no bloco final */
.final-logo {
  display: block; margin: 10px auto 0;
  height: clamp(220px, 38vh, 400px); width: auto;
  position: relative; z-index: 1;
}
.final-logo-wrap { position: relative; display: block; width: fit-content; margin: 0 auto; will-change: transform, opacity; }
.final-logo-brilho {
  position: absolute; left: 50%; top: 50%; width: 140%; aspect-ratio: 1; transform: translate(-50%, -50%);
  pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(254, 224, 0, 0.16), rgba(0, 0, 0, 0.35) 55%, transparent 75%);
}

/* linha do tempo no celular: vertical, com as fotos */
@media (max-width: 900px) {
  .tl-pin { height: auto; min-height: 0; justify-content: flex-start; padding: 90px 0 60px; }
  .tl-dica { display: none; }
  .tl-track { width: auto; height: auto; flex-direction: column; gap: 34px; padding: 10px 4vw 0 4vw; }
  .tl-linha { left: calc(4vw + 8px); right: auto; top: 0; bottom: 0; width: 3px; height: auto; margin: 0; background: linear-gradient(180deg, var(--blue-soft), var(--yellow)); transform-origin: 50% 0; transform: scaleY(0); }
  .tl-item { width: auto; grid-template-rows: none; grid-template-columns: 18px 1fr; grid-template-areas: "no foto" "no texto"; column-gap: 22px; row-gap: 14px; justify-items: start; align-items: start; }
  .tl-no { grid-area: no; margin-top: 6px; }
  .tl-foto { grid-area: foto; width: 120px; height: 120px; }
  .tl-foto::before { width: 80px; height: 80px; right: -16px; bottom: -12px; }
  .tl-texto { grid-area: texto; text-align: left; max-width: none; }
  .tl-item > :first-child, .tl-item > :last-child { margin: 0; align-self: start; }
  .tl-no::before, .tl-no::after { display: none; }
  .tl-ano { font-size: 1.3rem; }
}

/* telas baixas: linha do tempo mais compacta */
@media (min-width: 901px) and (max-height: 780px) {
  .tl-pin { padding-top: 86px; }
  .tl-foto { width: 140px; height: 140px; }
  .tl-foto::before { width: 96px; height: 96px; right: -20px; bottom: -14px; }
  .tl-item > :first-child { margin-bottom: 34px; }
  .tl-item > :last-child { margin-top: 34px; }
  .tl-no::before, .tl-no::after { height: 26px; }
  .tl-ano { font-size: 1.3rem; }
  .tl-texto p { font-size: 0.84rem; }
}

/* ---------- rodapé: skyline de São Paulo virando projeto ---------- */
.footer { position: relative; overflow: clip; padding-top: clamp(240px, 30vw, 380px); }
.footer .wrap, .footer-legal { position: relative; z-index: 2; }
.footer-cidade { position: absolute; inset: 0; pointer-events: none; }
.footer-foto {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 58%;
  object-fit: cover; object-position: 78% 62%;
  filter: grayscale(1) brightness(0.42) contrast(1.1);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 45%, transparent 100%);
  mask-image: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 45%, transparent 100%);
}
.footer-cidade svg {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%;
  opacity: 0.75;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, transparent 100%);
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 55%, transparent 100%);
}
.footer::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, var(--navy-950) 0%, rgba(3,10,31,0) 30%, rgba(3,10,31,0) 60%, rgba(2,7,20,0.85) 100%);
}

/* ---------- celular: menos trabalho pra GPU, mesmo visual ---------- */
@media (max-width: 900px) {
  .nav-pilula { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(3, 10, 31, 0.82); }
  .nav.solid .nav-pilula { background: rgba(3, 10, 31, 0.9); }
  .btn-som { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(3, 10, 31, 0.88); }
  .foto-tag { backdrop-filter: none; }
  .pauta::before, .tema-foto::before, .tl-foto::after { mix-blend-mode: normal; background: rgba(0, 35, 110, 0.42); }
  .final-num { text-shadow: none; }
}
