/* ==========================================================================
   TH Pilates — página pilates.html. Herda estilo.css e studio.css (fundo
   escuro, abas de plano) e só suaviza o tom: títulos sem caixa alta, verde
   mais oliva, como na identidade do TH.
   ========================================================================== */
body.pilates {
  --acid: #9bcf3e;
}
.pil-titulo {
  text-transform: none;
  font-variation-settings: 'wdth' 104;
  letter-spacing: -0.02em;
  line-height: 1;
}
.pil-info {
  display: grid;
  gap: 0.75rem;
}
.pil-info__item {
  display: grid;
  gap: 0.35rem;
  padding: clamp(1.2rem, 2.6vw, 1.8rem);
  border: 1px solid var(--fio-claro);
}
.pil-info__item strong {
  font-family: var(--f-titulo);
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  color: var(--acid);
  line-height: 1.1;
}
.pil-info__item span {
  opacity: 0.8;
}
.pil-info__horas {
  font-size: 1.15rem;
  line-height: 1.5;
  opacity: 1 !important;
}
.pil-foto .moldura {
  aspect-ratio: 4 / 5;
  max-height: 80svh;
}
.pil-rodape__nome {
  display: block;
  margin-bottom: 0.9rem;
  font-family: var(--f-titulo);
  font-size: 1.3rem;
}
.pil-rodape__nome i {
  font-style: normal;
  color: var(--acid);
}
@media (min-width: 720px) {
  .pil-info {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .pil-foto {
    justify-self: center;
    width: min(100%, 460px);
  }
}

/* --------------------------------- topo ---------------------------------- */
/* Foto real em sangria: no desktop ocupa a metade direita inteira e funde com
   o preto à esquerda; no celular vem em cima e funde com o preto embaixo. */
.pil-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.pil-hero__grade {
  display: grid;
}
.pil-hero__texto {
  position: relative;
  z-index: 2;
  margin-top: -3.5rem;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}
.pil-hero__foto {
  position: relative;
  order: -1;
  margin: 0 calc(var(--gutter) * -1);
  height: 52svh;
  min-height: 320px;
}
.pil-hero__arco {
  position: absolute;
  inset: 0;
}
.pil-hero__arco img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 45%;
  filter: brightness(1.18) contrast(1.05) saturate(1.05);
}
.pil-hero__arco::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--ink) 75%, transparent) 0%, transparent 25%),
    linear-gradient(0deg, var(--ink) 2%, color-mix(in srgb, var(--ink) 55%, transparent) 30%, transparent 60%);
}
.pil-hero__selo {
  position: absolute;
  right: calc(var(--gutter) + 0.2rem);
  top: calc(var(--topo) + 1rem);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}
.pil-hero__selo .ponto--aberto {
  background: #5c8f12;
}
.pil-hero__marca {
  margin: 0.6rem 0 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acid);
}
.pil-hero__marca span {
  opacity: 0.5;
}
.pil-hero__marca b {
  font-weight: inherit;
  white-space: nowrap;
}
.pil-hero__titulo {
  margin: 0;
  font-family: var(--f-titulo);
  font-weight: 800;
  font-variation-settings: 'wdth' 100;
  font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.pil-hero__titulo em {
  display: block;
  font-style: normal;
  color: var(--acid);
}
.pil-hero__lead {
  max-width: 42ch;
  margin: 1.2rem 0 0;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  color: color-mix(in srgb, var(--paper) 78%, transparent);
}
.pil-hero .sdo-hero__acoes {
  margin-top: 1.8rem;
}
.pil-hero__fatos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin: 2rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--fio-claro);
  list-style: none;
}
.pil-hero__fatos li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pil-hero__fatos strong {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--acid);
}
.pil-hero__fatos span {
  font-size: 0.8rem;
  line-height: 1.25;
  opacity: 0.75;
}
@media (min-width: 900px) {
  .pil-hero {
    min-height: min(100svh, 860px);
    display: grid;
    align-items: center;
  }
  .pil-hero__texto {
    margin-top: 0;
    padding: calc(var(--topo) + 2rem) 0 3rem;
    max-width: 560px;
  }
  .pil-hero__foto {
    position: absolute;
    inset: 0 0 0 auto;
    width: 56%;
    height: auto;
    min-height: 0;
    margin: 0;
  }
  .pil-hero__arco::after {
    background:
      linear-gradient(90deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 55%, transparent) 25%, transparent 55%),
      linear-gradient(180deg, color-mix(in srgb, var(--ink) 60%, transparent) 0%, transparent 20%),
      linear-gradient(0deg, color-mix(in srgb, var(--ink) 70%, transparent) 0%, transparent 25%);
  }
  .pil-hero__selo {
    top: auto;
    right: var(--gutter);
    bottom: 3rem;
  }
}
