/* ===== Página "App para Provedores" (case Luminet) ===== */
.ap-hero {
  position: relative;
  padding: 10rem 0 6rem;
  background: radial-gradient(circle at 85% 20%, rgba(0, 229, 163, 0.18) 0%, rgba(0, 229, 163, 0) 45%), var(--secondary);
  color: #fff;
  overflow: hidden;
}

.ap-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.ap-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font: 600 0.8rem/1 'Inter', sans-serif;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 229, 163, 0.12);
  border: 1px solid rgba(0, 229, 163, 0.35);
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.ap-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.ap-hero h1 span { color: var(--accent); }

.ap-hero p {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2rem;
  max-width: 560px;
}

.ap-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.ap-btn-main {
  background: var(--accent);
  color: var(--secondary);
  box-shadow: 0 0 24px rgba(0, 229, 163, 0.3);
}

.ap-btn-main:hover { background: #03D699; color: var(--secondary); transform: translateY(-2px); }

.ap-hero .mk-phones { justify-content: center; }
.ap-hero .mk-phone { width: 240px; }

/* Galeria de telas */
.ap-gallery { padding: 6rem 0; }

.ap-strip {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0.25rem 2rem;
  scrollbar-width: thin;
}

.ap-shot {
  flex: 0 0 240px;
  scroll-snap-align: start;
  margin: 0;
}

.ap-shot .mk-phone {
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.ap-shot figcaption {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.ap-shot figcaption b {
  display: block;
  color: var(--secondary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.ap-hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Funcionalidades */
.ap-features {
  padding: 6rem 0;
  background: var(--surface-alt);
}

.ap-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ap-feat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.ap-feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 229, 163, 0.14);
  margin-bottom: 1rem;
}

.ap-feat-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ap-feat h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.ap-feat p { color: var(--text-muted); font-size: 0.97rem; line-height: 1.6; }

/* Como funciona */
.ap-how { padding: 6rem 0; }

.ap-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.ap-step {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
}

.ap-step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font: 700 1rem/1 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 1rem;
}

.ap-step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.ap-step p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }

@media (max-width: 992px) {
  .ap-hero { padding: 8rem 0 4rem; }
  .ap-hero-grid { grid-template-columns: 1fr; }
  .ap-feat-grid { grid-template-columns: 1fr 1fr; }
  .ap-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
  .ap-hero .mk-phone { width: 165px; }
  .ap-feat-grid, .ap-steps { grid-template-columns: 1fr; }
  .ap-shot { flex-basis: 200px; }
  .ap-gallery, .ap-features, .ap-how { padding: 4rem 0; }
  .ap-actions .btn { width: 100%; }
}

/* O topo da página é escuro: cabeçalho sempre com fundo claro. */
.ap-page .header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
