/* Emet · página de módulo (Promo e os próximos). Cores da identidade Emet (DESIGN.md). */
html, body.module-page { height: 100%; margin: 0; }
body.module-page { display: flex; flex-direction: column; background: #06171c; color: #e8f6f4; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; overflow: hidden; }
.module-top { flex: none; display: flex; align-items: center; gap: 14px; padding: 8px 14px; padding-top: max(8px, env(safe-area-inset-top)); background: linear-gradient(90deg, #06171c, #0d2a31); border-bottom: 1px solid rgba(62,230,214,.18); min-height: 54px; }
.module-brand { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.5px; }
.module-brand .brand-dot { color: #e8b44c; }
.module-switch { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.module-switch::-webkit-scrollbar { display: none; }
.module-tab { flex: none; padding: 7px 14px; border-radius: 999px; color: #b6d6d2; text-decoration: none; font-size: 14px; font-weight: 650; border: 1px solid transparent; transition: background .2s, color .2s; }
.module-tab:hover { background: rgba(62,230,214,.1); color: #fff; }
.module-tab.active { background: linear-gradient(135deg, #14b8a6, #3ee6d6); color: #06171c; }
.module-tab.soon { opacity: .55; }
.module-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.module-ruach { width: 40px; height: 40px; display: block; }
.module-ruach .ruach-mascot svg { width: 40px; height: 40px; }
.module-full { color: #8fe9df; font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.module-full:hover { color: #fff; text-decoration: underline; }
.module-stage { position: relative; flex: 1; min-height: 0; background: #0b1f24; }
.module-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .35s ease; background: #fff; }
.module-frame.ready { opacity: 1; }
.module-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: #b6d6d2; text-align: center; padding: 20px; }
.module-spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(62,230,214,.25); border-top-color: #3ee6d6; animation: module-spin .8s linear infinite; }
@keyframes module-spin { to { transform: rotate(360deg); } }
.module-soon { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; padding: 24px; }
.module-soon h1 { margin: 6px 0 0; font-size: 26px; }
.module-soon p { margin: 0 0 10px; color: #b6d6d2; max-width: 420px; }
.module-soon .ruach-mascot svg { width: 96px; height: 96px; }
@media (max-width: 560px) {
  .module-brand span { display: none; }
  .module-full { font-size: 0; }
  .module-full::after { content: '↗'; font-size: 18px; }
  .module-ruach { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .module-spinner { animation: none; } .module-frame { transition: none; } }
