/* ============================================================
   IDEEB — PÁGINA INSTITUCIONAL
   Construída sobre o IDEEB Design System v2.0
   Navy escuro + brilho verde→lima→amarelo. Tema único.
   ============================================================ */

/* ── FONTES ───────────────────────────────────────────── */
@font-face {
  font-family: 'New Times';
  src: url('../fonts/WEBFONT/GCNewTimesRemain-Regular.woff2') format('woff2'),
       url('../fonts/WEBFONT/GCNewTimesRemain-Regular.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'New Times';
  src: url('../fonts/WEBFONT/GCNewTimesRemain-SemiBold.woff2') format('woff2'),
       url('../fonts/WEBFONT/GCNewTimesRemain-SemiBold.woff') format('woff');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'New Times';
  src: url('../fonts/WEBFONT/GCNewTimesRemain-Bold.woff2') format('woff2'),
       url('../fonts/WEBFONT/GCNewTimesRemain-Bold.woff') format('woff');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'New Times';
  src: url('../fonts/WEBFONT/GCNewTimesRemain-ExtraBold.woff2') format('woff2'),
       url('../fonts/WEBFONT/GCNewTimesRemain-ExtraBold.woff') format('woff');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Seragil';
  src: url('../fonts/Seragil/Seragil-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Seragil';
  src: url('../fonts/Seragil/Seragil-Italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Seragil';
  src: url('../fonts/Seragil/Seragil-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ── TOKENS ───────────────────────────────────────────── */
:root {
  color-scheme: dark;

  --navy-950: #060f1f;
  --navy-900: #0b2340;
  --navy-850: #0f2c4f;
  --navy-800: #14345c;
  --navy-700: #1e4572;
  --line: rgba(255,255,255,0.09);
  --line-strong: rgba(255,255,255,0.16);

  --green: #3fae4a;
  --lime: #a8d652;
  --yellow: #f0d93e;
  --grad-brand: linear-gradient(135deg, var(--green) 0%, var(--lime) 55%, var(--yellow) 100%);
  --grad-glow: radial-gradient(circle, rgba(168,214,82,0.55) 0%, rgba(63,174,74,0.35) 35%, rgba(11,35,64,0) 70%);

  --ink-0: #f6f8f5;
  --ink-1: #cdd8e2;
  --ink-2: #93a3ba;

  --font-display: "New Times", Georgia, "Times New Roman", serif;
  --font-body: "Seragil", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* O papel "mono" do design system (etiquetas, eyebrows) cai na
     Seragil em vez de uma monoespaçada do sistema: só as fontes
     da pasta /fonts são usadas. O espaçamento entre letras já
     vem aplicado em cada componente. */
  --font-mono: "Seragil", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px; --sp-28: 112px;

  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px;
  --radius-xl: 32px; --radius-pill: 999px;
  --radius-hero: clamp(28px, 3.5vw, 48px);

  /* Quanto as seções .layer vizinhas de #move avançam sobre o
     vídeo de fundo, revelando-o atrás dos próprios cantos
     arredondados. Ler junto com .motion e as regras de
     #historia/#valores .layer mais abaixo. */
  --motion-overlap: 56px;

  /* Altura do header flutuante + respiro até o conteúdo do hero */
  --nav-h: 68px;
  --nav-space: calc(var(--sp-5) + var(--nav-h) + var(--sp-16));

  --shadow-xs: 0 1px 3px rgba(6,15,31,0.35);
  --shadow-sm: 0 2px 8px rgba(6,15,31,0.38);
  --shadow-md: 0 8px 24px rgba(6,15,31,0.45);
  --shadow-lg: 0 20px 48px rgba(6,15,31,0.55);
  --shadow-card: 0 2px 10px rgba(6,15,31,0.30), inset 0 1px 0 rgba(255,255,255,0.04);
  --shadow-card-hover: 0 16px 36px rgba(6,15,31,0.5);
  --shadow-btn-glow: 0 14px 30px -8px rgba(168,214,82,0.55);
  --shadow-featured: 0 20px 50px rgba(6,15,31,0.55), 0 0 0 1px rgba(168,214,82,0.28) inset;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shell: 1200px;
}

/* ── BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  /* Gradiente multi-tom em vez do navy-950 chapado — o mesmo
     raciocínio aplicado em cards/header/footer. Sem "fixed":
     um brilho preso ao viewport reaparece idêntico atrás de
     toda seção ao rolar, o que lia como uma mancha estática e
     artificial. Aqui os tons variam ao longo do documento e
     nunca se repetem do mesmo jeito duas vezes. */
  background:
    radial-gradient(1400px 900px at 10% 0%, rgba(20,52,92,0.38) 0%, rgba(11,35,64,0) 58%),
    radial-gradient(1200px 850px at 95% 12%, rgba(15,44,79,0.3) 0%, rgba(11,35,64,0) 55%),
    linear-gradient(180deg, #081527 0%, var(--navy-950) 30%, var(--navy-950) 70%, #050c19 100%);
  color: var(--ink-0);
  overflow-x: hidden;
  line-height: 1.6;
}
::selection { background: var(--lime); color: var(--navy-950); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--sp-6); }
.section { padding: var(--sp-24) 0; position: relative; }

/* ── TIPOGRAFIA UTILITÁRIA ────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime);
  margin-bottom: var(--sp-5);
}
.eyebrow::before { content: ''; width: 2rem; height: 1px; background: currentColor; flex-shrink: 0; }

.h-display, .h-section, .h-card { overflow-wrap: break-word; hyphens: auto; }
.h-display {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.95rem, 5.4vw, 4.15rem); line-height: 1.04;
  letter-spacing: -0.015em; text-wrap: balance;
}
.h-section {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.65rem, 3.4vw, 2.9rem); line-height: 1.12;
  letter-spacing: -0.01em; text-wrap: balance;
}
.h-card {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.3rem; line-height: 1.25; text-wrap: balance;
}
.lead { font-size: clamp(1rem, 1.4vw, 1.135rem); color: var(--ink-1); letter-spacing: 0.015em; line-height: 1.72; max-width: 58ch; }
.body { font-size: 0.9375rem; color: var(--ink-1); letter-spacing: 0.015em; line-height: 1.7; }
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ── BOTÕES ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-body); font-weight: 700; font-size: 0.8125rem;
  letter-spacing: 0.03em; text-transform: uppercase;
  padding: 15px 30px; border: none; border-radius: var(--radius-pill);
  cursor: pointer; white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--grad-brand); color: var(--navy-950); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-btn-glow); }
.btn-primary:active { transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--ink-0); border: 1.5px solid var(--line-strong); }
.btn-secondary:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-3px); }
.btn-sm { font-size: 0.7rem; padding: var(--sp-3) var(--sp-5); }

/* ── TEXTURAS ─────────────────────────────────────────── */
.halftone {
  position: absolute; inset: -10%; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, var(--halftone-color, var(--lime)) 1.3px, transparent 1.6px);
  background-size: 13px 13px;
  -webkit-mask-image: radial-gradient(ellipse 120% 95% at var(--halftone-x, 12%) var(--halftone-y, 12%), rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 38%, rgba(0,0,0,0) 68%);
  mask-image: radial-gradient(ellipse 120% 95% at var(--halftone-x, 12%) var(--halftone-y, 12%), rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 38%, rgba(0,0,0,0) 68%);
  opacity: 0.5;
}
.glow-blob { position: absolute; border-radius: 50%; pointer-events: none; background: var(--grad-glow); filter: blur(30px); z-index: 0; }
.glow-blob--breathe { animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.08); } }

/* ── MARCA ────────────────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: var(--sp-3); }
.brand__bars { display: flex; gap: 4px; height: 22px; }
.brand__bars span { display: block; width: 4px; height: 22px; transform: skewX(-18deg); border-radius: 1px; background: var(--ink-0); }
.brand__bars span:nth-child(1), .brand__bars span:nth-child(4) { background: var(--grad-brand); }
.brand__bars span:nth-child(3) { background: transparent; border: 1.5px solid var(--ink-0); }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: 0.02em; }

/* ── NAV ──────────────────────────────────────────────── */
.nav-wrap { position: fixed; top: var(--sp-5); left: 0; right: 0; z-index: 90; padding: 0 var(--sp-6); }
.nav {
  max-width: var(--shell); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6);
  padding: var(--sp-3) var(--sp-3) var(--sp-3) var(--sp-6);
  background: linear-gradient(155deg, rgba(20,52,92,0.68) 0%, rgba(6,15,31,0.7) 55%, rgba(6,15,31,0.78) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.nav.is-scrolled { background: linear-gradient(155deg, rgba(15,44,79,0.92) 0%, rgba(6,15,31,0.94) 100%); border-color: var(--line-strong); }
.nav__links { display: flex; align-items: center; gap: var(--sp-8); }
.nav__links a {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(246,248,245,0.62);
  transition: color 0.25s var(--ease);
}
.nav__links a:hover { color: var(--ink-0); }
.nav__toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); padding: 10px 14px; cursor: pointer; }
.nav__toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink-0); border-radius: 2px; }
.nav__toggle span + span { margin-top: 4px; }
.nav__drawer { display: none; }

/* ── HERO ─────────────────────────────────────────────── */
/* Ocupa o topo inteiro, sangrando de borda a borda. Só os
   cantos inferiores são arredondados; o topo encosta na
   janela e o conteúdo começa abaixo do header flutuante. */
.hero { padding: 0 0 var(--sp-16); }
.hero__card {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: center;
  border-radius: 0 0 var(--radius-hero) var(--radius-hero);
  background: linear-gradient(155deg, #081527 0%, var(--navy-900) 48%, #0d2a4d 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: var(--nav-space) 0 clamp(var(--sp-12), 6vw, var(--sp-20));
}
.hero__card > .shell { position: relative; z-index: 2; width: 100%; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.35fr 0.85fr; gap: var(--sp-16); align-items: center; }
.hero__grid > * { min-width: 0; }
.hero h1 { margin-bottom: var(--sp-6); max-width: min(15ch, 100%); }
.hero__sub { margin-bottom: var(--sp-8); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

.hero__aside { display: flex; flex-direction: column; gap: var(--sp-6); align-items: flex-start; }
.hero__emblem {
  position: relative; width: 100%; aspect-ratio: 1;
  display: grid; place-items: center;
}
.hero__emblem-img {
  position: relative; z-index: 2; width: 88%; max-width: 420px;
  filter: drop-shadow(0 24px 40px rgba(6,15,31,0.55));
  animation: emblem-float 6s ease-in-out infinite;
}
@keyframes emblem-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ── CAMADAS DE FUNDO ─────────────────────────────────────
   Duas variações para quebrar a leitura contínua do navy:
   .layer  → bloco elevado em container arredondado
   .band   → faixa sangrada de borda a borda, mais sutil     */

/* Fundo sangra de borda a borda; o conteúdo continua preso
   ao .shell interno, na mesma largura do resto da página. */
.layer {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(30,69,114,0.5) 0%, rgba(11,35,64,0) 55%),
    linear-gradient(165deg, var(--navy-850) 0%, var(--navy-900) 38%, var(--navy-950) 100%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.05);
  padding: clamp(var(--sp-16), 6vw, var(--sp-24)) 0;
}
/* :not() eleva a especificidade e preserva o position:absolute
   das camadas decorativas (halftone / glow), que são definidas
   antes deste bloco na folha de estilo. */
.layer > :not(.halftone, .glow-blob) { position: relative; z-index: 2; }

.band {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(30,69,114,0.5) 0%, rgba(11,35,64,0) 55%),
    linear-gradient(165deg, var(--navy-850) 0%, var(--navy-900) 38%, var(--navy-950) 100%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.05);
  /* #atuacao avança sobre as fotos de #manifesto (acima) e do
     CTA final (abaixo) — compensa com padding extra dos dois
     lados. Ver bloco de sobreposição perto de #move. */
  padding: calc(var(--sp-20) + var(--motion-overlap)) 0;
}
.band > .shell { position: relative; z-index: 2; }

#atuacao {
  margin-top: calc(-1 * var(--motion-overlap));
  margin-bottom: calc(-1 * var(--motion-overlap));
  z-index: 2;
}

/* Cartões sobre .layer ficam translúcidos e desfocados, para
   as camadas se lerem como profundidade e não como blocos. */
.layer .tl-item,
.layer .value {
  background: linear-gradient(150deg, rgba(30,69,114,0.45) 0%, rgba(6,15,31,0.52) 55%, rgba(6,15,31,0.62) 100%);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.layer .tl-item:hover { background: linear-gradient(150deg, rgba(30,69,114,0.6) 0%, rgba(6,15,31,0.68) 55%, rgba(6,15,31,0.78) 100%); }
.layer .value--featured {
  background: linear-gradient(160deg, rgba(20,52,92,0.85), rgba(6,15,31,0.75));
}

/* ── CABEÇALHO DE SEÇÃO ───────────────────────────────── */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: end; margin-bottom: var(--sp-12); }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--center .lead { max-width: 62ch; }

/* ── SOBRE ─────────────────────────────────────────────────
   Sem cards: as duas colunas ficam soltas sobre o fundo da
   seção, sem divisor entre elas — só o espaço do grid gap. */
.about__grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-16);
  align-items: stretch;
}
.about__col { position: relative; }
.about__col > :not(.halftone, .glow-blob, .net, .net-hint) { position: relative; z-index: 1; }
.about__col--net {
  position: relative; overflow: hidden;
  min-height: 420px;
}

/* Rede de conexões — canvas decorativo, sem moldura própria.
   width/height em 100% (não "auto"): <canvas> é elemento
   substituído, então "auto" usaria o tamanho intrínseco do
   bitmap em vez de esticar entre os insets — o que infla a
   largura a cada resize(), num loop de realimentação. */
.net {
  position: absolute; inset: 0;
  z-index: 0; width: 100%; height: 100%; display: block;
  cursor: crosshair;
}

/* Etiqueta que acompanha o nó em destaque sob o cursor */
.net-hint {
  position: absolute; z-index: 4; top: 0; left: 0;
  transform: translate(-9999px, -9999px);
  display: flex; align-items: center; gap: 7px;
  background: rgba(6,15,31,0.88); border: 1px solid rgba(168,214,82,0.35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--ink-0); font-family: var(--font-body); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.01em; white-space: nowrap;
  padding: 7px 12px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none;
  transition: opacity 0.18s var(--ease);
  will-change: transform, opacity;
}
.net-hint.is-on { opacity: 1; }
.net-hint::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 8px rgba(168,214,82,0.7);
  flex-shrink: 0;
}
.about__list-label {
  display: block; margin-top: var(--sp-10); margin-bottom: var(--sp-5);
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
.about__list { display: flex; flex-direction: column; }
.about__list li {
  display: flex; gap: var(--sp-4); align-items: center;
  font-size: 0.9rem; color: var(--ink-1); line-height: 1.5;
  padding: var(--sp-4) 0; border-top: 1px solid var(--line);
}
.about__list li:last-child { border-bottom: 1px solid var(--line); }
.about__list svg { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--lime); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ── HISTÓRIA / TIMELINE ──────────────────────────────── */
.timeline { display: flex; flex-direction: column; gap: var(--sp-4); }
.tl-item {
  display: grid; grid-template-columns: 120px 1fr; gap: var(--sp-8); align-items: center;
  padding: var(--sp-6) var(--sp-8);
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: linear-gradient(150deg, var(--navy-800) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.tl-item:hover { border-color: rgba(168,214,82,0.4); transform: translateX(6px); background: linear-gradient(150deg, var(--navy-700) 0%, var(--navy-850) 55%, var(--navy-950) 100%); }
.tl-year { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: var(--lime); line-height: 1; }
.tl-body { display: flex; flex-direction: column; gap: 4px; }
.tl-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }
.tl-text { font-size: 0.875rem; color: var(--ink-1); line-height: 1.6; }

/* ── FUNDO EM VÍDEO (propósito/missão/visão) ──────────────
   Diferente de .layer/.band: aqui o vídeo NÃO fica num card
   com borda/raio/sombra próprios — ele é o plano de fundo
   contínuo da seção, sem moldura, encostando direto nas
   seções vizinhas (sem o respiro vertical do .section). As
   seções vizinhas (.layer, com seus próprios cantos
   arredondados) é que avançam sobre ele via margem negativa,
   dando a sensação de "flutuar" acima de um fundo único —
   ver #historia .layer / #valores .layer mais abaixo, e a
   variável --motion-overlap que define quanto elas avançam.
   Sem JS de fallback: o atributo poster já cobre o caso do
   vídeo não carregar — a imagem de reserva fica no lugar. */
#move.section { padding: 0; }

.motion {
  position: relative; z-index: 1; overflow: hidden;
  /* padding extra para compensar o respiro do .section removido
     + o avanço das seções vizinhas, mantendo o conteúdo longe
     da área de sobreposição */
  padding: calc(var(--sp-28) + var(--motion-overlap)) 0;
}
.motion > :not(.halftone, .motion__media, .motion__overlay) { position: relative; z-index: 2; }

/* Seções vizinhas avançando sobre o vídeo — ver nota acima.
   Zera-se o padding do .section só no lado que encosta em
   #move (o padding do outro lado continua de pé); sem isso a
   margem negativa do .layer só "comeria" o próprio padding da
   section, sem chegar a sobrepor o vídeo de fato. */
#historia.section { padding-bottom: 0; }
#historia .layer { margin-bottom: calc(-1 * var(--motion-overlap)); position: relative; z-index: 2; }

#valores.section { padding-top: 0; padding-bottom: 0; }
#valores .layer {
  margin-top: calc(-1 * var(--motion-overlap));
  margin-bottom: calc(-1 * var(--motion-overlap));
  position: relative; z-index: 2;
}

.motion__media { position: absolute; inset: 0; z-index: 0; background: var(--navy-950); }
.motion__media video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(45%) saturate(0.65) brightness(0.28) contrast(1.05) blur(1px);
  transform: scale(1.04); /* esconde a borda do blur/object-fit */
}

.motion__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(90% 70% at 50% 100%, rgba(63,174,74,0.2) 0%, rgba(11,35,64,0) 62%),
    radial-gradient(70% 60% at 88% 0%, rgba(240,217,62,0.08) 0%, rgba(11,35,64,0) 55%),
    linear-gradient(180deg, rgba(6,15,31,0.5) 0%, rgba(8,21,39,0.65) 45%, rgba(6,15,31,0.8) 100%);
}

/* ── PILARES (propósito/missão/visão) ─────────────────── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.pillar {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(20,52,92,0.55), rgba(6,15,31,0.6));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong); border-top: 2px solid var(--lime);
  border-radius: var(--radius-lg); padding: var(--sp-10) var(--sp-8);
  display: flex; flex-direction: column; gap: var(--sp-4);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-top-color 0.3s var(--ease), background 0.3s var(--ease);
}
.pillar::after {
  content: ''; position: absolute; width: 200px; height: 200px; right: -80px; bottom: -100px;
  background: var(--grad-glow); filter: blur(6px); pointer-events: none;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-top-color: var(--yellow); }
.pillar > * { position: relative; z-index: 1; }
.pillar svg { width: 28px; height: 28px; stroke: var(--lime); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ── VALORES (bento) ──────────────────────────────────── */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.value {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--navy-800) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  padding: var(--sp-8);
  display: flex; flex-direction: column; gap: var(--sp-3);
  min-height: 190px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.value:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.value > * { position: relative; z-index: 1; }
.value--wide { grid-column: span 2; }
.value--featured {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--shadow-featured);
}
.value--featured::before {
  content: ''; position: absolute; width: 240px; height: 240px; right: -90px; bottom: -110px;
  background: var(--grad-glow); filter: blur(20px); pointer-events: none;
}
.value__num { font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; color: var(--lime); }
.value__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.value__text { font-size: 0.85rem; color: var(--ink-1); line-height: 1.6; }

/* ── MARQUEE ──────────────────────────────────────────── */
.marquee { position: relative; overflow: hidden; padding: var(--sp-12) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; gap: var(--sp-10); animation: slide 28s linear infinite; }
.marquee__item {
  display: inline-flex; align-items: center; gap: var(--sp-10);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 3rem); letter-spacing: -0.01em; white-space: nowrap;
}
.marquee__sep { width: 14px; height: 14px; flex-shrink: 0; background: var(--grad-brand); transform: rotate(45deg); border-radius: 3px; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ── MANIFESTO ─────────────────────────────────────────────
   Igual a #move: a foto NÃO fica num card com borda/raio/
   sombra — é o plano de fundo contínuo da seção, encostando
   direto em #valores (acima) e #atuacao (abaixo), que avançam
   sobre ela via margem negativa (ver regras perto de #move).
   A foto fica menor/só à esquerda (background-size custom, não
   cover esticado) com um fade normal para o gradiente à direita,
   onde mora o texto. */
#manifesto.section { padding: 0; }
.manifesto {
  position: relative; z-index: 1; overflow: hidden;
  /* Propriedades longhand (não o shorthand "background") — a cor
     de fundo precisa preencher com segurança tudo que sobra à
     direita da foto (que não cobre a largura toda), senão essa
     faixa fica com a cor default do navegador e aparece como um
     corte visível antes mesmo do gradiente entrar. */
  background-color: var(--navy-950);
  background-image: url('images/employ-bg-opt.jpg');
  background-position: left center;
  background-size: auto 92%;
  background-repeat: no-repeat;
  padding: calc(var(--sp-28) + var(--motion-overlap) + var(--sp-8)) 0;
}
.manifesto__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  /* Fade bem mais gradual (mais paradas, começando antes) para
     dissolver a borda da foto em vez de esconder atrás de uma
     "parede" escura repentina. */
  background: linear-gradient(90deg,
    rgba(6,15,31,0) 0%,
    rgba(6,15,31,0.1) 18%,
    rgba(6,15,31,0.32) 32%,
    rgba(6,15,31,0.62) 44%,
    rgba(6,15,31,0.85) 58%,
    rgba(6,15,31,0.95) 75%,
    rgba(6,15,31,0.97) 100%);
}
.manifesto > :not(.manifesto__overlay) { position: relative; z-index: 2; }
.manifesto__content {
  max-width: 600px; margin-left: auto;
  display: flex; flex-direction: column; gap: var(--sp-8);
}

.pullquote {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.15rem, 1.9vw, 1.55rem); line-height: 1.45;
  border-left: 2px solid var(--lime); padding-left: var(--sp-6);
  color: var(--ink-0); text-wrap: balance;
}
.pullquote footer { display: block; margin-top: var(--sp-5); font-family: var(--font-mono); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); }

/* ── ATUAÇÃO ──────────────────────────────────────────── */
.reach__tags { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.tag {
  font-size: 0.8125rem; color: var(--ink-1);
  border: 1px solid var(--line-strong); padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.tag:hover { border-color: var(--lime); color: var(--lime); }

.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.level {
  padding: var(--sp-10) var(--sp-8);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(30,69,114,0.45) 0%, rgba(6,15,31,0.52) 55%, rgba(6,15,31,0.62) 100%);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-3);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.level:hover { border-color: rgba(168,214,82,0.4); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.level svg { width: 26px; height: 26px; stroke: var(--lime); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.level strong { font-family: var(--font-display); font-size: 1.25rem; }
.level span { font-size: 0.85rem; color: var(--ink-1); line-height: 1.6; }

.reach__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-8); margin-top: clamp(var(--sp-12), 4vw, var(--sp-16));
  padding-top: var(--sp-10); border-top: 1px solid var(--line);
}
.reach__foot-label {
  display: block; margin-bottom: var(--sp-4);
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}

/* ── CTA FINAL ─────────────────────────────────────────────
   Igual a #move/#manifesto: .cta-final é o plano de fundo
   contínuo (foto sem borda/raio/sombra própria), encostando
   direto em #atuacao (acima) e no rodapé (abaixo) — ambos
   avançam sobre ela via margem negativa. O .cta-card por cima
   continua sendo vidro fosco com gradiente próprio (sem a
   foto embutida), só que agora mais largo. */
#participar.section { padding: 0; }
.cta-final {
  position: relative; z-index: 1; overflow: hidden;
  background: url('images/cta-bg2-opt.jpg') center 38% / cover no-repeat, var(--navy-950);
  padding: calc(var(--sp-28) + var(--motion-overlap) + var(--sp-8)) var(--sp-8);
}
.cta-final__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(140% 100% at 50% 50%, rgba(11,35,64,0) 40%, rgba(6,15,31,0.55) 100%),
    linear-gradient(180deg, rgba(6,15,31,0.35) 0%, rgba(6,15,31,0.15) 30%, rgba(6,15,31,0.5) 100%);
}
.cta-final > .shell { position: relative; z-index: 2; display: flex; justify-content: center; }

.cta-card {
  position: relative; overflow: hidden;
  width: 100%; max-width: 880px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-6);
  border-radius: var(--radius-lg);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--green), var(--lime), var(--yellow)) 1;
  background: linear-gradient(150deg, rgba(20,52,92,0.6) 0%, rgba(6,15,31,0.82) 65%, rgba(6,15,31,0.9) 100%);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-featured);
  padding: clamp(var(--sp-10), 5vw, var(--sp-16)) clamp(var(--sp-6), 4vw, var(--sp-10));
}
.cta-card::after {
  content: ''; position: absolute; width: 260px; height: 260px;
  left: -100px; bottom: -120px; background: var(--grad-glow); filter: blur(10px); pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { max-width: min(20ch, 100%); }
.cta-card .lead { text-align: center; }

/* ── RODAPÉ ───────────────────────────────────────────────
   Avança sobre a foto do CTA final por cima, mesma lógica de
   #historia/#valores avançando sobre #move. Vem depois no DOM,
   então já pinta por cima naturalmente — só precisa da margem
   negativa (sem precisar de z-index extra). */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 100% at 12% 0%, rgba(20,52,92,0.4) 0%, rgba(11,35,64,0) 55%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 55%, #050c19 100%);
  padding: var(--sp-20) 0 var(--sp-8);
  margin-top: calc(-1 * var(--motion-overlap));
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-12); margin-bottom: var(--sp-16); }
.footer__brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: var(--sp-6) 0 var(--sp-3); line-height: 1.35; max-width: 32ch; }
.footer__tagline { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); }
.footer__col h4 { font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: var(--sp-5); }
.footer__col li + li { margin-top: var(--sp-3); }
.footer__col a, .footer__col span { font-size: 0.875rem; color: var(--ink-1); transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--lime); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-4); padding-top: var(--sp-8); border-top: 1px solid var(--line); }
.footer__bottom p { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.08em; color: var(--ink-2); }
.footer__bottom a { color: var(--ink-1); border-bottom: 1px solid rgba(168,214,82,0.4); transition: color 0.25s var(--ease), border-color 0.25s var(--ease); }
.footer__bottom a:hover { color: var(--lime); border-color: var(--lime); }
.socials { display: flex; gap: var(--sp-3); }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 50%; transition: border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease); }
.socials a:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ── REVELAÇÃO AO ROLAR ───────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── RESPONSIVO ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--sp-12); }
  .hero__card { min-height: auto; padding-bottom: clamp(var(--sp-16), 8vw, var(--sp-24)); }
  .hero__aside { flex-direction: row; align-items: stretch; }
  .hero__emblem { max-width: 320px; }
  .about__grid { grid-template-columns: 1fr; gap: var(--sp-10); }
  .about__col--net { min-height: 320px; }
  .net { inset: 0; }
  .levels { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; gap: var(--sp-6); align-items: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-10); }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav > .btn { display: none; }
  .nav { padding: var(--sp-3) var(--sp-3) var(--sp-3) var(--sp-5); }
  .nav__drawer {
    display: block; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    background: linear-gradient(155deg, rgba(20,52,92,0.9) 0%, rgba(6,15,31,0.97) 100%); border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg); backdrop-filter: blur(16px);
    padding: var(--sp-6); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav__drawer.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__drawer ul { display: flex; flex-direction: column; gap: var(--sp-4); margin-bottom: var(--sp-6); }
  .nav__drawer a { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-1); }
  .nav__drawer .btn { width: 100%; }
  .tl-item { grid-template-columns: 1fr; gap: var(--sp-3); border-radius: var(--radius-lg); padding: var(--sp-6); }
  .tl-item:hover { transform: none; }
  .levels { grid-template-columns: 1fr; }
  .reach__foot { flex-direction: column; align-items: flex-start; }
  .reach__foot .btn { width: 100%; }
}
@media (max-width: 620px) {
  .section { padding: var(--sp-16) 0; }
  .hero__aside { flex-direction: column; }
  .hero__emblem { max-width: none; }
  .values { grid-template-columns: 1fr; }
  .value--wide { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ── MOVIMENTO REDUZIDO ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
