/* ============================================
   Costela e Cia — Manifesto
   Declaração · carvão + brasa · respiro dramático
   ============================================ */

.manifesto {
  position: relative;
  padding: clamp(100px, 17vh, 212px) clamp(20px, 4vw, 64px);
  background-color: var(--bg);
  overflow: hidden;
  isolation: isolate;
}

/* fundo — foto do assador na brasa (fogo, fumaça, faíscas) */
.manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/manifesto-fogo.jpg") center center / cover no-repeat;
}

/* véu — vinheta que escurece o carvão e funde nas seções vizinhas */
.manifesto::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 72% 64% at 50% 48%,
      rgba(21, 13, 8, 0.6) 0%, rgba(21, 13, 8, 0.88) 100%),
    linear-gradient(180deg,
      var(--bg) 0%, transparent 16%, transparent 84%, var(--bg) 100%);
}

.manifesto-inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

/* overline com fios laterais */
.manifesto-mark {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: clamp(28px, 4.5vh, 46px);
}

.manifesto-mark::before,
.manifesto-mark::after {
  content: "";
  width: clamp(28px, 5vw, 60px);
  height: 1px;
  background: var(--accent);
  opacity: 0.55;
}

.manifesto-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(33px, 4.7vw, 74px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* trecho-chave em brasa incandescente */
.manifesto-title em {
  font-style: italic;
  color: var(--accent-2);
  background: linear-gradient(176deg, #ffe4b6 0%, #ff9a36 46%, #ec4a10 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.manifesto-text {
  max-width: 600px;
  margin: clamp(28px, 4.2vh, 46px) auto 0;
  font-size: clamp(15.5px, 1.2vw, 19px);
  line-height: 1.66;
  color: var(--ink-soft);
}

.manifesto-text strong {
  color: var(--ink);
  font-weight: 500;
}

/* ---- reveal (hooka no .is-revealed do reveal.js) ---- */
.manifesto-mark,
.manifesto-title,
.manifesto-text {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.manifesto.is-revealed .manifesto-mark,
.manifesto.is-revealed .manifesto-title,
.manifesto.is-revealed .manifesto-text {
  opacity: 1;
  transform: translateY(0);
}

.manifesto.is-revealed .manifesto-mark { transition-delay: 0.06s; }
.manifesto.is-revealed .manifesto-title { transition-delay: 0.2s; }
.manifesto.is-revealed .manifesto-text { transition-delay: 0.38s; }

@media (prefers-reduced-motion: reduce) {
  .manifesto-mark,
  .manifesto-title,
  .manifesto-text {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
