/* =========================
   MANIFESTO
========================= */

.manifesto-page {
  background: var(--rr-beige);
}

.manifesto-page .site-header {
  z-index: 9999;
}

.manifesto-shell {
  position: relative;
  width: min(100%, 1700px);
  height: 100%;
  margin: 0 auto;
}

.manifesto-rule {
  display: block;
  width: 145px;
  height: 2px;
  margin: 28px 0 34px;
  background: var(--rr-gold);
}

/* HERO */

.manifesto-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 650;
  min-height: 520px;
  max-height: 700px;
  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(7, 17, 28, 0.98) 0%,
      rgba(7, 17, 28, 0.88) 31%,
      rgba(7, 17, 28, 0.20) 58%,
      rgba(7, 17, 28, 0.00) 100%
    ),
    url("../img/manifesto-hero.webp") center right / cover no-repeat;
}

.manifesto-hero-copy {
  position: absolute;
  left: clamp(48px, 10.5vw, 200px);
  top: 50%;
  width: min(32vw, 540px);
  transform: translateY(-50%);
}

.manifesto-hero h1 {
  font-size: clamp(38px, 3.3vw, 58px);
  font-weight: 400;
  line-height: 1.12;
  color: var(--rr-beige);
}

.manifesto-hero p {
  margin-top: 20px;
  font-size: 21px;
  line-height: 1.55;
  color: rgba(198, 166, 107, 0.92);
}

/* TRANSFERÊNCIA */

.manifesto-transfer {
  position: relative;
  min-height: 650px;
  overflow: hidden;

  background:
    url("../img/manifesto-transferencia.webp") center center / cover no-repeat;
}

.manifesto-transfer-copy {
  position: absolute;
  right: clamp(48px, 10.5vw, 200px);
  top: 50%;
  width: min(40vw, 670px);
  transform: translateY(-50%);
}

.manifesto-transfer h2,
.manifesto-trust h2,
.manifesto-vision h2 {
  font-size: clamp(31px, 2.5vw, 44px);
  font-weight: 400;
  line-height: 1.16;
  color: var(--rr-navy);
}

.manifesto-transfer p,
.manifesto-trust p,
.manifesto-vision-copy p {
  margin-top: 20px;
  font-size: 21px;
  line-height: 1.55;
  color: rgba(7, 17, 28, 0.88);
}

/* VALOR */

.manifesto-value {
  position: relative;
  min-height: 650px;
  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(7, 17, 28, 0.98) 0%,
      rgba(7, 17, 28, 0.94) 38%,
      rgba(7, 17, 28, 0.56) 58%,
      rgba(7, 17, 28, 0.06) 100%
    ),
    url("../img/manifesto-valor.webp") center right / cover no-repeat;
}

.manifesto-value-copy {
  position: absolute;
  left: clamp(48px, 10.5vw, 200px);
  top: 50%;
  width: min(43vw, 700px);
  transform: translateY(-50%);
}

.manifesto-value h2 {
  font-size: clamp(31px, 2.55vw, 44px);
  font-weight: 400;
  line-height: 1.18;
  color: var(--rr-gold);
}

.manifesto-value p {
  margin-top: 20px;
  font-size: 21px;
  line-height: 1.55;
  color: rgba(245, 241, 232, 0.88);
}

/* CONFIANÇA / VISÃO */

.manifesto-trust {
  background: var(--rr-beige);
  color: var(--rr-navy);
}

.manifesto-trust-inner {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: clamp(66px, 7vw, 105px) clamp(24px, 5vw, 80px);

  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(64px, 7vw, 120px);
  align-items: start;
}

.manifesto-trust-copy {
  max-width: 560px;
}

.manifesto-vision {
  max-width: 720px;
}

.manifesto-vision-body {
  display: grid;
  grid-template-columns: minmax(190px, 250px) 1fr;
  gap: clamp(34px, 3.2vw, 52px);
  align-items: start;
  margin-top: 30px;
}

.manifesto-portrait {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* FECHAMENTO */

.manifesto-closing {
  min-height: 390px;
  display: grid;
  place-items: center;
  padding: 70px 24px;

  background: var(--rr-navy);
  color: var(--rr-gold);
}

.manifesto-closing blockquote {
  margin: 0;
  text-align: center;
}

.manifesto-closing blockquote > span {
  display: block;
  margin-bottom: 10px;
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 0.8;
  color: var(--rr-gold);
}

.manifesto-closing p {
  font-family: var(--font-title);
  font-size: clamp(32px, 3vw, 50px);
  font-weight: 400;
  line-height: 1.35;
  text-transform: uppercase;

  background: linear-gradient(
    180deg,
    #d4b66d 0%,
    #b88f49 52%,
    #7d5a2e 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* TABLET */

@media (max-width: 1050px) {
  .manifesto-hero,
  .manifesto-transfer,
  .manifesto-value {
    min-height: 650px;
  }

  .manifesto-hero-copy {
    left: 56px;
    width: min(44vw, 510px);
  }

  .manifesto-transfer-copy {
    right: 56px;
    width: min(44vw, 560px);
  }

  .manifesto-value-copy {
    left: 56px;
    width: min(52vw, 650px);
  }

  .manifesto-trust-inner {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .manifesto-trust-copy,
  .manifesto-vision {
    max-width: 760px;
  }
}

/* MOBILE */

@media (max-width: 760px) {
  .manifesto-hero,
  .manifesto-transfer,
  .manifesto-value {
    min-height: 690px;
    aspect-ratio: auto;
  }

  .manifesto-hero {
    background:
      linear-gradient(
        180deg,
        rgba(7, 17, 28, 0.08) 0%,
        rgba(7, 17, 28, 0.42) 42%,
        rgba(7, 17, 28, 0.96) 75%,
        var(--rr-navy) 100%
      ),
      url("../img/manifesto-hero.webp") 67% center / auto 100% no-repeat;
  }

  .manifesto-hero-copy,
  .manifesto-transfer-copy,
  .manifesto-value-copy {
    left: 22px;
    right: 22px;
    top: auto;
    bottom: 42px;
    width: auto;
    transform: none;
  }

  .manifesto-transfer {
    background:
      linear-gradient(
        180deg,
        rgba(245, 241, 232, 0.06) 0%,
        rgba(245, 241, 232, 0.66) 44%,
        rgba(245, 241, 232, 0.98) 72%,
        var(--rr-beige) 100%
      ),
      url("../img/manifesto-transferencia.webp") 28% center / auto 100% no-repeat;
  }

  .manifesto-value {
    background:
      linear-gradient(
        180deg,
        rgba(7, 17, 28, 0.08) 0%,
        rgba(7, 17, 28, 0.54) 42%,
        rgba(7, 17, 28, 0.97) 72%,
        var(--rr-navy) 100%
      ),
      url("../img/manifesto-valor.webp") 70% center / auto 100% no-repeat;
  }

  .manifesto-transfer p,
  .manifesto-value p {
    margin-top: 16px;
  }

  .manifesto-trust-inner {
    padding: 58px 22px;
  }

  .manifesto-vision-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .manifesto-portrait {
    width: min(58vw, 240px);
  }

  .manifesto-closing {
    min-height: 330px;
  }
}

@media (max-width: 480px) {
  .manifesto-hero h1 {
    font-size: 38px;
  }

  .manifesto-transfer h2,
  .manifesto-value h2,
  .manifesto-trust h2,
  .manifesto-vision h2 {
    font-size: 31px;
  }

  .manifesto-closing p {
    font-size: 31px;
  }
}


/* Ajuste fino de tipografia e alinhamento */
.manifesto-transfer p,
.manifesto-value p,
.manifesto-trust p,
.manifesto-vision-copy p {
  font-size: 21px;
  line-height: 1.55;
}

.manifesto-transfer p + p,
.manifesto-value p + p,
.manifesto-trust p + p,
.manifesto-vision-copy p + p {
  margin-top: 22px;
}

.manifesto-trust-copy,
.manifesto-vision {
  padding-top: 2px;
}

@media (max-width: 760px) {
  .manifesto-hero p,
  .manifesto-transfer p,
  .manifesto-value p,
  .manifesto-trust p,
  .manifesto-vision-copy p {
    font-size: 19px;
    line-height: 1.55;
  }
}


/* =========================
   AJUSTE FINO — ALINHAMENTO
========================= */

.manifesto-hero h1,
.manifesto-transfer h2,
.manifesto-value h2,
.manifesto-trust h2,
.manifesto-vision h2 {
  letter-spacing: -0.015em;
}

.manifesto-transfer-copy,
.manifesto-value-copy,
.manifesto-trust-copy,
.manifesto-vision {
  box-sizing: border-box;
}

.manifesto-transfer-copy p:first-of-type,
.manifesto-value-copy p:first-of-type,
.manifesto-trust-copy p:first-of-type,
.manifesto-vision-copy p:first-of-type {
  margin-top: 0;
}

.manifesto-transfer-copy .manifesto-rule,
.manifesto-value-copy .manifesto-rule,
.manifesto-trust-copy .manifesto-rule {
  margin-bottom: 36px;
}

.manifesto-trust-inner {
  align-items: start;
}

.manifesto-trust-copy,
.manifesto-vision {
  padding-top: 0;
}

.manifesto-vision h2 {
  margin-bottom: 0;
}

.manifesto-vision-body {
  margin-top: 38px;
}

/* Aspas do fechamento — mais encorpadas */
.manifesto-closing blockquote > span {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 98px;
  font-weight: 700;
  line-height: 0.62;
  letter-spacing: -0.10em;
  color: #b38a45;
  transform: scaleX(1.08);
  transform-origin: center;
  margin-bottom: 18px;
}

/* A frase fica um pouco mais compacta, como no original */
.manifesto-closing p {
  line-height: 1.28;
}

@media (max-width: 1050px) {
  .manifesto-rule {
    width: 110px;
  }
}

@media (max-width: 760px) {
  .manifesto-rule {
    width: 86px;
    height: 1px;
    margin: 22px 0 26px;
  }

  .manifesto-closing blockquote > span {
    font-size: 78px;
  }
}

/* =========================
   CORREÇÃO DE CENTRALIZAÇÃO DOS BLOCOS
   O texto passa a ser centralizado pela altura real de cada seção,
   em vez de depender de posicionamento absoluto.
========================= */

.manifesto-hero .manifesto-shell,
.manifesto-transfer .manifesto-shell,
.manifesto-value .manifesto-shell {
  display: flex;
  align-items: center;
}

/* HERO — texto centralizado verticalmente, à esquerda */
.manifesto-hero .manifesto-shell {
  justify-content: flex-start;
}

.manifesto-hero-copy {
  position: static;
  width: min(32vw, 540px);
  margin-left: clamp(48px, 10.5vw, 200px);
  transform: none;
}

/* TRANSFERÊNCIA — texto centralizado verticalmente, à direita */
.manifesto-transfer .manifesto-shell {
  justify-content: flex-end;
}

.manifesto-transfer-copy {
  position: static;
  width: min(40vw, 670px);
  margin-right: clamp(48px, 10.5vw, 200px);
  transform: none;
}

/* VALOR — texto centralizado verticalmente, à esquerda */
.manifesto-value .manifesto-shell {
  justify-content: flex-start;
}

.manifesto-value-copy {
  position: static;
  width: min(43vw, 700px);
  margin-left: clamp(48px, 10.5vw, 200px);
  transform: none;
}

/* Mantém títulos e textos com ritmo uniforme dentro dos blocos */
.manifesto-hero-copy,
.manifesto-transfer-copy,
.manifesto-value-copy {
  padding-block: 34px;
}

.manifesto-hero-copy .manifesto-rule,
.manifesto-transfer-copy .manifesto-rule,
.manifesto-value-copy .manifesto-rule {
  margin-top: 28px;
  margin-bottom: 34px;
}

/* Seção clara: títulos começam exatamente na mesma linha */
.manifesto-trust-inner {
  align-items: start;
}

.manifesto-trust-copy,
.manifesto-vision {
  margin: 0;
  padding: 0;
}

.manifesto-trust-copy h2,
.manifesto-vision h2 {
  margin-top: 0;
}

/* MOBILE volta para o layout sobreposto específico */
@media (max-width: 760px) {
  .manifesto-hero .manifesto-shell,
  .manifesto-transfer .manifesto-shell,
  .manifesto-value .manifesto-shell {
    display: block;
  }

  .manifesto-hero-copy,
  .manifesto-transfer-copy,
  .manifesto-value-copy {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 42px;
    width: auto;
    margin: 0;
    padding: 0;
    transform: none;
  }
}

/* =========================================================
   MOBILE PASS V1
========================================================= */

@media (max-width: 760px) {
  .manifesto-hero {
    min-height: 760px;
  }

  .manifesto-transfer,
  .manifesto-value {
    min-height: 860px;
  }

  .manifesto-hero-copy,
  .manifesto-transfer-copy,
  .manifesto-value-copy {
    left: 20px;
    right: 20px;
    bottom: 34px;
  }

  .manifesto-hero h1 {
    font-size: clamp(36px, 9vw, 42px);
  }

  .manifesto-transfer h2,
  .manifesto-value h2,
  .manifesto-trust h2,
  .manifesto-vision h2 {
    font-size: clamp(29px, 7.5vw, 34px);
  }

  .manifesto-hero p,
  .manifesto-transfer p,
  .manifesto-value p,
  .manifesto-trust p,
  .manifesto-vision-copy p {
    font-size: 18.5px;
    line-height: 1.52;
  }

  .manifesto-trust-inner {
    padding: 58px 20px;
    gap: 52px;
  }

  .manifesto-portrait {
    width: min(68vw, 260px);
  }

  .manifesto-closing {
    min-height: 340px;
    padding-inline: 20px;
  }

  .manifesto-closing p {
    font-size: clamp(29px, 8vw, 36px);
  }
}

@media (max-width: 430px) {
  .manifesto-transfer,
  .manifesto-value {
    min-height: 900px;
  }
}
