/* TEMA 82 — ASSISTÊNCIA DE CELULAR: "tela do celular". Azul-noite, gradiente índigo→ciano, cinza de interface iOS/Android.
   Fonte Urbanist, detalhes JetBrains Mono. */
:root {
  --c82-noite: #0f172a; --c82-noite2: #1e293b; --c82-noite3: #334155; --c82-azul: #6366f1; --c82-ciano: #06b6d4; --c82-verde: #22c55e; --c82-claro: #f1f5f9;
  --c82-txt: #e2e8f0; --c82-txt2: #94a3b8;
  --cn-cor: #6366f1; --cn-cor-txt: #fff; --cn-midia-prop: 80%;
  --c82-grad: linear-gradient(135deg, var(--c82-azul), var(--c82-ciano));
}
html { scroll-behavior: smooth; }
body.c82-corpo { margin: 0; background: #070b16; color: var(--c82-txt); font-family: 'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.c82-corpo.c82-com-barra { padding-bottom: 78px; }
.c82 { max-width: 560px; margin: 0 auto; min-height: 100vh; overflow: hidden; box-shadow: 0 0 50px rgba(0,0,0,.6);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' fill='none' stroke='%236366f1' stroke-opacity='.12' stroke-width='2'%3E%3Cpath d='M0 40h50l10 10h40M160 120h-40l-10-10H70l-10 10H0M80 0v30l10 10M120 160v-30l-10-10'/%3E%3Ccircle cx='100' cy='50' r='3'/%3E%3Ccircle cx='60' cy='120' r='3'/%3E%3Ccircle cx='90' cy='40' r='3'/%3E%3C/svg%3E"), var(--c82-noite); }
.c82 a { color: inherit; }

/* TOPO: aparelho */
.c82-topo { padding: 18px 26px 0; text-align: center; }
.c82-aparelho { max-width: 360px; margin: 0 auto; padding: 10px; border-radius: 42px; background: linear-gradient(145deg, #3a4357, #1a2030); box-shadow: inset 0 0 0 2px #4b5568, 0 20px 40px rgba(0,0,0,.6); }
.c82-status { display: flex; justify-content: space-between; align-items: center; padding: 6px 18px 4px; font: 600 12px 'Urbanist', sans-serif; color: #fff; position: relative; }
.c82-status i { font-size: 10px; }
.c82-entalhe { position: absolute; left: 50%; top: 4px; width: 90px; height: 22px; margin-left: -45px; border-radius: 12px; background: #000; }
.c82-capa { position: relative; overflow: hidden; border-radius: 30px; background: #000; }
.c82-capa .cn-midia { border-radius: 0; }
.c82-capa-img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 11; object-fit: cover; }
.c82-app { position: relative; z-index: 4; width: 104px; height: 104px; margin: -52px auto 0; padding: 4px; box-sizing: border-box; border-radius: 26px; background: var(--c82-grad); box-shadow: 0 10px 24px rgba(99,102,241,.45); animation: c82Toque 1s .4s ease both; }
@keyframes c82Toque { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); opacity: 1; } 100% { transform: none; } }
.c82-app-in { width: 100%; height: 100%; border-radius: 22px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fff; }
.c82-app-in img { width: 100%; height: 100%; object-fit: contain; padding: 8px; box-sizing: border-box; }
.c82-app-in span { font: 800 30px 'Urbanist', sans-serif; background: var(--c82-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c82-id { padding: 12px 0 6px; }
.c82-id h1 { margin: 0; font: 800 28px/1.1 'Urbanist', sans-serif; color: #fff; word-break: break-word; }
.c82-id h1.c82-longo { font-size: 23px; }
.c82-id p { margin: 6px auto 0; max-width: 420px; color: var(--c82-txt2); font-size: 15px; }
.c82-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.c82-chip { background: var(--c82-noite2); color: var(--c82-txt); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.c82-chip a { color: var(--c82-txt); }

/* TÍTULOS */
.c82-bloco { padding: 26px 18px 8px; }
.c82-tit { margin: 0 0 16px; font: 800 24px/1.1 'Urbanist', sans-serif; color: #fff; }
.c82-tit span { background: var(--c82-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c82-tit::after { content: ""; display: block; width: 46px; height: 4px; margin-top: 8px; border-radius: 2px; background: var(--c82-grad); }

/* CONTATOS: tela inicial */
.c82-home { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 8px; padding: 18px 10px; border-radius: 28px; background: linear-gradient(160deg, rgba(99,102,241,.25), rgba(6,182,212,.15)), var(--c82-noite2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.c82-icone { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: #fff !important; text-decoration: none !important; font-size: 12px; font-weight: 600; line-height: 1.2; word-break: break-word; }
.c82-quad { width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; background: var(--c82-grad); box-shadow: 0 6px 12px rgba(0,0,0,.35); transition: transform .15s; }
.c82-icone:active .c82-quad { transform: scale(.9); }
.c82-icone:nth-child(5n+2) .c82-quad { background: linear-gradient(135deg, #f43f5e, #fb923c); } .c82-icone:nth-child(5n+3) .c82-quad { background: linear-gradient(135deg, #a855f7, #ec4899); }
.c82-icone:nth-child(5n+4) .c82-quad { background: linear-gradient(135deg, #0ea5e9, #22d3ee); } .c82-icone:nth-child(5n+5) .c82-quad { background: linear-gradient(135deg, #f59e0b, #facc15); }
.c82-i-whatsapp .c82-quad { background: linear-gradient(135deg, #22c55e, #16a34a) !important; }
.c82-rot { max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* AVALIAÇÕES */
.c82-trilho { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: none; }
.c82-trilho::-webkit-scrollbar { display: none; }
.c82-depo { flex: 0 0 84%; scroll-snap-align: start; margin: 0; background: var(--c82-noite2); padding: 16px; border-radius: 22px 22px 22px 6px; }
.c82-estrelas { color: #facc15; letter-spacing: 2px; }
.c82-depo blockquote { margin: 8px 0 10px; color: var(--c82-txt2); font-style: italic; }
.c82-depo figcaption { font-weight: 700; }
.c82-setas { display: flex; justify-content: flex-end; gap: 8px; }
.c82-setas button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--c82-noite3); color: #fff; cursor: pointer; }

/* BOTÕES */
.c82-acoes { display: flex; gap: 10px; flex-wrap: wrap; padding: 18px 18px 6px; }
.c82-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 16px; border-radius: 16px; border: 1px solid transparent; font: 700 15px 'Urbanist', sans-serif; text-decoration: none !important; cursor: pointer; }
.c82-btn-grad { background: var(--c82-grad); color: #fff !important; box-shadow: 0 8px 18px rgba(99,102,241,.35); }
.c82-btn-linha { background: var(--c82-noite2); color: #fff !important; border-color: var(--c82-noite3); }
.c82-btn:hover { filter: brightness(1.08); }

/* A EMPRESA: notificação */
.c82-notificacao { padding: 14px 16px 16px; border-radius: 22px; background: rgba(241,245,249,.95); color: #1e293b; box-shadow: 0 10px 24px rgba(0,0,0,.4); animation: c82Desce .6s ease both; }
.cn-vis .c82-notificacao { animation: c82Desce .6s ease both; }
@keyframes c82Desce { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
.c82-notif-topo { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; }
.c82-notif-ic { width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center; background: var(--c82-grad); color: #fff; font-size: 11px; }
.c82-notif-topo b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c82-notif-topo small { color: #64748b; }
.c82-texto { color: #334155; font-size: 15px; }
.c82-texto p { margin: 0 0 8px; }
.c82-texto .cn-leia { color: var(--c82-azul); }

/* SERVIÇOS: configurações com chave */
.c82-config { border-radius: 20px; overflow: hidden; background: var(--c82-noite2); }
.c82-opcao { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.06); cursor: pointer; transition: background .15s; }
.c82-opcao:last-child { border-bottom: 0; }
.c82-opcao:hover { background: rgba(255,255,255,.04); }
.c82-opcao-img { width: 58px; height: 58px; flex-shrink: 0; border-radius: 14px; background: #334 center / cover no-repeat; }
.c82-opcao-txt { flex: 1; min-width: 0; }
.c82-opcao-txt h3 { margin: 0; font: 700 16px/1.2 'Urbanist', sans-serif; color: #fff; }
.c82-opcao-txt p { margin: 2px 0 0; font-size: 12.5px; color: var(--c82-txt2); line-height: 1.35; }
.c82-chave { position: relative; width: 44px; height: 26px; flex-shrink: 0; border-radius: 13px; background: var(--c82-noite3); transition: background .4s; }
.c82-chave::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .4s cubic-bezier(.3,1.4,.5,1); box-shadow: 0 2px 4px rgba(0,0,0,.3); }
.cn-vis .c82-chave { background: var(--c82-verde); } .cn-vis .c82-chave::after { transform: translateX(18px); }
.cn-vis .c82-opcao:nth-child(2) .c82-chave, .cn-vis .c82-opcao:nth-child(2) .c82-chave::after { transition-delay: .2s; } .cn-vis .c82-opcao:nth-child(3) .c82-chave, .cn-vis .c82-opcao:nth-child(3) .c82-chave::after { transition-delay: .4s; } .cn-vis .c82-opcao:nth-child(n+4) .c82-chave, .cn-vis .c82-opcao:nth-child(n+4) .c82-chave::after { transition-delay: .6s; }

/* GALERIA: app de fotos */
.c82-fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; border-radius: 18px; overflow: hidden; }
.c82-foto { aspect-ratio: 1; border: 0; padding: 0; background: #334 center / cover no-repeat; cursor: zoom-in; }

/* PRODUTOS */
.c82-busca { display: flex; align-items: center; gap: 8px; background: var(--c82-noite2); border-radius: 14px; padding: 0 14px; margin: 0 0 14px; color: var(--c82-txt2); }
.c82-busca input { flex: 1; border: 0; outline: none; padding: 12px 0; font: inherit; background: transparent; color: var(--c82-txt); }
.c82-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c82-prod { background: var(--c82-noite2); border-radius: 18px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; }
.c82-prod-img { height: 130px; background: #334 center / cover no-repeat; display: flex; align-items: center; justify-content: center; color: #567; font-size: 30px; }
.c82-prod-txt { padding: 10px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.c82-prod-txt h3 { margin: 0; font: 700 15px/1.2 'Urbanist', sans-serif; color: #fff; }
.c82-prod-ver { margin-top: auto; color: var(--c82-ciano); font-weight: 700; font-size: 13px; }
.c82-nada { grid-column: 1 / -1; text-align: center; }
.c82-carrinho { width: 100%; margin-top: 14px; }

/* QR e FORMULÁRIO */
.c82-qr { text-align: center; } .c82-qr .code { display: flex; justify-content: center; margin-bottom: 12px; }
.c82-qr .code canvas, .c82-qr .code img { width: 200px !important; height: 200px !important; background: #fff; padding: 12px; border-radius: 22px; box-sizing: content-box; box-shadow: 0 0 0 4px var(--c82-azul); }
.c82-form { display: grid; gap: 10px; padding: 18px 16px; border-radius: 22px; background: var(--c82-noite2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.c82-form input, .c82-form textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--c82-noite3); border-radius: 14px; padding: 12px 14px; font: inherit; background: var(--c82-noite); color: var(--c82-txt); }
.c82-form input::placeholder, .c82-form textarea::placeholder { color: #64748b; }
.c82-form input:focus, .c82-form textarea:focus { outline: none; border-color: var(--c82-azul); box-shadow: 0 0 0 3px rgba(99,102,241,.25); }
.c82-duas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c82-form .result { color: #fff; }

/* BARRA FIXA (dock) */
.c82-barra { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 9000; display: flex; max-width: 540px; margin: 0 auto; padding: 6px; gap: 6px; border-radius: 26px; background: rgba(30,41,59,.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 26px rgba(0,0,0,.5); margin-bottom: env(safe-area-inset-bottom); }
.c82-barra a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 4px; border-radius: 20px; color: #fff !important; text-decoration: none !important; font: 700 12px 'Urbanist', sans-serif; }
.c82-barra a i { font-size: 18px; }
.c82-barra a.c82-barra-zap { background: var(--c82-grad); flex: 1.3; }
.c82-com-barra .radio-float { bottom: 96px !important; }

.c82-corpo .creditos-cartaodigital { max-width: 560px; margin: 0 auto !important; background: #070b16; }
.c82-corpo .modal { color: #222; }
@media (min-width: 600px) { .c82 { margin: 18px auto; border-radius: 26px; } .c82-depo { flex-basis: 68%; } }
@media (max-width: 360px) { .c82-id h1 { font-size: 24px; } .c82-quad { width: 50px; height: 50px; font-size: 20px; } }
