/* Penal MM — marketing. Tokens e peças vêm de penalmm.css.
   Aqui só entra o que a landing precisa: nav, ritmo, revelar, mobile. */

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body.lp-body { overflow-x: clip; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--dourado-500);
  color: var(--azul-900);
  font-weight: 600;
  font-size: 0.85rem;
}
.skip:focus { top: 1rem; }

.lp-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 70;
  background: var(--dourado-500);
  pointer-events: none;
  transform-origin: left;
}

/* ── Nav ── */
.lp-nav {
  --lp-gutter: 1.15rem;
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--azul-200);
  background: color-mix(in srgb, var(--azul-900) 38%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.lp-nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 var(--lp-gutter);
  max-width: 72rem;
  margin: 0 auto;
  min-height: 3.9rem;
}
.lp-nav-brand {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: none;
  padding-right: 1.15rem;
}
.brand-logo {
  display: block;
  width: 2.15rem;
  height: 2.15rem;
  object-fit: contain;
}
.brand-logo.sm {
  width: 1.85rem;
  height: 1.85rem;
}
.lp-nav-links { display: none; align-self: center; }
.lp-nav-actions {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 0.55rem;
  margin-left: auto;
}
.lp-nav .btn-ghost { color: #fff; }
.lp-nav .btn-on-hero {
  background: transparent;
  border-color: color-mix(in srgb, #fff 40%, transparent);
  color: #fff;
}
.lp-nav .btn-on-hero:hover { background: color-mix(in srgb, #fff 8%, transparent); }
.lp-nav .btn-cta { display: none; }

.lp-burger {
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, #fff 10%, transparent);
  color: #fff;
  display: grid;
  place-items: center;
  gap: 5px;
  cursor: pointer;
}
.lp-burger span {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: currentColor;
  border-radius: 99px;
}
.lp-burger:focus-visible { outline: 2px solid var(--azul-200); outline-offset: 2px; }

.lp-nav.is-solid {
  background: color-mix(in srgb, var(--azul-900) 55%, transparent);
}
.lp-nav.is-past-hero {
  background: color-mix(in srgb, var(--branco-200) 72%, transparent);
  color: var(--azul-700);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--azul-900) 6%, transparent);
}
.lp-nav.is-past-hero .lp-nav-brand {
  background: var(--azul-900);
  margin-left: calc(-1 * var(--lp-gutter));
  padding-left: var(--lp-gutter);
}
.lp-nav.is-past-hero .lp-nav-brand::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  width: 100vw;
  background: var(--azul-900);
  pointer-events: none;
}
.lp-nav.is-past-hero .btn-ghost { color: var(--azul-500); }
.lp-nav.is-past-hero .btn-on-hero { display: none; }
.lp-nav.is-past-hero .btn-cta { display: inline-flex; }
.lp-nav.is-past-hero .lp-burger {
  background: var(--branco-300);
  color: var(--azul-900);
}

/* ── Hero ── */
.lp-hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6.2rem 1.15rem 2.4rem;
  color: #fff;
  background:
    radial-gradient(ellipse 90% 50% at 100% 0%, color-mix(in srgb, var(--dourado-500) 18%, transparent), transparent 52%),
    radial-gradient(ellipse 80% 60% at 0% 100%, var(--azul-600), transparent 48%),
    var(--azul-900);
  overflow: hidden;
}
.lp-hero-inner {
  width: min(72rem, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
.lp-hero-copy { position: relative; z-index: 1; }
.lp-hero-copy .kicker { color: var(--dourado-300); }
.lp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.6rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin-top: 0.55rem;
}
.lp-hero .lede {
  color: var(--azul-200);
  font-size: 1.05rem;
  max-width: 34rem;
  margin-top: 1rem;
}
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.6rem; }
.lp-hero-legal {
  margin-top: 1.15rem;
  font-size: 0.78rem;
  color: var(--azul-300);
  max-width: 36rem;
}

.lp-hero-stage { position: relative; }
.lp-hero-sheet {
  display: none;
  position: absolute;
  inset: 1.2rem -0.6rem -0.8rem 0.8rem;
  border-radius: var(--radius-lg);
  background: var(--branco-200);
  transform: rotate(2.2deg);
}
.lp-hero-panel { position: relative; z-index: 1; min-height: 22rem; }
.result-panel .timeline[data-scene] { min-height: 14.5rem; }
.lp-hero-panel::after { content: none; }
.lp-hero-mark {
  position: absolute;
  right: -1.2rem;
  bottom: -1.4rem;
  width: min(42vw, 13.5rem);
  height: auto;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.lp-float {
  animation: lp-float 8s ease-in-out infinite;
}
@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.lp-hero-panel .timeline li,
.lp-scene.is-playing .timeline li {
  opacity: 0;
  transform: translateX(10px);
  animation: lp-row 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.lp-hero-panel .timeline li:nth-child(1),
.lp-scene.is-playing .timeline li:nth-child(1) { animation-delay: 0.25s; }
.lp-hero-panel .timeline li:nth-child(2),
.lp-scene.is-playing .timeline li:nth-child(2) { animation-delay: 0.4s; }
.lp-hero-panel .timeline li:nth-child(3),
.lp-scene.is-playing .timeline li:nth-child(3) { animation-delay: 0.55s; }
.lp-hero-panel .timeline li:nth-child(4),
.lp-scene.is-playing .timeline li:nth-child(4) { animation-delay: 0.7s; }
.lp-hero-panel .timeline li:nth-child(5),
.lp-scene.is-playing .timeline li:nth-child(5) { animation-delay: 0.85s; }
@keyframes lp-row {
  to { opacity: 1; transform: none; }
}

/* ── Bands ── */
.lp-band { padding: 3.4rem 1.15rem; }
.lp-band-inner { width: min(64rem, 100%); margin: 0 auto; }
.lp-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.5vw, 2.15rem);
  font-weight: 400;
  color: var(--azul-900);
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin-top: 0.35rem;
}
.lp-band .result-panel h2 {
  color: #fff;
  max-width: none;
  font-size: 1.35rem;
}
.lp-band .lede { margin-top: 0.7rem; }
.lp-band-head { margin-bottom: 1.8rem; }
.lp-band-navy {
  background:
    radial-gradient(ellipse 70% 50% at 90% 0%, color-mix(in srgb, var(--dourado-500) 16%, transparent), transparent 50%),
    var(--azul-900);
  color: #fff;
}
.lp-band-navy h2 { color: #fff; }
.lp-band-navy .lede { color: var(--azul-200); }
.lp-band-navy .kicker { color: var(--dourado-300); }

.lp-split {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

[data-show],
[data-show-modo],
[data-show-ciclo] { animation: lp-swap 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes lp-swap {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

[data-audience="familia"] [data-show="org"],
[data-audience="org"] [data-show="familia"],
[data-modo="pacote"] [data-show-modo="mensalidade"],
[data-modo="mensalidade"] [data-show-modo="pacote"],
[data-ciclo="mes"] [data-show-ciclo="ano"],
[data-ciclo="ano"] [data-show-ciclo="mes"] { display: none; }

.lp-pane { display: flex; flex-direction: column; gap: 0.85rem; }
.lp-pane h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--azul-900);
}
.lp-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.65rem; }
.lp-points li {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: var(--branco-100);
  color: var(--preto-700);
  font-size: 0.95rem;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background 0.25s ease;
}
.lp-points li:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: 0 14px 32px color-mix(in srgb, var(--azul-900) 10%, transparent);
}
.lp-points strong { display: block; color: var(--azul-900); font-size: 0.9rem; margin-bottom: 0.15rem; }

.lp-steps { display: grid; gap: 0.9rem; }
.lp-step {
  background: var(--branco-100);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.2rem 1.3rem;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background 0.25s ease;
}
.lp-step:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 16px 36px color-mix(in srgb, var(--azul-900) 10%, transparent);
}
.lp-step .num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--dourado-600);
  line-height: 1;
}
.lp-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--azul-900);
  margin: 0.45rem 0 0.35rem;
}
.lp-step p { color: var(--preto-500); font-size: 0.95rem; }

.lp-demo-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.lp-band .seg input:checked + span { color: #fff; }
.lp-band-navy .seg,
.lp-demo-head .seg { margin: 0; background: color-mix(in srgb, #fff 12%, transparent); }
.lp-band-navy .seg span,
.lp-demo-head .seg span { color: var(--azul-200); }
.lp-band-navy .seg input:checked + span,
.lp-demo-head .seg input:checked + span { color: var(--azul-900); }
.lp-band-navy .seg::before,
.lp-demo-head .seg::before { background: var(--dourado-500); }
.seg[data-on="1"]::before { transform: translateX(0); }
.seg[data-on="2"]::before { transform: translateX(100%); }
.seg[data-on="3"]::before { transform: translateX(200%); }
.lp-note {
  font-size: 0.8rem;
  color: var(--azul-300);
  margin-top: 0.9rem;
}

.lp-limits { display: grid; gap: 0.75rem; }
.lp-limit {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: var(--branco-100);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background 0.25s ease;
}
.lp-limit:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: 0 16px 36px color-mix(in srgb, var(--azul-900) 10%, transparent);
}
.lp-limit h3 { font-size: 0.95rem; font-weight: 700; color: var(--azul-900); margin-bottom: 0.25rem; }
.lp-limit p { color: var(--preto-500); font-size: 0.92rem; }

.lp-price-switch { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.2rem; }
.lp-price-switch .seg { margin: 0; }

.lp-band .plan-grid { margin-top: 0.2rem; }
.lp-cta-row { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }

.lp-foot {
  padding: 2rem 1.15rem 2.4rem;
  background: var(--azul-900);
  color: var(--azul-300);
  font-size: 0.8rem;
}
.lp-foot-inner {
  width: min(64rem, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.lp-foot-row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.lp-foot-note {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--azul-200);
  max-width: 28ch;
}
.lp-foot-end {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.lp-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.lp-foot a { color: var(--dourado-300); }
.lp-foot a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* ── Reveal ── */
.lp-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.lp-reveal.is-in { opacity: 1; transform: none; }
.lp-reveal-d1 { transition-delay: 0.08s; }
.lp-reveal-d2 { transition-delay: 0.16s; }
.lp-reveal-d3 { transition-delay: 0.24s; }

/* ── Drawer nav ── */
.lp-drawer-nav { display: flex; flex-direction: column; gap: 0.35rem; }
.lp-drawer-nav a {
  display: block;
  padding: 0.75rem 0.2rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--azul-900);
}

@media (min-width: 720px) {
  .lp-nav { --lp-gutter: 2rem; }
  .lp-hero,
  .lp-band,
  .lp-foot { padding-left: 2rem; padding-right: 2rem; }
  .lp-hero { padding-top: 7rem; padding-bottom: 3.2rem; justify-content: center; }
  .lp-steps { grid-template-columns: repeat(3, 1fr); }
  .lp-limits { grid-template-columns: repeat(3, 1fr); }
  .lp-foot-row {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
  }
  .lp-foot-end { align-items: flex-end; text-align: right; }
  .lp-foot nav { justify-content: flex-end; }
  .lp-price-switch { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 900px) {
  .lp-nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 1.5rem;
  }
  .lp-nav-links a:hover { color: #fff; }
  .lp-nav.is-past-hero .lp-nav-links a:hover { color: var(--azul-900); }
  .lp-burger { display: none; }
  .lp-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 3rem;
  }
  .lp-hero-sheet { display: block; }
  .lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lp-float,
  .lp-hero-panel .timeline li,
  .lp-scene.is-playing .timeline li { animation: none; }
  .lp-hero-panel .timeline li,
  .lp-scene.is-playing .timeline li { opacity: 1; transform: none; }
  .lp-reveal { opacity: 1; transform: none; transition: none; }
  [data-show],
  [data-show-modo],
  [data-show-ciclo] { animation: none; }
  .lp-points li,
  .lp-step,
  .lp-limit { transition: none; }
  .lp-points li:hover,
  .lp-step:hover,
  .lp-limit:hover { transform: none; }
  .lp-progress { display: none; }
  .lp-nav { transition: none; }
}
