/* Vitrine do Surpresa Spazio: a página inicial é a tela de início de um celular.
   No computador aparecem dois celulares (tela inicial + app aberto); no celular a página É a tela. */
* { box-sizing: border-box; margin: 0; }
a, button { color: inherit; font: inherit; text-decoration: none; }
button { background: none; border: 0; cursor: pointer; padding: 0; text-align: inherit; }
body { font: 400 15px/1.4 Inter, -apple-system, system-ui, sans-serif; color: #111; background: #EDE7DF; -webkit-font-smoothing: antialiased; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* computador: texto ao lado e dois celulares */
.palco { min-height: 100vh; display: flex; align-items: center; justify-content: center; gap: 56px; padding: 40px; }
.texto { width: 340px; }
.texto .marca { font: 600 20px Fraunces, serif; margin-bottom: 40px; display: block; }
.texto .titulo-pc { font: 400 44px/1.05 Fraunces, serif; letter-spacing: -.01em; margin-bottom: 14px; }
.texto .titulo-pc em { color: #8E3B46; }
.texto p { color: #5F5852; margin-bottom: 18px; }
.texto .qr { display: flex; gap: 14px; align-items: center; font-size: 13px; }
.texto .qr span { width: 82px; height: 82px; flex: none; border-radius: 10px; background: #fff; padding: 6px; box-shadow: 0 6px 16px -8px rgba(0,0,0,.3); }
.texto .qr canvas { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.texto .pe { font-size: 12.5px; color: #7A726B; margin-top: 30px; }
.texto .pe a { text-decoration: underline; }

.fone { position: relative; width: 390px; height: 844px; border-radius: 58px; padding: 13px; background: #1B1B1D; box-shadow: 0 0 0 2px #3A3A3D, 0 60px 100px -40px rgba(0,0,0,.6); zoom: .8; flex: none; }
.fone > .tela { position: relative; width: 100%; height: 100%; border-radius: 46px; overflow: hidden; }
.fone.segundo { zoom: .72; }

.status { position: absolute; left: 0; right: 0; top: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 32px 0 40px; z-index: 30; font: 600 16px Inter; pointer-events: none; }
.status .ilha { position: absolute; left: 50%; top: 11px; width: 122px; height: 35px; margin-left: -61px; border-radius: 20px; background: #000; }
.status .sinais { display: flex; gap: 6px; align-items: center; }
.barrinha { position: absolute; left: 50%; bottom: 8px; width: 136px; height: 5px; margin-left: -68px; border-radius: 3px; background: currentColor; z-index: 30; pointer-events: none; }
.nuvem { width: 13px; height: 10px; vertical-align: -1px; margin-right: 3px; }

/* tela inicial */
.inicio { position: absolute; inset: 0; overflow: auto; scrollbar-width: none; background: radial-gradient(circle at 18% 12%, #F3C9A8 0, transparent 46%), radial-gradient(circle at 90% 40%, #B98C9A 0, transparent 50%), radial-gradient(circle at 30% 95%, #6E7F96 0, transparent 55%), linear-gradient(170deg, #D9A88E, #8C7088 60%, #4F5F78); color: #fff; padding: 64px 22px 130px; }
.widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 22px; }
.wg { display: block; width: 100%; border-radius: 22px; overflow: hidden; position: relative; box-shadow: 0 8px 24px -10px rgba(0,0,0,.35); }
.wg-nome { display: block; text-align: center; font-size: 11.5px; font-weight: 500; margin-top: 6px; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.wg-grande { grid-column: span 2; min-height: 168px; background: #F6F1E9; color: #24201D; display: grid; grid-template-columns: 1fr 128px; padding: 16px 16px 16px 18px; gap: 6px; text-align: left; }
.wg-grande .chapeu { font-size: 12px; font-weight: 600; color: #8E3B46; display: flex; align-items: center; gap: 6px; }
.wg-grande .chapeu i { width: 16px; height: 16px; border-radius: 5px; overflow: hidden; display: inline-block; } .wg-grande .chapeu i svg { width: 16px; height: 16px; display: block; }
.wg-grande b { display: block; font: 400 23px/1.08 Fraunces, serif; margin: 6px 0; }
.wg-grande small { display: block; font-size: 12.5px; color: #6B635C; line-height: 1.3; }
.wg-grande .arte { border-radius: 14px; background: #F1DCDC; display: grid; place-items: center; } .wg-grande .arte svg { width: 118px; height: 118px; }
.wg-peq { height: 158px; padding: 14px; text-align: left; }
.cal { background: #fff; color: #111; }
.cal .mes { font-size: 12px; font-weight: 700; color: #D93A3A; display: block; }
.cal b { display: block; font: 600 46px/1 Inter; letter-spacing: -.03em; margin: 4px 0 6px; }
.cal .oq { font-size: 13px; font-weight: 600; line-height: 1.25; display: block; } .cal .falta { color: #8A8A8E; font-weight: 500; display: block; font-size: 13px; }
.meus { background: rgba(30,24,22,.42); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: #fff; }
.meus .t { font-size: 12px; font-weight: 600; opacity: .8; display: block; }
.meus .letra { width: 54px; height: 54px; border-radius: 12px; margin: 10px 0 8px; background: linear-gradient(160deg, #F1DCDC, #C98E98); color: #8E3B46; display: grid; place-items: center; font: 400 28px Fraunces, serif; }
.meus .letra svg { width: 30px; height: 30px; }
.meus b { font-size: 14px; display: block; line-height: 1.2; } .meus small { font-size: 12px; opacity: .78; display: block; }
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 0; justify-items: center; }
.app { width: 74px; text-align: center; color: #fff; }
.app .ic { width: 62px; height: 62px; border-radius: 15px; overflow: hidden; display: block; margin: 0 auto 5px; background: var(--claro); box-shadow: 0 4px 10px -4px rgba(0,0,0,.35); transition: transform .15s; }
.app .ic svg { width: 100%; height: 100%; display: block; transform: scale(1.08); }
.app:active .ic { transform: scale(.92); }
.app .nm { font-size: 11.5px; font-weight: 500; text-shadow: 0 1px 2px rgba(0,0,0,.35); white-space: nowrap; display: block; }
.app.breve .ic { filter: saturate(.75); }
.app.sel .ic { outline: 3px solid rgba(255,255,255,.85); outline-offset: 2px; }
.busca { margin: 26px auto 0; width: 92px; height: 30px; border-radius: 16px; background: rgba(255,255,255,.22); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 13px; font-weight: 500; color: #fff; }
.busca svg { width: 12px; height: 12px; }
.dock { position: absolute; left: 12px; right: 12px; bottom: 22px; height: 92px; border-radius: 34px; background: rgba(255,255,255,.25); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); display: flex; justify-content: space-around; align-items: center; padding: 0 12px; z-index: 5; }
.dock .ic { width: 62px; height: 62px; border-radius: 15px; overflow: hidden; display: block; box-shadow: 0 4px 10px -4px rgba(0,0,0,.35); }
.dock .ic svg { width: 100%; height: 100%; display: block; }
.dock .ic.p { background: #F1DCDC; } .dock .ic.p svg { transform: scale(1.08); }

/* app aberto (estilo da tela de ajustes) */
.app-tela { position: absolute; inset: 0; background: #F2F2F7; color: #111; padding: 54px 0 0; display: flex; flex-direction: column; }
.app-rola { flex: 1; overflow: auto; scrollbar-width: none; padding-bottom: 20px; }
.nav { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; font-size: 17px; color: #8E3B46; min-height: 40px; }
.nav b { color: #111; font-weight: 600; font-size: 16px; }
.nav button, .nav a { min-width: 64px; } .nav > :last-child { text-align: right; }
.capa { margin: 4px 16px 0; height: 190px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(160deg, var(--claro), color-mix(in srgb, var(--claro) 80%, var(--cor))); }
.capa svg { width: 170px; height: 170px; }
.cab { padding: 16px 20px 12px; }
.cab h2 { font: 700 30px/1.1 Inter; letter-spacing: -.02em; }
.cab p { color: #6C6C70; font-size: 15px; margin-top: 4px; }
.seg { margin: 4px 16px 16px; background: #E3E3E8; border-radius: 9px; padding: 2px; display: grid; grid-template-columns: 1fr 1fr; font-size: 13px; font-weight: 600; text-align: center; }
.seg button { padding: 7px 4px; border-radius: 7px; text-align: center; }
.seg button.on { background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.grupo { margin: 0 16px 14px; padding: 0; background: #fff; border-radius: 12px; overflow: hidden; list-style: none; }
.grupo li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; font-size: 15.5px; position: relative; }
.grupo li + li::before { content: ""; position: absolute; left: 54px; right: 0; top: 0; height: 1px; background: #E5E5EA; }
.grupo li > i { width: 29px; height: 29px; border-radius: 7px; display: grid; place-items: center; flex: none; color: #fff; }
.grupo li > i svg { width: 17px; height: 17px; }
.grupo li em { margin-left: auto; font-style: normal; color: #8A8A8E; text-align: right; white-space: nowrap; }
.grupo li em.ok { color: #248A3D; font-weight: 600; }
.grupo li.nao { color: #8A8A8E; } .grupo li.nao > i { opacity: .45; }
.grupo a, .grupo button.linha { display: flex; align-items: center; gap: 12px; width: 100%; color: inherit; }
.grupo .seta { margin-left: auto; color: #C4C4C7; }
.grupo .txt { min-width: 0; } .grupo .txt b { display: block; font-weight: 500; } .grupo .txt small { display: block; color: #8A8A8E; font-size: 13px; line-height: 1.3; }
.grupo .mini { width: 38px; height: 38px; border-radius: 9px; overflow: hidden; flex: none; background: var(--claro); } .grupo .mini svg { width: 100%; height: 100%; display: block; transform: scale(1.08); }
.rot-grupo { margin: 18px 32px 6px; font-size: 13px; color: #6C6C70; }
.nota { margin: -6px 32px 16px; font-size: 13px; color: #6C6C70; line-height: 1.4; }
.rodape-app { padding: 12px 16px 34px; background: rgba(242,242,247,.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid #DCDCE0; }
.rodape-app .bt { display: block; width: 100%; text-align: center; background: #8E3B46; color: #fff; font-weight: 600; font-size: 17px; padding: 15px; border-radius: 14px; }
.rodape-app .bt.claro { background: #fff; color: #8E3B46; box-shadow: inset 0 0 0 1px #DCDCE0; }
.rodape-app small { display: block; text-align: center; color: #8A8A8E; font-size: 12px; margin-top: 8px; }
.campo-busca { margin: 4px 16px 14px; display: flex; gap: 8px; align-items: center; background: #E3E3E8; border-radius: 11px; padding: 0 12px; color: #8A8A8E; }
.campo-busca svg { width: 15px; height: 15px; flex: none; }
.campo-busca input { flex: 1; border: 0; background: none; font: inherit; font-size: 16px; padding: 10px 0; color: #111; outline: none; min-width: 0; }
.perg { margin: 0 16px 10px; background: #fff; border-radius: 12px; padding: 0 14px; }
.perg summary { padding: 13px 0; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.perg summary::-webkit-details-marker { display: none; }
.perg summary::after { content: "+"; color: #8E3B46; font-size: 20px; line-height: 1; }
.perg[open] summary::after { content: "\2212"; }
.perg p { padding: 0 0 14px; color: #4A4A4E; font-size: 14.5px; line-height: 1.45; }
.vazio { margin: 30px 32px; text-align: center; color: #6C6C70; }

/* celular de verdade: a página é a própria tela; o app aberto sobe por cima */
@media (max-width: 760px) {
  .palco { display: block; padding: 0; min-height: 0; }
  .texto { display: none; }
  .fone { width: 100%; height: 100vh; height: 100dvh; border-radius: 0; padding: 0; box-shadow: none; zoom: 1; background: none; }
  .fone > .tela { border-radius: 0; }
  .fone.segundo { zoom: 1; position: fixed; inset: 0; z-index: 50; transform: translateY(102%); transition: transform .32s cubic-bezier(.2,.8,.2,1); visibility: hidden; }
  body.app-aberto .fone.segundo { transform: none; visibility: visible; }
  body.app-aberto { overflow: hidden; }
  .status { visibility: hidden; height: 0; } .barrinha { display: none; }
  .inicio { padding-top: max(24px, env(safe-area-inset-top)); }
  .app-tela { padding-top: max(10px, env(safe-area-inset-top)); }
  .rodape-app { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .dock { bottom: max(14px, env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) { .inicio { padding-left: 14px; padding-right: 14px; } .widgets { gap: 14px; } }
