.pd-phase {
  --pd-phase-verde: #123f37;
  --pd-phase-verde-profundo: #153f38;
  --pd-phase-verde-oliva: #687449;
  --pd-phase-dourado: #cda45e;
  --pd-phase-laranja: #e9893d;
  --pd-phase-fundo: #fbfaf4;
  --pd-phase-card: #f7f5f0;
  --pd-phase-branco: #ffffff;
  --pd-phase-texto: #293b37;
  --pd-phase-secundario: #6d7774;
  --pd-phase-borda: rgba(21, 63, 56, 0.12);
  --pd-phase-serif: var(--pd-font-serif);
  --pd-phase-sans: var(--pd-font-sans);

  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--pd-phase-texto);
  background: var(--pd-phase-fundo);
  font-family: var(--pd-phase-sans);
}

.pd-phase,
.pd-phase *,
.pd-phase *::before,
.pd-phase *::after {
  box-sizing: border-box;
}

.pd-phase h1,
.pd-phase h2,
.pd-phase h3 {
  font-family: var(--pd-phase-serif);
}

.pd-phase img {
  display: block;
  max-width: 100%;
}

.pd-phase button,
.pd-phase input {
  font: inherit;
}

.pd-phase__container {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
}

/* =========================================================
   HERO
========================================================= */

.pd-phase__hero {
  position: relative;
  width: 100%;
  height: 630px;
  overflow: hidden;
  border-bottom: 1px solid rgba(21, 63, 56, 0.07);
  background-color: #567466;
  background-image: var(--pd-phase-hero-image);
  background-size: cover;
  background-position: center 10%;
  background-repeat: no-repeat;
}

.pd-phase__hero-sombra {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(18, 63, 55, 0.08);
  pointer-events: none;
}

.pd-phase__hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  align-items: center;
}

.pd-phase__hero-conteudo {
  width: 520px;
  max-width: 48%;
  min-width: 0;
  padding-left: 106px;
}

.pd-phase__hero-titulo {
  width: 100%;
  max-width: 520px;
  margin: 0 0 28px;
  color: var(--pd-phase-branco);
  font-family: var(--pd-phase-serif);
  font-size: clamp(36px, 3.7vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.8px;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

.pd-phase__hero-texto {
  max-width: 420px;
  margin: 0;
  color: var(--pd-phase-branco);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

/* =========================================================
   BREADCRUMB
========================================================= */

.pd-phase__breadcrumb {
  width: 100%;
  padding: 28px 0 25px;
  background: var(--pd-phase-fundo);
}

.pd-phase__breadcrumb-lista {
  display: flex;
  margin: 0;
  padding: 0 12px;
  align-items: center;
  gap: 12px;
  list-style: none;
}

.pd-phase__breadcrumb-item,
.pd-phase__breadcrumb-link {
  color: var(--pd-phase-secundario);
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
}

.pd-phase__breadcrumb-link:hover {
  color: var(--pd-phase-verde);
}

.pd-phase__breadcrumb-item--atual {
  color: var(--pd-phase-verde);
  font-weight: 600;
}

.pd-phase__breadcrumb-separador img {
  width: 10px;
  height: 10px;
  object-fit: contain;
}

/* =========================================================
   PRINCIPAL
========================================================= */

.pd-phase__principal {
  width: 100%;
  padding: 0 0 32px;
  background: var(--pd-phase-fundo);
}

.pd-phase__main-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
  gap: 70px;
}

/* =========================================================
   SIDEBAR
========================================================= */

.pd-phase__sidebar {
  position: sticky;
  top: 30px;
  min-width: 0;
}

.pd-phase__sidebar-caixa {
  position: relative;
  overflow: hidden;
  padding: 28px 0 12px;
  border: 1px solid rgba(21, 63, 56, 0.055);
  border-radius: 12px;
  background: rgba(248, 246, 241, 0.82);
  box-shadow: 0 12px 36px rgba(21, 63, 56, 0.035);
}

.pd-phase__sidebar-titulo {
  margin: 0 25px 20px;
  color: var(--pd-phase-verde);
  font-family: var(--pd-phase-serif);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.3;
}

.pd-phase__sidebar-nav {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.pd-phase__accordion {
  width: 100%;
}

.pd-phase__accordion-trigger {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 54px;
  margin: 0;
  padding: 13px 48px 13px 24px;
  align-items: center;
  border: 0;
  border-radius: 0;
  color: var(--pd-phase-verde);
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.pd-phase__accordion-trigger:hover {
  color: var(--pd-phase-verde);
  background: rgba(237, 232, 221, 0.66);
}

.pd-phase__accordion-trigger:focus,
.pd-phase__accordion-trigger:active {
  color: var(--pd-phase-verde);
  border: 0;
  background: rgba(237, 232, 221, 0.66);
  box-shadow: none;
}

.pd-phase__accordion-title {
  min-width: 0;
  font-family: var(--pd-phase-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.pd-phase__accordion-icon {
  position: absolute;
  top: 50%;
  right: 25px;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transform-origin: center;
  transition: transform 200ms ease;
}

.pd-phase__accordion.is-open>.pd-phase__accordion-trigger {
  background: rgba(237, 232, 221, 0.46);
}

.pd-phase__accordion.is-open>.pd-phase__accordion-trigger .pd-phase__accordion-icon {
  transform: translateY(-30%) rotate(225deg);
}

.pd-phase__accordion-panel {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.pd-phase__accordion-panel[hidden] {
  display: none;
}

.pd-phase__sidebar-link {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  min-height: 54px;
  padding: 13px 24px;
  align-items: flex-start;
  gap: 4px;
  color: var(--pd-phase-verde);
  border-radius: 0 7px 7px 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.65;
  text-decoration: none;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.pd-phase__sidebar-link::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  content: "";
  background: transparent;
}

.pd-phase__sidebar-link:hover {
  background: rgba(237, 232, 221, 0.66);
}

.pd-phase__sidebar-link.is-active {
  background: #efebe2;
}

.pd-phase__sidebar-link.is-active::before {
  background: var(--pd-phase-verde);
}

.pd-phase__sidebar-numero {
  display: block;
  color: var(--pd-phase-verde);
}

.pd-phase__sidebar-link-title {
  min-width: 0;
}

.pd-phase__dica {
  margin: 28px 12px 0;
  padding: 27px 26px 23px;
  border-radius: 10px;
  background: rgba(244, 241, 234, 0.94);
}

.pd-phase__dica-titulo {
  margin: 0 0 13px;
  color: var(--pd-phase-verde);
  font-family: var(--pd-phase-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.pd-phase__dica-texto {
  margin: 0;
  color: var(--pd-phase-texto);
  font-size: 12px;
  line-height: 1.9;
}

.pd-phase__dica-ornamento {
  display: flex;
  margin-top: 23px;
  align-items: center;
  gap: 12px;
}

.pd-phase__dica-ornamento span {
  flex: 1;
  height: 1px;
  background: rgba(233, 137, 61, 0.7);
}

.pd-phase__dica-ornamento img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

/* =========================================================
   LEITOR
========================================================= */

.pd-phase__reader {
  position: relative;
  min-width: 0;
  scroll-margin-top: 28px;
}

/*
 * Área real de leitura.
 * A barra nativa permanece oculta porque utilizaremos
 * o componente visual sincronizado pelo JavaScript.
 */

.pd-phase__reader-scroll {
  position: relative;
  width: 100%;
  height: calc(100vh - 190px);
  min-height: 580px;
  max-height: 1180px;
  padding-right: 34px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.pd-phase__reader-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.pd-phase__reader-scroll:focus-visible {
  outline: 3px solid rgba(205, 164, 94, 0.45);
  outline-offset: 5px;
}

/*
 * Barra personalizada.
 */

.pd-phase__reader-scrollbar {
  position: absolute;
  top: 0;
  right: 3px;
  bottom: 0;
  z-index: 4;
  width: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(18, 63, 55, 0.045);
  opacity: 1;
  transition:
    background-color 200ms ease,
    box-shadow 200ms ease;
}

/*
 * A barra fica ligeiramente mais definida quando o leitor
 * recebe o ponteiro ou o foco pelo teclado.
 */

.pd-phase__reader:hover .pd-phase__reader-scrollbar,
.pd-phase__reader:focus-within .pd-phase__reader-scrollbar {
  background: rgba(18, 63, 55, 0.075);
  box-shadow: inset 0 0 0 1px rgba(18, 63, 55, 0.035);
}

/*
 * Trilho disponível para o indicador.
 * Sem interação, utiliza toda a altura da barra.
 */

.pd-phase__reader-scroll-track {
  position: absolute;
  top: 5px;
  right: 6px;
  bottom: 5px;
  left: 6px;
  overflow: hidden;
  border-radius: 999px;
  transition:
    top 200ms ease,
    bottom 200ms ease;
}

/*
 * Quando as setas aparecem, o trilho abre espaço para elas.
 */

.pd-phase__reader:hover .pd-phase__reader-scroll-track,
.pd-phase__reader:focus-within .pd-phase__reader-scroll-track {
  top: 24px;
  bottom: 24px;
}

/*
 * Indicador da posição atual da leitura.
 * Altura e deslocamento serão atualizados pelo JavaScript.
 */

.pd-phase__reader-scroll-thumb {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 6px;
  cursor: grab;
  touch-action: none;
  height: var(--pd-reader-thumb-height, 26px);
  min-height: 26px;
  border-radius: 999px;
  background: rgba(72, 76, 75, 0.62);
  transform: translate3d(0,
      var(--pd-reader-thumb-offset, 0px),
      0);
  will-change: height, transform;
  transition:
    background-color 180ms ease,
    width 180ms ease;
}

.pd-phase__reader-scroll-thumb.is-dragging {
  cursor: grabbing;
  background: rgba(55, 59, 58, 0.88);
}

.pd-phase__reader:hover .pd-phase__reader-scroll-thumb,
.pd-phase__reader:focus-within .pd-phase__reader-scroll-thumb {
  background: rgba(72, 76, 75, 0.72);
}

/*
 * Botões superior e inferior.
 */

.pd-phase__reader-scroll-button {
  position: absolute;
  left: 0;
  z-index: 2;
  display: flex;
  width: 18px;
  height: 20px;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 5px;
  outline: none;
  color: rgba(72, 76, 75, 0.68);
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    opacity 180ms ease,
    visibility 0s linear 180ms,
    color 160ms ease,
    background-color 160ms ease,
    transform 120ms ease;
}

.pd-phase__reader-scroll-button--up {
  top: 1px;
}

.pd-phase__reader-scroll-button--down {
  bottom: 1px;
}

.pd-phase__reader:hover .pd-phase__reader-scroll-button,
.pd-phase__reader:focus-within .pd-phase__reader-scroll-button {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.pd-phase__reader-scroll-button:hover,
.pd-phase__reader-scroll-button:focus-visible {
  color: rgba(55, 59, 58, 0.9);
  background: rgba(18, 63, 55, 0.07);
}

.pd-phase__reader-scroll-button:active {
  background: rgba(18, 63, 55, 0.12);
  transform: scale(0.88);
}

/*
 * As duas setas usam exatamente a mesma forma.
 * Somente a rotação é diferente.
 */

.pd-phase__reader-scroll-arrow {
  display: block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform-origin: center;
}

.pd-phase__reader-scroll-button--up .pd-phase__reader-scroll-arrow {
  transform: translateY(2px) rotate(225deg);
}

.pd-phase__reader-scroll-button--down .pd-phase__reader-scroll-arrow {
  transform: translateY(-2px) rotate(45deg);
}

/*
 * Estado desativado quando o leitor já chegou ao início
 * ou ao final do conteúdo.
 */

.pd-phase__reader-scroll-button:disabled {
  color: rgba(72, 76, 75, 0.25);
  background: transparent;
  cursor: default;
  transform: none;
}

.pd-phase__reader-title {
  margin: 0;
  color: var(--pd-phase-verde);
  font-family: var(--pd-phase-serif);
  font-size: 29px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.012em;
}

.pd-phase__reader-decoration {
  width: 62px;
  height: 1px;
  margin: 18px 0 25px;
  background: var(--pd-phase-laranja);
}

.pd-phase__reader-content {
  min-height: 340px;
}

.pd-phase__reader-content p {
  margin: 0 0 14px;
  color: #303d3a;
  font-size: 13px;
  line-height: 1.82;
}

.pd-phase__reader-content p:last-child {
  margin-bottom: 0;
}

.pd-phase__reader-content ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.pd-phase__reader-content li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 24px;
  color: #303d3a;
  font-size: 13px;
  line-height: 1.82;
}

.pd-phase__reader-content li::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "—";
  color: var(--pd-phase-verde);
  font-weight: 700;
}

.pd-phase__reader-content li:last-child {
  margin-bottom: 0;
}

.pd-phase__media {
  display: flex;
  width: 100%;
  margin: 22px 0 28px;
  align-items: center;
  justify-content: center;
}

.pd-phase__media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 8px;
}

.pd-phase__media-grid {
  display: grid;
  width: 100%;
  margin: 22px 0 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 20px;
}

.pd-phase__media-grid .pd-phase__media {
  margin: 0;
}

.pd-phase__reader-content table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.pd-phase__reader-content th,
.pd-phase__reader-content td {
  padding: 6px 12px;
  vertical-align: top;
}

.pd-phase__reader-content th:first-child,
.pd-phase__reader-content td:first-child {
  width: 65%;
  text-align: left;
}

.pd-phase__reader-content th:last-child,
.pd-phase__reader-content td:last-child {
  width: 35%;
  text-align: center;
}

.pd-phase__templates {
  display: none;
}

/* =========================================================
   NAVEGAÇÃO DO LEITOR
========================================================= */

.pd-phase__reader-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid rgba(205, 164, 94, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
}

.pd-phase__reader-navigation-button {
  display: flex;
  width: 100%;
  min-height: 74px;
  margin: 0;
  padding: 13px 24px;
  align-items: center;
  gap: 20px;
  border: 0;
  border-radius: 0;
  color: var(--pd-phase-verde);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background-color 200ms ease;
}

.pd-phase__reader-navigation-button:hover {
  background: #f5f2eb;
}

.pd-phase__reader-navigation-button--next {
  justify-content: flex-end;
  border-left: 1px solid rgba(205, 164, 94, 0.5);
  text-align: right;
}

.pd-phase__reader-navigation-button[hidden] {
  display: none;
}

.pd-phase__reader-navigation-button--previous[hidden]+.pd-phase__reader-navigation-button--next {
  grid-column: 1 / -1;
  border-left: 0;
}

.pd-phase__reader-navigation-button--previous:not([hidden]):last-child {
  grid-column: 1 / -1;
}

.pd-phase__reader-navigation-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
}

.pd-phase__reader-navigation-texts {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.pd-phase__reader-navigation-label {
  color: var(--pd-phase-secundario);
  font-size: 10px;
  line-height: 1.2;
}

.pd-phase__reader-navigation-title {
  color: var(--pd-phase-verde);
  font-size: 12px;
  line-height: 1.4;
}

/* =========================================================
   NEWSLETTER
========================================================= */

.pd-phase__newsletter {
  position: relative;
  width: 100%;
  padding: 0 0 24px;
  overflow: hidden;
  background: var(--pd-phase-fundo);
}

.pd-phase__newsletter-caixa {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(360px, 1.05fr) minmax(250px, 0.7fr) minmax(390px, 1fr);
  min-height: 112px;
  padding: 20px 88px 20px 34px;
  align-items: center;
  gap: 38px;
  overflow: hidden;
  border: 1px solid rgba(21, 63, 56, 0.055);
  border-radius: 10px;
  background: #f2f0e9;
}

.pd-phase__newsletter-fundo {
  position: absolute;
  right: 3%;
  bottom: 0;
  z-index: 1;
  width: 170px;
  max-height: 100%;
  object-fit: contain;
  object-position: right bottom;
  opacity: 0.14;
  pointer-events: none;
}

.pd-phase__newsletter-intro {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.pd-phase__newsletter-icone {
  display: flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pd-phase-verde-oliva);
}

.pd-phase__newsletter-icone img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.pd-phase__newsletter-titulo {
  margin: 0;
  color: var(--pd-phase-verde);
  font-family: var(--pd-phase-serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.32;
}

.pd-phase__newsletter-texto {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--pd-phase-texto);
  font-size: 11px;
  line-height: 1.7;
}

.pd-phase__newsletter-formulario {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.pd-phase__newsletter-campos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 135px;
  gap: 10px;
}

.pd-phase__newsletter-email {
  width: 100%;
  height: 43px;
  padding: 0 16px;
  border: 1px solid rgba(21, 63, 56, 0.1);
  border-radius: 6px;
  outline: none;
  color: var(--pd-phase-texto);
  background: #ffffff;
  font-size: 11px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.pd-phase__newsletter-email:focus {
  border-color: rgba(18, 63, 55, 0.45);
  box-shadow: 0 0 0 3px rgba(18, 63, 55, 0.07);
}

.pd-phase__newsletter-email::placeholder {
  color: #98a09d;
}

.pd-phase__newsletter-botao {
  display: flex;
  min-height: 43px;
  padding: 10px 14px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--pd-phase-verde);
  border-radius: 6px;
  color: #ffffff;
  background: var(--pd-phase-verde);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.pd-phase__newsletter-botao:hover {
  background: #0d332c;
  transform: translateY(-1px);
}

.pd-phase__newsletter-botao img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.pd-phase__newsletter-mensagem {
  min-height: 16px;
  margin: 7px 0 0;
  color: #9c4034;
  font-size: 10px;
  line-height: 1.4;
}

.pd-phase__newsletter-mensagem.is-success {
  color: #276448;
}

/* =========================================================
   FOCOS
========================================================= */

.pd-phase a:focus-visible,
.pd-phase button:focus-visible,
.pd-phase input:focus-visible {
  outline: 3px solid rgba(205, 164, 94, 0.45);
  outline-offset: 3px;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {
  .pd-phase__container {
    width: min(960px, calc(100% - 40px));
  }

  .pd-phase__hero {
    height: 465px;
    min-height: 465px;
    background-size: cover;
    background-position: center center;
  }

  .pd-phase__hero-conteudo {
    padding-left: 28px;
  }

  .pd-phase__main-grid {
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 42px;
  }

  .pd-phase__accordion-trigger {
    padding-right: 42px;
    padding-left: 18px;
  }

  .pd-phase__accordion-icon {
    right: 19px;
  }

  .pd-phase__sidebar-link {
    padding-right: 17px;
    padding-left: 18px;
  }

  .pd-phase__reader-scroll {
    height: calc(100vh - 170px);
    min-height: 540px;
    padding-right: 20px;
  }

}

/* A grelha de três colunas exige pelo menos 1264px de viewport. */
@media (max-width: 1264px) {
  .pd-phase__newsletter-caixa {
    grid-template-columns: minmax(330px, 1fr) minmax(0, 1fr);
    padding-right: 75px;
    gap: 24px;
  }

  .pd-phase__newsletter-texto {
    grid-column: 1;
    padding-left: 94px;
  }

  .pd-phase__newsletter-formulario {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

/* =====================================================
   TABLET PEQUENO
===================================================== */

@media (min-width: 561px) and (max-width: 850px) {
  .pd-phase__hero {
    height: 465px;
    min-height: 465px;
    background-size: cover;
    background-position: center center;
  }

  .pd-phase__hero-conteudo {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    padding: 0 28px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .pd-phase__hero-texto {
    display: none;
  }

  .pd-phase__hero-conteudo h1 {
    margin: 0;
    color: rgba(255, 255, 255, 0.34);
    font-style: italic;
    line-height: 1;
  }

  .pd-phase__main-grid {
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 28px;
  }

  .pd-phase__sidebar {
    position: sticky;
    top: 20px;
  }

  .pd-phase__sidebar-caixa {
    padding-bottom: 18px;
  }

  .pd-phase__sidebar-nav {
    display: flex;
    padding: 0;
  }

  .pd-phase__accordion-trigger {
    min-height: 48px;
    padding: 10px 40px 10px 16px;
  }

  .pd-phase__accordion-title {
    font-size: 14px;
  }

  .pd-phase__accordion-icon {
    right: 17px;
  }

  .pd-phase__sidebar-link {
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 0 6px 6px 0;
    font-size: 11px;
  }

  .pd-phase__sidebar-link::before {
    top: 0;
    bottom: 0;
  }

  .pd-phase__dica {
    margin-right: 14px;
    margin-left: 14px;
  }

  .pd-phase__reader-scroll {
    height: calc(100vh - 150px);
    min-height: 520px;
    padding-right: 18px;
  }

  .pd-phase__reader-title {
    font-size: 26px;
  }

  .pd-phase__newsletter-caixa {
    grid-template-columns: 1fr;
    padding: 24px 90px 24px 28px;
  }

  .pd-phase__newsletter-texto {
    grid-column: auto;
    padding-left: 94px;
  }

  .pd-phase__newsletter-formulario {
    grid-column: auto;
    grid-row: auto;
    padding-left: 94px;
  }
}

/* =====================================================
   TELEMÓVEL
===================================================== */

@media (max-width: 767px) {
  .pd-phase__container {
    width: calc(100% - 36px);
  }

  .pd-phase__hero {
    height: 330px;
    min-height: 330px;
    background-size: cover;
    background-position: center center;
  }

  .pd-phase__hero-sombra {
    background: rgba(18, 63, 55, 0.08);
  }

  .pd-phase__hero-conteudo {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    padding: 0 24px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .pd-phase__hero-texto {
    display: none;
  }

  .pd-phase__hero-conteudo h1 {
    margin: 0;
    color: rgba(255, 255, 255, 0.34);
    font-family: var(--pd-font-serif);
    font-size: 42px;
    font-style: italic;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
  }

  .pd-phase__breadcrumb {
    padding: 22px 0;
  }

  .pd-phase__breadcrumb-lista {
    padding: 0;
  }

  .pd-phase__main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .pd-phase__reader-scrollbar {
    display: none;
  }

  .pd-phase__sidebar {
    position: static;
  }

  .pd-phase__sidebar-nav {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0 14px;
    gap: 5px;
  }

  .pd-phase__accordion-trigger {
    min-height: 52px;
    padding: 13px 42px 13px 18px;
    border-radius: 6px;
  }

  .pd-phase__accordion-title {
    font-size: 15px;
  }

  .pd-phase__accordion-icon {
    right: 19px;
  }

  .pd-phase__sidebar-link {
    min-height: 52px;
    padding: 13px 18px;
    border-radius: 6px;
    font-size: 12px;
  }

  .pd-phase__sidebar-link::before {
    top: 8px;
    bottom: 8px;
    border-radius: 3px;
  }

  .pd-phase__sidebar-titulo {
    font-size: 21px;
  }

  .pd-phase__reader-scroll {
    height: auto;
    min-height: 0;
    max-height: none;
    padding-right: 0;
    overflow: visible;
    overscroll-behavior: auto;
    scroll-behavior: auto;
  }

  .pd-phase__reader-title {
    font-size: 24px;
  }

  .pd-phase__reader-content {
    min-height: 0;
  }

  .pd-phase__reader-content p {
    font-size: 13px;
    line-height: 1.75;
  }

  .pd-phase__media {
    margin: 18px 0 24px;
  }

  .pd-phase__media img {
    max-height: 360px;
  }

  .pd-phase__media-grid {
    margin: 18px 0 24px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pd-phase__reader-navigation {
    grid-template-columns: 1fr;
  }

  .pd-phase__reader-navigation-button--next {
    border-top: 1px solid rgba(205, 164, 94, 0.5);
    border-left: 0;
  }

  .pd-phase__reader-navigation-button--previous[hidden]+.pd-phase__reader-navigation-button--next {
    grid-column: auto;
  }

  .pd-phase__newsletter {
    padding-bottom: 18px;
  }

  .pd-phase__newsletter-caixa {
    display: flex;
    padding: 27px 22px 105px;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .pd-phase__newsletter-intro {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
  }

  .pd-phase__newsletter-icone {
    width: 64px;
    height: 64px;
  }

  .pd-phase__newsletter-titulo {
    font-size: 18px;
  }

  .pd-phase__newsletter-texto,
  .pd-phase__newsletter-formulario {
    padding-left: 0;
  }

  .pd-phase__newsletter-campos {
    grid-template-columns: 1fr;
  }

  .pd-phase__newsletter-botao {
    width: 100%;
  }

  .pd-phase__newsletter-fundo {
    right: 50%;
    width: 130px;
    transform: translateX(50%);
  }
}

/* =====================================================
   TELEMÓVEL PEQUENO
===================================================== */

@media (max-width: 480px) {
  .pd-phase__hero-conteudo {
    width: 100%;
    max-width: 480px;
  }

  .pd-phase__reader-title {
    font-size: 22px;
  }

  .pd-phase__reader-navigation-button {
    padding: 14px 17px;
  }
}

/* =====================================================
   MOVIMENTO REDUZIDO
===================================================== */

@media (prefers-reduced-motion: reduce) {

  .pd-phase *,
  .pd-phase *::before,
  .pd-phase *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   TABELAS DOS CONTEÚDOS — COMPACTAS
========================================================= */

.pd-phase__table-wrap {
  width: min(100%, 680px);
  margin: 20px auto 26px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(205, 164, 94, 0.38);
  border-radius: 9px;
  background: #fbfaf4;
  box-shadow: 0 8px 20px rgba(18, 63, 55, 0.045);
  box-sizing: border-box;
}

.pd-phase__reader-content table.pd-phase__table {
  width: 100%;
  min-width: 0;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  color: #303d3a;
  background: #fbfaf4;
  font-size: 12px;
  line-height: 1.35;
}

.pd-phase__table th,
.pd-phase__table td {
  padding: 9px 14px;
  border: 0;
  border-bottom: 1px solid rgba(18, 63, 55, 0.08);
  vertical-align: middle;
  overflow-wrap: anywhere;
  white-space: normal;
}

.pd-phase__table thead th {
  color: #fff;
  background: #123f37;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
  text-align: left;
}

.pd-phase__table th:first-child,
.pd-phase__table td:first-child {
  width: 68%;
  text-align: left;
}

.pd-phase__table th:last-child,
.pd-phase__table td:last-child {
  width: 32%;
  text-align: center;
}

.pd-phase__table tbody tr:nth-child(odd) {
  background: #fbfaf4;
}

.pd-phase__table tbody tr:nth-child(even) {
  background: rgba(220, 233, 221, 0.3);
}

.pd-phase__table tbody tr:last-child td {
  border-bottom: 0;
}

.pd-phase__table tbody td:first-child {
  color: #303d3a;
  font-weight: 500;
}

.pd-phase__table tbody td:last-child {
  color: #123f37;
  font-weight: 700;
}

@media (max-width: 900px) {
  .pd-phase__table-wrap {
    width: 100%;
    margin: 18px 0 24px;
    overflow: hidden;
  }

  .pd-phase__reader-content table.pd-phase__table {
    width: 100%;
    min-width: 0;
    font-size: 11px;
  }

  .pd-phase__table th,
  .pd-phase__table td {
    padding: 9px 8px;
  }

  .pd-phase__table thead th {
    font-size: 10px;
  }
}

/* =========================================================
   CITAÇÃO EDITORIAL — MICHEL ODENT
========================================================= */

.pd-phase__quote-card {
  position: relative;
  width: min(100%, 760px);
  min-height: 250px;
  margin: 30px auto;
  padding: 38px 42px 34px;
  overflow: hidden;
  border: 1px solid rgba(205, 164, 94, 0.42);
  border-radius: 14px;
  background:
    linear-gradient(105deg,
      rgba(251, 250, 244, 0.98) 0%,
      rgba(251, 250, 244, 0.92) 52%,
      rgba(220, 233, 221, 0.72) 100%);
  box-shadow: 0 14px 32px rgba(18, 63, 55, 0.07);
  box-sizing: border-box;
  isolation: isolate;
}

.pd-phase__quote-watermark {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  display: block;
  width: 48%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center 28%;
  opacity: 0.24;
  filter:
    grayscale(75%) sepia(12%) contrast(105%);
  pointer-events: none;
  user-select: none;
}

.pd-phase__quote-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg,
      #fbfaf4 0%,
      rgba(251, 250, 244, 0.97) 42%,
      rgba(251, 250, 244, 0.62) 66%,
      rgba(251, 250, 244, 0.12) 100%);
  pointer-events: none;
}

.pd-phase__quote-content {
  position: relative;
  z-index: 2;
  max-width: 610px;
}

.pd-phase__quote-mark {
  display: block;
  height: 42px;
  margin-bottom: 8px;
  color: #cda45e;
  font-family: var(--pd-font-serif);
  font-size: 68px;
  line-height: 0.9;
  font-weight: 700;
}

.pd-phase__quote-card blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.pd-phase__quote-card blockquote p {
  margin: 0;
  color: #123f37;
  font-family: var(--pd-font-serif);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.65;
  font-weight: 500;
  font-style: italic;
}

.pd-phase__quote-card figcaption {
  display: flex;
  margin-top: 24px;
  padding-top: 17px;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(18, 63, 55, 0.14);
  color: #345b41;
  font-size: 12px;
  line-height: 1.4;
}

.pd-phase__quote-card figcaption span::after {
  content: "—";
  margin-left: 8px;
  color: #cda45e;
}

.pd-phase__quote-card figcaption strong {
  color: #123f37;
  font-weight: 700;
}

@media (max-width: 640px) {
  .pd-phase__quote-card {
    min-height: 230px;
    padding: 30px 26px 28px;
  }

  .pd-phase__quote-watermark {
    width: 72%;
    opacity: 0.16;
    object-position: center 25%;
  }

  .pd-phase__quote-card::after {
    background:
      linear-gradient(90deg,
        rgba(251, 250, 244, 0.94) 0%,
        rgba(251, 250, 244, 0.82) 58%,
        rgba(251, 250, 244, 0.46) 100%);
  }

  .pd-phase__quote-mark {
    height: 35px;
    font-size: 56px;
  }

  .pd-phase__quote-card blockquote p {
    font-size: 16px;
    line-height: 1.6;
  }

  .pd-phase__quote-card figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .pd-phase__quote-card figcaption span::after {
    content: "";
    margin: 0;
  }
}

/* =====================================================
   RECOMENDAÇÕES DE LEITURA
===================================================== */

.pd-phase__recommendations {
  width: 100%;
  margin-top: 46px;
  padding: 34px 38px 38px;
  border-radius: 14px;
  background: #fbfaf4;
  border: 1px solid rgba(18, 63, 55, 0.08);
  box-sizing: border-box;
}

.pd-phase__recommendations-title {
  margin: 0 0 28px;
  color: #123f37;
  font-family: var(--pd-font-serif);
  font-size: 28px;
  font-weight: 600;
  text-align: center;
}

.pd-phase__recommendations-grid {
  display: grid;
  grid-template-columns: repeat(4, 150px);
  justify-content: center;
  column-gap: 20px;
  row-gap: 20px;
  width: 100%;
}

.pd-phase__recommendation {
  display: flex;
  width: 150px;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #345b41;
  cursor: pointer;
  text-align: center;
}

.pd-phase__recommendation img {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.pd-phase__recommendation span {
  max-width: 170px;
  color: #345b41;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.pd-phase__recommendation:hover img,
.pd-phase__recommendation:focus-visible img {
  transform: translateY(-4px);
}

.pd-phase__recommendation:focus-visible {
  outline: 2px solid rgba(205, 164, 94, 0.7);
  outline-offset: 5px;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .pd-phase__recommendations {
    margin-top: 34px;
    padding: 28px 24px 30px;
  }

  .pd-phase__recommendations-grid {
    grid-template-columns: repeat(2, 150px);
    justify-content: center;
    column-gap: 8px;
    row-gap: 14px;
  }

  .pd-phase__recommendation {
    width: 150px;
  }

  .pd-phase__recommendation img {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 560px) {
  .pd-phase__recommendations-grid {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    width: 264px;
    max-width: 100%;
    margin: 0 auto;
    column-gap: 4px;
    row-gap: 12px;
  }

  .pd-phase__recommendation {
    width: 130px;
    padding: 4px 0;
  }

  .pd-phase__recommendation img {
    width: 54px;
    height: 54px;
    margin-bottom: 10px;
  }

  .pd-phase__recommendation span {
    max-width: 130px;
    font-size: 10px;
  }
}

/* =====================================================
   MODAL DAS RECOMENDAÇÕES
===================================================== */

.pd-phase__recommendation-modal[hidden] {
  display: none;
}

.pd-phase__recommendation-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  padding: 40px;
  align-items: center;
  justify-content: center;
}

.pd-phase__recommendation-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 63, 55, 0.62);
}

.pd-phase__recommendation-modal-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: 80vw;
  max-width: 1200px;
  max-height: calc(100vh - 80px);
  margin: auto;
  padding: 52px 54px 46px;
  flex-direction: column;
  overflow-y: auto;
  border-radius: 18px;
  background: #fbfaf4;
  box-shadow: 0 24px 70px rgba(18, 63, 55, 0.28);
  box-sizing: border-box;
}

.pd-phase__recommendation-modal-close {
  position: absolute;
  top: 14px;
  right: 20px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  color: #123f37;
  background: transparent;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.pd-phase__recommendation-modal-dialog h2 {
  margin: 0 0 28px;
  color: #123f37;
  font-family: var(--pd-font-serif);
  font-size: 32px;
  line-height: 1.2;
}

.pd-phase__recommendation-modal-content {
  color: #40534d;
  font-size: 16px;
  line-height: 1.8;
  text-align: left;
}

.pd-phase__recommendation-modal-content h2,
.pd-phase__recommendation-modal-content h3 {
  margin: 30px 0 14px;
  color: #123f37;
  font-family: var(--pd-font-serif);
  line-height: 1.25;
}

.pd-phase__recommendation-modal-content p {
  margin: 0 0 18px;
}

.pd-phase__recommendation-modal-content ul,
.pd-phase__recommendation-modal-content ol {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.pd-phase__recommendation-modal-content li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 20px;
}

.pd-phase__recommendation-modal-content li::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "-";
  font-weight: 700;
}

.pd-phase__recommendation-modal-content .pd-phase__media-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  margin: 20px 0 26px;
}

.pd-phase__recommendation-modal-content .pd-phase__media {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  text-align: left;
}

.pd-phase__recommendation-modal-content .pd-phase__media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pd-recommendation-modal-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .pd-phase__recommendation-modal {
    padding: 16px;
    min-height: 100dvh;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .pd-phase__recommendation-modal-dialog {
    width: 100%;
    height: calc(100dvh - 32px);
    max-height: none;
    margin: 0;
    padding: 44px 28px 32px;
    box-sizing: border-box;
    overflow-y: auto;
  }

  .pd-phase__recommendation-modal-content .pd-phase__media-grid {
    gap: 4px;
  }

  .pd-phase__recommendation-modal-content .pd-phase__media img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 560px) {
  .pd-phase__recommendation-modal {
    padding: 12px;
    min-height: 100dvh;
  }

  .pd-phase__recommendation-modal-dialog {
    width: 100%;
    height: calc(100dvh - 24px);
    max-height: none;
    padding: 42px 24px 30px;
    border-radius: 14px;
  }

  .pd-phase__recommendation-modal-dialog h2 {
    font-size: 24px;
  }

  .pd-phase__recommendation-modal-content {
    font-size: 14px;
    line-height: 1.7;
  }

  .pd-phase__recommendation-modal-content .pd-phase__media-grid {
    gap: 4px;
  }
}
