/* ============================================================
   MEGA — style.css
   Dark mode absoluto · mobile-first · caixinha roxa assinatura
   ============================================================ */

/* ---------- FONTE DE IMPACTO (Thunderhouse Pro, auto-hospedada) ----------
   font-display: swap → o texto aparece imediatamente em Sora e troca para
   a Thunderhouse assim que ela carrega. Como é same-origin, carrega rápido
   e sem FOIT. Não depende mais de Typekit nem de autorização de domínio. */
@font-face {
  font-family: "thunderhouse-pro";
  src: url("../assets/fonts/thunderhouse-pro.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- TOKENS ---------- */
:root {
  --bg:          #0D0D0D;   /* preto base */
  --bg-roxo:     #0A0014;   /* roxo-preto para variação de seções */
  --cta:         #7B2FBE;   /* roxo de ação: botões, caixinha, links */
  --lilas:       #A855F7;   /* destaques secundários */
  --texto:       #FFFFFF;
  --texto-suave: #B8B8C4;

  /* identidade do Impactar (co-brand laranja/preto) */
  --impactar:    #F7841F;
  --impactar-2:  #F26B3A;

  --max:   1180px;
  --gap:   clamp(1rem, 4vw, 2.5rem);
  --radius: 14px;
  --nav-h: 72px;

  /* stack de impacto: Thunderhouse Pro (auto-hospedada) com Sora de fallback
     imediato via font-display:swap — zero FOIT, zero dependência externa. */
  --font-impact: "thunderhouse-pro", "Sora", sans-serif;
  --font-body:   "Sora", system-ui, sans-serif;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--texto);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { line-height: 1.05; font-weight: 400; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gap); }

/* ---------- ACESSIBILIDADE ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--cta); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--lilas);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- GRAIN / RUÍDO ---------- */
.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   TIPOGRAFIA DE IMPACTO + CAIXINHA ROXA (assinatura)
   ============================================================ */
.hero-title, .sec-head h2, .sobre-texto h2, .cta-final h2 {
  font-family: var(--font-impact);
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* caixinha roxa — marca-texto sólido */
.mark {
  background: var(--cta);
  color: #fff;
  padding: .04em .28em;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  white-space: nowrap;
}

.label {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--lilas);
  font-weight: 600;
  margin-bottom: 1rem;
}

.sec-head { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.sec-head h2, .sobre-texto h2 { font-size: clamp(1.9rem, 5vw, 3.2rem); }
.sec-sub { color: var(--texto-suave); margin-top: 1rem; font-size: 1.1rem; }

section { position: relative; z-index: 2; padding-block: clamp(3.5rem, 8vw, 7rem); }

/* ---------- BOTÕES ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.6rem; border-radius: 10px;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: 1px solid transparent;
}
.btn-mark {
  background: var(--cta); color: #fff;
  box-shadow: 0 8px 30px -10px rgba(123,47,190,.7);
}
.btn-mark:hover { transform: translateY(-2px); box-shadow: 0 12px 36px -8px rgba(168,85,247,.75); background: #8b3ad0; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.btn-outline:hover { border-color: var(--lilas); color: var(--lilas); transform: translateY(-2px); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(13,13,13,.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s ease;
}
.navbar.scrolled { background: rgba(13,13,13,.92); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 54px; width: auto; }
.footer-brand .nav-logo img { height: 64px; }
.nav-logo-text {
  font-family: var(--font-impact); font-size: 1.4rem; line-height: .9;
  text-transform: lowercase; letter-spacing: 1px;
}
.nav-menu { display: flex; gap: 1.8rem; }
.nav-menu a { font-size: .95rem; color: var(--texto-suave); transition: color .2s; }
.nav-menu a:hover { color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-social { color: var(--texto-suave); transition: color .2s, transform .2s; }
.nav-social:hover { color: var(--lilas); transform: translateY(-2px); }
.nav-cta { padding: .6rem 1.2rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none; flex-direction: column; gap: .3rem;
  background: rgba(10,0,20,.98); padding: 1rem var(--gap) 1.6rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-mobile a { padding: .8rem 0; color: var(--texto-suave); border-bottom: 1px solid rgba(255,255,255,.05); }
.nav-mobile a:last-child { margin-top: 1rem; border: 0; }
.nav-mobile.open { display: flex; }

/* ============================================================
   DOBRA 1 — HERO (fixo, reveal "cortina" no topo)
   O wrapper reserva 100vh e clipa o hero fixed; o <main> opaco
   (z-index:1) desliza por cima cobrindo o hero, que fica parado.
   ============================================================ */
.hero-pin {
  position: relative;
  height: 100vh; min-height: 600px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.hero {
  position: fixed; top: 0; left: 0; z-index: 0;
  width: 100%; height: 100vh; min-height: 600px;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
/* fundo dot-matrix da logo (Canvas 2D) — fica acima do overlay/glow, atrás do texto */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
/* "bolsão" escuro atrás do texto: mantém a logo brilhando em volta, mas dá
   contraste pro texto (fica acima do canvas, abaixo do hero-content z:3) */
.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(ellipse 64% 58% at 33% 50%,
    rgba(8,0,16,.85) 0%, rgba(8,0,16,.5) 42%, transparent 72%);
}
.hero-video, .hero-poster-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-poster-fallback { display: none; } /* mostrado no mobile via JS/media query */
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,.55) 0%, rgba(10,0,20,.85) 100%);
}
.hero-glow {
  position: absolute; width: 60vw; height: 60vw; max-width: 700px; max-height: 700px;
  left: 50%; top: 40%; transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(123,47,190,.45) 0%, transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.hero-content { position: relative; z-index: 3; max-width: 880px; }
/* sombra reforçada garante legibilidade do texto sobre o dot-matrix mais brilhante */
.hero-title { font-size: clamp(2.6rem, 9vw, 6rem); margin-bottom: 1.4rem; text-shadow: 0 2px 22px rgba(10,0,20,.95), 0 0 70px rgba(10,0,20,.7); }
.hero-sub { font-size: clamp(1.05rem, 2.4vw, 1.4rem); color: var(--texto-suave); max-width: 620px; margin-bottom: 2.2rem; text-shadow: 0 2px 14px rgba(10,0,20,.95), 0 0 40px rgba(10,0,20,.8); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }
.hero-selo {
  display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  font-size: .95rem; color: var(--texto-suave);
  border: 1px solid rgba(168,85,247,.3); border-radius: 50px; padding: .55rem 1.1rem;
  background: rgba(168,85,247,.07);
}
.hero-selo .star { color: var(--lilas); }
.hero-selo strong { color: #fff; }

/* ============================================================
   DOBRA 2 — TICKER
   ============================================================ */
.ticker {
  padding-block: 0; overflow: hidden;
  background: var(--cta);
  border-block: 1px solid rgba(255,255,255,.1);
}
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker-group {
  display: flex; align-items: center; gap: 1.4rem;
  padding: 1rem 1.4rem 1rem 0;
  font-family: var(--font-impact); font-size: 1.05rem; letter-spacing: 1px;
  text-transform: uppercase; white-space: nowrap; color: #fff;
}
.ticker-group .dot { opacity: .6; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   DOBRA 3 — SOBRE
   ============================================================ */
.sobre { background: var(--bg-roxo); }
.sobre-grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.sobre-foto { position: relative; }
.sobre-foto img {
  width: 100%; border-radius: var(--radius);
  filter: grayscale(1) contrast(1.05);
  position: relative; z-index: 2;
}
.sobre-foto::before {
  content: ""; position: absolute; inset: -10% -8% -8% -10%; z-index: 1;
  background: radial-gradient(circle at 60% 40%, rgba(123,47,190,.55), transparent 70%);
  filter: blur(30px);
}
.sobre-texto p { color: var(--texto-suave); margin-top: 1.2rem; font-size: 1.05rem; }
.sobre-selos {
  display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2rem;
}
.sobre-selos li { display: flex; flex-direction: column; }
.sobre-selos strong { font-family: var(--font-body); font-weight: 800; letter-spacing: -.01em; font-size: 1.55rem; color: var(--lilas); }
.sobre-selos span { font-size: .85rem; color: var(--texto-suave); }
.lideranca-cards { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.2rem; }
.ceo-card {
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--cta); background: rgba(123,47,190,.08); border-radius: 0 10px 10px 0;
}
.ceo-nome { color: #fff; margin: 0 0 .6rem; }
.ceo-bio { font-size: .92rem; }
.ceo-bio + .ceo-bio { margin-top: .7rem; }

/* sanfona: colapsa mostrando as primeiras linhas (ambos os cards no mesmo tamanho) */
.ceo-body {
  position: relative;
  max-height: 5.6em; overflow: hidden;
  transition: max-height .45s cubic-bezier(.4,0,.2,1);
}
.ceo-body::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.8em;
  background: linear-gradient(transparent, #130422);
  pointer-events: none; transition: opacity .3s ease;
}
.ceo-card.open .ceo-body::after { opacity: 0; }
.ceo-toggle {
  margin-top: .8rem; padding: 0; border: 0; background: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--lilas); font-family: var(--font-body); font-weight: 600; font-size: .85rem;
  transition: color .2s;
}
.ceo-toggle::after { content: "▾"; font-size: .8em; transition: transform .3s ease; }
.ceo-card.open .ceo-toggle::after { transform: rotate(180deg); }
.ceo-toggle:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { .ceo-body { transition: none; } }

/* ============================================================
   DOBRA 4 — SERVIÇOS
   ============================================================ */
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.card {
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 1.8rem;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(168,85,247,.5);
  box-shadow: 0 20px 50px -20px rgba(123,47,190,.6);
}
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 1.3rem;
  border-radius: 14px;
  color: var(--lilas);
  background: linear-gradient(150deg, rgba(123,47,190,.22), rgba(168,85,247,.05));
  border: 1px solid rgba(168,85,247,.28);
  transition: color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.card-icon svg { width: 26px; height: 26px; display: block; }
.card:hover .card-icon {
  color: #fff;
  border-color: rgba(168,85,247,.6);
  box-shadow: 0 8px 24px -8px rgba(123,47,190,.7);
  transform: translateY(-2px);
}
.card h3 { font-size: 1.25rem; margin-bottom: .6rem; font-weight: 600; font-family: var(--font-body); text-transform: uppercase; letter-spacing: .5px; }
.card p { color: var(--texto-suave); font-size: .98rem; margin-bottom: 1rem; }
.card-link { color: var(--lilas); font-weight: 600; font-size: .9rem; }
.card-link:hover { color: #fff; }

/* ============================================================
   DOBRA 4.5 — EVENTOS & EXPERIÊNCIAS
   ============================================================ */
.eventos { background: var(--bg-roxo); }
.eventos-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.4rem;
  max-width: 1000px; margin: 0 auto;
}
.evento-pilar { text-align: center; }
.evento-pilar .card-icon { margin-inline: auto; }
.evento-pilar h3 {
  font-size: 1.2rem; margin-bottom: .6rem; font-weight: 600;
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: .5px;
}
.evento-pilar p { color: var(--texto-suave); font-size: .98rem; max-width: 320px; margin-inline: auto; }
.eventos-prova {
  text-align: center; max-width: 720px; margin: 3rem auto 0;
  padding-top: 2.2rem; border-top: 1px solid rgba(255,255,255,.08);
  color: var(--texto-suave); font-size: 1.02rem;
}
.eventos-prova strong { color: var(--impactar); font-weight: 700; }

/* ============================================================
   DOBRA 5 — METODOLOGIA
   ============================================================ */
.metodologia { background: var(--bg-roxo); }
.timeline { display: grid; grid-template-columns: 1fr; gap: 1.4rem; counter-reset: step; }
.step {
  position: relative; padding: 1.8rem; border-radius: var(--radius);
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
}
.step-letra {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--cta); color: #fff;
  font-family: var(--font-impact); font-size: 1.8rem; margin-bottom: 1rem;
  box-shadow: 0 10px 30px -10px rgba(123,47,190,.8);
}
.step h3 { font-size: 1.2rem; margin-bottom: .5rem; font-weight: 600; font-family: var(--font-body); text-transform: uppercase; letter-spacing: .5px; }
.step p { color: var(--texto-suave); font-size: .98rem; }

/* ============================================================
   DOBRA 6 — PORTFÓLIO (carrossel em leque / fan)
   ============================================================ */
.fan-wrap {
  --card-w: clamp(190px, 24vw, 300px);   /* largura do card */
  display: flex; flex-direction: column; align-items: center;
  width: 100%; padding-inline: var(--gap);
}

/* palco do leque: cards são posicionados em absoluto e centralizados */
.fan {
  position: relative;
  width: 100%; max-width: 80rem;
  height: clamp(360px, 56vw, 560px);
  display: flex; align-items: center; justify-content: center;
}

.fan-card {
  position: absolute;
  left: 50%; top: 50%;
  width: var(--card-w);
  aspect-ratio: 5 / 7;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(168,85,247,.28);
  background: linear-gradient(165deg, #2a1147 0%, #14071f 55%, #0A0014 100%);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.85);
  /* origem central; o JS aplica translate/rotate/scale */
  transform-origin: center center;
  will-change: transform, opacity;
  /* easing "back" → bounce parecido com o elastic do GSAP */
  transition: transform .6s cubic-bezier(.34,1.4,.5,1), opacity .45s ease;
  backface-visibility: hidden;
}
.fan-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; z-index: 2;
}
/* sem imagem → recua atrás do rótulo, revelando o gradiente + label do card */
.fan-card img.img-missing { opacity: 0; z-index: 0; }

/* badge da vertical, sempre visível no rodapé do card */
.fan-badge {
  position: absolute; left: 14px; bottom: 14px; z-index: 3;
  background: var(--cta); color: #fff;
  font-size: .8rem; font-weight: 600; letter-spacing: .5px;
  padding: .32rem .72rem; border-radius: 7px;
  box-shadow: 0 6px 18px -6px rgba(123,47,190,.9);
}
/* rótulo grande de placeholder (aparece só enquanto não há imagem) */
.fan-card::after {
  content: attr(data-vertical);
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-impact);
  font-size: clamp(1.4rem, 3vw, 2rem); text-transform: uppercase;
  color: rgba(168,85,247,.35); letter-spacing: 1px;
  pointer-events: none;
}
.fan-card:has(img:not(.img-missing))::after { opacity: 0; } /* some quando há imagem */

/* controles: setas + bullets */
.fan-controls { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.fan-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(168,85,247,.08); color: var(--lilas);
  border: 1.5px solid rgba(168,85,247,.3);
  cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .2s;
}
.fan-arrow svg { width: 20px; height: 20px; }
.fan-arrow:hover { background: var(--cta); color: #fff; border-color: var(--cta); transform: translateY(-2px); }
.fan-arrow:active { transform: translateY(0); opacity: .8; }
.fan-dots { display: flex; align-items: center; gap: .5rem; }
.fan-dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0; border: 0;
  background: rgba(168,85,247,.25); cursor: pointer;
  transition: background .3s, transform .3s, width .3s;
}
.fan-dot.is-active { background: var(--lilas); transform: scale(1.3); }

@media (prefers-reduced-motion: reduce) {
  .fan-card { transition: opacity .3s ease; }
}

/* ============================================================
   DOBRA 7 — PROVA SOCIAL
   ============================================================ */
.logos-faixa { overflow: hidden; padding-block: 2.5rem; margin-bottom: 3rem; border-block: 1px solid rgba(255,255,255,.06); }
.logos-track {
  display: flex; align-items: center; gap: clamp(2rem, 6vw, 4.5rem);
  flex-wrap: wrap; justify-content: center;
}
.logos-track img {
  height: 38px; width: auto; opacity: .55; filter: grayscale(1) brightness(0) invert(1);
  transition: opacity .25s;
}
.logos-track img:hover { opacity: 1; }

/* seção do Impactar com a foto do evento de fundo (escurecida) */
.impactar-section { position: relative; overflow: hidden; }
.impactar-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url("../assets/impactar-evento.jpg") center/cover no-repeat;
}
.impactar-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,4,2,.80) 0%, rgba(8,4,2,.90) 100%),
    radial-gradient(ellipse 75% 60% at 50% 28%, rgba(247,132,31,.20), transparent 62%);
}
.impactar-section .container { position: relative; z-index: 1; }

.impactar-card {
  position: relative; text-align: center; overflow: hidden;
  /* "vidro" translúcido sobre a foto do evento */
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(247,132,31,.18), transparent 62%),
    linear-gradient(165deg, rgba(22,16,10,.86) 0%, rgba(11,8,5,.88) 60%, rgba(8,6,4,.9) 100%);
  border: 1px solid rgba(247,132,31,.35);
  border-radius: 20px; padding: clamp(2rem, 5vw, 3.4rem);
  box-shadow: 0 30px 90px -36px rgba(0,0,0,.9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.impactar-label {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--texto-suave); margin-bottom: 1rem;
}
.impactar-logo { width: clamp(220px, 42vw, 360px); height: auto; margin: 0 auto 2rem; display: block; }
.impactar-metricas {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.6rem 2.6rem; margin-bottom: 1.8rem;
}
.impactar-metricas li { display: flex; flex-direction: column; flex: 0 0 auto; min-width: 92px; }
.impactar-metricas strong {
  /* Sora bold em vez da Thunderhouse: legível em número pequeno */
  font-family: var(--font-body); font-weight: 800; letter-spacing: -.01em;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  color: var(--impactar);
  background: linear-gradient(180deg, #FBA63F, var(--impactar-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.impactar-metricas span { font-size: .85rem; color: var(--texto-suave); }
.impactar-apoio { color: var(--texto-suave); font-size: .95rem; max-width: 640px; margin: 0 auto 2rem; }

/* cidades em destaque (chips laranja) */
.impactar-cidades-wrap { margin-bottom: 2.2rem; }
.impactar-cidades-label {
  display: block; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--impactar); font-weight: 600; margin-bottom: 1rem;
}
.impactar-cidades { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.impactar-cidades li {
  font-size: .9rem; font-weight: 600; color: #fff;
  padding: .42rem .95rem; border-radius: 50px;
  border: 1px solid rgba(247,132,31,.5); background: rgba(247,132,31,.08);
  transition: background .25s, transform .2s;
}
.impactar-cidades li:hover { background: rgba(247,132,31,.2); transform: translateY(-2px); }

/* botão laranja "Conhecer o Impactar" */
.impactar-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.9rem; border-radius: 12px; font-weight: 700; font-size: .98rem;
  color: #1a0f00;
  background: linear-gradient(145deg, #FBA63F, var(--impactar-2));
  box-shadow: 0 14px 36px -12px rgba(247,132,31,.7);
  transition: transform .2s ease, box-shadow .2s ease;
}
.impactar-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -12px rgba(247,132,31,.9); }

/* ============================================================
   FOOTER CINEMÁTICO (reveal "cortina")
   O conteúdo (main) é opaco e fica ACIMA do footer fixo; ao rolar
   até o fim, o conteúdo sai e revela o footer por baixo.
   ============================================================ */

/* main opaco e acima do footer fixo (camada da "cortina") */
main { position: relative; z-index: 1; background: var(--bg); }

/* wrapper que reserva 100vh e clipa o footer fixo (cria o reveal) */
.footer-reveal {
  position: relative;
  height: 100vh; min-height: 600px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.cine-footer {
  position: fixed; bottom: 0; left: 0; z-index: 0;
  width: 100%; height: 100vh; min-height: 600px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  background: var(--bg-roxo); color: var(--texto);
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem);
}

/* aurora respirando */
.cine-aurora {
  position: absolute; left: 50%; top: 50%; z-index: 0;
  width: 80vw; height: 60vh; transform: translate(-50%,-50%);
  background: radial-gradient(circle at 50% 50%, rgba(123,47,190,.28) 0%, rgba(168,85,247,.14) 40%, transparent 70%);
  filter: blur(80px); border-radius: 50%; pointer-events: none;
  animation: cine-breathe 8s ease-in-out infinite alternate;
}
@keyframes cine-breathe {
  from { transform: translate(-50%,-50%) scale(1); opacity: .55; }
  to   { transform: translate(-50%,-50%) scale(1.12); opacity: 1; }
}

/* grade sutil */
.cine-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-size: 60px 60px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}

/* texto gigante de fundo */
.cine-giant {
  position: absolute; left: 50%; bottom: -3vh; z-index: 0;
  transform: translateX(-50%);
  font-family: var(--font-impact); font-weight: 400;
  font-size: 30vw; line-height: .75; letter-spacing: -.04em;
  white-space: nowrap; pointer-events: none; user-select: none;
  color: transparent; -webkit-text-stroke: 1px rgba(168,85,247,.18);
  background: linear-gradient(180deg, rgba(168,85,247,.16) 0%, transparent 62%);
  -webkit-background-clip: text; background-clip: text;
  will-change: transform, opacity;
}

/* marquee diagonal */
.cine-marquee {
  position: absolute; top: 9%; left: 0; z-index: 1;
  width: 100%; overflow: hidden;
  border-block: 1px solid rgba(168,85,247,.25);
  background: rgba(10,0,20,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding-block: .9rem; transform: rotate(-2deg) scale(1.1);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.8);
}
.cine-marquee-track { display: flex; width: max-content; animation: cine-marquee 38s linear infinite; }
.cine-marquee-group {
  display: inline-flex; align-items: center; gap: 1.4rem; padding-right: 1.4rem;
  font-size: clamp(.7rem, 1.5vw, .85rem); font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase; color: var(--texto-suave); white-space: nowrap;
}
.cine-marquee-group i { color: var(--lilas); font-style: normal; }
@keyframes cine-marquee { to { transform: translateX(-50%); } }

/* conteúdo central */
.cine-center {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; max-width: 64rem; margin: 4rem auto 0; text-align: center; gap: 1.6rem;
}
.cine-logo img { height: 70px; width: auto; }
.cine-heading {
  font-family: var(--font-impact); text-transform: uppercase;
  font-size: clamp(2.2rem, 7vw, 5rem); line-height: 1; letter-spacing: .5px;
  text-shadow: 0 0 40px rgba(168,85,247,.35);
}
.cine-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.cine-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: .4rem; }

/* glass pills */
.cine-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 1.5rem; border-radius: 50px;
  font-weight: 600; font-size: .92rem; color: var(--texto-suave); cursor: pointer;
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  border: 1px solid rgba(168,85,247,.22);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.5), inset 0 1px 1px rgba(255,255,255,.06);
  transition: background .4s cubic-bezier(.16,1,.3,1), border-color .4s, color .4s, box-shadow .4s;
  will-change: transform;
}
.cine-pill:hover {
  color: #fff; border-color: rgba(168,85,247,.5);
  background: linear-gradient(145deg, rgba(168,85,247,.18), rgba(255,255,255,.02));
  box-shadow: 0 20px 40px -10px rgba(123,47,190,.5), inset 0 1px 1px rgba(255,255,255,.12);
}
.cine-pill-primary {
  padding: 1rem 2rem; font-size: 1rem; color: #fff;
  background: linear-gradient(145deg, var(--cta), #5e1f95);
  border-color: rgba(168,85,247,.5);
  box-shadow: 0 16px 40px -12px rgba(123,47,190,.8), inset 0 1px 1px rgba(255,255,255,.18);
}
.cine-pill-primary:hover {
  background: linear-gradient(145deg, #8b3ad0, var(--cta));
  box-shadow: 0 24px 50px -12px rgba(168,85,247,.85), inset 0 1px 1px rgba(255,255,255,.25);
}

/* barra inferior */
.cine-bottom {
  position: relative; z-index: 2; width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 1.2rem; text-align: center;
}
.cine-copy { color: var(--texto-suave); font-size: .68rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; order: 2; }
.cine-territorios { display: flex; align-items: center; gap: .6rem; color: var(--texto-suave); font-size: .8rem; order: 1; }
.cine-territorios b { color: var(--lilas); }
.cine-endereco { order: 0; flex-basis: 100%; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; color: var(--texto-suave); font-size: .82rem; text-align: center; text-decoration: none; transition: color .2s; }
.cine-endereco:hover { color: #fff; }
.cine-endereco svg { color: var(--lilas); flex: none; }
.cine-top {
  order: 3;
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--lilas); cursor: pointer;
  background: rgba(168,85,247,.08); border: 1.5px solid rgba(168,85,247,.3);
  transition: background .3s, color .3s, border-color .3s; will-change: transform;
}
.cine-top svg { width: 20px; height: 20px; transition: transform .3s; }
.cine-top:hover { background: var(--cta); color: #fff; border-color: var(--cta); }
.cine-top:hover svg { transform: translateY(-3px); }

/* entrada do conteúdo (revela ao mostrar o footer) */
.cine-center, .cine-bottom { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.cine-footer.revealed .cine-center,
.cine-footer.revealed .cine-bottom { opacity: 1; transform: none; }

@media (min-width: 720px) {
  /* rodapé minimalista: endereço + © centralizados; botão de topo no canto */
  .cine-bottom { position: relative; flex-direction: column; align-items: center; gap: .55rem; }
  .cine-top { position: absolute; right: 0; bottom: 0; }
}

/* ============================================================
   INTRO DE MARCA (dot-matrix Mega) — fullscreen, 1x por sessão.
   Escondido por padrão; só aparece com html.intro-on (definido
   por script no <head> antes do paint). Failsafe via keyframe:
   mesmo se o JS falhar, o overlay some em ~6.8s.
   ============================================================ */
.intro { position: fixed; inset: 0; z-index: 9999; background: var(--bg); display: none; }
html.intro-on .intro { display: block; animation: introFailsafe 0s linear 6.8s forwards; }
#introCanvas { width: 100%; height: 100%; display: block; }
.intro-skip {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%);
  color: var(--texto-suave); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  opacity: 0; transition: opacity .6s ease; pointer-events: none;
}
.intro.hint .intro-skip { opacity: .5; }
.intro.intro-hide { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .7s ease, visibility 0s .7s; }
@keyframes introFailsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* mobile: pills de contato (Instagram·Localização·Behance) menores p/ caberem nos 3 */
@media (max-width: 480px) {
  .cine-links { gap: .5rem; }
  .cine-links .cine-pill { padding: .58rem 1.05rem; font-size: .82rem; }
  /* endereço/copyright não podem vazar: restringe à largura e deixa quebrar linha */
  .cine-endereco { max-width: 100%; flex-wrap: wrap; font-size: .76rem; gap: .4rem; }
  .cine-copy { font-size: .62rem; text-align: center; max-width: 100%; }
  .cine-bottom { padding-inline: 4px; }
}

/* ============================================================
   ANIMAÇÃO — SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 860px) {
  .nav-menu, .nav-cta, .nav-social { display: none; }
  .nav-toggle { display: flex; }
  /* mobile: esconde vídeo, mostra pôster estático */
  .hero-video { display: none; }
  .hero-poster-fallback { display: block; }
}

@media (min-width: 640px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .sobre-grid { grid-template-columns: .9fr 1.1fr; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .eventos-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
