/* Evartes da Mari — estilo da loja e do painel.
   Paleta: roxo e rosa pastel, com toque de "costura" (tracejado) lembrando EVA recortado. */

:root {
  --roxo-900: #33204f;
  --roxo-800: #432a6e;
  --roxo-700: #56358a;
  --roxo-600: #6a46a0;
  --roxo-400: #9d82cf;
  --roxo-200: #ddd1f5;
  --roxo-100: #efe9fb;
  --roxo-50: #f7f3fd;
  --rosa-600: #c2547f;
  --rosa-500: #e48aac;
  --rosa-300: #f4acc2;
  --rosa-100: #fdebf3;
  --rosa-50: #fff6fa;
  --amarelo: #f3c766;
  --turquesa: #79b9c3;
  --turquesa-claro: #e2f2f4;
  --turquesa-escuro: #2e7d8a;
  --verde: #158a4a;
  --verde-claro: #e3f6eb;
  --whats: #1a9f53;
  --whats-escuro: #138544;
  --vermelho: #c43d4b;
  --vermelho-claro: #fdecee;
  --laranja-claro: #fff4df;

  --fundo: #fffbfd;
  --superficie: #ffffff;
  --texto: #2c2140;
  --texto-suave: #6b5f80;
  --borda: #ece3f4;

  --raio: 18px;
  --raio-p: 12px;
  --sombra: 0 1px 2px rgba(51, 32, 79, .06), 0 8px 24px rgba(51, 32, 79, .07);
  --sombra-forte: 0 2px 6px rgba(51, 32, 79, .08), 0 18px 40px rgba(51, 32, 79, .14);
  --fonte-titulo: "Fredoka", "Nunito", system-ui, sans-serif;
  --fonte: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --largura: 1180px;
  --margem: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--fonte); font-size: 16px; line-height: 1.55; color: var(--texto);
  background: var(--fundo); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--roxo-700); }
h1, h2, h3 { font-family: var(--fonte-titulo); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--roxo-900); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: -999px; top: 8px; background: var(--roxo-700); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.pular:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--roxo-400); outline-offset: 2px; }

.ic { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -.25em; }
.ic-mini { width: 1em; height: 1em; vertical-align: -.15em; }
.ic-coracao { color: var(--rosa-500); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; object-fit: cover; box-shadow: 0 2px 8px rgba(58, 37, 96, .18); }
.logo-texto { display: flex; flex-direction: column; line-height: 1; font-family: var(--fonte-titulo); }
.logo-texto b { font-weight: 700; font-size: 1.32rem; color: var(--roxo-700); letter-spacing: -.01em; }
.logo-texto i { font-style: normal; font-weight: 500; font-size: .86rem; color: var(--rosa-600); margin-top: 2px; letter-spacing: .04em; }
.logo-claro .logo-texto b { color: #fff; }
.logo-claro .logo-texto i { color: var(--rosa-300); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: .98rem; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-primario { background: var(--roxo-600); color: #fff; box-shadow: 0 6px 16px rgba(106, 70, 160, .3); }
.btn-primario:hover { background: var(--roxo-700); }
.btn-whats { background: var(--whats); color: #fff; box-shadow: 0 6px 16px rgba(26, 159, 83, .25); }
.btn-whats:hover { background: var(--whats-escuro); }
.btn-verde { background: var(--verde); color: #fff; }
.btn-suave { background: var(--roxo-100); color: var(--roxo-800); }
.btn-suave:hover { background: var(--roxo-200); }
.btn-contorno { background: rgba(255,255,255,.7); color: var(--roxo-700); border-color: var(--roxo-200); }
.btn-contorno:hover { border-color: var(--roxo-400); background: #fff; }
.btn-branco { background: #fff; color: var(--roxo-700); }
.btn-perigo { background: var(--vermelho); color: #fff; }
.btn-perigo-contorno { background: transparent; color: var(--vermelho); border-color: #f1c4c9; }
.btn-perigo-contorno:hover { background: var(--vermelho-claro); }
.btn-pequeno { min-height: 38px; padding: 6px 14px; font-size: .9rem; }
.btn-grande { min-height: 54px; padding: 12px 26px; font-size: 1.05rem; }
.btn-bloco { width: 100%; }
.btn-redondo { width: 46px; min-height: 46px; padding: 0; border-radius: 50%; }
.btn-redondo .ic { width: 24px; height: 24px; }

/* ---------- Topo ---------- */
.topo { position: sticky; top: 0; z-index: 30; background: rgba(255, 251, 253, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(236, 227, 244, .8); }
.topo-dentro { max-width: var(--largura); margin: 0 auto; padding: 10px var(--margem); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topo-marca { text-decoration: none; }
.topo-menu { display: flex; align-items: center; gap: 4px; }
.topo-menu > a:not(.btn) { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--texto); font-weight: 700; font-size: .95rem; }
.topo-menu > a:not(.btn):hover, .topo-menu > a[aria-current] { background: var(--roxo-100); color: var(--roxo-700); }
.topo-whats span { display: none; }
.topo-whats { width: 40px; padding: 0; }
.topo-simples .topo-dentro { justify-content: space-between; }
.selo-seguro { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--verde); background: var(--verde-claro); padding: 6px 12px; border-radius: 999px; }

@media (max-width: 380px) {
  .logo-img { width: 40px; height: 40px; border-radius: 12px; }
  .logo-texto b { font-size: 1.15rem; }
  .topo-menu > a:not(.btn) { padding: 8px 8px; }
}
@media (min-width: 760px) {
  .topo-whats { width: auto; padding: 6px 16px; }
  .topo-whats span { display: inline; }
  .topo-menu { gap: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(244, 182, 210, .55), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(221, 209, 245, .8), transparent 60%),
    radial-gradient(600px 400px at 60% 120%, rgba(121, 185, 195, .28), transparent 60%),
    linear-gradient(180deg, var(--rosa-50), var(--fundo));
}
.hero-dentro { max-width: var(--largura); margin: 0 auto; padding: 36px var(--margem) 16px; display: grid; gap: 20px; }
.hero-selo { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .82rem; letter-spacing: .02em; color: var(--rosa-600); background: #fff; padding: 6px 12px; border-radius: 999px; border: 1.5px dashed var(--rosa-300); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2rem, 7.4vw, 3.6rem); font-weight: 700; margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--roxo-600); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .02em; height: .32em; background: var(--rosa-300); opacity: .55; border-radius: 99px; z-index: -1; }
.hero-texto p { font-size: 1.1rem; color: var(--texto-suave); max-width: 34em; }
.hero-botoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.hero-botoes .btn { flex: 1 1 220px; }

.hero-arte { position: relative; height: 200px; max-width: 420px; width: 100%; margin: 0 auto; }
.hero-folha { position: absolute; border-radius: 28px; box-shadow: var(--sombra); }
.hero-folha::after { content: ""; position: absolute; inset: 9px; border: 2px dashed rgba(255,255,255,.75); border-radius: 20px; }
.folha-1 { width: 58%; height: 70%; left: 4%; top: 12%; background: var(--roxo-400); transform: rotate(-9deg); }
.folha-2 { width: 52%; height: 64%; right: 4%; top: 6%; background: var(--rosa-300); transform: rotate(8deg); }
.folha-3 { width: 40%; height: 46%; left: 32%; bottom: 0; background: var(--turquesa); transform: rotate(-3deg); opacity: .95; }
.hero-forma { position: absolute; filter: drop-shadow(0 6px 10px rgba(51,32,79,.15)); }
.forma-estrela { width: 56px; color: var(--roxo-600); right: 6%; bottom: 8%; transform: rotate(14deg); }
.forma-coracao { width: 54px; color: var(--rosa-500); left: 0; top: 0; transform: rotate(-12deg); }
.forma-nuvem { width: 92px; color: #fff; right: 22%; top: -2%; }
.hero-cartao { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-2deg); background: #fff; border-radius: 22px; padding: 14px 18px; display: flex; gap: 6px; box-shadow: var(--sombra-forte); }
.hero-letra { font-family: var(--fonte-titulo); font-weight: 700; font-size: 2.6rem; width: 58px; height: 64px; display: grid; place-items: center; border-radius: 14px; color: #fff; }
.l1 { background: var(--rosa-500); transform: rotate(-6deg); }
.l2 { background: var(--roxo-600); transform: translateY(4px); }
.l3 { background: var(--turquesa-escuro); transform: rotate(6deg); }

.passos { list-style: none; margin: 8px auto 0; padding: 0 var(--margem) 28px; max-width: var(--largura); display: grid; gap: 10px; }
.passos li { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.85); border: 1px solid var(--borda); border-radius: var(--raio); padding: 12px 14px; }
.passos li > span { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--turquesa-claro); color: var(--turquesa-escuro); font-family: var(--fonte-titulo); font-weight: 700; font-size: 1.1rem; border: 1.5px dashed var(--turquesa); }
.passos strong { display: block; font-size: .98rem; color: var(--roxo-900); }
.passos small { color: var(--texto-suave); font-size: .86rem; }

@media (min-width: 860px) {
  .hero-dentro { grid-template-columns: 1.15fr 1fr; align-items: center; padding-top: 64px; padding-bottom: 28px; gap: 40px; }
  .hero-arte { height: 340px; max-width: 460px; }
  .hero-letra { font-size: 3.2rem; width: 74px; height: 82px; }
  .passos { grid-template-columns: repeat(3, 1fr); padding-bottom: 48px; }
  .hero-botoes .btn { flex: 0 0 auto; }
}

/* ---------- Seções ---------- */
.secao { max-width: var(--largura); margin: 0 auto; padding: 36px var(--margem) 8px; }
.secao-compacta { padding-left: 0; padding-right: 0; }
.secao-topo { margin-bottom: 18px; }
.secao-topo h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); display: flex; align-items: center; gap: 8px; }
.secao-topo p { color: var(--texto-suave); max-width: 46em; margin: 0; }

/* Destaques (trilho que desliza no celular) */
.trilho { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 14px; margin: 0 -4px; scrollbar-width: thin; }
.destaque { scroll-snap-align: start; display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio); padding: 10px; text-decoration: none; color: inherit; box-shadow: var(--sombra); transition: transform .2s ease; }
.destaque:hover { transform: translateY(-2px); }
.destaque-imagem { aspect-ratio: 1; border-radius: var(--raio-p); overflow: hidden; background: var(--roxo-100); }
.destaque-imagem img, .destaque-imagem .arte { width: 100%; height: 100%; object-fit: cover; }
.destaque-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.destaque-info strong { font-family: var(--fonte-titulo); font-weight: 600; font-size: 1.08rem; color: var(--roxo-900); line-height: 1.2; }
.destaque-preco { font-size: .9rem; color: var(--texto-suave); font-weight: 700; }
@media (min-width: 760px) { .trilho { grid-auto-columns: minmax(300px, 1fr); } }

/* Mais pedidos */
.ranking { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ranking a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--superficie); border-radius: var(--raio); border: 1px solid var(--borda); text-decoration: none; color: inherit; }
.ranking a:hover { border-color: var(--rosa-300); }
.ranking-pos { font-family: var(--fonte-titulo); font-weight: 700; font-size: 1.4rem; color: var(--rosa-500); width: 26px; text-align: center; }
.ranking-img { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--roxo-100); }
.ranking-img img, .ranking-img .arte { width: 100%; height: 100%; object-fit: cover; }
.ranking-nome { display: flex; flex-direction: column; font-weight: 800; color: var(--roxo-900); min-width: 0; }
.ranking-nome small { font-weight: 600; color: var(--texto-suave); }
@media (min-width: 760px) { .ranking { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Filtros ---------- */
.filtros { display: grid; gap: 12px; margin-bottom: 8px; }
.busca { position: relative; display: block; }
.busca .ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--roxo-400); pointer-events: none; }
.busca input { width: 100%; min-height: 50px; border: 1.5px solid var(--borda); background: var(--superficie); border-radius: 999px; padding: 10px 18px 10px 48px; font-size: 1rem; box-shadow: var(--sombra); transition: border-color .15s; }
.busca input:focus { outline: none; border-color: var(--roxo-400); box-shadow: 0 0 0 4px var(--roxo-100); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--borda); background: var(--superficie); color: var(--texto); padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: .93rem; cursor: pointer; min-height: 42px; transition: all .15s; }
.chip small { font-size: .75rem; background: var(--roxo-50); color: var(--texto-suave); padding: 1px 7px; border-radius: 99px; }
.chip:hover { border-color: var(--roxo-200); }
.chip.ativo { background: var(--roxo-600); border-color: var(--roxo-600); color: #fff; }
.chip.ativo small { background: rgba(255,255,255,.22); color: #fff; }
.ordem select { min-height: 42px; border: 1.5px solid var(--borda); border-radius: 999px; padding: 6px 36px 6px 16px; background: var(--superficie) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%236a46a0' stroke-width='2.4' stroke-linecap='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; appearance: none; font-weight: 700; font-size: .93rem; color: var(--texto); cursor: pointer; }
.descricao-categoria { color: var(--texto-suave); font-size: .95rem; margin: 4px 0 14px; min-height: 0; }
.descricao-categoria:empty { margin: 0; }
@media (min-width: 860px) {
  .filtros { grid-template-columns: minmax(260px, 1fr) auto auto; align-items: center; }
  .chips { overflow: visible; flex-wrap: wrap; }
}

/* ---------- Grade de produtos ---------- */
.grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
@media (min-width: 640px) { .grade { gap: 18px; } }
@media (min-width: 900px) { .grade { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .grade { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.grade-item { display: flex; }

.cartao { flex: 1; display: flex; flex-direction: column; background: var(--superficie); border-radius: var(--raio); border: 1px solid var(--borda); overflow: hidden; box-shadow: var(--sombra); transition: transform .2s ease, box-shadow .2s ease; animation: surgir .35s ease both; }
.cartao:hover { transform: translateY(-3px); box-shadow: var(--sombra-forte); }
.cartao-imagem { position: relative; display: block; aspect-ratio: 1; background: var(--roxo-50); overflow: hidden; }
.cartao-imagem img, .cartao-imagem .arte { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cartao:hover .cartao-imagem img { transform: scale(1.04); }
.cartao-corpo { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cartao h3 { font-size: 1.02rem; margin: 2px 0 0; line-height: 1.25; }
.cartao h3 a { color: inherit; text-decoration: none; }
.cartao h3 a::after { content: ""; position: absolute; inset: 0; } /* cartão inteiro clicável */
.cartao { position: relative; }
.cartao-desc { display: none; color: var(--texto-suave); font-size: .9rem; margin: 0; }
.cartao-rodape { margin-top: auto; padding-top: 6px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.cartao-rodape .btn { position: relative; z-index: 1; }
.preco { display: flex; flex-direction: column; line-height: 1.1; }
.preco small { font-size: .74rem; color: var(--texto-suave); font-weight: 700; }
.preco-consulta strong { font-size: 1.02rem !important; color: var(--rosa-600) !important; }
.preco strong { font-family: var(--fonte-titulo); font-weight: 600; font-size: 1.18rem; color: var(--roxo-700); }
@media (min-width: 640px) {
  .cartao-corpo { padding: 16px; }
  .cartao h3 { font-size: 1.12rem; }
  .cartao-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .preco strong { font-size: 1.3rem; }
}
@keyframes surgir { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.etiqueta { align-self: flex-start; display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; background: var(--roxo-100); color: var(--roxo-700); }
.etiqueta-biblico { background: var(--roxo-100); color: var(--roxo-700); }
.etiqueta-pedagogico { background: var(--rosa-100); color: var(--rosa-600); }
.etiqueta-geral { background: var(--turquesa-claro); color: var(--turquesa-escuro); }
.selo { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,.94); color: var(--roxo-700); font-size: .74rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.selo .ic { width: 14px; height: 14px; color: var(--amarelo); }
.selo-quente { color: var(--rosa-600); }
.selo-quente .ic { color: var(--rosa-500); }

/* Arte para moldes ainda sem foto */
.arte { display: grid; place-items: center; width: 100%; height: 100%; aspect-ratio: 1; position: relative; overflow: hidden; }
.arte::before { content: ""; position: absolute; inset: 10%; border: 2px dashed rgba(255,255,255,.7); border-radius: 22%; }
.arte svg { width: 64%; height: 64%; position: relative; }
.arte-biblico { background: linear-gradient(135deg, #9d82cf, #6a46a0); }
.arte-pedagogico { background: linear-gradient(135deg, #f8c9dd, #e48aac); }
.arte-geral { background: linear-gradient(135deg, #a9d8de, #5fa7b3); }
.arte-grande { border-radius: var(--raio); }

/* Vazio */
.vazio { text-align: center; padding: 40px 20px; background: var(--superficie); border: 2px dashed var(--roxo-200); border-radius: var(--raio); margin-top: 12px; }
.vazio-arte { width: 64px; height: 64px; border-radius: 50%; background: var(--roxo-100); color: var(--roxo-600); display: grid; place-items: center; margin: 0 auto 12px; }
.vazio-arte .ic { width: 30px; height: 30px; }
.vazio p { color: var(--texto-suave); max-width: 30em; margin: 0 auto 16px; }
.vazio-pequeno { color: var(--texto-suave); font-size: .95rem; margin: 0; }

/* Faixa de chamada */
.faixa { padding: 40px var(--margem) 56px; }
.faixa-dentro { max-width: var(--largura); margin: 0 auto; background: linear-gradient(120deg, var(--roxo-700), var(--roxo-600) 50%, var(--rosa-500) 85%, var(--turquesa)); color: #fff; border-radius: 26px; padding: 28px 22px; display: grid; gap: 18px; position: relative; overflow: hidden; }
.faixa-dentro::before { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(255,255,255,.35); border-radius: 18px; pointer-events: none; }
.faixa h2 { color: #fff; font-size: clamp(1.4rem, 4.5vw, 2rem); }
.faixa p { margin: 0; opacity: .92; max-width: 36em; }
@media (min-width: 860px) { .faixa-dentro { grid-template-columns: 1fr auto; align-items: center; padding: 40px 48px; } }

/* ---------- Rodapé ---------- */
.rodape { background: var(--roxo-900); color: #d9cfee; padding: 40px var(--margem) 90px; }
.rodape-dentro { max-width: var(--largura); margin: 0 auto; display: grid; gap: 28px; }
.rodape-marca p { margin: 12px 0 0; max-width: 24em; font-size: .95rem; }
.rodape h2 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.rodape-col { display: flex; flex-direction: column; gap: 6px; }
.rodape-col a { color: #d9cfee; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; }
.rodape-col a:hover { color: #fff; }
.rodape-fim { max-width: var(--largura); margin: 28px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #a99bc5; }
@media (min-width: 760px) { .rodape-dentro { grid-template-columns: 2fr 1fr 1fr; } .rodape { padding-bottom: 40px; } }

.whats-flutuante { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--whats); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(26, 159, 83, .4); transition: transform .2s; }
.whats-flutuante:hover { transform: scale(1.06); }
.whats-flutuante .ic { width: 30px; height: 30px; }

/* ---------- Páginas internas ---------- */
.pagina { max-width: var(--largura); margin: 0 auto; padding: 18px var(--margem) 40px; }
.migalhas { font-size: .88rem; color: var(--texto-suave); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.migalhas a { color: var(--texto-suave); text-decoration: none; font-weight: 700; }
.migalhas a:hover { color: var(--roxo-700); }
.migalhas span[aria-current] { color: var(--roxo-900); font-weight: 700; }

.produto { display: grid; gap: 24px; }
@media (min-width: 900px) { .produto { grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; } .produto-info { position: sticky; top: 90px; } }
.galeria-palco { position: relative; border-radius: var(--raio); overflow: hidden; background: var(--roxo-50); box-shadow: var(--sombra); }
.galeria-trilho { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.galeria-trilho::-webkit-scrollbar { display: none; }
.galeria-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 1; }
.galeria-slide img { width: 100%; height: 100%; object-fit: cover; }
.galeria-contador { position: absolute; right: 12px; bottom: 12px; background: rgba(51,32,79,.72); color: #fff; font-size: .8rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; }
.galeria-miniaturas { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.galeria-mini { flex: 0 0 64px; height: 64px; padding: 0; border: 2.5px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: none; opacity: .7; }
.galeria-mini.ativa { border-color: var(--roxo-600); opacity: 1; }
.galeria-mini img { width: 100%; height: 100%; object-fit: cover; }

.produto-info h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); margin-top: 10px; }
.produto-preco { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.produto-preco small { color: var(--texto-suave); font-weight: 700; }
.produto-preco strong { font-family: var(--fonte-titulo); font-size: 2rem; font-weight: 600; color: var(--roxo-700); }
.produto-preco-consulta { flex-direction: column; align-items: flex-start; gap: 0; }
.produto-preco-consulta strong { font-size: 1.5rem; color: var(--rosa-600); }
.produto-desc { color: var(--texto); font-size: 1.02rem; margin-bottom: 20px; }
.produto-acoes { display: grid; gap: 10px; margin-bottom: 22px; }
@media (min-width: 520px) { .produto-acoes { grid-template-columns: 1.6fr 1fr; } }
.como-funciona { background: var(--roxo-50); border: 1.5px dashed var(--roxo-200); border-radius: var(--raio); padding: 18px 20px; }
.como-funciona h2 { font-size: 1.1rem; }
.como-funciona ol { margin: 0; padding-left: 1.2em; color: var(--texto-suave); display: grid; gap: 6px; }
.como-funciona strong { color: var(--roxo-900); }

/* Sobre */
.sobre { display: grid; gap: 24px; align-items: center; padding: 16px 0 8px; }
.sobre-moldura { max-width: 280px; margin: 0 auto; transform: rotate(-3deg); border-radius: 36px; overflow: hidden; box-shadow: var(--sombra-forte); outline: 3px dashed var(--turquesa); outline-offset: 8px; }
.sobre-moldura img { width: 100%; height: auto; }
.sobre-texto h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.sobre-texto p { font-size: 1.06rem; color: var(--texto-suave); }
@media (min-width: 860px) { .sobre { grid-template-columns: 1fr 1.5fr; gap: 56px; padding-top: 40px; } .sobre-moldura { max-width: 340px; } }
.valores { display: grid; gap: 14px; margin: 36px 0; }
.valor { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio); padding: 20px; box-shadow: var(--sombra); }
.valor h2 { font-size: 1.15rem; margin-top: 10px; }
.valor p { margin: 0; color: var(--texto-suave); }
.valor-icone { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--rosa-100); color: var(--rosa-600); }
.valor-icone .ic { width: 24px; height: 24px; }
@media (min-width: 760px) { .valores { grid-template-columns: repeat(3, 1fr); } }
.contato { text-align: center; background: linear-gradient(180deg, var(--rosa-50), var(--roxo-50)); border-radius: 26px; padding: 32px 20px; margin-bottom: 36px; }
.contato > p { color: var(--texto-suave); max-width: 32em; margin: 0 auto 20px; }
.contato-opcoes { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
@media (min-width: 640px) { .contato-opcoes { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.contato-cartao { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px; background: #fff; border-radius: var(--raio); text-decoration: none; color: var(--texto); border: 1px solid var(--borda); transition: transform .15s; }
.contato-cartao:hover { transform: translateY(-2px); }
.contato-cartao > span { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--roxo-100); color: var(--roxo-700); }
.contato-whats > span { background: var(--verde-claro); color: var(--whats); }
.contato-cartao small { color: var(--texto-suave); word-break: break-all; }
.contato-cidade { margin: 16px 0 0 !important; font-size: .92rem; }
.perguntas { max-width: 760px; margin: 0 auto; }
.perguntas h2 { text-align: center; margin-bottom: 16px; }
.perguntas details { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio-p); margin-bottom: 10px; }
.perguntas summary { cursor: pointer; padding: 16px 18px; font-weight: 800; color: var(--roxo-900); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: "+"; font-family: var(--fonte-titulo); font-size: 1.4rem; line-height: 1; color: var(--roxo-600); transition: transform .2s; }
.perguntas details[open] summary::after { transform: rotate(45deg); }
.perguntas details p { padding: 0 18px 16px; margin: 0; color: var(--texto-suave); }

.embalagem { display: grid; gap: 18px; align-items: center; background: var(--superficie); border: 1px solid var(--borda); border-radius: 26px; padding: 14px; margin-bottom: 36px; box-shadow: var(--sombra); }
.embalagem img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.embalagem div { padding: 4px 10px 10px; }
.embalagem p { color: var(--texto-suave); margin: 0; }
@media (min-width: 760px) { .embalagem { grid-template-columns: 1fr 1.2fr; padding: 18px; gap: 32px; } }

/* Fotos de verdade no topo da loja */
.hero-fotos { height: 300px; }
.hero-foto { position: absolute; display: block; border-radius: 24px; overflow: hidden; background: #fff; padding: 7px; box-shadow: var(--sombra-forte); transition: transform .3s ease; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.hero-foto::after { content: ""; position: absolute; inset: 13px; border: 2px dashed rgba(255,255,255,.85); border-radius: 13px; pointer-events: none; }
.hero-foto-1 { width: 54%; aspect-ratio: 1; left: 2%; top: 10%; transform: rotate(-7deg); z-index: 2; }
.hero-foto-2 { width: 50%; aspect-ratio: 1; right: 2%; top: 0; transform: rotate(6deg); z-index: 1; }
.hero-foto-3 { width: 44%; aspect-ratio: 1; left: 34%; bottom: 0; transform: rotate(-2deg); z-index: 3; }
.hero-foto:hover { transform: rotate(0) scale(1.03); z-index: 4; }
.hero-fotos .forma-coracao { z-index: 5; }
.hero-fotos .forma-estrela { z-index: 5; }
@media (min-width: 860px) { .hero-fotos { height: 420px; } }

/* Erro */
.pagina-erro { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.erro-codigo { font-family: var(--fonte-titulo); font-weight: 700; font-size: 5rem; line-height: 1; color: var(--rosa-300); display: block; margin-bottom: 8px; }
.erro-caixa p { color: var(--texto-suave); }
.erro-caixa .hero-botoes { justify-content: center; }
.erro-caixa .btn { flex: 0 0 auto; }

/* ---------- Pagamento ---------- */
.pagina-pagamento { background: linear-gradient(180deg, var(--rosa-50), var(--roxo-50) 60%, var(--fundo)); min-height: 100vh; }
.pagamento { max-width: 560px; margin: 0 auto; padding: 18px var(--margem) 40px; display: grid; gap: 16px; }
.pagamento > section { background: var(--superficie); border-radius: 22px; padding: 22px 20px; box-shadow: var(--sombra); border: 1px solid var(--borda); }
.pg-codigo { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .06em; color: var(--roxo-700); background: var(--roxo-100); padding: 4px 10px; border-radius: 99px; margin-bottom: 12px; }
.pg-resumo h1 { font-size: 1.7rem; }
.pg-ola { color: var(--texto-suave); }
.pg-detalhes { margin: 0; display: grid; gap: 0; }
.pg-detalhes > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--borda); }
.pg-detalhes dt { color: var(--texto-suave); font-weight: 700; font-size: .92rem; flex-shrink: 0; }
.pg-detalhes dd { margin: 0; text-align: right; font-weight: 700; overflow-wrap: anywhere; }
.pg-detalhes .pg-descricao { flex-direction: column; gap: 4px; }
.pg-detalhes .pg-descricao dd { text-align: left; font-weight: 600; }
.pg-total { border-bottom: 0 !important; align-items: center; }
.pg-total dt { font-size: 1rem; color: var(--roxo-900); }
.pg-total dd { font-family: var(--fonte-titulo); font-size: 1.9rem; font-weight: 600; color: var(--roxo-700); }
.pg-metodos h2, .pg-depois h2 { font-size: 1.25rem; }
.pg-depois p { color: var(--texto-suave); }
.pg-depois .btn + .btn { margin-top: 10px; }
.pagamento > .pg-aviso { margin: 0; }
.pg-aviso { background: var(--laranja-claro); padding: 12px 14px; border-radius: var(--raio-p); color: #7a5413; }
.pg-rodape { text-align: center; color: var(--texto-suave); font-size: .85rem; margin: 4px 0 0; }
.pg-sucesso { text-align: center; padding: 6px 0 14px; }
.pg-sucesso-icone { width: 72px; height: 72px; border-radius: 50%; background: var(--verde-claro); color: var(--verde); display: grid; place-items: center; margin: 0 auto 12px; animation: pulo .5s ease; }
.pg-sucesso-icone .ic { width: 36px; height: 36px; }
.pg-sucesso p { color: var(--texto-suave); }
@keyframes pulo { 0% { transform: scale(.4); } 70% { transform: scale(1.1); } 100% { transform: scale(1); } }

.abas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.abas > input { position: absolute; opacity: 0; pointer-events: none; }
.abas > label { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border: 2px solid var(--borda); border-radius: var(--raio-p); cursor: pointer; font-weight: 800; color: var(--texto); background: var(--superficie); transition: all .15s; text-align: center; }
.abas > label .ic { width: 26px; height: 26px; color: var(--roxo-400); margin-bottom: 2px; }
.abas > label small { font-weight: 600; font-size: .75rem; color: var(--texto-suave); }
.abas > input:checked + label { border-color: var(--roxo-600); background: var(--roxo-50); color: var(--roxo-700); box-shadow: 0 0 0 3px var(--roxo-100); }
.abas > input:checked + label .ic { color: var(--roxo-600); }
.abas > input:focus-visible + label { outline: 3px solid var(--roxo-400); outline-offset: 2px; }
.aba { grid-column: 1 / -1; display: none; padding-top: 14px; }
.aba h3 { font-size: 1.1rem; }
.aba p { color: var(--texto-suave); }
#m-pix:checked ~ .aba-pix, #m-cartao:checked ~ .aba-cartao, #m-boleto:checked ~ .aba-boleto { display: block; animation: surgir .25s ease; }
.pix { display: grid; gap: 16px; align-items: center; margin-bottom: 14px; }
.pix-qr { background: #fff; border: 2px solid var(--roxo-100); border-radius: var(--raio); padding: 10px; width: 220px; max-width: 100%; margin: 0 auto; }
.pix-qr svg { width: 100%; height: auto; display: block; }
.pix-qr-pequeno { width: 130px; margin: 0; }
.pix-texto ol { margin: 0; padding-left: 1.2em; color: var(--texto-suave); display: grid; gap: 4px; }
.pix-texto strong { color: var(--roxo-900); }
.so-celular { display: inline; }
@media (min-width: 520px) { .pix { grid-template-columns: auto 1fr; } .pix-qr { width: 200px; margin: 0; } }
.copiar { display: flex; gap: 8px; }
.copiar input { flex: 1; min-width: 0; min-height: 48px; border: 1.5px solid var(--borda); border-radius: var(--raio-p); padding: 8px 12px; font-family: ui-monospace, Consolas, monospace; font-size: .82rem; background: var(--roxo-50); color: var(--texto-suave); }
.copiar .btn { flex-shrink: 0; border-radius: var(--raio-p); }

/* ---------- Avisos (toasts) e janela de confirmação ---------- */
.avisos { position: fixed; left: 50%; transform: translateX(-50%); top: 14px; z-index: 200; display: grid; gap: 8px; width: min(440px, calc(100% - 24px)); pointer-events: none; }
.aviso { pointer-events: auto; display: flex; align-items: center; gap: 10px; background: var(--roxo-900); color: #fff; padding: 12px 12px 12px 14px; border-radius: 16px; box-shadow: var(--sombra-forte); animation: aviso-entra .3s ease both; font-weight: 700; font-size: .95rem; }
.aviso.saindo { animation: aviso-sai .25s ease both; }
.aviso-icone { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: #3ccf7f; color: var(--roxo-900); }
.aviso-icone .ic { width: 16px; height: 16px; }
.aviso-erro .aviso-icone { background: #ff8f9b; }
.aviso > span:nth-child(2) { flex: 1; }
.aviso-fechar { background: none; border: 0; color: #cbbde6; cursor: pointer; padding: 4px; border-radius: 8px; display: grid; }
.aviso-fechar .ic { width: 18px; height: 18px; }
@keyframes aviso-entra { from { opacity: 0; transform: translateY(-12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes aviso-sai { to { opacity: 0; transform: translateY(-10px); } }

.janela { border: 0; padding: 0; background: transparent; max-width: min(420px, calc(100% - 32px)); width: 100%; }
.janela::backdrop { background: rgba(51, 32, 79, .45); backdrop-filter: blur(3px); }
.janela[open] { animation: aviso-entra .2s ease; }
.janela-caixa { background: var(--superficie); border-radius: 22px; padding: 24px; box-shadow: var(--sombra-forte); }
.janela-caixa h2 { font-size: 1.3rem; }
.janela-caixa p { color: var(--texto-suave); }
.janela-botoes { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 8px; }
.janela-botoes .btn { flex: 1 1 140px; }

/* ===================================================================
   PAINEL (/admin)
   =================================================================== */
.painel-adm { background: #faf7fd; }
.lateral { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--borda); padding-bottom: env(safe-area-inset-bottom); }
.lateral-marca, .lateral-fim { display: none; }
.lateral-menu { display: grid; grid-template-columns: repeat(4, 1fr); }
.lateral-menu a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 8px; font-size: .74rem; font-weight: 800; color: var(--texto-suave); text-decoration: none; }
.lateral-menu a .ic { width: 24px; height: 24px; }
.lateral-menu a[aria-current] { color: var(--roxo-700); }
.lateral-menu a[aria-current] .ic { background: var(--roxo-100); border-radius: 99px; padding: 2px 14px; width: 52px; box-sizing: content-box; height: 22px; margin: -2px 0 0; }
.adm { max-width: 1100px; margin: 0 auto; padding: 18px var(--margem) 100px; }
.adm-topo { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.adm-topo h1 { font-size: clamp(1.5rem, 5vw, 2rem); margin: 0; overflow-wrap: anywhere; }
.adm-topo-acoes { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.voltar { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .9rem; text-decoration: none; color: var(--texto-suave); margin-bottom: 6px; }
.voltar:hover { color: var(--roxo-700); }
.intro { color: var(--texto-suave); max-width: 46em; }
.some-celular { display: none; }

@media (min-width: 900px) {
  .lateral { top: 0; right: auto; bottom: 0; width: 248px; border-top: 0; border-right: 1px solid var(--borda); display: flex; flex-direction: column; padding: 22px 16px; background: #fff; }
  .lateral-marca { display: flex; flex-direction: column; gap: 6px; text-decoration: none; padding: 0 8px 22px; }
  .lateral-marca small { color: var(--texto-suave); font-weight: 700; padding-left: 50px; margin-top: -4px; font-size: .8rem; }
  .lateral-menu { display: flex; flex-direction: column; gap: 4px; }
  .lateral-menu a { flex-direction: row; gap: 12px; padding: 12px 14px; font-size: .98rem; border-radius: 14px; color: var(--texto); }
  .lateral-menu a:hover { background: var(--roxo-50); }
  .lateral-menu a[aria-current] { background: var(--roxo-100); }
  .lateral-menu a[aria-current] .ic { background: none; padding: 0; width: 24px; height: 24px; margin: 0; }
  .lateral-fim { display: flex; flex-direction: column; gap: 4px; margin-top: auto; border-top: 1px solid var(--borda); padding-top: 12px; }
  .lateral-fim a, .lateral-fim button { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; font-weight: 700; color: var(--texto-suave); text-decoration: none; background: none; border: 0; cursor: pointer; width: 100%; font-size: .95rem; }
  .lateral-fim a:hover, .lateral-fim button:hover { background: var(--roxo-50); color: var(--roxo-700); }
  .adm { margin-left: 248px; padding: 32px 36px 60px; max-width: none; }
  .adm > * { max-width: 1060px; }
  .some-celular { display: inline; }
}

.bloco { background: var(--superficie); border-radius: var(--raio); border: 1px solid var(--borda); padding: 20px; box-shadow: 0 1px 2px rgba(51,32,79,.04); margin-bottom: 16px; min-width: 0; }
.bloco h2 { font-size: 1.15rem; display: flex; align-items: center; gap: 8px; }
.bloco h2 em, .campo-rotulo em { font-style: normal; font-weight: 600; color: var(--texto-suave); font-size: .85em; }
.h2-separado { margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--borda); }
.bloco-topo { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.bloco-topo a { font-weight: 800; font-size: .9rem; text-decoration: none; }
.colunas, .form-colunas { display: grid; gap: 16px; }
.colunas > .bloco, .form-colunas > .bloco { margin-bottom: 0; }
.form-colunas { margin-bottom: 16px; }
@media (min-width: 1000px) { .colunas { grid-template-columns: 1fr 1fr; } .form-colunas { grid-template-columns: 1.2fr 1fr; align-items: start; } }

.numeros { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
@media (min-width: 1000px) { .numeros { grid-template-columns: repeat(4, 1fr); } }
.numero { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio); padding: 16px; display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: inherit; position: relative; overflow: hidden; min-width: 0; }
.numero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--roxo-400); }
.numero-rosa::before { background: var(--rosa-500); }
.numero-verde::before { background: #3ccf7f; }
.numero-lilas::before { background: var(--turquesa); }
.numero small { font-weight: 800; color: var(--texto-suave); font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }
.numero strong { font-family: var(--fonte-titulo); font-size: clamp(1.3rem, 5vw, 1.8rem); font-weight: 600; color: var(--roxo-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.numero span { font-size: .84rem; color: var(--texto-suave); }
a.numero:hover { border-color: var(--roxo-200); }

.primeiros-passos { background: linear-gradient(120deg, var(--roxo-50), var(--rosa-50)); border-style: dashed; border-color: var(--roxo-200); }
.primeiros-passos > p { color: var(--texto-suave); margin-bottom: 10px; }
.primeiros-passos ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.primeiros-passos li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.primeiros-passos li a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.primeiros-passos .check { width: 26px; height: 26px; border-radius: 50%; border: 2px dashed var(--roxo-400); display: grid; place-items: center; color: transparent; flex-shrink: 0; background: #fff; }
.primeiros-passos .check .ic { width: 15px; height: 15px; }
.primeiros-passos .feito { color: var(--texto-suave); text-decoration: line-through; }
.primeiros-passos .feito .check { background: var(--verde); border: 0; color: #fff; }

.lista { list-style: none; margin: 0; padding: 0; }
.lista li + li { border-top: 1px solid var(--borda); }
.lista a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; text-decoration: none; color: inherit; border-radius: 10px; }
.lista a:hover { background: var(--roxo-50); }
.lista-principal { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lista-principal strong { color: var(--roxo-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lista-principal small { color: var(--texto-suave); font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lista-meta { font-size: .78rem !important; }
.lista-lado { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.lista-lado strong { font-family: var(--fonte-titulo); font-weight: 600; color: var(--roxo-900); }
.lista-lado small { color: var(--texto-suave); font-size: .78rem; }
.lista-img { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--roxo-50); }
.lista-img img, .lista-img .arte { width: 100%; height: 100%; object-fit: cover; }
.lista-cartoes { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio); padding: 4px 10px; }
.resumo-lista { color: var(--texto-suave); font-size: .92rem; margin: 0 0 8px; }

.status { display: inline-block; font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.status-pendente { background: var(--laranja-claro); color: #8a5a06; }
.status-paga { background: var(--verde-claro); color: var(--verde); }
.status-cancelada { background: #eeeaf2; color: #6d6378; }
.adm-topo-acoes .status { font-size: .85rem; padding: 6px 12px; }

.abas-filtro { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 12px; scrollbar-width: none; }
.abas-filtro a { flex-shrink: 0; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: .92rem; color: var(--texto-suave); background: var(--superficie); border: 1.5px solid var(--borda); }
.abas-filtro a small { font-size: .75rem; opacity: .8; }
.abas-filtro a[aria-current] { background: var(--roxo-600); border-color: var(--roxo-600); color: #fff; }
.barra-busca { margin-bottom: 14px; }
.barra-busca .busca input { box-shadow: none; min-height: 46px; }

.moldes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.molde { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio); padding: 10px; }
.molde-oculto { opacity: .62; }
.molde-img { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--roxo-50); }
.molde-img img, .molde-img .arte { width: 100%; height: 100%; object-fit: cover; }
.molde-info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.molde-info a { text-decoration: none; color: var(--roxo-900); }
.molde-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: .84rem; color: var(--texto-suave); font-weight: 700; }
.molde-acoes { grid-column: 1 / -1; display: flex; gap: 6px; justify-content: flex-end; border-top: 1px dashed var(--borda); padding-top: 8px; }
@media (min-width: 700px) { .molde { grid-template-columns: 64px 1fr auto; } .molde-acoes { grid-column: auto; border: 0; padding: 0; } }
.icone-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1.5px solid var(--borda); background: var(--superficie); color: var(--texto-suave); cursor: pointer; text-decoration: none; }
.icone-btn:hover { border-color: var(--roxo-200); color: var(--roxo-700); background: var(--roxo-50); }
.icone-btn.ligado { color: #d29710; background: #fff7df; border-color: #f3dd9b; }
.icone-btn.perigo:hover { color: var(--vermelho); background: var(--vermelho-claro); border-color: #f1c4c9; }

/* Formulários */
.formulario { display: block; }
.campo { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.campo-rotulo { font-weight: 800; font-size: .92rem; color: var(--roxo-900); }
.campo input, .campo select, .campo textarea, .dinheiro {
  width: 100%; min-height: 48px; border: 1.5px solid #e2d8ee; border-radius: var(--raio-p); padding: 10px 14px; background: #fff; font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.campo textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.campo select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%236a46a0' stroke-width='2.4' stroke-linecap='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; padding-right: 40px; }
.campo input:focus, .campo select:focus, .campo textarea:focus, .dinheiro:focus-within { outline: none; border-color: var(--roxo-400); box-shadow: 0 0 0 4px var(--roxo-100); }
.dinheiro { display: flex; align-items: center; gap: 8px; padding: 0 14px; }
.dinheiro > span { font-weight: 800; color: var(--texto-suave); }
.dinheiro input { border: 0 !important; box-shadow: none !important; padding: 0; min-height: 44px; background: transparent; }
.dinheiro-grande { min-height: 60px; }
.dinheiro-grande input { font-family: var(--fonte-titulo); font-size: 1.6rem; font-weight: 600; color: var(--roxo-700); }
.campo-valor { max-width: 320px; }
.campo-ajuda { font-size: .85rem; color: var(--texto-suave); }
.campo-erro { color: var(--vermelho); font-size: .88rem; font-weight: 700; margin: 0; }
.com-erro input, .com-erro select, .com-erro textarea, .com-erro .dinheiro, .soltar-fotos.com-erro { border-color: var(--vermelho) !important; }
.campo-linha { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .campo-linha { grid-template-columns: 1fr 1fr; } }
.senha { position: relative; display: block; }
.senha input { padding-right: 52px; }
.senha-ver { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 40px; border: 0; background: none; color: var(--texto-suave); cursor: pointer; border-radius: 10px; display: grid; place-items: center; }

.interruptor { display: flex; align-items: center; gap: 12px; padding: 12px 0; cursor: pointer; border-top: 1px dashed var(--borda); }
.interruptor input { position: absolute; opacity: 0; }
.interruptor-bola { flex-shrink: 0; width: 48px; height: 28px; border-radius: 99px; background: #d9d1e3; position: relative; transition: background .2s; }
.interruptor-bola::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.interruptor input:checked + .interruptor-bola { background: var(--roxo-600); }
.interruptor input:checked + .interruptor-bola::after { transform: translateX(20px); }
.interruptor input:focus-visible + .interruptor-bola { outline: 3px solid var(--roxo-400); outline-offset: 2px; }
.interruptor strong { display: block; color: var(--roxo-900); }
.interruptor small { color: var(--texto-suave); font-size: .85rem; }

.soltar-fotos { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 24px 16px; border: 2px dashed var(--roxo-200); border-radius: var(--raio); background: var(--roxo-50); cursor: pointer; text-align: center; position: relative; transition: all .15s; margin-top: 10px; }
.soltar-fotos:hover, .soltar-fotos.arrastando { border-color: var(--roxo-600); background: var(--roxo-100); }
.soltar-fotos input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.soltar-icone { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--roxo-600); display: grid; place-items: center; margin-bottom: 6px; box-shadow: var(--sombra); }
.soltar-icone .ic { width: 26px; height: 26px; }
.soltar-fotos strong { color: var(--roxo-700); }
.soltar-fotos small { color: var(--texto-suave); }
.fotos-atuais, .fotos-previas { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.fotos-previas:empty { display: none; }
.fotos-atuais li, .fotos-previas li { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--roxo-50); border: 1px solid var(--borda); }
.fotos-atuais img, .fotos-previas img { width: 100%; height: 100%; object-fit: cover; }
.fotos-previas li::after { content: "nova"; position: absolute; left: 6px; top: 6px; background: var(--roxo-600); color: #fff; font-size: .7rem; font-weight: 800; padding: 2px 8px; border-radius: 99px; }
.foto-capa { position: absolute; left: 6px; top: 6px; background: var(--rosa-500); color: #fff; font-size: .7rem; font-weight: 800; padding: 2px 8px; border-radius: 99px; }
.foto-acoes { position: absolute; right: 4px; bottom: 4px; display: flex; gap: 4px; }
.foto-acoes .icone-btn { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.95); }
.foto-link { margin-top: 14px; }
.foto-link summary { cursor: pointer; font-weight: 700; color: var(--roxo-700); font-size: .92rem; margin-bottom: 10px; }

.barra-salvar { position: sticky; bottom: 70px; z-index: 10; display: flex; justify-content: flex-end; gap: 10px; padding: 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border: 1px solid var(--borda); border-radius: var(--raio); box-shadow: var(--sombra-forte); margin-bottom: 16px; }
.barra-salvar .btn-grande { flex: 1; min-width: 0; }
@media (max-width: 520px) { .barra-salvar .btn-suave { display: none; } }
@media (min-width: 900px) { .barra-salvar { bottom: 16px; } .barra-salvar .btn-grande { flex: 0 0 auto; } }
.zona-perigo { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-color: #f4d6da; }
.zona-perigo p { color: var(--texto-suave); margin: 0; max-width: 40em; }

.alerta { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--raio-p); font-weight: 600; font-size: .95rem; margin: 0 0 16px; }
.alerta-erro { background: var(--vermelho-claro); color: #8f2430; }
.alerta-ok { background: var(--verde-claro); color: #0f6b39; }
.alerta-aviso { background: var(--laranja-claro); color: #7a5413; margin-top: 14px; display: block; }
.alerta-info { background: var(--roxo-50); color: var(--roxo-900); flex-direction: column; gap: 4px; border: 1px dashed var(--roxo-200); }
.alerta code { background: #fff; padding: 1px 6px; border-radius: 6px; font-size: .9em; }

.bloco-link .copiar { margin-bottom: 12px; }
.botoes-linha { display: flex; flex-wrap: wrap; gap: 10px; }
.botoes-linha .btn { flex: 1 1 200px; }
.linha-tempo { list-style: none; margin: 22px 0 0; padding: 0 0 0 6px; }
.linha-tempo li { position: relative; padding: 0 0 16px 28px; display: flex; flex-direction: column; }
.linha-tempo li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; border: 2px dashed var(--roxo-200); background: #fff; }
.linha-tempo li::after { content: ""; position: absolute; left: 8px; top: 22px; bottom: 0; width: 2px; background: var(--borda); }
.linha-tempo li:last-child::after { display: none; }
.linha-tempo li.feito::before { background: var(--roxo-600); border: 0; }
.linha-tempo strong { color: var(--roxo-900); }
.linha-tempo li:not(.feito) strong { color: var(--texto-suave); }
.linha-tempo small { color: var(--texto-suave); }
.acoes-status { display: grid; gap: 10px; margin-top: 18px; }

.pix-teste { display: flex; gap: 14px; align-items: center; background: var(--roxo-50); padding: 12px; border-radius: var(--raio-p); flex-wrap: wrap; }
.pix-teste div:last-child { flex: 1 1 180px; }
.pix-teste p { margin: 4px 0 0; font-size: .88rem; color: var(--texto-suave); }
.form-senha { display: grid; gap: 0 14px; }
.conta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.conta .botoes-linha form { flex: 1 1 200px; display: flex; }
.conta .botoes-linha form .btn { flex: 1; }
@media (min-width: 900px) { .form-senha { grid-template-columns: repeat(3, 1fr) auto; align-items: end; } .form-senha .btn { margin-bottom: 16px; } }

/* Tela de login */
.pagina-entrar { background: radial-gradient(800px 400px at 100% 0, rgba(244,182,210,.5), transparent 60%), radial-gradient(700px 500px at 0 100%, rgba(221,209,245,.9), transparent 60%), var(--fundo); }
.entrar { min-height: 100vh; display: grid; place-items: center; padding: 24px var(--margem); }
.entrar-caixa { width: 100%; max-width: 400px; background: #fff; border-radius: 26px; padding: 28px 24px; box-shadow: var(--sombra-forte); position: relative; }
.entrar-caixa::before { content: ""; position: absolute; inset: 8px; border: 2px dashed var(--roxo-100); border-radius: 20px; pointer-events: none; }
.entrar-logo { display: inline-block; margin-bottom: 18px; text-decoration: none; }
.entrar-caixa h1 { font-size: 1.6rem; margin-bottom: 4px; }
.entrar-sub { color: var(--texto-suave); margin-bottom: 20px; }
.entrar-voltar { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; color: var(--texto-suave); text-decoration: none; font-size: .9rem; }
