/* Ideia·App · página /apps/: lista das apps desenvolvidas, com pré-visualização e funções. Cada cartão abre o site da app. */
.apps-pg-page main { padding: calc(var(--studio-nav-h, 76px) + 40px) 0 80px; }
.apps-pg-intro { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.apps-pg-intro .eyebrow { display: inline-block; margin-bottom: 10px; }
.apps-pg-intro h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.06; margin: 0 0 12px; }
.apps-pg-intro p { color: var(--muted); font-size: 17px; margin: 0; }

.apps-pg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }

.apps-pg-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--text); overflow: hidden;
  border-radius: 24px; background: var(--surface); border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(14, 24, 52, .08);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.apps-pg-card:hover { transform: translateY(-3px); border-color: rgba(93, 99, 245, .45); box-shadow: 0 20px 42px rgba(14, 24, 52, .14); }
.apps-pg-card:focus-visible { outline: 3px solid #09bbd8; outline-offset: 3px; }

/* Pré-visualização: a fotografia do site da app, inteira e sem cortes. */
.apps-pg-media { display: block; background: var(--border); border-bottom: 1px solid var(--border); }
.apps-pg-media img { display: block; width: 100%; height: auto; transition: transform .35s; }
.apps-pg-card:hover .apps-pg-media img { transform: scale(1.03); }

.apps-pg-body { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px 22px; flex: 1; }
.apps-pg-head { display: flex; align-items: center; gap: 14px; }
.apps-pg-head img { width: 48px; height: 48px; border-radius: 13px; flex: none; }
.apps-pg-head b { display: block; font: 650 20px/1.2 "Space Grotesk", Inter, system-ui, sans-serif; }
.apps-pg-tag {
  display: inline-block; margin-top: 4px; padding: 2px 9px; border-radius: 999px;
  background: rgba(133, 41, 218, .1); color: #6a2bc0; font-size: 11.5px; font-weight: 650; letter-spacing: .02em;
}
.apps-pg-tag.is-live { background: rgba(9, 187, 216, .14); color: #0789a0; }
.apps-pg-desc { display: block; color: var(--muted); font-size: 15px; line-height: 1.5; }
.apps-pg-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.apps-pg-body li { position: relative; padding-left: 24px; font-size: 14.5px; line-height: 1.45; }
.apps-pg-body li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 12px; height: 7px;
  border-left: 2px solid #4331d8; border-bottom: 2px solid #4331d8; transform: rotate(-45deg);
}
.apps-pg-go { margin-top: auto; padding-top: 4px; color: #4331d8; font-weight: 650; font-size: 15px; }
.apps-pg-cta { margin: 40px 0 0; text-align: center; color: var(--muted); font-size: 16px; }
.apps-pg-cta a { color: #4331d8; font-weight: 650; }

[data-theme="dark"] .apps-pg-go, [data-theme="dark"] .apps-pg-cta a { color: #a99bff; }
[data-theme="dark"] .apps-pg-body li::before { border-color: #a99bff; }
[data-theme="dark"] .apps-pg-tag { color: #d2b4ff; }
[data-theme="dark"] .apps-pg-tag.is-live { color: #6ce3f2; }

@media (max-width: 600px) {
  .apps-pg-page main { padding-top: calc(var(--studio-nav-h, 68px) + 24px); }
}
@media (prefers-reduced-motion: reduce) { .apps-pg-card, .apps-pg-media img { transition: none; } }
