/* Peniel App — Landing Page */

:root {
  --ink: #0e0e10;
  --ink-2: #161618;
  --ink-3: #1a1a1e;
  --grena: #a31818;
  --grena-soft: #c02828;
  --pearl: #f4f1ec;
  --pearl-dim: rgba(244, 241, 236, 0.62);
  --line: rgba(244, 241, 236, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--pearl);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.lp-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--grena);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}

.lp-skip:focus {
  left: 1rem;
  top: 1rem;
}

/* ——— Nav ——— */
.lp-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(14, 14, 16, 0.88) 0%, rgba(14, 14, 16, 0) 100%);
  pointer-events: none;
}

.lp-nav a,
.lp-nav .lp-nav-cta {
  pointer-events: auto;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.lp-brand img {
  width: 2.1rem;
  height: 2.1rem;
  object-fit: contain;
}

.lp-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0 1.15rem;
  border: 1px solid rgba(244, 241, 236, 0.22);
  background: rgba(14, 14, 16, 0.45);
  backdrop-filter: blur(10px);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.lp-nav-cta:hover {
  border-color: var(--grena-soft);
  background: rgba(163, 24, 24, 0.18);
  color: #fff;
}

/* ——— Hero ——— */
.lp-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.lp-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.lp-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.08);
  animation: lp-ken 22s var(--ease) forwards;
}

.lp-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 14, 16, 0.92) 0%, rgba(14, 14, 16, 0.55) 48%, rgba(14, 14, 16, 0.35) 100%),
    linear-gradient(0deg, rgba(14, 14, 16, 0.97) 0%, rgba(14, 14, 16, 0.45) 42%, rgba(14, 14, 16, 0.2) 100%),
    radial-gradient(ellipse 70% 55% at 70% 20%, rgba(163, 24, 24, 0.28), transparent 60%);
}

.lp-hero__content {
  width: min(42rem, calc(100% - 2.5rem));
  margin: 0;
  padding: clamp(6.5rem, 14vh, 9rem) clamp(1.25rem, 4vw, 3rem) clamp(3.5rem, 8vh, 5.5rem);
}

.lp-hero__brand {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 11vw, 6.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: #fff;
  opacity: 0;
  transform: translateY(1.4rem);
  animation: lp-rise 1s var(--ease) 0.15s forwards;
}

.lp-hero__brand span {
  display: block;
  color: var(--grena-soft);
}

.lp-hero__headline {
  margin: 0 0 0.85rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--pearl);
  opacity: 0;
  transform: translateY(1.2rem);
  animation: lp-rise 1s var(--ease) 0.32s forwards;
}

.lp-hero__lead {
  margin: 0 0 1.85rem;
  max-width: 32ch;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.55;
  color: var(--pearl-dim);
  opacity: 0;
  transform: translateY(1.1rem);
  animation: lp-rise 1s var(--ease) 0.45s forwards;
}

.lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(1rem);
  animation: lp-rise 1s var(--ease) 0.58s forwards;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0 1.45rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.lp-btn:active {
  transform: translateY(1px);
}

.lp-btn--primary {
  background: var(--grena);
  color: #fff;
  border: 1px solid transparent;
}

.lp-btn--primary:hover {
  background: var(--grena-soft);
}

.lp-btn--ghost {
  background: transparent;
  border: 1px solid rgba(244, 241, 236, 0.28);
  color: var(--pearl);
}

.lp-btn--ghost:hover {
  border-color: rgba(244, 241, 236, 0.55);
  background: rgba(244, 241, 236, 0.05);
}

/* ——— Sections ——— */
.lp-section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7.5rem) clamp(1.25rem, 4vw, 3rem);
}

.lp-section__inner {
  width: min(68rem, 100%);
  margin: 0 auto;
}

.lp-kicker {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grena-soft);
}

.lp-h2 {
  margin: 0 0 1rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.35rem);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.lp-copy {
  margin: 0;
  max-width: 38ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--pearl-dim);
}

.lp-reveal {
  --lp-delay: 0ms;
  opacity: 0;
  transform: translate3d(0, 2.25rem, 0);
  filter: blur(6px);
  transition:
    opacity 1.05s var(--ease) var(--lp-delay),
    transform 1.15s var(--ease) var(--lp-delay),
    filter 1.05s var(--ease) var(--lp-delay);
  will-change: opacity, transform, filter;
}

.lp-reveal.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.lp-reveal--left {
  transform: translate3d(-1.75rem, 1.25rem, 0);
}

.lp-reveal--right {
  transform: translate3d(1.75rem, 1.25rem, 0);
}

.lp-reveal--soft {
  transform: translate3d(0, 1.1rem, 0) scale(0.985);
}

.lp-reveal--line {
  transform: translate3d(0, 1.5rem, 0);
}

/* Seção inteira: entrada suave do bloco */
.lp-section-motion {
  opacity: 0;
  transform: translate3d(0, 1.5rem, 0);
  transition: opacity 1s var(--ease), transform 1.15s var(--ease);
}

.lp-section-motion.is-in {
  opacity: 1;
  transform: none;
}

/* Purpose */
.lp-purpose {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(163, 24, 24, 0.12), transparent 55%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  border-top: 1px solid var(--line);
}

.lp-purpose__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

@media (min-width: 860px) {
  .lp-purpose__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.lp-purpose__aside {
  border-left: 2px solid var(--grena);
  padding-left: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--pearl);
}

/* Atmosphere band */
.lp-atmosphere {
  position: relative;
  min-height: min(70vh, 36rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(4rem, 10vw, 6rem) clamp(1.25rem, 4vw, 3rem);
}

.lp-atmosphere__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s var(--ease), transform 6s var(--ease);
}

.lp-atmosphere.is-in .lp-atmosphere__media {
  opacity: 1;
  transform: scale(1);
}

.lp-atmosphere__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lp-atmosphere__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(14, 14, 16, 0.88) 10%, rgba(14, 14, 16, 0.45) 100%),
    linear-gradient(0deg, rgba(14, 14, 16, 0.75), rgba(14, 14, 16, 0.25));
  transition: opacity 1.2s var(--ease) 0.15s;
}

.lp-atmosphere.is-in .lp-atmosphere__veil {
  opacity: 1;
}

.lp-atmosphere__quote {
  width: min(34rem, 100%);
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.6rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.lp-atmosphere__cite {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pearl-dim);
}

/* Features — typographic rows, not cards */
.lp-features {
  background: var(--ink);
  border-top: 1px solid var(--line);
}

.lp-features__head {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.lp-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.lp-feature {
  display: grid;
  gap: 0.75rem 2rem;
  padding: 1.65rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 760px) {
  .lp-feature {
    grid-template-columns: 8rem 1fr 1.2fr;
    align-items: baseline;
  }
}

.lp-feature__index {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--grena-soft);
}

.lp-feature__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.lp-feature__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--pearl-dim);
}

/* Final CTA */
.lp-cta {
  background:
    radial-gradient(ellipse 70% 80% at 50% 120%, rgba(163, 24, 24, 0.22), transparent 55%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
  border-top: 1px solid var(--line);
  text-align: center;
}

.lp-cta__brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.lp-cta__brand span {
  color: var(--grena-soft);
}

.lp-cta__lead {
  margin: 0 auto 1.75rem;
  max-width: 34ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--pearl-dim);
}

.lp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Footer */
.lp-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--pearl-dim);
  font-size: 0.85rem;
}

.lp-footer--plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .lp-footer--plans {
    grid-template-columns: 1.2fr 1.4fr 1fr;
    align-items: center;
  }
}

.lp-footer__brand p {
  margin: 0;
}

.lp-footer__brand p + p {
  margin-top: 0.25rem;
}

.lp-footer strong {
  color: var(--pearl);
  font-family: var(--font-display);
  font-weight: 700;
}

.lp-footer__plans {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.75rem;
}

.lp-footer__plans a,
.lp-footer__links a {
  color: var(--pearl-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
    background 0.2s var(--ease), transform 0.2s var(--ease);
}

.lp-footer__plans a:hover,
.lp-footer__links a:hover {
  color: var(--pearl);
  border-bottom-color: rgba(163, 24, 24, 0.55);
}

.lp-footer__plan {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border-bottom: none !important;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.lp-footer__plan--free {
  color: #d9f5e3;
  background:
    linear-gradient(135deg, rgba(74, 222, 128, 0.28), rgba(34, 197, 94, 0.08) 55%, rgba(22, 22, 26, 0.4));
  border: 1px solid rgba(134, 239, 172, 0.35);
}

.lp-footer__plan--free:hover {
  color: #ecfdf5;
  border-color: rgba(167, 243, 208, 0.55);
  border-bottom-color: transparent !important;
}

.lp-footer__plan--growth {
  color: #fecaca;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.48rem 1rem;
  background:
    linear-gradient(135deg, rgba(163, 24, 24, 0.38), rgba(22, 22, 26, 0.55) 60%);
  border: 1px solid rgba(252, 165, 165, 0.4);
  transform: translateY(-1px);
}

.lp-footer__plan--growth:hover {
  color: #fff;
  border-bottom-color: transparent !important;
}

.lp-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

/* ——— Planos ——— */
.lp-plans {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(163, 24, 24, 0.12), transparent 55%),
    var(--ink);
}

.lp-plans__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  overflow: hidden;
  background: var(--line);
}

@media (min-width: 720px) {
  .lp-plans__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .lp-plans__grid {
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    overflow: visible;
    gap: 0;
    background: transparent;
    border: none;
  }

  .lp-plans__grid .lp-plan {
    border: 1px solid var(--line);
  }

  .lp-plans__grid .lp-plan:first-child {
    border-radius: 1.15rem 0 0 1.15rem;
  }

  .lp-plans__grid .lp-plan:last-child {
    border-radius: 0 1.15rem 1.15rem 0;
  }

  .lp-plans__grid .lp-plan--growth {
    border-radius: 1.15rem;
    margin: -0.65rem -0.35rem;
  }
}

.lp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem 1.35rem 1.4rem;
  background: var(--ink-2);
  min-height: 100%;
}

.lp-plan--free {
  background:
    linear-gradient(165deg, rgba(52, 211, 153, 0.38), rgba(22, 22, 26, 0.96) 48%);
  box-shadow: inset 0 1px 0 rgba(167, 243, 208, 0.25);
}

.lp-plan--free .lp-plan__perks li::before {
  background: #4ade80;
}

.lp-plan--free .lp-plan__price {
  color: #ecfdf5;
}

.lp-plan--featured {
  background:
    linear-gradient(165deg, rgba(163, 24, 24, 0.28), rgba(22, 22, 26, 0.98) 42%);
}

.lp-plan--growth {
  text-align: center;
  align-items: center;
  z-index: 2;
}

.lp-plan--growth .lp-plan__perks {
  align-items: center;
  text-align: center;
}

.lp-plan--growth .lp-plan__perks li {
  padding-left: 0;
}

.lp-plan--growth .lp-plan__perks li::before {
  display: none;
}

.lp-plan--growth .lp-plan__cta {
  max-width: 16rem;
}

.lp-plan--growth .lp-plan__name {
  font-size: 1.28rem;
}

.lp-plan--growth .lp-plan__price {
  font-size: 2.05rem;
}

@media (min-width: 1100px) {
  .lp-plan--growth {
    padding: 2.15rem 1.55rem 1.85rem;
    box-shadow:
      0 0 0 1px rgba(252, 165, 165, 0.35),
      0 18px 40px rgba(0, 0, 0, 0.35);
  }
}

.lp-plan__badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  margin: 0;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fecaca;
  background: rgba(163, 24, 24, 0.35);
  border: 1px solid rgba(252, 165, 165, 0.35);
}

.lp-plan__badge--free {
  color: #ecfdf5;
  background: rgba(16, 185, 129, 0.42);
  border-color: rgba(167, 243, 208, 0.55);
}

.lp-plan--growth .lp-plan__badge {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.lp-plan__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pearl);
}

.lp-plan__price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.lp-plan__price span {
  margin-left: 0.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pearl-dim);
}

.lp-plan__range {
  margin: 0;
  font-size: 0.85rem;
  color: var(--pearl-dim);
}

.lp-plan__perks {
  margin: 0.35rem 0 0.75rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.lp-plan__perks li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--pearl-dim);
}

.lp-plan__perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--grena-soft);
}

.lp-plan__cta {
  width: 100%;
  justify-content: center;
  text-align: center;
  margin-top: auto;
}

@keyframes lp-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lp-ken {
  to {
    transform: scale(1);
  }
}

/* ——— Signup igreja ——— */
.lp-signup__form {
  margin-top: 2.5rem;
  max-width: 52rem;
  padding: 1.75rem clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background:
    linear-gradient(145deg, rgba(26, 26, 30, 0.92), rgba(14, 14, 16, 0.75));
}

.lp-signup__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.25rem;
}

@media (min-width: 720px) {
  .lp-signup__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.lp-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--pearl-dim);
}

.lp-field input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(14, 14, 16, 0.85);
  color: var(--pearl);
  font-family: var(--font-body);
  font-size: 1rem;
}

.lp-field input:focus {
  outline: 2px solid rgba(163, 24, 24, 0.55);
  outline-offset: 1px;
  border-color: rgba(163, 24, 24, 0.45);
}

.lp-signup__plan {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  color: var(--pearl-dim);
}

.lp-signup__plan strong {
  color: var(--pearl);
  font-weight: 600;
}

.lp-signup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.lp-signup__msg {
  min-height: 1.25rem;
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--pearl-dim);
}

.lp-signup__msg.is-error {
  color: #f0a0a0;
}

.lp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .lp-hero__media img {
    transform: none;
  }

  .lp-hero__brand,
  .lp-hero__headline,
  .lp-hero__lead,
  .lp-hero__actions,
  .lp-reveal,
  .lp-section-motion,
  .lp-atmosphere__media,
  .lp-atmosphere__veil {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
