/* ───────────────────────────────────────────────────────────
   FRAME LP v2 — novas seções (Método, Sobre, Urgência)
   + variantes (tweaks) + micro-animações
   ─────────────────────────────────────────────────────────── */

/* ── VARIANT SWITCHING ─────────────────────────────────────
   Cada seção nova tem 2 variantes; o painel de Tweaks define
   data-attrs no <body> que controlam qual aparece.           */
.variant { display: none; }
body[data-metodo="timeline"]     #metodo-timeline     { display: block; }
body[data-metodo="jornada"]      #metodo-jornada      { display: block; }
body[data-sobre="foto"]          #sobre-foto          { display: block; }
body[data-sobre="manifesto"]     #sobre-manifesto     { display: block; }
body[data-urgencia="capacidade"] #urgencia-capacidade { display: block; }
body[data-urgencia="ultima"]     #urgencia-ultima     { display: block; }

#metodo, #sobre, #urgencia { scroll-margin-top: 66px; }

/* ── REVEAL ON SCROLL ── */
@media (prefers-reduced-motion: no-preference) {
  .rv {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
    transition-delay: var(--d, 0s);
  }
  .rv.in { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════
   MÉTODO — variante TIMELINE (split: M.A.P.A. + linha do tempo)
   ═══════════════════════════════════════════════════════════ */
#metodo-timeline, #metodo-jornada { background: var(--dark-3); }

.mt-grid {
  display: grid; grid-template-columns: 440px 1fr;
  gap: 72px; align-items: start;
  max-width: 1080px; margin: 0 auto;
}
.mt-left { position: sticky; top: 96px; }
.mt-left .eyebrow { justify-content: flex-start; }
.mt-left .eyebrow::after { display: none; }
.mt-left .section-title { text-align: left; }
.mt-left .section-sub { text-align: left; margin: 0 0 32px; }

.mapa-stack { display: flex; flex-direction: column; gap: 10px; }
.mapa-row {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 18px; border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(196,168,255,0.13);
  transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
}
.mapa-row:hover {
  border-color: rgba(196,168,255,0.45);
  transform: translateX(4px);
  box-shadow: 0 0 24px rgba(196,168,255,0.08);
}
.mapa-letter {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800; color: var(--accent);
  background: rgba(74,40,128,0.45);
  border: 1px solid rgba(196,168,255,0.25);
  box-shadow: 0 0 14px rgba(196,168,255,0.16);
}
.mapa-name { font-size: 13.5px; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.mapa-desc { font-size: 12.5px; color: var(--grey); line-height: 1.6; }
.mapa-foot {
  margin-top: 18px; font-size: 12px; color: rgba(255,255,255,0.35);
  display: flex; align-items: center; gap: 8px;
}
.mapa-foot::before { content: ''; width: 18px; height: 1px; background: var(--purple-light); opacity: 0.5; }

/* Timeline (direita) */
.tl { display: flex; flex-direction: column; padding-top: 6px; }
.tl-item { display: grid; grid-template-columns: 46px 1fr; gap: 20px; position: relative; padding-bottom: 36px; }
.tl-item::before {
  content: ''; position: absolute; left: 23px; top: 50px; bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, rgba(196,168,255,0.3), rgba(196,168,255,0.07));
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item:last-child::before { display: none; }
.tl-n {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: var(--accent);
  background: rgba(196,168,255,0.08);
  border: 1px solid rgba(196,168,255,0.3);
  box-shadow: 0 0 16px rgba(196,168,255,0.18);
  position: relative; z-index: 1;
}
.tl-item:last-child .tl-n {
  background: var(--purple-mid); color: var(--white);
  border-color: rgba(196,168,255,0.5);
  box-shadow: 0 0 28px rgba(155,127,212,0.5);
}
.tl-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; margin-top: 11px; flex-wrap: wrap; }
.tl-t { font-size: 16px; font-weight: 700; color: var(--white); }
.tl-tag {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
  color: var(--accent); background: rgba(196,168,255,0.08);
  border: 1px solid rgba(196,168,255,0.22);
}
.tl-tag-green { color: #4ADE80; background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.3); }
.tl-d { font-size: 13.5px; color: var(--grey); line-height: 1.7; max-width: 460px; }

/* ═══════════════════════════════════════════════════════════
   MÉTODO — variante JORNADA (horizontal 5 passos + faixa M.A.P.A.)
   ═══════════════════════════════════════════════════════════ */
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; margin-bottom: 20px; }
.journey::before {
  content: ''; position: absolute; top: 21px;
  left: calc(10% + 22px); right: calc(10% + 22px); height: 1px;
  background: linear-gradient(90deg, rgba(196,168,255,0.05), rgba(196,168,255,0.3) 25%, rgba(196,168,255,0.3) 75%, rgba(196,168,255,0.05));
}
.j-step {
  padding: 0 6px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.j-n {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: var(--accent);
  background: var(--dark-3);
  border: 1px solid rgba(196,168,255,0.35);
  box-shadow: 0 0 16px rgba(196,168,255,0.2);
  position: relative; z-index: 1; margin-bottom: 18px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
}
.j-step:hover .j-n {
  background: var(--purple-mid); color: var(--white);
  box-shadow: 0 0 28px rgba(155,127,212,0.55);
  transform: scale(1.08);
}
.j-step:last-child .j-n {
  background: var(--purple-mid); color: var(--white);
  border-color: rgba(196,168,255,0.5);
  box-shadow: 0 0 24px rgba(155,127,212,0.45);
}
.j-t { font-size: 13.5px; font-weight: 700; color: var(--white); margin-bottom: 7px; line-height: 1.35; }
.j-d { font-size: 12px; color: var(--grey); line-height: 1.65; }

/* Faixa M.A.P.A. */
.mapa-strip {
  display: grid; grid-template-columns: 200px repeat(4, 1fr);
  gap: 0; margin-top: 44px; border-radius: 16px; overflow: hidden;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(196,168,255,0.14);
}
.ms-label {
  padding: 24px 22px;
  background: rgba(74,40,128,0.3);
  border-right: 1px solid rgba(196,168,255,0.14);
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
}
.ms-label-kicker { font-size: 9.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--purple-light); }
.ms-label-title { font-size: 15px; font-weight: 800; color: var(--white); line-height: 1.3; }
.ms-cell {
  padding: 24px 20px;
  border-right: 1px solid rgba(196,168,255,0.09);
  transition: background 0.3s;
}
.ms-cell:last-child { border-right: none; }
.ms-cell:hover { background: rgba(196,168,255,0.05); }
.ms-letter { font-size: 22px; font-weight: 800; color: var(--accent); margin-bottom: 6px; }
.ms-name { font-size: 12.5px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.ms-desc { font-size: 11.5px; color: var(--grey); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════
   SOBRE — variante FOTO (light, split com foto da equipe)
   ═══════════════════════════════════════════════════════════ */
#sobre-foto { background: var(--light-bg); }
.sf-grid {
  display: grid; grid-template-columns: 1fr 460px;
  gap: 72px; align-items: center;
  max-width: 1080px; margin: 0 auto;
}
.sf-text .eyebrow { justify-content: flex-start; }
.sf-text .eyebrow::after { display: none; }
.sf-text .section-title { text-align: left; }
.sf-p { font-size: 14.5px; color: var(--ink-mid); line-height: 1.85; margin-bottom: 14px; max-width: 480px; text-wrap: pretty; }
.sf-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin: 32px 0 36px;
  border-top: 1px solid rgba(74,40,128,0.14);
  border-bottom: 1px solid rgba(74,40,128,0.14);
}
.sf-stat { padding: 22px 8px 22px 0; }
.sf-stat + .sf-stat { padding-left: 24px; border-left: 1px solid rgba(74,40,128,0.12); }
.sf-val { font-size: 34px; font-weight: 800; line-height: 1; color: var(--purple-mid); letter-spacing: -0.02em; }
.sf-lbl { font-size: 11.5px; color: var(--ink-faint); margin-top: 7px; line-height: 1.5; }
.sf-photo { position: relative; }
.sf-photo image-slot { width: 100%; height: 540px; display: block; }
.sf-photo-chip {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(74,40,128,0.15);
  box-shadow: 0 8px 32px rgba(21,13,48,0.18);
  font-size: 12px; font-weight: 700; color: var(--ink);
  pointer-events: none;
}
.sf-photo-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--purple-mid); }
.sf-photo::after {
  content: ''; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid rgba(74,40,128,0.2); border-radius: 22px;
  pointer-events: none; z-index: -1;
}

/* ═══════════════════════════════════════════════════════════
   SOBRE — variante MANIFESTO (purple, centrado)
   ═══════════════════════════════════════════════════════════ */
#sobre-manifesto { background: var(--purple); }
.mf-wrap { max-width: 780px; margin: 0 auto; text-align: center; }
.mf-quote {
  font-size: 34px; font-weight: 800; line-height: 1.22;
  letter-spacing: -0.02em; color: var(--white);
  text-wrap: balance; margin-bottom: 26px;
}
.mf-quote .hi { color: var(--accent); }
.mf-p { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.9; max-width: 600px; margin: 0 auto 14px; text-wrap: pretty; }
.mf-stats {
  display: flex; justify-content: center; gap: 0;
  margin: 44px auto 40px; max-width: 640px;
}
.mf-stat { flex: 1; padding: 0 28px; }
.mf-stat + .mf-stat { border-left: 1px solid rgba(196,168,255,0.22); }
.mf-val { font-size: 36px; font-weight: 800; line-height: 1; color: var(--accent); letter-spacing: -0.02em; }
.mf-lbl { font-size: 11.5px; color: rgba(255,255,255,0.45); margin-top: 8px; line-height: 1.5; }
.mf-team { display: flex; justify-content: center; gap: 14px; margin-bottom: 36px; }
.mf-team image-slot { width: 84px; height: 84px; }
#sobre-manifesto .glow-orb { opacity: 0.8; }

/* ═══════════════════════════════════════════════════════════
   URGÊNCIA — variante CAPACIDADE (dark, vagas premium)
   ═══════════════════════════════════════════════════════════ */
#urgencia-capacidade, #urgencia-ultima { background: var(--dark); }

.cap-card {
  max-width: 660px; margin: 0 auto; text-align: center;
  padding: 52px 56px 48px; border-radius: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(196,168,255,0.16);
  box-shadow: 0 30px 100px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative; overflow: hidden;
}
.cap-card::before {
  content: ''; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 420px; height: 240px; border-radius: 50%;
  background: rgba(74,40,128,0.4); filter: blur(70px);
  pointer-events: none;
}
.cap-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  padding: 7px 16px 7px 12px; border-radius: 999px;
  background: rgba(196,168,255,0.07);
  border: 1px solid rgba(196,168,255,0.22);
  margin-bottom: 24px; position: relative;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ADE80; flex-shrink: 0;
  animation: pulse-ring 1.8s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
@media (prefers-reduced-motion: reduce) { .pulse-dot { animation: none; } }
.cap-title { font-size: 28px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--white); margin-bottom: 14px; text-wrap: balance; position: relative; }
.cap-sub { font-size: 14px; color: var(--grey); line-height: 1.8; max-width: 440px; margin: 0 auto 34px; text-wrap: pretty; position: relative; }
.cap-slots { display: flex; justify-content: center; gap: 7px; margin-bottom: 12px; position: relative; }
.cap-slot {
  width: 38px; height: 9px; border-radius: 999px;
  background: rgba(196,168,255,0.1);
  border: 1px solid rgba(196,168,255,0.12);
}
.cap-slot.filled {
  background: linear-gradient(90deg, var(--purple-mid), var(--purple-light));
  border-color: transparent;
  box-shadow: 0 0 10px rgba(155,127,212,0.35);
}
.cap-slots-line { font-size: 12.5px; color: rgba(255,255,255,0.45); margin-bottom: 32px; position: relative; }
.cap-slots-line strong { color: var(--accent); font-weight: 700; }
.cap-foot { margin-top: 22px; display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; position: relative; }
.cap-foot span { font-size: 11.5px; color: rgba(255,255,255,0.35); display: inline-flex; align-items: center; gap: 7px; }
.cap-foot span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--purple-light); opacity: 0.7; }

/* ═══════════════════════════════════════════════════════════
   URGÊNCIA — variante ÚLTIMA CHAMADA (banda final forte)
   ═══════════════════════════════════════════════════════════ */
.uc-wrap { max-width: 760px; margin: 0 auto; text-align: center; }
.uc-title {
  font-size: 38px; font-weight: 800; line-height: 1.12;
  letter-spacing: -0.025em; color: var(--white);
  text-wrap: balance; margin-bottom: 20px;
}
.uc-sub { font-size: 15px; color: var(--grey); line-height: 1.85; max-width: 540px; margin: 0 auto 38px; text-wrap: pretty; }
.uc-ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.uc-foot { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.uc-foot span { font-size: 12px; color: rgba(255,255,255,0.38); display: inline-flex; align-items: center; gap: 8px; }
.uc-foot svg { width: 13px; height: 13px; color: var(--purple-light); }

/* ── RESPONSIVE (novas seções) ── */
@media (max-width: 900px) {
  .mt-grid { grid-template-columns: 1fr; gap: 48px; }
  .mt-left { position: static; }
  .journey { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .journey::before { display: none; }
  .j-step { align-items: flex-start; text-align: left; }
  .mapa-strip { grid-template-columns: 1fr 1fr; }
  .ms-label { grid-column: 1 / -1; border-right: none; border-bottom: 1px solid rgba(196,168,255,0.14); }
  .ms-cell { border-bottom: 1px solid rgba(196,168,255,0.09); }
  .sf-grid { grid-template-columns: 1fr; gap: 48px; }
  .sf-photo image-slot { height: 420px; }
  .mf-quote { font-size: 28px; }
  .uc-title { font-size: 32px; }
  .cap-card { padding: 40px 28px 36px; }
}
@media (max-width: 600px) {
  .journey { grid-template-columns: 1fr; }
  .mapa-strip { grid-template-columns: 1fr; }
  .sf-stats { grid-template-columns: 1fr; }
  .sf-stat + .sf-stat { padding-left: 0; border-left: none; border-top: 1px solid rgba(74,40,128,0.12); }
  .mf-stats { flex-direction: column; gap: 24px; }
  .mf-stat + .mf-stat { border-left: none; }
  .uc-title { font-size: 28px; }
}
