/* CSS exclusivo da página Pilates Legend 2027.
   Estilos compartilhados com o resto do site (cores, .row, .cta-button,
   .speaker-dialog, .ingresso-dialog etc.) continuam vindo de
   /assets/css/styles15.css e /assets/css/speaker-dialog-modern9.css —
   aqui só o que é específico desta página. */

/* styles15.css força body/.site-main a ter min-height:100vh (padrão do
   site, pensado para páginas com rodapé). Como as 3 sections juntas ainda
   são mais baixas que a tela, sobrava uma faixa preta vazia embaixo.
   Removido até o conteúdo da página entrar. Depois da grade e do
   pacote VIP isso deixa de ser um problema, mas o reset permanece. */
html,
body {
  min-height: 0;
  margin: 0;
  background: #120b03;
}

.site-main {
  min-height: 0;
}

/* Mesma salvaguarda usada na home: os diálogos de palestrante (não os de
   ingresso) ficam ocultos até ganharem o atributo [open]. */
.speaker-dialog:not(.ingresso-dialog):not([open]) {
  display: none;
}

.pl-bg-section {
  position: relative;
  isolation: isolate;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.pl-bg-section > .row {
  position: relative;
  z-index: 2;
}

/* Divisor decorativo mantido no canto superior da Hero. */
.pl-corner-divider {
  position: absolute;
  display: block;
  pointer-events: none;
}

.pl-corner-divider {
  top: 0;
  left: 0;
  z-index: 1;
  width: clamp(270px, 42vw, 800px);
  height: clamp(54px, 8.4vw, 160px);
  background-image: url("/assets/images/divisor-canto.svg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.pl-bg-what,
.pl-bg-manifesto,
.pl-bg-schedule,
.pl-bg-cta {
  padding-block: clamp(56px, 8vw, 80px);
  border-top: 2px solid #e09900;
  border-image: linear-gradient(
      90deg,
      #6f3c00 0%,
      #c77700 18%,
      #f4b52c 50%,
      #c77700 82%,
      #6f3c00 100%
    )
    1;
}

.pl-bg-hero {
  padding-top: clamp(148px, 18vw, 200px);
  padding-bottom: clamp(56px, 8vw, 80px);
  background-image: url("/assets/images/background_encontro_hero_pilates-legend.jpg");
  background-position: center;
}

.pl-bg-what {
  background-color: #efe6cc;
  background-image: none;
}

.pl-bg-what::before {
  content: none;
}

.pl-bg-manifesto {
  background-color: #2b0505;
  background-image: url("/assets/images/background_encontro_historia_pilates-legend.jpg");
}

/* Véu vinho na foto do manifesto — não o preto das outras dobras. */
.pl-bg-manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(43, 5, 5, 0.52) 0%,
    rgba(18, 4, 8, 0.66) 100%
  );
}

.pl-what,
.pl-manifesto__inner {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.pl-what__heading,
.pl-manifesto__heading {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(24px, 6.5vw, 31px);
  font-weight: 800;
  line-height: 1.26;
  text-wrap: balance;
}

.pl-what__heading {
  color: #2b0505;
}

.pl-manifesto__heading {
  color: var(--color-yellow);
}

.pl-what__divider,
.pl-manifesto__divider {
  position: relative;
  width: 230px;
  max-width: 60%;
  height: 1px;
  margin: clamp(16px, 3vw, 22px) auto;
}

.pl-what__divider {
  background: #a56b00;
}

.pl-manifesto__divider {
  background: var(--color-yellow);
}

.pl-what__divider::after,
.pl-manifesto__divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.pl-what__divider::after {
  background: #a56b00;
}

.pl-manifesto__divider::after {
  background: var(--color-yellow);
}

.pl-what__text,
.pl-manifesto__text {
  max-width: 62ch;
  margin: 0 auto clamp(22px, 4vw, 30px);
  font-family: "Open Sans", var(--font-primary);
  font-size: clamp(17px, 4.45vw, 19px);
  font-weight: 500;
  line-height: 1.58;
  text-wrap: pretty;
}

.pl-what__text {
  color: #3d2a22;
}

.pl-manifesto__text {
  color: var(--color-white);
}

.pl-what__text:last-of-type,
.pl-manifesto__text:last-of-type {
  margin-bottom: 0;
}

.pl-what__text strong {
  color: #8a4a08;
  font-weight: 700;
}

.pl-manifesto__text strong {
  color: var(--color-yellow);
  font-weight: 700;
}

.pl-bg-cta {
  border-bottom: 2px solid #e09900;
  background-image: url("/assets/images/background_encontro_cracha_pilates-legend.jpg");
  background-position: center;
}

.pl-bg-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.06) 0%,
    rgba(0, 0, 0, 0.58) 32%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(0, 0, 0, 0.58) 68%,
    rgba(0, 0, 0, 0.06) 100%
  );
}

.pl-cta__inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.pl-cta__heading {
  margin: 0 0 clamp(20px, 4vw, 28px);
  color: var(--color-yellow);
  font-family: "Cinzel", serif;
  font-size: clamp(24px, 6.3vw, 30px);
  font-weight: 800;
  line-height: 1.22;
  text-wrap: balance;
}

.pl-cta__text {
  max-width: 56ch;
  margin: 0 auto clamp(26px, 5vw, 34px);
  color: var(--color-white);
  font-family: "Open Sans", var(--font-primary);
  font-size: clamp(18px, 4.65vw, 20px);
  font-weight: 500;
  line-height: 1.54;
  text-wrap: pretty;
}

.pl-cta__text strong {
  color: var(--color-yellow);
  font-weight: 700;
}

.pl-cta__text + .pl-cta__text {
  margin-top: clamp(-12px, -2vw, -8px);
}

.pl-bg-schedule {
  background-color: #f6efe4;
  background-image: none;
}

.pl-bg-schedule::before {
  content: none;
}

.pl-schedule {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.pl-schedule__heading {
  margin: 0 0 clamp(12px, 3vw, 18px);
  color: #2b0505;
  font-family: "Cinzel", serif;
  font-size: clamp(24px, 6.3vw, 30px);
  font-weight: 800;
  line-height: 1.22;
  text-wrap: balance;
}

.pl-schedule__lead {
  max-width: 56ch;
  margin: 0 auto clamp(28px, 5vw, 36px);
  color: #3d2a22;
  font-family: "Open Sans", var(--font-primary);
  font-size: clamp(17px, 4.45vw, 19px);
  font-weight: 500;
  line-height: 1.54;
  text-wrap: pretty;
}

.pl-schedule__lead strong {
  color: #a56b00;
  font-weight: 700;
}

.pl-schedule__block {
  text-align: left;
}

.pl-schedule__block + .pl-schedule__block {
  margin-top: clamp(22px, 4vw, 28px);
}

.pl-schedule__label {
  margin: 0 0 12px;
  color: #2b0505;
  font-family: "Cinzel", serif;
  font-size: clamp(16px, 4.2vw, 18px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pl-schedule__block--after {
  padding-top: clamp(18px, 4vw, 22px);
  border-top: 1px dashed rgba(165, 107, 0, 0.45);
}

.pl-schedule__block--after .pl-schedule__label {
  color: #6a4a38;
  font-family: "Open Sans", var(--font-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pl-schedule__note {
  margin: 12px 0 0;
  color: #a56b00;
  font-family: "Open Sans", var(--font-primary);
  font-size: clamp(16px, 4.2vw, 18px);
  font-weight: 700;
  line-height: 1.45;
}

.pl-schedule__aside {
  margin: 10px 0 0;
  color: #5c4638;
  font-family: "Open Sans", var(--font-primary);
  font-size: clamp(15px, 4vw, 16px);
  font-weight: 500;
  line-height: 1.45;
}

.pl-schedule__list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.pl-schedule__list li {
  padding: 16px 18px;
  border: 1px solid rgba(43, 5, 5, 0.12);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(43, 5, 5, 0.06);
}

.pl-schedule__list time {
  display: block;
  margin-bottom: 6px;
  color: #a56b00;
  font-family: "Open Sans", var(--font-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pl-schedule__list p {
  margin: 0;
  color: #2b0505;
  font-family: "Open Sans", var(--font-primary);
  font-size: clamp(16px, 4.2vw, 18px);
  font-weight: 500;
  line-height: 1.45;
}

.pl-schedule__list strong {
  color: #8a4a08;
  font-weight: 700;
}

.pl-bundle {
  max-width: 640px;
  margin: 0 auto clamp(28px, 5vw, 36px);
  padding: 22px 20px 24px;
  border: 1px solid rgba(244, 158, 18, 0.42);
  border-radius: 14px;
  background: rgba(18, 11, 3, 0.78);
  text-align: left;
}

.pl-bundle__heading {
  margin: 0 0 10px;
  color: var(--color-yellow);
  font-family: "Cinzel", serif;
  font-size: clamp(20px, 5.2vw, 24px);
  font-weight: 800;
  line-height: 1.25;
  text-wrap: balance;
}

.pl-bundle__text {
  margin: 0 0 18px;
  color: var(--color-white);
  font-family: "Open Sans", var(--font-primary);
  font-size: clamp(16px, 4.2vw, 18px);
  font-weight: 500;
  line-height: 1.5;
}

.pl-bundle__list {
  margin: 0 0 22px;
  padding-inline-start: 1.15em;
  color: var(--color-white);
  font-family: "Open Sans", var(--font-primary);
  font-size: clamp(15px, 4vw, 17px);
  font-weight: 500;
  line-height: 1.55;
}

.pl-bundle__list li + li {
  margin-top: 8px;
}

.pl-price {
  padding-top: 18px;
  border-top: 1px solid rgba(244, 158, 18, 0.3);
  text-align: center;
}

.pl-price__badge {
  margin: 0 0 8px;
  color: var(--color-yellow);
  font-family: "Open Sans", var(--font-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pl-price__original {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  font-weight: 600;
}

.pl-price__original s {
  text-decoration-thickness: 0.08em;
}

.pl-price__installments {
  margin: 0;
  color: var(--color-white);
  font-family: "Open Sans", var(--font-primary);
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 700;
  line-height: 1.15;
}

.pl-price__installments strong {
  color: var(--color-yellow);
}

.pl-price__cash {
  margin: 6px 0 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  font-weight: 600;
}

.pl-price__clarify {
  margin: 0 0 12px;
  color: var(--color-yellow);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.pl-price__clarify strong {
  font-weight: 800;
}

.pl-price__proof {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.pl-hero__cta,
.pl-cta__button {
  min-height: 54px;
  padding: 15px 24px;
  border-radius: 10px;
  color: #111;
  font-size: 17px;
}

.pl-upgrade {
  display: block;
  width: fit-content;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.62);
  font-family: "Open Sans", var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.pl-upgrade:hover,
.pl-upgrade:focus-visible {
  color: var(--color-yellow);
}

.pl-hero__cta:hover,
.pl-hero__cta:focus-visible,
.pl-cta__button:hover,
.pl-cta__button:focus-visible {
  color: #111;
}

.pl-hero__inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

/* A imagem já traz o wordmark, o subtítulo em script e o "2027"
   embutidos (texto branco sobre fundo transparente) — nada disso é
   recriado em HTML/CSS, só o restante do conteúdo abaixo dela. */
.pl-hero__logo {
  width: clamp(300px, 78vw, 420px);
  max-width: 92%;
  height: auto;
  margin: 0 auto clamp(24px, 5vw, 32px);
}

.pl-hero__heading {
  max-width: 28ch;
  margin: 0 auto clamp(12px, 3vw, 18px);
  color: var(--color-yellow);
  font-family: "Cinzel", serif;
  font-size: clamp(21px, 5.8vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  text-wrap: balance;
}

.pl-hero__subtext {
  max-width: 56ch;
  margin: 0 auto clamp(30px, 6vw, 42px);
  color: var(--color-white);
  font-family: "Open Sans", var(--font-primary);
  font-size: clamp(17px, 4.45vw, 19px);
  font-weight: 500;
  line-height: 1.52;
  text-wrap: pretty;
}

.pl-hero__speakers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 3vw, 18px);
  width: min(100%, 580px);
  margin: 0 auto clamp(32px, 7vw, 46px);
  padding: 0;
  list-style: none;
}

.pl-hero__speakers > li {
  min-width: 0;
}

/* Reset do botão que envolve foto + nome de cada palestrante — abre o
   diálogo com o currículo, mesmo padrão da section de palestrantes da home. */
.pl-hero__speaker-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.pl-hero__speaker-btn:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 4px;
  border-radius: 8px;
}

.pl-hero__speaker-photo {
  width: min(100%, 108px);
  height: auto;
  display: block;
  margin: 0 auto 8px;
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pl-hero__speaker-name {
  margin: 0;
  color: var(--color-white);
  font-family: "Cinzel", serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.pl-hero__speaker-action {
  display: inline-block;
  margin-top: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(244, 158, 18, 0.58);
  color: var(--color-yellow);
  font-family: "Open Sans", var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition:
    color 220ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .pl-hero__speaker-btn:hover .pl-hero__speaker-photo {
    filter: drop-shadow(0 8px 8px rgba(224, 153, 0, 0.2));
    transform: translateY(-5px) scale(1.025);
  }

  .pl-hero__speaker-btn:hover .pl-hero__speaker-action {
    color: #fff;
    border-color: var(--color-yellow);
  }
}

.pl-hero__details {
  display: grid;
  gap: 14px;
  width: min(100%, 600px);
  margin: 0 auto 28px;
  padding: 18px;
  border: 1px solid rgba(244, 158, 18, 0.48);
  border-radius: 12px;
  background: rgba(18, 11, 3, 0.74);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.pl-hero__schedule {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(244, 158, 18, 0.3);
}

.pl-hero__date {
  margin: 0;
  color: var(--color-white);
  font-family: "Open Sans", var(--font-primary);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}

.pl-hero__date strong {
  margin-right: 4px;
  color: var(--color-yellow);
  font-family: "Open Sans", var(--font-primary);
  font-size: clamp(34px, 10vw, 44px);
  font-weight: 800;
}

.pl-hero__time {
  margin: 0;
  color: var(--color-white);
  font-family: "Open Sans", var(--font-primary);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
}

.pl-hero__time strong {
  color: var(--color-yellow);
  font-size: clamp(25px, 7vw, 32px);
  font-weight: 700;
}

.pl-hero__local {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  color: var(--color-white);
  font-family: "Open Sans", var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

.pl-hero__local-pin {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

@media (min-width: 768px) {
  .pl-what__heading,
  .pl-manifesto__heading {
    font-size: 38px;
  }

  .pl-what__text,
  .pl-manifesto__text {
    font-size: clamp(20px, 1.65vw, 23px);
  }

  .pl-cta__heading {
    font-size: clamp(32px, 2.8vw, 38px);
  }

  .pl-cta__text {
    font-size: clamp(20px, 1.65vw, 23px);
  }

  .pl-schedule__heading {
    font-size: clamp(32px, 2.8vw, 38px);
  }

  .pl-schedule__lead {
    font-size: clamp(20px, 1.65vw, 23px);
  }

  .pl-bundle {
    padding: 28px 32px 30px;
  }

  .pl-bundle__heading {
    font-size: 28px;
  }

  .pl-hero__cta,
  .pl-cta__button {
    min-height: 58px;
    padding: 16px 30px;
    font-size: 20px;
  }

  .pl-hero__logo {
    width: 560px;
  }

  .pl-hero__heading {
    font-size: clamp(34px, 3vw, 40px);
  }

  .pl-hero__subtext {
    font-size: clamp(20px, 1.65vw, 23px);
  }

  .pl-hero__speakers {
    gap: 24px;
  }

  .pl-hero__speaker-photo {
    width: 160px;
  }

  .pl-hero__speaker-name {
    font-size: 17px;
  }

  .pl-hero__details {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
  }

  .pl-hero__schedule {
    padding-right: 24px;
    padding-bottom: 0;
    border-right: 1px solid rgba(244, 158, 18, 0.3);
    border-bottom: 0;
  }

  .pl-hero__date,
  .pl-hero__time {
    font-size: 22px;
  }

  .pl-hero__date strong {
    font-size: 50px;
  }

  .pl-hero__time strong {
    font-size: 38px;
  }

  .pl-hero__local {
    justify-content: flex-start;
    font-size: 21px;
  }

  .pl-hero__local-pin {
    width: 30px;
    height: 30px;
  }

}

@media (max-width: 767px) {
  .pl-hero__speaker-name {
    font-size: 14px;
  }

  .pl-hero__speaker-action {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pl-hero__speaker-photo,
  .pl-hero__speaker-action {
    transition: none;
  }

  .pl-hero__speaker-btn:hover .pl-hero__speaker-photo {
    transform: none;
  }
}
