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

:root {
  --c1: #0d2137;
  --c2: #1b3d6f;
  --c3: #3570a0;
  --c4: #5b8db8;
  --c5: #90b8d8;
  --bg: #f0f4f8;
  --bg-soft: #f7fafd;
  --surface: #ffffff;
  --text: #1a2e42;
  --text-muted: #6b8299;
  --border: #d0dce8;
  --success: #2e7d52;
  --success-soft: #e8f5ee;
  --shadow-soft: 0 12px 34px rgba(13, 33, 55, .08);
  --shadow-hero: 0 24px 54px rgba(13, 33, 55, .12);
  --radius: 12px;
  --radius-lg: 18px;
  --container: 1180px;
}

html, body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(144, 184, 216, .18), transparent 26%),
    linear-gradient(180deg, #f7fbff 0%, #eef4f9 100%);
}

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

/* ── Navbar ─────────────────────────────────────────────────────────────────── */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  padding: 0 28px;
  background: rgba(247, 251, 255, .88);
  border-bottom: 1px solid rgba(208, 220, 232, .72);
  box-shadow: 0 10px 26px rgba(13, 33, 55, .06);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--c1);
  text-decoration: none;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.lp-nav-brand svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.lp-brand-mark {
  width: 148px;
  min-height: 54px;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid rgba(53, 112, 160, .18);
  background: linear-gradient(135deg, rgba(27, 61, 111, .08), rgba(91, 141, 184, .18));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.lp-brand-mark img {
  width: 100%;
  max-height: 44px;
  object-fit: contain;
}

.lp-brand-fallback {
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.08;
  color: var(--c1);
  text-align: left;
}

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Botões ─────────────────────────────────────────────────────────────────── */
.lp-btn-primary,
.lp-btn-outline,
.lp-plan-btn {
  white-space: nowrap;
}

.lp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--c2), var(--c3));
  color: #fff;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(27, 61, 111, .18);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.lp-btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 16px 30px rgba(27, 61, 111, .24);
}

.lp-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(53, 112, 160, .18);
  background: rgba(255, 255, 255, .82);
  color: var(--c2);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.lp-btn-outline:hover {
  transform: translateY(-1px);
  border-color: rgba(53, 112, 160, .34);
  background: #fff;
}

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.lp-hero {
  padding: 58px 24px 44px;
}

.lp-hero-inner {
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding: 46px 44px;
  border: 1px solid rgba(208, 220, 232, .78);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(144, 184, 216, .28), transparent 26%),
    radial-gradient(circle at bottom left, rgba(91, 141, 184, .10), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,.94) 0%, rgba(248, 251, 254, .98) 100%);
  box-shadow: var(--shadow-hero);
  text-align: center;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lp-badge svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.lp-hero h1 {
  max-width: 14ch;
  margin: 0 auto 18px;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  font-weight: 800;
  color: var(--c1);
}

.lp-hero p {
  max-width: 44rem;
  margin: 0 auto 30px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.lp-hero-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.lp-hero-btns .lp-btn-primary,
.lp-hero-btns .lp-btn-outline {
  min-height: 52px;
  padding-inline: 26px;
  font-size: .98rem;
}

/* ── Seções ──────────────────────────────────────────────────────────────────── */
.lp-section {
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding: 54px 24px;
}

.lp-section-header {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.lp-section-header h2 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--c1);
  letter-spacing: -.03em;
}

.lp-section-header p {
  font-size: .98rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ── Features ────────────────────────────────────────────────────────────────── */
.lp-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.lp-feat-card {
  min-width: 0;
  padding: 22px 20px;
  border: 1px solid rgba(208, 220, 232, .88);
  border-radius: 20px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.lp-feat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 141, 184, .32);
  box-shadow: 0 18px 36px rgba(13, 33, 55, .10);
}

.lp-feat-icon {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  max-width: 44px;
  max-height: 44px;
  border-radius: 14px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden;
  margin-bottom: 14px;
  flex: 0 0 44px;
}

.lp-feat-icon svg {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  min-height: 22px;
  max-width: 22px;
  max-height: 22px;
  flex: 0 0 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.lp-feat-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--c1);
}

.lp-feat-card p {
  font-size: .9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.badge-soon {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef4fb;
  color: var(--c3);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ── Planos ──────────────────────────────────────────────────────────────────── */
.lp-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.lp-plan-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  border: 1px solid rgba(208, 220, 232, .88);
  border-radius: 22px;
  background: rgba(255, 255, 255, .98);
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.lp-plan-card:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 141, 184, .32);
  box-shadow: 0 18px 36px rgba(13, 33, 55, .10);
}

.lp-plan-card.featured {
  border: 2px solid var(--c3);
  box-shadow: 0 22px 42px rgba(53, 112, 160, .16);
}

.badge-popular {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  width: fit-content;
  margin-bottom: 14px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e8f0f8;
  color: var(--c2);
  font-size: .72rem;
  font-weight: 800;
}

.lp-plan-card h3 {
  margin-bottom: 10px;
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--c1);
}

.lp-plan-price {
  margin-bottom: 10px;
}

.lp-plan-price .price-value {
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 800;
  color: var(--c2);
}

.lp-plan-price .price-period {
  margin-left: 4px;
  font-size: .8rem;
  color: var(--text-muted);
}

.lp-plan-desc {
  min-height: 44px;
  margin-bottom: 16px;
  font-size: .88rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.lp-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  flex: 1;
}

.lp-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.lp-plan-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 5px;
  border: 2px solid var(--c3);
  flex: 0 0 16px;
}

.lp-plan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--c2), var(--c3));
  color: #fff;
  border: none;
}

.lp-plan-btn.outline {
  background: #fff;
  color: var(--c2);
  border: 1px solid rgba(53, 112, 160, .24);
  box-shadow: none;
}

.lp-plan-btn.outline:hover {
  background: #f7fbff;
}

/* ── Skeleton loading ────────────────────────────────────────────────────────── */
.skeleton { animation: skPulse 1.4s ease-in-out infinite; }
@keyframes skPulse { 0%, 100% { opacity: .75; } 50% { opacity: .4; } }

.sk-line {
  height: 14px;
  background: linear-gradient(90deg, #e8edf2 25%, #d8e2ea 50%, #e8edf2 75%);
  background-size: 240px 100%;
  animation: skShimmer 1.3s linear infinite;
  border-radius: 999px;
  margin-bottom: 10px;
}
@keyframes skShimmer {
  0% { background-position: -240px 0; }
  100% { background-position: 240px 0; }
}

.sk-line.short { width: 56%; }
.sk-line.wide  { width: 86%; }
.sk-line.tall  { height: 28px; margin-bottom: 16px; }

/* ── Estado de erro nos planos ─────────────────────────────────────────────── */
.lp-plans-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 22px;
  border: 1px dashed var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,.86);
}

.lp-plans-error p {
  margin-bottom: 16px;
  font-size: .95rem;
  color: var(--text-muted);
}

.lp-plans-error button {
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(53, 112, 160, .22);
  background: #fff;
  color: var(--c2);
  font-size: .88rem;
  font-weight: 800;
  cursor: pointer;
}

.lp-plans-error button:hover {
  background: #f7fbff;
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.lp-footer {
  margin-top: 8px;
  border-top: 1px solid rgba(208, 220, 232, .78);
  background: rgba(247, 250, 253, .96);
  padding: 26px 24px 34px;
  text-align: center;
}

.lp-footer p {
  font-size: .84rem;
  color: var(--text-muted);
}

.lp-footer a {
  color: var(--c3);
  text-decoration: none;
  font-weight: 700;
}

.lp-footer a:hover {
  text-decoration: underline;
}

/* ── Formulário (cadastro) ───────────────────────────────────────────────────── */
.lp-form-group { display: flex; flex-direction: column; gap: 5px; }
.lp-form-group label {
  font-size: .78rem; font-weight: 600; color: var(--text-muted);
}
.lp-form-group .optional { font-weight: 400; color: #9ca3af; margin-left: 4px; }
.lp-form-group input,
.lp-form-group select {
  padding: 10px 14px; border-radius: 8px; font-size: .9rem;
  border: 1.5px solid var(--border); color: var(--text); background: #fff;
  width: 100%; transition: border-color .2s; font-family: inherit;
}
.lp-form-group input:focus,
.lp-form-group select:focus  { outline: none; border-color: var(--c3); }
.lp-form-group input.input-error { border-color: #ef4444; }
.field-error { font-size: .75rem; color: #ef4444; min-height: 16px; }

.lp-form-row { display: grid; gap: 14px; }
.lp-form-row.cols-2 { grid-template-columns: 1fr 1fr; }

.lp-trial-note {
  background: #eef5fb; border-radius: 8px;
  padding: 12px 14px; font-size: .82rem; color: var(--c2);
  line-height: 1.5; margin-bottom: 20px;
}

/* ── Conceitos (Como funciona a estrutura) ───────────────────────────────────── */
.lp-concepts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.lp-concept-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 14px;
}

.lp-concept-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.lp-concept-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--c4);
  flex: 0 0 5px;
}

/* ── Responsivo ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .lp-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lp-hero-inner {
    padding: 38px 30px;
  }
}

@media (max-width: 720px) {
  .lp-nav {
    height: auto;
    min-height: 72px;
    padding: 12px 18px;
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .lp-nav-brand {
    justify-content: center;
  }

  .lp-nav-links {
    justify-content: center;
  }

  .lp-hero {
    padding: 26px 16px 20px;
  }

  .lp-hero-inner {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .lp-hero h1 {
    max-width: none;
    font-size: clamp(1.95rem, 8vw, 2.7rem);
  }

  .lp-hero p {
    font-size: .98rem;
    margin-bottom: 24px;
  }

  .lp-hero-btns {
    flex-direction: column;
  }

  .lp-hero-btns .lp-btn-primary,
  .lp-hero-btns .lp-btn-outline {
    width: 100%;
  }

  .lp-section {
    padding: 38px 16px;
  }

  .lp-features,
  .lp-concepts,
  .lp-plans,
  .lp-form-row.cols-2 {
    grid-template-columns: 1fr;
  }
}
