/* =====================
   PÁGINA JORNADA / SOBRE
   ===================== */

/* Hero da página */
.jornada-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
  overflow: hidden;
}
.jornada-hero-bg {
  position: absolute;
  inset: 0;
}
.jornada-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.jornada-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(109,58,23,0.2) 0%,
    rgba(109,58,23,0.85) 100%
  );
}
.jornada-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.jornada-hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 0.5rem 0 0.75rem;
  line-height: 1.1;
}
.jornada-hero-content p {
  font-size: 1.15rem;
  opacity: 0.85;
  font-weight: 400;
}

/* Nav ativo */
.nav-ativo {
  color: var(--amarelo) !important;
}

/* =====================
   CAPÍTULOS
   ===================== */
.capitulo {
  padding: 5rem 0;
  background: var(--branco);
}
.capitulo-alt {
  background: var(--bege);
}
.capitulo-intro {
  background: var(--branco);
  padding-top: 4rem;
}

.capitulo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.capitulo-grid.invertido {
  direction: rtl;
}
.capitulo-grid.invertido > * {
  direction: ltr;
}

/* Número do capítulo */
.capitulo-num {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 0.75rem;
}

/* Texto */
.capitulo-texto h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 1.25rem;
  color: var(--texto);
}
.capitulo-texto p {
  color: var(--texto-medio);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.capitulo-texto p:last-child { margin-bottom: 0; }
.capitulo-texto em {
  font-style: italic;
  color: var(--terracota);
  font-weight: 600;
}

/* Abertura do intro — maior e mais impactante */
.capitulo-abertura {
  font-size: 1.2rem !important;
  font-weight: 500;
  color: var(--texto) !important;
  line-height: 1.75 !important;
  border-left: 3px solid var(--terracota);
  padding-left: 1.25rem;
  margin-bottom: 1.5rem !important;
}

/* Fotos dos capítulos */
.capitulo-foto {
  position: relative;
}
.capitulo-foto img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(109,58,23,0.15);
}
.capitulo-legenda {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: #999;
  font-style: italic;
  padding-left: 0.25rem;
}

/* =====================
   FECHAMENTO
   ===================== */
.jornada-fechamento {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}
.jornada-fechamento-bg {
  position: absolute;
  inset: 0;
}
.jornada-fechamento-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.jornada-fechamento-overlay {
  position: absolute;
  inset: 0;
  background: rgba(109,58,23,0.88);
}
.jornada-fechamento-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: #fff;
}
.jornada-fechamento-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--amarelo);
  margin-bottom: 1.5rem;
}
.jornada-fechamento-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0.88;
  margin-bottom: 1rem;
}
.fechamento-assinatura {
  font-size: 1.2rem !important;
  font-weight: 600;
  font-style: italic;
  color: #fff !important;
  opacity: 1 !important;
  margin-top: 2rem !important;
}
.fechamento-local {
  font-size: 0.88rem !important;
  opacity: 0.6 !important;
  margin-bottom: 2.5rem !important;
}
.fechamento-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =====================
   RESPONSIVO
   ===================== */
@media (max-width: 900px) {
  .capitulo-grid,
  .capitulo-grid.invertido {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }
  .capitulo-foto img {
    height: 300px;
  }
  .capitulo-grid.invertido .capitulo-foto {
    order: -1;
  }
}

@media (max-width: 640px) {
  .capitulo { padding: 3rem 0; }
  .jornada-hero { height: 55vh; }
  .capitulo-abertura { font-size: 1.05rem !important; }
}
