.pilates-page .hero h1 {
  font-size: clamp(34px, 3.3vw, 53px);
}
.pilates-page .button {
  white-space: normal;
  max-width: 100%;
}

.pilates-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}
.pilates-split h2,
.pilates-reading h2 {
  margin-top: 0;
}
.pilates-photo-slot {
  aspect-ratio: 4/3;
  width: 100%;
  border: 1px solid #f3c1c24d;
  border-radius: 14px;
  background: radial-gradient(ellipse at 75% 15%, #4b3c4a, #222026 72%);
}
.pilates-divider {
  border-top: 1px solid #f3c1c260;
}
.pilates-reading {
  max-width: 850px;
}
.pilates-format {
  background: #ebc9cd;
  color: var(--bg);
}
.pilates-format p {
  color: #503b44;
}
.pilates-format .actions {
  justify-content: center;
  align-items: center;
}
.pilates-dark {
  background: var(--bg);
}
.pilates-studio {
  background:
    linear-gradient(90deg, #222026f0, #222026b8),
    url("/assets/sobre-espaco.webp") center 45% / cover no-repeat;
}
.pilates-location {
  background: var(--surface);
}
.pilates-location address {
  font-style: normal;
  color: var(--pink);
  margin-top: 22px;
}
.pilates-final > .container {
  padding-block: clamp(48px, 6vw, 90px);
}
.pilates-final::after {
  background: linear-gradient(135deg, #edc6ca, #b998a2);
  border-left: 1px solid #ae778340;
}
@media (min-width: 821px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pilates-studio {
    background-attachment: fixed;
  }
}
@media (max-width: 820px) {
  .pilates-split {
    grid-template-columns: minmax(0, 1fr);
  }
}

.pilates-photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.pilates-photo-pair img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.pilates-photo-pair img:nth-child(2) {
  margin-top: 40px;
}
@media (max-width: 540px) {
  .pilates-photo-pair {
    gap: 10px;
  }
  .pilates-photo-pair img:nth-child(2) {
    margin-top: 24px;
  }
}

.pilates-format-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 32px 0;
}
.pilates-format-cards article {
  padding: 26px;
  border: 1px solid #ae7783;
  border-radius: 14px;
  background: #f3d8db;
}
.pilates-format-cards svg {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  color: #713d50;
}
.pilates-format-cards h3 {
  margin: 0 0 12px;
  color: #713d50;
}
.pilates-format-cards p {
  margin: 0;
  color: #503b44;
}
@media (max-width: 820px) {
  .pilates-format-cards {
    grid-template-columns: minmax(0, 1fr);
    max-width: 600px;
    margin-inline: auto;
  }
}

.revision-space-gallery {
  align-items: start;
}
.revision-space-gallery > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid #f3c1c24d;
}

.pilates-final::after {
  background-image: linear-gradient(90deg, var(--pink), transparent 34%), url("/assets/pilates-final.webp");
  background-size: cover;
  background-position:
    center,
    center 45%;
  border-left: 0;
}
@media (max-width: 820px) {
  .pilates-final::after {
    background-image: linear-gradient(0deg, var(--pink), transparent 40%), url("/assets/pilates-final.webp");
    background-position:
      center,
      center 40%;
  }
}
