:root {
  --black: #0a0a0a;
  --gray-900: #1a1a1a;
  --gray-700: #3d3d3d;
  --gray-500: #6b6b6b;
  --gray-300: #c4c4c4;
  --gray-200: #e8e8e8;
  --gray-100: #f3f3f3;
  --white: #ffffff;
  --royal: #1e4fd6;
  --royal-deep: #163db0;
  --royal-soft: #e8effc;
  --royal-mist: #f4f7fd;
  --font-display: "Archivo Black", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --radius: 4px;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(30, 79, 214, 0.09), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(30, 79, 214, 0.06), transparent 50%),
    linear-gradient(180deg, #fafbfd 0%, #ffffff 35%, #f7f9fc 70%, #ffffff 100%);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(30, 79, 214, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 79, 214, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black 0%, transparent 70%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 10, 10, 0.06);
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 140px;
  height: 32px;
  overflow: visible;
}

.logo-text,
.logo-img {
  position: absolute;
  left: 0;
  top: 50%;
  width: auto;
  height: 32px;
  will-change: opacity, transform, filter;
  transition:
    opacity 1.5s ease-in-out,
    transform 1.5s ease-in-out,
    filter 1.5s ease-in-out;
}

.logo-text {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  filter: blur(0);
}

.logo-img {
  opacity: 0;
  transform: translateY(-50%) scale(0.92);
  filter: blur(2px);
  pointer-events: none;
}

.site-header.is-scrolled .logo-text {
  opacity: 0;
  transform: translateY(-50%) scale(1.04);
  filter: blur(2px);
  pointer-events: none;
}

.site-header.is-scrolled .logo-img {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  filter: blur(0);
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--royal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  padding: 0.9rem 1.35rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.05rem 1.75rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--royal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--royal-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-900);
  border-color: var(--gray-200);
}

.btn-ghost:hover {
  border-color: var(--gray-500);
}

.btn-outline {
  background: var(--white);
  color: var(--black);
  border-color: var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.brand {
  display: block;
  width: min(100%, 392px);
  height: auto;
  margin-bottom: 1.25rem;
  animation: rise 0.8s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  font-weight: 400;
  max-width: 18ch;
  margin-bottom: 1rem;
  animation: rise 0.8s ease 0.1s both;
}

.hero-lead {
  font-size: 1.0625rem;
  color: var(--gray-500);
  max-width: 36ch;
  margin-bottom: 1.75rem;
  animation: rise 0.8s ease 0.2s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.8s ease 0.3s both;
}

.hero-visual {
  position: relative;
  animation: rise 0.9s ease 0.25s both;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -8% -6% -4% -10%;
  background:
    linear-gradient(135deg, rgba(30, 79, 214, 0.12), transparent 55%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.04), transparent);
  border-radius: 2px;
  z-index: -1;
}

.hero-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow:
    0 1px 0 rgba(10, 10, 10, 0.04),
    0 24px 48px -28px rgba(30, 79, 214, 0.35);
  overflow: hidden;
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--gray-200);
  background: var(--royal-mist);
}

.panel-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
}

.panel-bar span:nth-child(1) { background: #d4d4d4; }
.panel-bar span:nth-child(2) { background: #bdbdbd; }
.panel-bar span:nth-child(3) { background: #a8a8a8; }

.panel-bar strong {
  margin-left: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
}

.panel-grid {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
}

.order-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 0.75rem;
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(10px);
  animation: rise 0.55s ease calc(0.45s + var(--d) * 0.12s) both;
}

.order-row:hover {
  background: var(--gray-100);
}

.order-row strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
}

.order-row small {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.order-row em {
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
}

.status {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.5rem;
  min-width: 4.75rem;
  text-align: center;
  border-radius: 2px;
}

.status.done {
  background: var(--gray-100);
  color: var(--gray-700);
}

.status.progress {
  background: var(--royal-soft);
  color: var(--royal);
}

.status.review {
  background: #f0f0f0;
  color: var(--gray-700);
}

.status.new {
  background: var(--black);
  color: var(--white);
}

.panel-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.9rem 1rem 1.1rem;
  border-top: 1px solid var(--gray-200);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
}

.flow-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--gray-200), var(--royal), var(--gray-200));
  opacity: 0.7;
}

/* Sections */
.section {
  padding: clamp(4rem, 10vw, 6.5rem) 0;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--royal);
  margin-bottom: 0.85rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
  max-width: 18ch;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--gray-500);
  max-width: 52ch;
  margin-bottom: 2.75rem;
}

/* Problem */
.problem {
  background:
    linear-gradient(180deg, transparent, rgba(30, 79, 214, 0.03)),
    var(--white);
  border-top: 1px solid var(--gray-200);
}

.pain-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--gray-200);
}

.pain-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.pain-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--royal);
  line-height: 1.2;
}

.pain-list strong {
  display: block;
  font-size: 1.0625rem;
  margin-bottom: 0.35rem;
  color: var(--black);
}

.pain-list p {
  color: var(--gray-500);
  max-width: 48ch;
}

/* Solution / steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.5rem;
  counter-reset: none;
}

.steps li {
  padding-top: 1.25rem;
  border-top: 3px solid var(--black);
}

.steps li:nth-child(2) {
  border-top-color: var(--royal);
}

.step-index {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--royal);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.steps h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.steps p {
  font-size: 0.9375rem;
  color: var(--gray-500);
}

/* Ease */
.ease {
  background: var(--royal-mist);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.ease-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.ease-points {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: -0.5rem;
}

.ease-points li {
  position: relative;
  padding-left: 1.35rem;
  font-weight: 500;
  color: var(--gray-700);
}

.ease-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--royal);
}

.ease-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 1.5rem;
  box-shadow: 0 20px 40px -30px rgba(30, 79, 214, 0.45);
}

.ease-card header {
  margin-bottom: 1.5rem;
}

.ease-card header span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--royal);
  margin-bottom: 0.25rem;
}

.ease-card header strong {
  font-size: 1.125rem;
  color: var(--black);
}

.ease-bars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bar-row span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.35rem;
}

.bar {
  height: 8px;
  background: var(--gray-100);
  border-radius: 2px;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--royal), #5b7ef0);
  border-radius: 2px;
  transition: width 1s ease;
}

.ease-visual.is-visible .bar i {
  width: var(--w);
}

.ease-card footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--royal);
  box-shadow: 0 0 0 4px var(--royal-soft);
  animation: pulse 2s ease infinite;
}

/* Pricing — cards OK: escolha de plano é interação */
.plans {
  background: var(--white);
}

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.pricing-single {
  grid-template-columns: 1fr;
  max-width: 420px;
  margin-inline: auto;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.75rem 1.5rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.plan:hover {
  border-color: var(--gray-300);
}

.plan-featured {
  border-color: var(--royal);
  background:
    linear-gradient(180deg, var(--royal-mist), var(--white) 40%);
  box-shadow: 0 24px 48px -32px rgba(30, 79, 214, 0.45);
  position: relative;
}

.plan-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--royal);
  padding: 0.35rem 0.55rem;
}

.plan-header {
  margin-bottom: 1.5rem;
}

.plan-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  color: var(--black);
}

.plan-header p {
  font-size: 0.9375rem;
  color: var(--gray-500);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.price-main {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-500);
}

.plan-total {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.plan-total strong {
  color: var(--gray-900);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.plan-features li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--royal);
}

.plan-cta {
  width: 100%;
}

/* Final CTA */
.cta-final {
  padding-top: 2rem;
}

.cta-box {
  text-align: center;
  padding: clamp(3rem, 8vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, var(--black) 0%, #1a1a1a 55%, #152a6e 100%);
  color: var(--white);
}

.cta-logo {
  display: block;
  width: min(100%, 110px);
  height: auto;
  margin: 0 auto 1.5rem;
}

.cta-box h2 {
  max-width: none;
  color: var(--white);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.85rem;
}

.cta-box p {
  max-width: 40ch;
  margin: 0 auto 1.75rem;
  color: rgba(255, 255, 255, 0.72);
}

.cta-box .btn-primary {
  background: var(--white);
  color: var(--black);
}

.cta-box .btn-primary:hover {
  background: var(--royal-soft);
  color: var(--royal-deep);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--gray-200);
  padding: 2.5rem 0 2rem;
  background: var(--white);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.footer-inner .logo {
  display: inline-block;
  position: static;
  width: auto;
  height: auto;
  margin-bottom: 0.5rem;
}

.footer-inner .logo img {
  display: block;
  width: auto;
  height: 32px;
}

.footer-inner > p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  max-width: 36ch;
}

.copy {
  margin-top: 1.5rem !important;
  font-size: 0.8125rem !important;
  color: var(--gray-300) !important;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--royal-soft); }
  50% { box-shadow: 0 0 0 8px rgba(30, 79, 214, 0.12); }
}

/* Responsive */
@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  .hero h1 {
    max-width: 22ch;
  }

  .brand {
    width: min(100%, 308px);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .ease-layout {
    grid-template-columns: 1fr;
  }

  .pricing {
    grid-template-columns: 1fr;
  }

  .plan-featured {
    order: -1;
  }
}

@media (max-width: 560px) {
  .pain-list li {
    grid-template-columns: 3rem 1fr;
    gap: 0.75rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .panel-flow {
    font-size: 0.6rem;
  }

  .order-row {
    grid-template-columns: auto 1fr;
  }

  .order-row em {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
