/* Local visual refinements for the service pages. Loaded after style.css. */
.testimonials-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-profile__gallery--artes .service-profile__visual {
  align-self: start;
}

.service-profile__gallery--artes .service-profile__visual > img:first-child {
  display: block;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
}

.service-profile__gallery--artes .service-profile__visual figcaption {
  position: static;
  padding: 14px 16px 16px;
  background: var(--panel);
  line-height: 1.5;
}

.artes-booking > h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

.artes-booking .service-booking-summary__options h3 {
  color: var(--yellow);
  font-size: 20px;
}

@media (max-width: 760px) {
  .testimonials-grid--compact {
    grid-template-columns: 1fr;
  }
}

.service-booking-summary {
  max-width: 760px;
  padding: 24px;
  background: var(--panel);
  border-top: 2px solid var(--yellow);
}

.service-booking-summary h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.service-booking-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.service-booking-summary__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
}

.service-booking-summary__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 24px 0 18px;
}

.service-booking-summary__options h4 {
  margin: 0 0 14px;
  font-size: 19px;
  color: var(--yellow);
}

.service-booking-summary__schedule-title {
  margin: 22px 0 12px;
  font-size: 16px;
}

.service-booking-prices {
  margin: 0;
  font-size: 14px;
}

.service-booking-prices > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--rule);
}

.service-booking-prices dt {
  color: var(--muted);
}

.service-booking-prices dd {
  margin: 0;
  font-weight: 800;
  white-space: nowrap;
}

.artes-prices {
  margin-top: 18px;
}

.service-booking-summary p.service-booking-summary__note {
  margin-top: 12px;
  font-size: 14px;
}

@media (max-width: 600px) {
  .service-booking-summary {
    padding: 22px;
  }

  .service-booking-summary__actions > a {
    width: 100%;
    text-align: center;
  }

  .service-booking-summary__options {
    grid-template-columns: 1fr;
  }
}

.service-profile__gallery--pilates .service-profile__visual {
  align-self: start;
}

.service-profile__gallery--pilates .service-profile__visual > img:first-child {
  display: block;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
}

.service-profile__gallery--pilates .service-profile__visual figcaption {
  position: static;
  display: grid;
  gap: 7px;
  padding: 14px 16px 16px;
  background: var(--panel);
  line-height: 1.5;
}

.service-profile__gallery--pilates figcaption strong {
  color: var(--yellow);
  font-size: 15px;
}

.service-profile__gallery--pilates figcaption span,
.studio-gallery-card__description {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.studio-gallery-card__description {
  margin: 8px 0 0;
}

.service-profile__visual--angela,
.angela-profile-service-card__visual {
  isolation: isolate;
}

/* O Cadillac usa o formato natural da fotografia: instrutora e aluna ficam visíveis. */
.service-profile__gallery--pilates .service-profile__visual--feature {
  grid-row: auto;
}

.service-profile__gallery--pilates .service-profile__visual--cadillac img:first-child {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1122 / 1402;
  object-fit: contain;
  object-position: center center;
}

/* Nos cartões verticais, preserva-se a cabeça de quem está a acompanhar. */
.angela-profile-service-card--massage .angela-profile-service-card__visual > img:first-child,
.angela-profile-service-card--pilates .angela-profile-service-card__visual > img:first-child,
.service-profile__gallery--massage .service-profile__visual--feature > img:first-child,
.service-profile__gallery--pilates .service-profile__visual--reformer > img:first-child,
.service-profile__gallery--pilates .service-profile__visual--barrel > img:first-child {
  object-position: center top;
}

/* A galeria móvel preserva as duas demonstrações completas. */
@media (max-width: 600px) {
  .studio-gallery-card img.studio-gallery-card__image--full-frame {
    object-fit: contain;
    object-position: center !important;
  }
}

.service-profile__brand-mark,
.angela-profile-service-card__mark,
.studio-gallery-card__brand-mark {
  width: clamp(28px, 2.4vw, 32px) !important;
  height: clamp(28px, 2.4vw, 32px) !important;
  min-height: 0 !important;
  object-fit: contain !important;
}

.service-profile__visual--pilates .service-profile__brand-mark,
.angela-profile-service-card--pilates .angela-profile-service-card__mark,
.studio-gallery-card__brand-mark--pilates {
  top: 42% !important;
  left: 22% !important;
}

.service-profile__visual--pilates-chair .service-profile__brand-mark,
.studio-gallery-card__brand-mark--pilates-chair {
  top: 35% !important;
  left: 28% !important;
}

.service-profile__visual--massage .service-profile__brand-mark,
.angela-profile-service-card--massage .angela-profile-service-card__mark,
.studio-gallery-card__brand-mark--massage {
  top: 35% !important;
  left: 55.5% !important;
}

.service-profile__visual--feet .service-profile__brand-mark {
  top: 33% !important;
  left: 45% !important;
}

.studio-gallery-card__brand-mark--custom {
  top: 41% !important;
  left: 54% !important;
}

/* A palavra da marca fica discreta na farda; o escudo completo não é usado aqui. */
.service-profile__wordmark,
.service-profile__visual--pilates-chair::after,
.service-treatment-card__image-wrap:has(.service-treatment-card__brand-mark--angela-therapeutic)::after,
.service-treatment-card__image-wrap:has(.service-treatment-card__brand-mark--angela-sport)::after,
.service-treatment-card__image-wrap:has(.service-treatment-card__brand-mark--angela-recovery)::after,
.studio-gallery-card__wordmark {
  position: absolute;
  z-index: 2;
  display: inline-block;
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(8px, 1vw, 11px);
  font-weight: 900;
  letter-spacing: .1px;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .82);
  pointer-events: none;
}

.service-profile__wordmark--pilates,
.studio-gallery-card__wordmark--pilates {
  top: 48%;
  left: 27%;
}

.service-profile__visual--pilates-chair::after,
.studio-gallery-card__wordmark--pilates-chair {
  content: "MONTROND";
  top: 39%;
  left: 24%;
}

.service-profile__visual--pilates-chair .service-profile__brand-mark,
.service-treatment-card__image-wrap:has(.service-treatment-card__brand-mark--angela-therapeutic) .service-treatment-card__brand-mark,
.service-treatment-card__image-wrap:has(.service-treatment-card__brand-mark--angela-sport) .service-treatment-card__brand-mark,
.service-treatment-card__image-wrap:has(.service-treatment-card__brand-mark--angela-recovery) .service-treatment-card__brand-mark {
  display: none;
}

.service-treatment-card__image-wrap:has(.service-treatment-card__brand-mark--angela-therapeutic)::after,
.service-treatment-card__image-wrap:has(.service-treatment-card__brand-mark--angela-sport)::after,
.service-treatment-card__image-wrap:has(.service-treatment-card__brand-mark--angela-recovery)::after {
  content: "MONTROND";
}

.service-treatment-card__image-wrap:has(.service-treatment-card__brand-mark--angela-therapeutic)::after {
  top: 35%;
  left: 50%;
}

.service-treatment-card__image-wrap:has(.service-treatment-card__brand-mark--angela-sport)::after {
  top: 35%;
  left: 50%;
}

.service-treatment-card__image-wrap:has(.service-treatment-card__brand-mark--angela-recovery)::after {
  top: 39%;
  left: 47%;
}

.studio-gallery-card {
  position: relative;
}

.service-catalog {
  border-top: 1px solid var(--rule);
}

.service-catalog__group + .service-catalog__group {
  margin-top: clamp(54px, 8vw, 96px);
  padding-top: clamp(54px, 8vw, 96px);
  border-top: 1px solid var(--rule);
}

.service-catalog__heading {
  max-width: 760px;
}

.service-catalog__heading > p:last-child {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.service-treatment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.service-treatment-card {
  min-width: 0;
  overflow: hidden;
  background: var(--panel);
  border-top: 2px solid var(--yellow);
}

.service-treatment-card__media {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: #22241f;
}

.service-treatment-card__media--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Substituição temporária de imagens sem autorização: mantém cada serviço visível
   sem retratar pessoas, rostos ou tratamentos que ainda não tenham aprovação. */
.service-placeholder {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  gap: 10px;
  width: 100%;
  min-height: 340px;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 14%, rgba(244, 207, 0, .24), transparent 32%),
    linear-gradient(140deg, #10110f 0%, #1d1d16 55%, #111210 100%);
}

.service-placeholder::before,
.service-placeholder::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(244, 207, 0, .35);
  transform: rotate(-18deg);
}

.service-placeholder::before {
  width: 66%;
  aspect-ratio: 1;
  top: -30%;
  right: -22%;
  border-radius: 50%;
}

.service-placeholder::after {
  width: 72%;
  aspect-ratio: 1;
  right: -40%;
  bottom: -42%;
  border-radius: 18px;
}

.service-placeholder__mark {
  position: absolute;
  top: clamp(18px, 2.4vw, 26px);
  right: clamp(18px, 2.4vw, 26px);
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--black);
  background: var(--yellow);
  border-radius: 50%;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 20px;
  line-height: 1;
}

.service-placeholder__eyebrow {
  color: var(--yellow);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.35px;
}

.service-placeholder > strong {
  max-width: 13ch;
  color: var(--white) !important;
  font-size: clamp(25px, 3.3vw, 42px);
  line-height: .96;
  letter-spacing: -.04em;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .42);
  white-space: pre-line;
}

.service-placeholder--therapeutic {
  background:
    radial-gradient(circle at 18% 12%, rgba(244, 207, 0, .2), transparent 34%),
    linear-gradient(145deg, #111210 0%, #222116 58%, #111210 100%);
}

.service-placeholder--sport {
  background:
    linear-gradient(145deg, rgba(244, 207, 0, .17), transparent 46%),
    linear-gradient(135deg, #10110f 0%, #1b1d17 62%, #111210 100%);
}

.service-placeholder--thai {
  background:
    radial-gradient(circle at 70% 25%, rgba(244, 207, 0, .19), transparent 36%),
    linear-gradient(150deg, #10110f 0%, #202016 58%, #111210 100%);
}

.service-placeholder--recovery {
  background:
    radial-gradient(circle at 16% 76%, rgba(244, 207, 0, .2), transparent 31%),
    linear-gradient(145deg, #111210 0%, #1d201b 62%, #111210 100%);
}

.service-placeholder--laser {
  min-height: 330px;
  background:
    linear-gradient(145deg, rgba(244, 207, 0, .28), transparent 52%),
    linear-gradient(145deg, #10110f 0%, #242016 62%, #111210 100%);
}

.service-placeholder--laser-alt {
  background:
    radial-gradient(circle at 20% 76%, rgba(244, 207, 0, .28), transparent 30%),
    linear-gradient(145deg, #111210 0%, #242016 62%, #10110f 100%);
}

.service-placeholder--skin {
  min-height: 330px;
  background:
    radial-gradient(circle at 82% 18%, rgba(244, 207, 0, .19), transparent 31%),
    linear-gradient(145deg, #12130f 0%, #1d1b15 62%, #111210 100%);
}

.service-placeholder--skin-alt {
  background:
    radial-gradient(circle at 18% 78%, rgba(244, 207, 0, .18), transparent 31%),
    linear-gradient(145deg, #111210 0%, #1d1b15 62%, #12130f 100%);
}

.studio-gallery-card__placeholder {
  aspect-ratio: 4 / 5;
  min-height: 0;
}

.service-treatment-card__media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.service-treatment-card__media--pair img {
  min-height: 330px;
}

.service-treatment-card__image-wrap {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
}

.service-treatment-card__image-wrap > img:first-child {
  width: 100%;
  height: 100%;
  min-height: 330px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.service-treatment-card__brand-mark {
  position: absolute;
  z-index: 2;
  width: 30px !important;
  height: 30px !important;
  min-height: 0 !important;
  aspect-ratio: 1 !important;
  object-fit: contain !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .7));
  pointer-events: none;
}

.service-treatment-card__brand-mark--karen-shoulder {
  top: 44%;
  left: 44%;
}

.service-treatment-card__brand-mark--karen-calf {
  top: 43%;
  left: 44%;
}

.service-treatment-card__brand-mark--angela-therapeutic {
  top: 28%;
  left: 53%;
}

.service-treatment-card__brand-mark--angela-sport {
  top: 29%;
  left: 54%;
}

.service-treatment-card__brand-mark--angela-thai {
  top: 28%;
  left: 56%;
}

.service-treatment-card__brand-mark--angela-recovery {
  top: 30%;
  left: 40%;
}

.service-treatment-card__content {
  padding: 21px 22px 24px;
}

.service-treatment-card__owner {
  margin: 0 0 10px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.05px;
}

.service-treatment-card h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(23px, 2.5vw, 32px);
  line-height: 1.1;
}

.service-treatment-card__content > p:not(.service-treatment-card__owner) {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.service-treatment-card dl {
  margin: 20px 0 0;
}

.service-treatment-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid var(--rule);
  font-size: 14px;
}

.service-treatment-card dt {
  color: var(--muted);
}

.service-treatment-card dd {
  margin: 0;
  color: var(--white);
  font-weight: 800;
  text-align: right;
}

.service-price-grid--secondary {
  margin-top: 18px;
}

.service-treatment-grid--secondary {
  margin-top: 18px;
}

.service-price-grid--secondary .service-price-card {
  border-top-color: var(--rule);
}

.service-treatment-card--compact {
  display: grid;
  align-content: start;
  padding: 24px;
  background: #1c1e1a;
  border-top-color: var(--rule);
}

.service-treatment-card--compact h3 {
  font-size: 23px;
}

.service-treatment-card--compact p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.service-treatment-card__price {
  display: inline-block;
  margin-top: 22px;
  color: var(--yellow);
  font-size: 20px;
  font-weight: 800;
}

.service-catalog__note {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.service-catalog__cta {
  margin-top: 28px;
}

@media (max-width: 900px) {
  .service-treatment-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .service-profile__brand-mark,
  .angela-profile-service-card__mark,
  .studio-gallery-card__brand-mark {
    width: 28px !important;
    height: 28px !important;
  }

  .service-treatment-card__media img,
  .service-treatment-card__media--pair img {
    min-height: 280px;
  }

  .service-treatment-card__image-wrap > img:first-child {
    min-height: 280px;
  }

  .service-treatment-card__content,
  .service-treatment-card--compact {
    padding: 20px;
  }
}
