/* merge.css — estilos derivados do newera, isolados sobre a base oficial */
@font-face { font-family:"Clash"; src:url("fonts/ClashDisplay-Bold.ttf"); font-weight:700; font-display:swap; }
@font-face { font-family:"Clash"; src:url("fonts/ClashDisplay-Medium.ttf"); font-weight:500; font-display:swap; }
@font-face { font-family:"Clash"; src:url("fonts/ClashDisplay-Regular.ttf"); font-weight:400; font-display:swap; }
@font-face { font-family:"Akkordeon"; src:url("fonts/akkordeon-eleven.otf"); font-weight:normal; font-display:swap; }

:root {
  --text: #eaf2ff;
  --text-mute: rgba(220,232,255,.74);
  --text-dim: #7d89a6;
  --card-bg: rgba(255,255,255,.05);
  --card-border: rgba(120,200,255,.14);
}

/* ---- Header (newera) ---- */
header.site-header {
  position: fixed; top: 0; left: 0; width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 4vw; z-index: 60; pointer-events: none;
}
header.site-header .brand { display: inline-flex; align-items: center; pointer-events: auto; }
header.site-header .hdr-cta { pointer-events: auto; }

/* Lockup em escala de header (~30px de altura) */
.site-header .brand-lockup {
  position: relative; display: inline-block;
  width: 150px; aspect-ratio: 1732 / 348; line-height: 0;
}
.site-header .brand-lockup .bl-vs,
.site-header .brand-lockup .bl-digital {
  position: absolute; height: auto;
  filter: drop-shadow(0 6px 20px rgba(75,139,245,.35));
}
.site-header .brand-lockup .bl-vs      { width: 37.74%; left: 0.48%;  top: -52.09%; }
.site-header .brand-lockup .bl-digital { width: 61.56%; left: 41.86%; top: 14.22%; }

/* Telas pequenas: folga no header (lockup menor + botão mais compacto) */
@media (max-width: 480px){
  header.site-header { padding: 16px 4vw; }
  .site-header .brand-lockup { width: 116px; }
  .site-header .hdr-cta .botaoPrimario { padding: 8px 8px 8px 16px; font-size: 13px; }
  .site-header .hdr-cta .botaoPrimario img { width: 30px; height: 30px; }
}

/* Botão pílula (newera) */
.botoes { display: flex; gap: 18px; flex-wrap: wrap; }
.botaoPrimario, .botaoSecundario {
  display: inline-flex; align-items: center; gap: 12px; border-radius: 40px;
  padding: 9px 9px 9px 22px; font: 600 15px/1 "Roboto Mono", monospace;
  transition: transform .25s ease, box-shadow .25s ease; cursor: pointer;
}
.botaoPrimario img, .botaoSecundario img { width: 38px; height: 38px; }
.botaoPrimario { background: linear-gradient(90deg, var(--cyan), var(--blue)); color: #03121a; }
.botaoSecundario { background: rgba(255,255,255,.04); color: var(--text); border: 1.5px solid rgba(120,200,255,.25); }
.botaoPrimario:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(43,212,230,.3); }
.botaoSecundario:hover { transform: translateY(-2px); }

/* Durante a intro: lockup e botão do header nascem apagados (a animação os revela) */
html.intro-active .site-header .bl-vs,
html.intro-active .site-header .bl-digital,
html.intro-active .site-header .hdr-cta { opacity: 0; }

/* Copy do hero: marcador próprio (hero-rv) que o cinematic.js NÃO gerencia,
   evitando o conflito de animações. Escondida só durante a intro; o intro.js revela. */
html.intro-active .capa .hero-rv { opacity: 0; }

/* Dock inferior removido (navegação fica no header novo) */
.dock { display: none !important; }

/* Impacto — virada (flip) mais lenta no hover */
.impact .flip-in { transition: transform 1.8s var(--ease) !important; }

/* Processo — geo-line (seta ¬+/ + círculo) ancorada ao padding direito, no topo */
.process .geo-line.geo-proc {
  left: auto; right: 7vw; top: clamp(76px, 10vw, 116px);
  transform: none;
  width: clamp(250px, 27vw, 440px); height: auto;
  max-width: none; max-height: none;
  opacity: .55;
}
@media (max-width: 759px){
  .process .geo-line.geo-proc { right: 24px; top: 62px; width: 184px; opacity: .42; }
}

/* ---- Seção "O que fazemos" (newera) — escopada em .svc-ne p/ vencer o cinematic ---- */
.svc-ne .b-top { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; max-width: 900px; margin: 0 auto clamp(40px,6vw,70px); }
.svc-ne .kicker { display: inline-block; font: 600 13px/1 "Roboto Mono", monospace; text-transform: uppercase; letter-spacing: 3px; color: var(--cyan); }
.svc-ne .section-title { font-family: "Akkordeon","Clash",sans-serif; text-transform: uppercase; font-size: clamp(38px,7.5vw,92px); line-height: .95; color: var(--text); }
.svc-ne .section-lead { font-family: "Roboto Mono", monospace; font-size: clamp(14px,1.4vw,20px); line-height: 1.58; color: var(--text-mute); max-width: 70ch; }
.svc-ne .cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(18px,2vw,28px); max-width: 1240px; margin: 0 auto; }
.svc-ne .svc-card { position: relative; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 18px; padding: 32px 26px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; transition: transform .35s ease, border-color .35s ease; }
.svc-ne .svc-card:hover { transform: translateY(-6px); border-color: rgba(43,212,230,.4); }
.svc-ne .svc-n { position: absolute; top: 12px; right: 18px; font: 400 150px/.8 "Akkordeon", monospace; color: rgba(120,200,255,.05); pointer-events: none; }
.svc-ne .svc-ic { width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: linear-gradient(135deg, rgba(43,212,230,.18), rgba(75,139,245,.18)); border: 1px solid rgba(43,212,230,.3); color: var(--cyan); }
.svc-ne .svc-ic svg { width: 26px; height: 26px; }
.svc-ne .svc-card h3 { font-family: "Clash", sans-serif; font-weight: 600; font-size: 26px; color: var(--text); }
.svc-ne .svc-tag { font-size: 13px; color: var(--cyan); letter-spacing: .5px; }
.svc-ne .svc-card p { font-family: "Roboto Mono", monospace; font-size: 15px; color: var(--text-mute); line-height: 1.55; }
@media (max-width: 980px){ .svc-ne .cards-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 680px){ .svc-ne .cards-3 { grid-template-columns: 1fr; } }

/* ---- Seção "O Problema + OBSOLETO" (newera) — escopada em .prob-ne ---- */
.prob-ne { position: relative; overflow: hidden; isolation: isolate; }
.prob-ne .b-top { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; max-width: 900px; margin: 0 auto clamp(40px,6vw,70px); position: relative; z-index: 1; }
.prob-ne .kicker { display: inline-block; font: 600 13px/1 "Roboto Mono", monospace; text-transform: uppercase; letter-spacing: 3px; color: var(--cyan); }
.prob-ne .section-title { font-family: "Akkordeon","Clash",sans-serif; text-transform: uppercase; font-size: clamp(38px,7.5vw,92px); line-height: .95; color: var(--text); }
.prob-ne .section-lead { font-family: "Roboto Mono", monospace; font-size: clamp(14px,1.4vw,20px); line-height: 1.58; color: var(--text-mute); max-width: 70ch; }
.prob-ne .cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(18px,2vw,28px); max-width: 1240px; margin: 0 auto; position: relative; z-index: 1; }
.prob-ne .prob-card { position: relative; z-index: 1; background: rgba(8,14,26,.6); border: 1px solid var(--card-border); border-radius: 16px; padding: 30px 24px; display: flex; flex-direction: column; gap: 14px; backdrop-filter: blur(6px); }
.prob-ne .prob-card .ic { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(75,139,245,.14); border: 1px solid rgba(75,139,245,.3); color: var(--blue); }
.prob-ne .prob-card .ic svg { width: 24px; height: 24px; }
.prob-ne .prob-card h3 { font-family: "Clash", sans-serif; font-weight: 600; font-size: 21px; color: var(--text); }
.prob-ne .prob-card p { font-family: "Roboto Mono", monospace; font-size: 14px; color: var(--text-mute); line-height: 1.5; }
@media (max-width: 980px){ .prob-ne .cards-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 680px){ .prob-ne .cards-3 { grid-template-columns: 1fr; } }

/* OBSOLETO — ancorado ao KICKER (centra exatamente em "O PROBLEMA"): SEMPRE
   encaixa em qualquer largura. O texto fica por cima (z-index). */
.prob-ne .b-top { position: relative; }
.prob-ne .kicker-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.prob-ne .kicker-wrap > .kicker,
.prob-ne .section-title,
.prob-ne .section-lead { position: relative; z-index: 1; }
.prob-ne .realidade__obsoleto {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(94vw, 1180px); max-width: none; height: auto;
  z-index: 0; pointer-events: none;
}
.prob-ne .realidade__obsoleto path { opacity: .3; stroke: var(--cyan); stroke-width: 4; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.4s ease; }
.prob-ne .realidade__obsoleto.is-drawn path { stroke-dashoffset: 0; }
/* Mobile: palavra "OBSOLETO" INTEIRA visível (cabe na tela com margem) + mais transparente */
@media (max-width: 720px){
  .prob-ne .realidade__obsoleto { width: 96vw; }
  .prob-ne .realidade__obsoleto path { opacity: .2; }
}

/* ---- Hero copy (newera) sobre a capa do oficial ---- */
.capa:has(.hero-copy) { align-items: flex-start; text-align: left; justify-content: center; }
.capa .inner.hero-copy {
  align-items: flex-start; text-align: left;
  width: min(760px, 100%);
  margin-left: 0;
  gap: 22px;
}
.hero-copy .badge {
  display: inline-flex; align-items: center; gap: 8px; width: max-content;
  padding: 10px 16px 10px 10px; border-radius: 65px; background: rgba(255,255,255,.06);
  font: 600 13px/1.3 "Roboto Mono", monospace; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--cyan); backdrop-filter: blur(3px);
}
.hero-copy .badge__icon { width: 16px; height: 16px; flex: 0 0 16px; }
.hero-title {
  font-family: "Clash", "Akkordeon", sans-serif; font-weight: 500;
  font-size: clamp(34px, 4.8vw, 86px); line-height: 1.05; color: var(--text); text-transform: none;
}
.hero-lead { font-family: "Roboto Mono", monospace; font-size: clamp(14px,1.05vw,19px); color: var(--text-mute); line-height: 1.6; max-width: 56ch; }
.hero-meta { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 4px; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta b { font-family: "Akkordeon","Clash",sans-serif; font-size: 30px; color: var(--text); line-height: 1; }
.hero-meta span { font-family: "Roboto Mono", monospace; font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 720px){
  .capa .inner.hero-copy { margin-left: 0; padding: 0 var(--pad-x, 16px); width: 100%; }
}
