/* Lunna Kids — estilos */
:root {
  --roxo: #7B5CF5; --roxo-escuro: #4A2FB8; --roxo-tinta: #2E2357; --lilas: #EDE8FF; --lilas-2: #F7F4FF;
  --laranja: #FF923C; --verde: #3DB37A; --amarelo: #FFD66B; --vermelho: #E5484D;
  --texto: #2E2A3D; --suave: #756E8A; --borda: #E6E0F7; --fundo: #FBFAFF; --branco: #fff;
  --raio: 18px; --sombra: 0 6px 24px rgba(74, 47, 184, .08);
  --titulo: 'Fredoka', 'Nunito', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Nunito', system-ui, -apple-system, sans-serif; color: var(--texto); background: var(--fundo); line-height: 1.5; font-size: 16px; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--roxo); }
h1, h2, h3 { font-family: var(--titulo); color: var(--roxo-tinta); line-height: 1.2; margin: 0 0 .5rem; font-weight: 600; }
h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h2 { font-size: 1.3rem; }
img { max-width: 100%; }
code { background: var(--lilas); padding: .1rem .35rem; border-radius: 6px; font-size: .88em; word-break: break-all; }
[hidden] { display: none !important; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 1rem; padding: .7rem clamp(1rem, 3vw, 2rem); background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--borda); }
.marca { display: flex; align-items: center; gap: .55rem; text-decoration: none; font-family: var(--titulo); font-weight: 700; font-size: 1.25rem; color: var(--roxo-tinta); margin-right: auto; }
.menu { display: flex; align-items: center; gap: .3rem; }
.menu a { text-decoration: none; color: var(--texto); padding: .45rem .8rem; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.menu a:hover, .menu a.ativo { background: var(--lilas); color: var(--roxo-escuro); }
.menu.publico .btn { color: #fff; }
.saldo { display: flex; align-items: baseline; gap: .3rem; text-decoration: none; background: var(--lilas); color: var(--roxo-escuro); padding: .35rem .8rem; border-radius: 999px; font-size: .95rem; white-space: nowrap; }
.saldo small { font-size: .75rem; }
.hamburguer { display: none; border: 0; background: var(--lilas); color: var(--roxo-escuro); width: 42px; height: 42px; border-radius: 12px; font-size: 1.3rem; cursor: pointer; }

.conteudo { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 1.5rem clamp(1rem, 3vw, 2rem) 3rem; }
.rodape { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; padding: 1.5rem; color: var(--suave); font-size: .88rem; border-top: 1px solid var(--borda); }
.rodape a { color: var(--suave); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 0; cursor: pointer; text-decoration: none; font: 700 1rem 'Nunito', sans-serif; color: #fff; background: var(--roxo); padding: .75rem 1.3rem; border-radius: 999px; box-shadow: 0 4px 14px rgba(123, 92, 245, .3); transition: transform .12s, background .2s; }
.btn:hover { background: var(--roxo-escuro); transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-grande { padding: .95rem 1.7rem; font-size: 1.05rem; }
.btn-pequeno { padding: .45rem .9rem; font-size: .9rem; box-shadow: none; }
.btn-claro { background: var(--lilas); color: var(--roxo-escuro); box-shadow: none; }
.btn-claro:hover { background: #DED5FF; }
.btn-laranja { background: var(--laranja); box-shadow: 0 4px 14px rgba(255, 146, 60, .35); }
.btn-laranja:hover { background: #F07B1F; }
.btn-verde { background: var(--verde); box-shadow: 0 4px 14px rgba(61, 179, 122, .3); }
.btn-perigo { background: var(--vermelho); box-shadow: none; }
.btn-link { background: none; border: 0; color: var(--roxo); font: 700 .92rem 'Nunito', sans-serif; cursor: pointer; padding: .3rem 0; text-decoration: underline; }
.perigo { color: var(--vermelho); }

/* Cartões e formulários */
.cartao { background: var(--branco); border: 1px solid var(--borda); border-radius: var(--raio); padding: clamp(1rem, 3vw, 1.6rem); box-shadow: var(--sombra); margin-bottom: 1.2rem; }
.estreito { max-width: 460px; margin: 2rem auto; }
.centro { text-align: center; }
.suave { color: var(--suave); }
.pequeno { font-size: .85rem; }
.form { display: flex; flex-direction: column; gap: 1rem; }
.form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 700; font-size: .95rem; }
.form label small { font-weight: 400; color: var(--suave); font-size: .82rem; }
input, select, textarea { font: 400 1rem 'Nunito', sans-serif; color: var(--texto); padding: .75rem .9rem; border: 1.5px solid var(--borda); border-radius: 12px; background: #fff; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--roxo); box-shadow: 0 0 0 4px rgba(123, 92, 245, .12); }
textarea { resize: vertical; }
select { max-width: 100%; text-overflow: ellipsis; }
.form, .form label, .cartao, .duas-colunas > *, .duas-colunas-largas > * { min-width: 0; }
label.check { flex-direction: row !important; align-items: flex-start; gap: .55rem !important; font-weight: 600 !important; }
label.check input { width: 20px; height: 20px; margin-top: .1rem; flex-shrink: 0; accent-color: var(--roxo); }
label.mini { font-size: .8rem !important; }
label.mini input { padding: .5rem .7rem; font-size: .9rem; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 800; margin-bottom: .5rem; }
.duas-colunas { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.duas-colunas-largas { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: start; }
.links-form { text-align: center; margin-top: 1rem; }
.cabecalho-pagina { margin-bottom: 1.2rem; }
.cabecalho-pagina.com-acao { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.voltar { text-decoration: none; font-weight: 700; font-size: .9rem; }
.titulo-secao { margin-top: 2rem; }

/* Avisos e toasts */
.aviso { padding: .85rem 1.1rem; border-radius: 14px; margin-bottom: 1rem; font-weight: 600; }
.aviso-ok { background: #E3F7EC; color: #1E7A4D; }
.aviso-erro { background: #FDE8E8; color: #A82A2E; }
.aviso-info { background: #FFF6DC; color: #7A5A00; }
#toasts { position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: .5rem; width: min(92vw, 460px); }
.toast { padding: .9rem 1.1rem; border-radius: 14px; font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.15); animation: entrar .25s ease; background: var(--roxo-tinta); color: #fff; }
.toast-ok { background: #1E7A4D; } .toast-erro { background: #B4282D; }
.toast.sair { opacity: 0; transition: opacity .4s; }
@keyframes entrar { from { opacity: 0; transform: translateY(10px); } }

/* Chips e opções */
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: -.4rem; }
.chip { border: 1.5px solid var(--borda); background: var(--lilas-2); color: var(--roxo-escuro); border-radius: 999px; padding: .35rem .8rem; font: 700 .85rem 'Nunito', sans-serif; cursor: pointer; }
.chip:hover { border-color: var(--roxo); }
.opcoes-linha { display: flex; gap: .5rem; flex-wrap: wrap; }
.opcao { flex-direction: row !important; position: relative; }
.opcao input, .opcao-tipo input { position: absolute; opacity: 0; pointer-events: none; top: 0; left: 0; width: 1px; height: 1px; }
.opcao span { display: block; padding: .65rem 1rem; border: 2px solid var(--borda); border-radius: 14px; cursor: pointer; font-weight: 700; background: #fff; }
.opcao input:checked + span { border-color: var(--roxo); background: var(--lilas); color: var(--roxo-escuro); }
.tipos-check { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .6rem; }
.opcao-tipo { position: relative; }
.opcao-tipo span { display: grid; grid-template-columns: 2rem 1fr; column-gap: .5rem; padding: .7rem .8rem; border: 2px solid var(--borda); border-radius: 14px; cursor: pointer; background: #fff; font-weight: 400; height: 100%; }
.opcao-tipo i { grid-row: span 2; font-style: normal; font-size: 1.5rem; }
.opcao-tipo b { font-size: .95rem; }
.opcao-tipo small { color: var(--suave); font-size: .8rem; }
.opcao-tipo input:checked + span { border-color: var(--roxo); background: var(--lilas-2); box-shadow: inset 0 0 0 1px var(--roxo); }
.opcao-tipo input:focus-visible + span, .opcao input:focus-visible + span { outline: 3px solid rgba(123,92,245,.35); }
details.mais summary, details.editar summary, .zona-perigo-box summary { cursor: pointer; font-weight: 800; color: var(--roxo-escuro); }
.estimativa { background: var(--lilas-2); border: 1px dashed var(--roxo); border-radius: 14px; padding: .8rem 1rem; font-size: .93rem; }
.estimativa .alerta { color: #8A5A00; }

/* Landing */
.landing { max-width: 1140px; }
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center; padding: 2rem 0 3rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--roxo); background: linear-gradient(transparent 62%, #FFE2A8 62%); }
.hero p { font-size: 1.1rem; }
.selo { display: inline-block; background: var(--lilas); color: var(--roxo-escuro); padding: .35rem .9rem; border-radius: 999px; font-weight: 800; font-size: .85rem; margin-bottom: 1rem; }
.hero-acoes { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.5rem 0 .6rem; }
.hero-arte { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; }
.pdf-falso { width: 240px; aspect-ratio: 210 / 297; background: #fff; border-radius: 14px; box-shadow: 0 25px 60px rgba(74,47,184,.22); border: 3px solid var(--roxo); padding: 1.2rem 1rem; display: flex; flex-direction: column; align-items: center; justify-content: space-between; transform: rotate(-4deg); }
.pdf-titulo { font-family: var(--titulo); font-weight: 700; color: var(--roxo); font-size: 1.35rem; text-align: center; line-height: 1.1; }
.pdf-img { font-size: 2.6rem; text-align: center; line-height: 1.3; }
.pdf-rodape { font-size: .68rem; color: var(--suave); }
.folha { position: absolute; font-size: 2.4rem; animation: flutuar 5s ease-in-out infinite; }
.f1 { top: 6%; left: 8%; } .f2 { top: 12%; right: 6%; animation-delay: -1s; } .f3 { bottom: 10%; left: 4%; animation-delay: -2s; }
.f4 { bottom: 4%; right: 14%; animation-delay: -3s; } .f5 { top: 46%; right: -2%; animation-delay: -4s; }
@keyframes flutuar { 50% { transform: translateY(-12px) rotate(8deg); } }
.secao { padding: 2.5rem 0; }
.secao > h2 { text-align: center; font-size: clamp(1.5rem, 3.5vw, 2rem); margin-bottom: 1.5rem; }
.passos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.passo { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 1.3rem; box-shadow: var(--sombra); }
.passo span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--roxo); color: #fff; font-family: var(--titulo); font-weight: 700; margin-bottom: .6rem; }
.passo p { margin: 0; color: var(--suave); font-size: .95rem; }
.tipos-grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.tipos-grade div { background: #fff; border: 1px solid var(--borda); border-radius: 16px; padding: 1rem; text-align: center; font-size: 1.8rem; display: flex; flex-direction: column; gap: .2rem; }
.tipos-grade b { font-size: .98rem; } .tipos-grade small { font-size: .78rem; color: var(--suave); }
.planos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; align-items: stretch; margin-top: 1rem; }
.plano { position: relative; background: #fff; border: 2px solid var(--borda); border-radius: 22px; padding: 1.6rem; display: flex; flex-direction: column; gap: .4rem; box-shadow: var(--sombra); }
.plano.destaque { border-color: var(--roxo); }
.plano.atual { border-color: var(--verde); }
.plano ul { padding-left: 1.1rem; margin: .5rem 0 1rem; flex: 1; }
.plano li { margin-bottom: .3rem; }
.preco { font-family: var(--titulo); font-size: 2rem; font-weight: 700; color: var(--roxo-tinta); }
.preco small { font-size: 1rem; color: var(--suave); font-weight: 500; }
.fita { position: absolute; top: -12px; right: 18px; background: var(--laranja); color: #fff; font-weight: 800; font-size: .78rem; padding: .25rem .7rem; border-radius: 999px; }
.fita.verde { background: var(--verde); }
.form-assinar { display: flex; flex-direction: column; gap: .6rem; }
.faq details { background: #fff; border: 1px solid var(--borda); border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: .6rem; max-width: 760px; margin-left: auto; margin-right: auto; }
.faq summary { font-weight: 800; cursor: pointer; }
.faq p { margin: .6rem 0 0; color: var(--suave); }
.cta-final { text-align: center; background: linear-gradient(135deg, var(--roxo), #9B7BFF); border-radius: 28px; padding: 2.5rem 1.5rem; margin-top: 1rem; }
.cta-final h2 { color: #fff; font-size: 1.8rem; margin-bottom: 1rem; }

/* Painel */
.grade-kits { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
.kit-card { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--sombra); transition: transform .15s; }
.kit-card:hover { transform: translateY(-3px); }
.kit-capa { aspect-ratio: 4 / 5; background: var(--lilas-2); display: grid; place-items: center; font-size: 3rem; overflow: hidden; }
.kit-capa img { width: 100%; height: 100%; object-fit: cover; }
.kit-info { padding: .8rem 1rem 1rem; display: flex; flex-direction: column; gap: .2rem; }
.kit-info small { color: var(--suave); }
.status { align-self: flex-start; font-size: .75rem; font-weight: 800; padding: .15rem .55rem; border-radius: 999px; background: var(--lilas); color: var(--roxo-escuro); margin-top: .3rem; }
.status-pronto { background: #E3F7EC; color: #1E7A4D; }
.vazio { text-align: center; padding: 3rem 1rem; }
.vazio-emoji { font-size: 3.5rem; }

/* Tela do kit */
.carregando { display: flex; justify-content: center; gap: .6rem; font-size: 2.2rem; margin: 1rem 0; }
.carregando span { animation: pular 1s ease-in-out infinite; }
.carregando span:nth-child(2) { animation-delay: .15s; } .carregando span:nth-child(3) { animation-delay: .3s; }
@keyframes pular { 50% { transform: translateY(-14px); } }
.barra-acoes { position: sticky; top: 64px; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border: 1px solid var(--borda); border-radius: var(--raio); padding: .8rem 1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; box-shadow: var(--sombra); margin-bottom: 1rem; }
.barra-info { display: flex; flex-direction: column; font-size: .92rem; }
.barra-botoes { display: flex; gap: .5rem; flex-wrap: wrap; }
.progresso { width: 100%; height: 26px; background: var(--lilas); border-radius: 999px; position: relative; overflow: hidden; }
#progresso-barra { height: 100%; width: 0; background: linear-gradient(90deg, var(--roxo), #A68BFF); transition: width .4s; }
#progresso-txt { position: absolute; inset: 0; display: grid; place-items: center; font-size: .82rem; font-weight: 800; color: var(--roxo-tinta); }
.dica-uso { font-size: .9rem; color: var(--suave); margin: 0 0 1rem; }
.pagina-card { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 1rem 1.1rem; margin-bottom: 1rem; box-shadow: var(--sombra); }
.pagina-card header { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: .4rem; font-size: .82rem; font-weight: 800; }
.pagina-card .num { background: var(--roxo); color: #fff; padding: .15rem .6rem; border-radius: 999px; }
.pagina-card .tipo { color: var(--roxo-escuro); }
.pagina-card .cor { margin-left: auto; color: var(--suave); font-weight: 700; }
.pag-titulo { font-size: 1.2rem; margin: .2rem 0; }
.pag-instr { margin: 0 0 .5rem; color: var(--suave); }
.resumo { font-size: .85rem; background: var(--lilas-2); border-radius: 12px; padding: .6rem .8rem; margin-bottom: .7rem; }
.tag { display: inline-block; background: #fff; border: 1px solid var(--borda); border-radius: 8px; padding: 0 .4rem; margin: .1rem 0; font-weight: 800; font-size: .78rem; }
.tag.vermelha { color: var(--vermelho); }
.opcoes-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .7rem; }
.opcao-img { position: relative; aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; border: 3px solid transparent; background: var(--lilas-2); cursor: pointer; transition: transform .12s; }
.opcao-img:hover { transform: scale(1.02); }
.opcao-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.opcao-img.escolhida { border-color: var(--verde); box-shadow: 0 0 0 3px rgba(61,179,122,.25); }
.opcao-img.escolhida::after { content: '✔'; position: absolute; top: 8px; left: 8px; width: 30px; height: 30px; border-radius: 50%; background: var(--verde); color: #fff; display: grid; place-items: center; font-weight: 900; }
.opcao-img .zoom { position: absolute; bottom: 8px; right: 8px; border: 0; background: rgba(255,255,255,.92); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1rem; }
.carregando-img { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; color: var(--roxo-escuro); cursor: default; font-weight: 700; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 4px solid #D9CFFF; border-top-color: var(--roxo); animation: girar .9s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.nova-opcao { aspect-ratio: 2 / 3; border: 2px dashed #C9BBFF; background: var(--lilas-2); border-radius: 14px; color: var(--roxo-escuro); font: 800 .9rem 'Nunito', sans-serif; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; padding: .5rem; text-align: center; }
.nova-opcao span { font-size: 1.8rem; line-height: 1; }
.nova-opcao small { font-weight: 600; color: var(--suave); }
.nova-opcao:hover { border-color: var(--roxo); }
.sem-img { display: inline-block; margin-top: .5rem; font-size: .85rem; }
.sem-img.ativo { color: var(--verde); text-decoration: none; }
details.editar { margin-top: .8rem; border-top: 1px dashed var(--borda); padding-top: .7rem; }
details.editar label { display: flex; flex-direction: column; gap: .3rem; font-weight: 700; font-size: .88rem; margin-top: .7rem; }
.salvo { color: var(--verde); font-weight: 800; font-size: .85rem; }
.zona-perigo { text-align: center; margin-top: 2rem; }
.visor { position: fixed; inset: 0; z-index: 90; background: rgba(20, 14, 40, .85); display: grid; place-items: center; padding: 1rem; }
.visor img { max-height: 92vh; border-radius: 12px; background: #fff; }
.visor .fechar { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; font-size: 1.2rem; cursor: pointer; }

/* Assinatura */
.resumo-assinatura { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; }
.resumo-assinatura div { display: flex; flex-direction: column; }
.resumo-assinatura small { color: var(--suave); font-weight: 700; font-size: .8rem; }
.grande { font-family: var(--titulo); font-size: 1.8rem; color: var(--roxo-tinta); }
.status-pill { display: inline-block; font-weight: 800; font-size: .8rem; padding: .2rem .65rem; border-radius: 999px; background: #EEE; color: #555; white-space: nowrap; }
.status-pill.verde { background: #E3F7EC; color: #1E7A4D; } .status-pill.amarelo { background: #FFF3CC; color: #7A5A00; }
.cancelar-assinatura { text-align: center; margin-top: 1rem; }
.tabela-wrap { overflow-x: auto; padding: .5rem; }
.tabela { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tabela th { text-align: left; color: var(--suave); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; padding: .6rem; border-bottom: 2px solid var(--borda); }
.tabela td { padding: .6rem; border-bottom: 1px solid var(--borda); vertical-align: top; }
.tabela .dir { text-align: right; }
.tabela tr.clicavel { cursor: pointer; } .tabela tr.clicavel:hover { background: var(--lilas-2); }
.pos { color: #1E7A4D; font-weight: 800; } .neg { color: #B4282D; font-weight: 800; }

/* Admin */
.abas { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.abas a { text-decoration: none; padding: .55rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--borda); font-weight: 800; color: var(--texto); }
.abas a.ativo { background: var(--roxo); color: #fff; border-color: var(--roxo); }
.metricas { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.metrica { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 1rem 1.2rem; display: flex; flex-direction: column; box-shadow: var(--sombra); }
.metrica small { color: var(--suave); font-weight: 700; }
.metrica b { font-family: var(--titulo); font-size: 1.7rem; color: var(--roxo-tinta); }
.metrica span { font-size: .82rem; color: var(--suave); }
.log { white-space: pre-wrap; font-size: .78rem; margin: 0; max-height: 300px; overflow: auto; }
.busca { display: flex; gap: .5rem; margin-bottom: 1rem; max-width: 480px; }
.grade-planos-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.caixa-copiar { background: var(--lilas-2); border-radius: 12px; padding: .8rem; display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; }
.botoes-teste { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1rem 0; }
.lista-simples { padding-left: 1.1rem; margin: .3rem 0; }
.texto-longo { max-width: 780px; margin: 0 auto; }
.texto-longo h2 { margin-top: 1.4rem; }
.zona-perigo-box { margin-top: 1rem; }
.zona-perigo-box form { margin-top: 1rem; }

/* Celular */
@media (max-width: 820px) {
  .hamburguer { display: block; }
  .menu:not(.publico) { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--borda); padding: .6rem; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .menu:not(.publico).aberto { display: flex; }
  .menu:not(.publico) a { padding: .8rem 1rem; }
  .menu.publico a:not(.btn) { display: none; }
  .menu.publico a[href="entrar.php"] { display: inline-block; }
  .hero { grid-template-columns: 1fr; padding-top: 1rem; }
  .hero-arte { min-height: 300px; }
  .passos, .tipos-grade { grid-template-columns: 1fr 1fr; }
  .duas-colunas, .duas-colunas-largas { grid-template-columns: 1fr; }
  .barra-acoes { top: 62px; }
  .barra-botoes { width: 100%; }
  .barra-botoes .btn { flex: 1; padding: .7rem .8rem; font-size: .92rem; }
  .opcoes-grade { grid-template-columns: repeat(2, 1fr); }
  .marca span { font-size: 1.1rem; }
  .saldo small { display: none; }
}
@media (max-width: 420px) {
  .passos { grid-template-columns: 1fr; }
  .marca span { display: none; }
}

.aviso-mini { background: #FFF6DC; color: #7A5A00; border-radius: 10px; padding: .5rem .7rem; font-size: .85rem; margin: .7rem 0 0; }

/* Criativos */
.criativos-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: .8rem; }
.criativos-topo p { margin: 0; }
.criativos-grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: .6rem; }
.criativo-slot { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.criativo-img { aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--lilas-2); border: 1px solid var(--borda); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; color: var(--roxo-escuro); font-weight: 700; }
.criativo-img img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.criativo-img .vazio-ic { font-size: 2.6rem; opacity: .6; }
.criativo-mais { display: flex; gap: .3rem; }
.criativo-mais img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; cursor: zoom-in; border: 1px solid var(--borda); }
.criativo-botoes { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .3rem; }
@media (max-width: 820px) { .criativos-grade { grid-template-columns: 1fr; } .criativo-img { max-width: 360px; } }

.linha-botoes { display: flex; gap: .5rem; flex-wrap: wrap; }
.produto-loja textarea { font-size: .95rem; line-height: 1.5; }

.lista-produtos-admin { display: grid; gap: .7rem; }
.produto-admin { display: grid; grid-template-columns: 1fr 130px auto auto auto; gap: .8rem; align-items: center; margin: 0; padding: .9rem 1.1rem; }
.pa-nome { display: flex; flex-direction: column; min-width: 0; }
.botoes-pedido { display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; }
.chip.ativo-chip { background: var(--roxo); color: #fff; border-color: var(--roxo); }
a.chip { text-decoration: none; }
form.inline { display: inline; }
.excluir-cupom { margin-top: -.6rem; padding-left: .3rem; }
@media (max-width: 820px) { .produto-admin { grid-template-columns: 1fr 1fr; } .pa-nome { grid-column: 1 / -1; } }

/* v2.6 · domínio próprio */
.passos-dominio { margin-top: .6rem; }
.passos-dominio summary { cursor: pointer; padding: .4rem 0; }
.passos-dominio ol { padding-left: 1.2rem; display: grid; gap: .5rem; margin: .6rem 0; }
.passos-dominio code { background: #f2f2f2; padding: .1rem .35rem; border-radius: 6px; word-break: break-all; }
.codigo-bloco { background: #f6f6f6; border: 1px solid #ddd; border-radius: 10px; padding: .7rem; font-size: .75rem; white-space: pre-wrap; word-break: break-all; }
.passos-dominio ul { padding-left: 1.1rem; margin: .4rem 0; display: grid; gap: .35rem; }
