.pd-birth-plan {
  --hero-image-url: url("../images/backgrounds/Plano-de-Parto-Oficial.jpg");

  --pd-plano-green: #174d43;
  --pd-plano-green-deep: #123f37;
  --pd-plano-green-soft: #edf1e7;
  --pd-plano-cream: #fbfaf4;
  --pd-plano-white: #ffffff;
  --pd-plano-text: #3f4e4a;
  --pd-plano-gold: #d5b176;
  --pd-plano-border: rgba(23, 77, 67, 0.1);
  --pd-plano-radius-large: 18px;
  --pd-plano-container: 1320px;

  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--pd-plano-text);
  background: var(--pd-plano-cream);
  font-family: var(--pd-font-sans);
}

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

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

.pd-plano-parto {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--pd-plano-cream);
}

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

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

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

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

.pd-plano-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: rgba(18, 63, 55, 0.08);
  pointer-events: none;
}

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

.pd-plano-hero-copy {
  width: min(540px, 45%);
  padding: 32px 0;
}

.pd-plano-hero-title {
  width: 100%;
  max-width: 520px;
  margin: 0 0 28px;
  color: #ffffff;
  font-family: var(--pd-font-serif);
  font-size: clamp(36px, 3.7vw, 52px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.8px;
}

.pd-plano-hero-text {
  max-width: 495px;
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

.pd-plano-hero-text+.pd-plano-hero-text {
  margin-top: 14px;
}

.pd-plano-hero-button {
  display: inline-flex;
  min-height: 52px;
  margin-top: 24px;
  padding: 13px 24px 13px 27px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--pd-plano-green);
  border-radius: 8px;
  color: #ffffff;
  background: var(--pd-plano-green);
  box-shadow: 0 12px 26px rgba(23, 77, 67, 0.16);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.pd-plano-hero-button-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
}

.pd-plano-hero-button:hover {
  border-color: var(--pd-plano-green-deep);
  color: #ffffff;
  background: var(--pd-plano-green-deep);
  box-shadow: 0 15px 30px rgba(23, 77, 67, 0.22);
  transform: translateY(-2px);
}

.pd-plano-hero-button:focus-visible {
  outline: 3px solid rgba(213, 177, 118, 0.75);
  outline-offset: 4px;
}

.pd-plano-hero-button-arrow {
  font-size: 26px;
  font-weight: 300;
  line-height: 0.8;
}

/* =====================================================
   CANAIS DE APOIO
===================================================== */

.pd-plano-support {
  width: 100%;
  margin: 0;
  padding: 44px 0 76px;
  background: var(--pd-plano-cream);
}

.pd-plano-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 150px;
  padding: 27px 45px;
  border-radius: var(--pd-plano-radius-large);
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0.82),
      rgba(255, 255, 255, 0.92));
  box-shadow: 0 12px 36px rgba(27, 61, 55, 0.035);
}

.pd-plano-support-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  min-width: 0;
  padding: 6px 38px;
  align-items: center;
  gap: 24px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.pd-plano-support-item:hover {
  color: inherit;
  text-decoration: none;
}

.pd-plano-support-item:focus-visible {
  outline: 3px solid rgba(205, 164, 94, 0.55);
  outline-offset: 4px;
}

.pd-plano-support-item:first-child {
  padding-left: 0;
}

.pd-plano-support-item:last-child {
  padding-right: 0;
}

.pd-plano-support-item+.pd-plano-support-item {
  border-left: 1px solid rgba(23, 77, 67, 0.1);
}

.pd-plano-support-icon {
  display: flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--pd-plano-green-soft);
}

.pd-plano-support-icon img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.pd-plano-support-content {
  min-width: 0;
}

.pd-plano-support-title {
  margin: 0 0 8px;
  color: var(--pd-plano-green);
  font-family: var(--pd-font-sans);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.pd-plano-support-text {
  margin: 0;
  color: #53615d;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

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

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

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

  .pd-plano-hero-copy {
    width: min(500px, 52%);
    padding: 28px 0;
  }

  .pd-plano-hero-divider {
    margin-top: 21px;
    margin-bottom: 22px;
  }

  .pd-plano-hero-text {
    font-size: 15px;
    line-height: 1.65;
  }

  .pd-plano-hero-button {
    min-height: 50px;
    margin-top: 21px;
  }

  .pd-plano-support-grid {
    padding: 26px 28px;
  }

  .pd-plano-support-item {
    grid-template-columns: 62px minmax(0, 1fr);
    padding: 6px 24px;
    gap: 17px;
  }

  .pd-plano-support-icon {
    width: 62px;
    height: 62px;
  }

  .pd-plano-support-icon img {
    width: 30px;
    height: 30px;
  }

  .pd-plano-support-title {
    font-size: 16px;
  }

  .pd-plano-support-text {
    font-size: 14px;
  }
}

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

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

  .pd-plano-hero-text,
  .pd-plano-hero-button {
    display: none;
  }

  .pd-plano-hero-title {
    margin: 0;
    color: rgba(255, 255, 255, 0.34);
    font-style: italic;
    line-height: 1;
  }
}

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

@media (max-width: 760px) {
  .pd-plano-container {
    width: calc(100% - 40px);
  }

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

  .pd-plano-hero::before {
    background: rgba(18, 63, 55, 0.08);
  }

  .pd-plano-hero-inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
  }

  .pd-plano-hero-copy {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .pd-plano-hero-text,
  .pd-plano-hero-divider,
  .pd-plano-hero-button {
    display: none;
  }

  .pd-plano-hero-title {
    margin: 0;
    color: rgba(255, 255, 255, 0.34);
    font-size: 42px;
    font-style: italic;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
  }

  .pd-plano-hero-divider {
    width: 150px;
    margin: 19px 0 20px;
  }

  .pd-plano-hero-text {
    max-width: 390px;
    font-size: 14px;
    line-height: 1.6;
  }

  .pd-plano-hero-text+.pd-plano-hero-text {
    margin-top: 10px;
  }

  .pd-plano-hero-button {
    width: 100%;
    max-width: 320px;
    min-height: 48px;
    margin-top: 18px;
    padding: 11px 18px;
    justify-content: space-between;
    gap: 18px;
    font-size: 14px;
  }

  .pd-plano-hero-button-arrow {
    font-size: 22px;
  }

  .pd-plano-support {
    padding: 34px 0 52px;
  }

  .pd-plano-support-grid {
    grid-template-columns: 1fr;
    padding: 8px 24px;
  }

  .pd-plano-support-item,
  .pd-plano-support-item:first-child,
  .pd-plano-support-item:last-child {
    grid-template-columns: 62px minmax(0, 1fr);
    padding: 23px 0;
    gap: 18px;
  }

  .pd-plano-support-item+.pd-plano-support-item {
    border-top: 1px solid rgba(23, 77, 67, 0.1);
    border-left: 0;
  }
}

@media (max-width: 420px) {
  .pd-plano-container {
    width: calc(100% - 32px);
  }

  .pd-plano-hero {
    background-position: center center;
  }

  .pd-plano-hero-copy {
    width: 100%;
    max-width: 480px;
  }

  .pd-plano-hero-title {
    font-size: 34px;
  }

  .pd-plano-hero-text {
    font-size: 13px;
  }

  .pd-plano-hero-button {
    font-size: 13px;
  }

  .pd-plano-support-grid {
    padding-right: 20px;
    padding-left: 20px;
  }

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

  .pd-plano-support-text {
    font-size: 13px;
  }
}

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

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

:root {
  --pd-plano-green: var(--pd-color-green);
  --pd-plano-green-deep: #043b34;
  --pd-plano-green-hover: #0b5a4e;
  --pd-plano-green-soft: #edf3ef;
  --pd-plano-cream: #fbfaf4;
  --pd-plano-white: #ffffff;
  --pd-plano-text: #202a28;
  --pd-plano-text-soft: #69736f;
  --pd-plano-border: rgba(6, 73, 63, 0.11);
  --pd-plano-border-strong: rgba(6, 73, 63, 0.22);
  --pd-plano-shadow: 0 12px 32px rgba(27, 61, 55, 0.045);
  --pd-plano-radius: 14px;
  --pd-plano-container: 1320px;
}

body {
  margin: 0;
  background: var(--pd-plano-cream);
  color: var(--pd-plano-text);
  font-family:
    var(--pd-font-sans);
}

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

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