/* Página: Desenvolvimento de Aplicativos */

.app-page {
  --app-space: 72px;
}

.app-page .eyebrow {
  color: #93c5fd;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.app-section {
  padding: var(--app-space) 0;
}

.app-lead {
  max-width: 54ch;
  color: #94a3b8;
  margin: 0 auto 36px;
  text-align: center;
}

.app-hero {
  background:
    radial-gradient(680px 340px at 78% 18%, rgba(37, 99, 235, 0.2), transparent 58%),
    linear-gradient(180deg, #050c18 0%, #071321 100%);
  color: #fff;
  padding: 40px 0 52px;
  overflow: hidden;
}

.app-hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px 36px;
  align-items: center;
}

.app-hero-copy h1 {
  margin: 8px 0 16px;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 14ch;
}

.app-hero-copy h1 em {
  color: #3b82f6;
  font-style: italic;
  font-weight: 700;
}

.app-hero-lead {
  margin: 0 0 24px;
  max-width: 46ch;
  color: #cbd5e1;
  font-size: 16.5px;
}

.app-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.app-hero-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.app-hero-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 600;
}

.app-hero-pills svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #60a5fa;
}

.app-hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

.app-hero-visual img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: 58% 48%;
  display: block;
  transition: transform 0.5s ease;
}

.app-needs {
  background: #07111f;
  color: #fff;
  text-align: center;
}

.app-needs .eyebrow {
  margin-bottom: 10px;
}

.app-needs h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.03em;
}

.app-need-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
}

.app-need {
  background: rgba(15, 32, 58, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
  padding: 22px 18px 20px;
}

.app-need svg {
  width: 28px;
  height: 28px;
  color: #60a5fa;
  margin-bottom: 14px;
}

.app-need h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
}

.app-need p {
  margin: 0;
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.5;
}

.app-benefits {
  background: #0a1628;
  color: #fff;
  text-align: center;
}

.app-benefits h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.03em;
}

.app-benefit-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 18px;
  overflow: hidden;
  text-align: left;
}

.app-benefit {
  padding: 24px 20px;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
}

.app-benefit:last-child {
  border-right: 0;
}

.app-benefit-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.18);
  color: #93c5fd;
  margin-bottom: 14px;
}

.app-benefit-icon svg {
  width: 20px;
  height: 20px;
}

.app-benefit h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.app-benefit p {
  margin: 0;
  color: #94a3b8;
  font-size: 13.5px;
  line-height: 1.5;
}

.app-benefit a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.app-process {
  background:
    radial-gradient(520px 240px at 18% 80%, rgba(37, 99, 235, 0.14), transparent 55%),
    #071321;
  color: #fff;
}

.app-process-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 32px 40px;
  align-items: center;
}

.app-process-media {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 360px;
}

.app-process-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: 32% 46%;
  display: block;
  transition: transform 0.5s ease;
}

.app-quote {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  max-width: 28ch;
  margin: 0;
  background: rgba(7, 19, 33, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 16px 14px;
}

.app-quote p {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.45;
  color: #e2e8f0;
}

.app-quote footer {
  background: none;
  padding: 0;
  border: 0;
  color: #93c5fd;
  font-size: 13px;
}

.app-quote footer strong {
  display: block;
  color: #fff;
  font-size: 13.5px;
}

.app-process-copy .eyebrow {
  text-align: left;
  margin-bottom: 10px;
}

.app-process-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 16ch;
}

.app-process-copy > p {
  color: #cbd5e1;
  margin: 0 0 22px;
  max-width: 46ch;
}

.app-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.app-steps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: flex-start;
}

.app-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #93c5fd;
  font-size: 13px;
  font-weight: 700;
}

.app-steps h3 {
  margin: 4px 0 4px;
  font-size: 16px;
}

.app-steps p {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.5;
}

.app-cta {
  background: #050c18;
  color: #fff;
  padding: 64px 0;
}

.app-cta-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px 48px;
  align-items: center;
}

.app-cta .eyebrow {
  margin-bottom: 10px;
  max-width: 36ch;
}

.app-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: -0.03em;
}

.app-cta p {
  margin: 0 0 22px;
  color: #cbd5e1;
  max-width: 52ch;
}

.app-cta-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.app-cta-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #e2e8f0;
}

.app-cta-points svg {
  width: 22px;
  height: 22px;
  color: #60a5fa;
  flex-shrink: 0;
}

#como-funciona {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  .app-hero-visual:hover img,
  .app-process-media:hover img {
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-hero-visual img,
  .app-process-media img,
  .app-hero-visual:hover img,
  .app-process-media:hover img {
    transform: none;
    transition: none;
  }
}

@media (max-width: 1024px) {
  .app-hero-grid,
  .app-process-grid,
  .app-cta-inner,
  .app-need-grid,
  .app-benefit-row {
    grid-template-columns: 1fr 1fr;
  }

  .app-hero-copy h1,
  .app-process-copy h2 {
    max-width: none;
  }

  .app-hero-visual img,
  .app-process-media img {
    height: 320px;
  }

  .app-benefit {
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }

  .app-benefit:nth-child(odd) {
    border-right: 1px solid rgba(148, 163, 184, 0.12);
  }

  .app-benefit:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 768px) {
  .app-page {
    --app-space: 52px;
  }

  .app-hero,
  .app-cta {
    padding: 36px 0 44px;
  }

  .app-hero-grid,
  .app-need-grid,
  .app-benefit-row,
  .app-process-grid,
  .app-cta-inner {
    grid-template-columns: 1fr;
  }

  .app-lead,
  .app-needs,
  .app-benefits {
    text-align: left;
  }

  .app-lead {
    margin-left: 0;
  }

  .app-hero-visual img,
  .app-process-media img {
    height: 260px;
  }

  .app-hero-visual img {
    object-position: 62% 50%;
  }

  .app-process-media img {
    object-position: 28% 42%;
  }

  .app-quote {
    max-width: min(28ch, calc(100% - 28px));
    left: 12px;
    bottom: 12px;
    padding: 12px;
  }

  .app-quote p {
    font-size: 13.5px;
  }

  .app-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .app-benefit,
  .app-benefit:nth-child(odd) {
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }

  .app-benefit:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .app-hero-visual img,
  .app-process-media img {
    height: 230px;
  }
}
