/* Marca Dolce Gusto (manual 2021): preto #201E1E, bege #E2CEC6, Source Serif + Source Sans.
   Visual de confeitaria premium: fundo creme, superfícies brancas com sombras suaves, títulos em serifa.
   As cores vivas vêm das categorias e dos tipos de evento, para o cliente se orientar só de olhar. */
:root {
  --preto: #201e1e; --preto-2: #2c2828; --bege: #e2cec6; --bege-claro: #f5ece8; --bege-medio: #ead9d2;
  --fundo: #faf6f3; --branco: #fff; --texto: #201e1e; --suave: #655d5a; --linha: #ece2dd; --linha-forte: #ddcfc9;
  --ok: #2f7d4f; --ok-fundo: #e9f5ee; --aviso: #8f5d00; --aviso-fundo: #fff5df; --erro: #b3261e; --erro-fundo: #fdeeed;
  --destaque: #8a5d44; /* cobre suave, derivado do bege da marca: foco e passo atual */
  --raio: 18px; --raio-p: 12px;
  --sombra: 0 1px 2px rgba(32, 30, 30, .04), 0 4px 16px rgba(32, 30, 30, .06);
  --sombra-alta: 0 2px 4px rgba(32, 30, 30, .05), 0 12px 32px rgba(32, 30, 30, .12);
  --serifa: "Source Serif 4", Georgia, serif; --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-bottom: 10rem; } /* foco nunca fica escondido atrás da barra de baixo */
body { margin: 0; background: var(--fundo); color: var(--texto); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serifa); font-weight: 600; margin: 0 0 .45rem; line-height: 1.18; letter-spacing: -.01em; }
h1 { font-size: 2.1rem; } h2 { font-size: 1.4rem; } h3 { font-size: 1.12rem; }
p { margin: 0 0 .8rem; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.sub { color: var(--suave); }
.pequeno { font-size: .88rem; color: var(--suave); }
[hidden] { display: none !important; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.sobretitulo { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--destaque); margin-bottom: .35rem; }

/* topo */
.topo { background: var(--bege); color: var(--preto); padding: .7rem 16px; padding: .7rem max(16px, calc((100% - 1100px) / 2)); display: flex; align-items: center; gap: .5rem 1rem; flex-wrap: wrap;
  border-bottom: 1px solid var(--linha-forte); position: relative; z-index: 2; }
.topo .marca { display: flex; align-items: center; gap: .85rem; color: var(--preto); text-decoration: none; }
.topo img { width: 44px; display: block; border-radius: 3px; }
.topo .marca b { font-family: var(--serifa); font-weight: 500; font-size: 1.15rem; display: block; line-height: 1.1; color: var(--preto); }
.topo .marca small { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--preto); opacity: .7; }
.topo .dir { margin-left: auto; display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: center; font-size: .9rem; min-width: 0; }
.topo .dir a, .topo .dir button { white-space: nowrap; color: var(--preto); background: none; border: 0; cursor: pointer; text-decoration: none; padding: .35rem .2rem;
  border-bottom: 1px solid rgba(32, 30, 30, .35); }
.topo .dir a:hover, .topo .dir button:hover { color: #000; border-color: #000; }
/* topo do site do cliente: escuro, continua o fundo da apresentação (nada de faixa rosa solta) */
.topo-cliente { background: var(--preto); color: var(--bege); border-bottom: 1px solid rgba(226, 206, 198, .16); padding-top: .85rem; padding-bottom: .85rem; gap: .5rem 1.4rem; }
.topo-cliente .marca { gap: 1rem; }
.topo-cliente img { width: 52px; border-radius: 6px; }
.topo-cliente .marca b { color: #fff; font-size: 1.45rem; font-weight: 600; letter-spacing: .01em; }
.topo-cliente .marca small { color: var(--bege); opacity: .85; font-size: .66rem; letter-spacing: .22em; }
.topo-titulo { font-family: var(--serifa); font-style: italic; font-weight: 500; font-size: 1.85rem; color: #fff; padding-left: 1.4rem; border-left: 1px solid rgba(226, 206, 198, .35); line-height: 1.2; }
.topo-cliente .dir a, .topo-cliente .dir button { color: var(--bege); border-bottom-color: rgba(226, 206, 198, .45); }
.topo-cliente .dir a:hover, .topo-cliente .dir button:hover { color: #fff; border-color: #fff; }
.faixa-interna { background: var(--aviso-fundo); color: #6f4a00; text-align: center; font-size: .9rem; padding: .45rem 16px; font-weight: 600; }

/* apresentação (1º passo do cliente) */
.hero { background: radial-gradient(120% 140% at 85% 0%, #3a3232 0%, var(--preto) 55%); color: var(--bege); padding: 2.6rem 16px 4.6rem; }
.hero .dentro { max-width: 1100px; margin: 0 auto; display: grid; gap: 2rem; grid-template-columns: 1.3fr 1fr; align-items: end; }
.hero h1, .hero .hero-titulo { color: #fff; font-size: 2.4rem; font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 500; margin-bottom: .7rem; }
.hero h1 em, .hero .hero-titulo em { font-style: italic; color: var(--bege); }
.hero p { color: rgba(226, 206, 198, .85); max-width: 560px; font-size: 1.05rem; }
.hero .sobretitulo { color: var(--bege); opacity: .8; }
.vantagens { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.vantagens li { display: flex; gap: .75rem; align-items: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(226, 206, 198, .16);
  border-radius: 14px; padding: .7rem .9rem; color: #f3e9e5; font-size: .95rem; }
.vantagens .ic { width: 22px; height: 22px; color: var(--bege); }
.hero:not([hidden]) + .pagina { margin-top: -3.2rem; position: relative; }
@media (max-width: 760px) { .hero .dentro { grid-template-columns: 1fr; gap: 1rem; } .hero { padding: 1.6rem 16px 4rem; } .hero p { font-size: .98rem; margin: 0; }
  .vantagens { display: flex; flex-wrap: wrap; gap: .4rem; } .vantagens li { font-size: .8rem; padding: .35rem .65rem; border-radius: 99px; gap: .4rem; } .vantagens .ic { width: 16px; height: 16px; }
  .vantagens li:first-child { display: none; } }

.pagina { max-width: 1100px; margin: 0 auto; padding: 1.8rem 16px 9rem; }
.pagina > h2 { margin: 1.8rem 0 .9rem; }
.pagina > h1 + h2 { margin-top: 1.2rem; }
.pagina > h1 + .sub { margin-bottom: 1.3rem; }

/* passos */
.passos { display: flex; margin: 0 0 2rem; padding: 0; list-style: none; counter-reset: passo; }
.passos li { flex: 1; text-align: center; font-size: .82rem; color: var(--suave); position: relative; counter-increment: passo; font-weight: 600; }
.passos li::before { content: counter(passo); display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto .45rem; border-radius: 50%;
  background: var(--branco); border: 1.5px solid var(--linha-forte); color: var(--suave); font-weight: 700; font-size: .9rem; position: relative; z-index: 1; transition: all .2s; }
.passos li::after { content: ""; position: absolute; top: 17px; left: calc(50% + 22px); right: calc(-50% + 22px); height: 2px; background: var(--linha-forte); border-radius: 2px; }
.passos li:last-child::after { display: none; }
.passos li.feito::before { content: "✓"; background: var(--preto); border-color: var(--preto); color: var(--bege); }
.passos li.feito::after { background: var(--preto); }
.passos li.atual { color: var(--texto); }
.passos li.atual::before { background: var(--bege); border-color: var(--preto); color: var(--preto); box-shadow: 0 0 0 5px rgba(226, 206, 198, .55); }
.passos li span { display: block; }
.hero:not([hidden]) + .pagina .passos { background: var(--branco); border-radius: var(--raio); box-shadow: var(--sombra-alta); padding: 1.1rem .6rem .9rem; }
@media (max-width: 560px) {
  .passos li { font-size: .72rem; } .passos li span { display: none; } .passos li.atual span { display: block; white-space: nowrap; }
  .passos li::before { width: 30px; height: 30px; } .passos li::after { top: 15px; left: calc(50% + 19px); right: calc(-50% + 19px); }
}

/* cartões de escolha */
.grade { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.grade.dois { grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); }
.cartao {
  position: relative; background: var(--branco); border: 1.5px solid var(--linha); border-radius: var(--raio);
  padding: 1.2rem; text-align: left; cursor: pointer; box-shadow: var(--sombra); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  display: flex; flex-direction: column; gap: .3rem; width: 100%; overflow: hidden;
}
.cartao:hover { transform: translateY(-3px); box-shadow: var(--sombra-alta); border-color: rgba(32, 30, 30, .12); border-color: color-mix(in srgb, var(--cor, var(--preto)) 45%, white); }
.cartao:focus-visible, .sabor:focus-visible, .botao:focus-visible, .chip:focus-visible { outline: 3px solid #5c4a44; outline-offset: 2px; } /* contraste ≥ 3:1 */
.cartao.sel { border-color: var(--cor, var(--preto)); box-shadow: 0 0 0 3px rgba(32, 30, 30, .12), var(--sombra); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cor, var(--preto)) 22%, transparent), var(--sombra);
  background: linear-gradient(180deg, rgba(32, 30, 30, .12), #fff 70%); background: linear-gradient(180deg, color-mix(in srgb, var(--cor, var(--preto)) 7%, white), #fff 70%); }
.cartao.sel::after {
  content: "✓"; position: absolute; top: .85rem; right: .85rem; width: 28px; height: 28px; border-radius: 50%;
  background: var(--cor, var(--preto)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem;
}
.cartao .icone { font-size: 2rem; line-height: 1; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(32, 30, 30, .12); background: color-mix(in srgb, var(--cor, var(--bege)) 13%, white); color: rgba(32, 30, 30, .12); color: color-mix(in srgb, var(--cor, var(--preto)) 85%, black); margin-bottom: .5rem; }
.cartao .icone .ic { width: 28px; height: 28px; }
.cartao.grande { padding: 1.6rem; min-height: 210px; }
.cartao.grande .icone { width: 64px; height: 64px; }
.cartao.grande .icone .ic { width: 32px; height: 32px; }
.cartao.grande b { font-family: var(--serifa); font-size: 1.35rem; font-weight: 600; }
.cartao b { font-size: 1.08rem; line-height: 1.25; }
.cartao .selo { align-self: flex-start; margin-top: auto; }
.cartao.grande .selo { margin-top: .6rem; }
.cartao.desligado { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.cartao.compacto { flex-direction: row; align-items: center; gap: .8rem; padding: .95rem 1.1rem; }
.cartao.compacto .icone { margin: 0; width: 46px; height: 46px; border-radius: 13px; flex: none; }
.cartao.compacto > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.cartao.compacto .icone .ic { width: 24px; height: 24px; }
.cartao.compacto.sel::after { top: 50%; transform: translateY(-50%); }
.cartao.compacto { padding-right: 3rem; }

/* blocos */
.bloco { background: var(--branco); border-radius: var(--raio); box-shadow: var(--sombra); padding: 1.4rem; margin-bottom: 1.2rem;
  border: 1px solid var(--linha); position: relative; }
.bloco::before { content: ""; position: absolute; left: 1.4rem; right: 1.4rem; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--cor, var(--bege)); }
.bloco-cab { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
.bloco-cab .icone { font-size: 1.6rem; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: #f7f1ee; background: color-mix(in srgb, var(--cor) 13%, white); color: #3a2f2b; color: color-mix(in srgb, var(--cor) 85%, black); }
.bloco-cab .icone .ic { width: 26px; height: 26px; }
.bloco-cab h2 { margin: 0; }
.selo { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .7rem; border-radius: 99px; font-size: .8rem; font-weight: 700; background: var(--bege-claro); color: var(--preto-2); letter-spacing: .01em; }
.selo.ok { background: var(--ok-fundo); color: var(--ok); }
.selo.aviso { background: var(--aviso-fundo); color: var(--aviso); }
.selo.erro { background: var(--erro-fundo); color: var(--erro); }
.selo.cor { background: #f7f1ee; background: color-mix(in srgb, var(--cor) 12%, white); color: #3a2f2b; color: color-mix(in srgb, var(--cor) 78%, black); }

/* sabores */
.sabores { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }
.sabor { border: 1.5px solid var(--linha); border-radius: var(--raio-p); padding: .75rem .9rem; background: #fff; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: .15rem; position: relative; transition: border-color .14s, background .14s, box-shadow .14s; }
.sabor:hover { border-color: var(--cor); border-color: color-mix(in srgb, var(--cor) 55%, white); box-shadow: var(--sombra); }
.sabor.sel { border-color: var(--cor); background: #f7f1ee; background: color-mix(in srgb, var(--cor) 7%, white); box-shadow: 0 0 0 2px rgba(32, 30, 30, .12); box-shadow: 0 0 0 2px color-mix(in srgb, var(--cor) 18%, transparent); }
.sabor .nome { font-weight: 600; padding-right: 2rem; line-height: 1.3; }
.sabor .marca-sel { position: absolute; right: .7rem; top: .7rem; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--linha-forte);
  display: grid; place-items: center; color: #fff; font-size: .8rem; transition: all .14s; }
.sabor.sel .marca-sel { background: var(--cor); border-color: var(--cor); }
.sabor .preco { font-size: .86rem; color: var(--suave); }
.sabor .qtd { font-weight: 700; color: #3a2f2b; color: color-mix(in srgb, var(--cor) 78%, black); font-size: .95rem; }
.sabor.bloqueado { opacity: .42; cursor: not-allowed; box-shadow: none; }
.grupo-tit { grid-column: 1 / -1; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--suave);
  margin-top: .7rem; display: flex; align-items: center; gap: .7rem; }
.grupo-tit::after { content: ""; flex: 1; height: 1px; background: var(--linha); }

/* contador / passo a passo */
.contador { display: flex; align-items: center; gap: .6rem; padding: .65rem .9rem; border-radius: var(--raio-p); background: var(--bege-claro); margin: .8rem 0 .2rem; font-weight: 600; flex-wrap: wrap; }
.contador.ok { background: var(--ok-fundo); color: var(--ok); }
.contador.aviso { background: var(--aviso-fundo); color: var(--aviso); }
.stepper { display: inline-flex; max-width: 100%; align-items: center; border: 1.5px solid var(--linha-forte); border-radius: var(--raio-p); overflow: hidden; background: #fff; }
.stepper button { width: 42px; height: 40px; border: 0; background: var(--bege-claro); cursor: pointer; font-size: 1.25rem; font-weight: 600; transition: background .12s; }
.stepper:focus-within { outline: 3px solid #5c4a44; outline-offset: 2px; }
.stepper button:focus-visible { outline: 3px solid #5c4a44; outline-offset: -3px; }
.stepper button:hover:not(:disabled) { background: var(--bege-medio); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper input, .campo .stepper input { width: 78px; min-width: 44px; flex: 0 1 78px; border-radius: 0; padding: 0; text-align: center; border: 0; height: 40px; font-weight: 700; font-size: 1.05rem; -moz-appearance: textfield; box-shadow: none; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.linha-qtd { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .6rem 0; border-bottom: 1px solid var(--linha); flex-wrap: wrap; }
.linha-qtd:last-child { border-bottom: 0; }

/* formulários */
.campo { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.campo label { font-weight: 600; font-size: .95rem; }
.campo input, .campo select, .campo textarea, .entrada {
  border: 1.5px solid var(--linha-forte); border-radius: var(--raio-p); padding: .7rem .85rem; background: #fff; width: 100%; transition: border-color .12s, box-shadow .12s;
}
.campo input:hover, .campo select:hover, .campo textarea:hover, .entrada:hover { border-color: #cbb9b2; }
.campo input:focus, .campo select:focus, .campo textarea:focus, .entrada:focus { outline: none; border-color: var(--preto); box-shadow: 0 0 0 4px rgba(226, 206, 198, .6); }
.campo .erro-campo { color: var(--erro); font-size: .88rem; }
.campos { display: grid; gap: 0 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }
.check { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; padding: .85rem 1rem; border-radius: var(--raio-p); background: var(--bege-claro); }
.check > span { min-width: 0; overflow-wrap: anywhere; }
.check input { width: 22px; height: 22px; margin-top: .1rem; flex: none; accent-color: var(--preto); }
.numero-grande { font-size: 2rem; font-weight: 700; text-align: center; max-width: 180px; }

/* botões */
.botao { border: 0; border-radius: 999px; padding: .85rem 1.6rem; font-weight: 700; cursor: pointer; background: var(--preto); color: #fff; text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center; letter-spacing: .01em; transition: transform .12s, box-shadow .12s, background .12s;
  box-shadow: 0 2px 6px rgba(32, 30, 30, .18); }
.botao:hover:not(:disabled) { background: #3a3434; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(32, 30, 30, .22); }
.botao:active:not(:disabled) { transform: none; }
.botao.claro { background: var(--bege-claro); color: var(--texto); box-shadow: none; }
.botao.claro:hover:not(:disabled) { background: var(--bege-medio); box-shadow: none; }
.botao.verde { background: #1f8a4c; }
.botao.verde:hover:not(:disabled) { background: #187340; }
.botao.perigo { background: var(--erro-fundo); color: var(--erro); box-shadow: none; }
.botao.peq { padding: .45rem .95rem; font-size: .88rem; box-shadow: none; }
.botao:disabled { opacity: .38; cursor: not-allowed; box-shadow: none; }
.botao .ic { width: 1.1em; height: 1.1em; }

/* barra inferior fixa */
.barra { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--linha); box-shadow: 0 -8px 30px rgba(32, 30, 30, .08); padding: .8rem 16px; padding: .8rem 16px calc(.8rem + env(safe-area-inset-bottom)); z-index: 10; }
.barra .dentro { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: .8rem; }
.barra .total { margin-right: auto; line-height: 1.2; min-width: 0; }
.barra .total b { font-family: var(--serifa); font-size: 1.5rem; font-weight: 600; display: block; letter-spacing: -.01em; }
.barra .motivo { font-size: .85rem; color: var(--aviso); display: block; }
.barra #avancar { min-width: 160px; }

/* resumo */
table.resumo { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.resumo th { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--suave); font-weight: 700; }
table.resumo th, table.resumo td { padding: .6rem .4rem; border-bottom: 1px solid var(--linha); text-align: left; vertical-align: top; }
table.resumo td.num, table.resumo th.num { text-align: right; white-space: nowrap; width: 1%; }
table.resumo tr.total td { font-family: var(--serifa); font-weight: 600; font-size: 1.35rem; border-bottom: 0; border-top: 2px solid var(--preto); padding-top: .8rem; }
.riscado { text-decoration: line-through; color: var(--suave); font-size: .85em; }
.aviso-box, .ok-box, .erro-box, .info-box { padding: .9rem 1.1rem; border-radius: var(--raio-p); margin-bottom: 1rem; border: 1px solid transparent; }
.aviso-box { background: var(--aviso-fundo); color: #6b4700; border-color: #f4e2b5; }
.ok-box { background: var(--ok-fundo); color: #1f5e37; border-color: #cfe8d9; }
.erro-box { background: var(--erro-fundo); color: var(--erro); border-color: #f6cfcc; }
.info-box { background: var(--bege-claro); color: var(--preto-2); border-color: var(--bege-medio); }
.lista-proc { margin: 0; padding: 0; list-style: none; }
.lista-proc li { margin-bottom: .55rem; padding-left: 1.6rem; position: relative; }
.lista-proc li::before { content: ""; position: absolute; left: .35rem; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--destaque); }
.mais { background: var(--branco); border: 1.5px dashed var(--linha-forte); border-radius: var(--raio); width: 100%; padding: 1.1rem; cursor: pointer; font-weight: 700;
  color: var(--preto-2); display: flex; align-items: center; justify-content: center; gap: .5rem; transition: border-color .12s, background .12s; }
.mais:hover { border-color: var(--preto); background: #fff; }
.fim { text-align: center; padding: 2.5rem 1rem; max-width: 720px; margin: 0 auto; }
.fim .grande { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.2rem; background: var(--ok-fundo); color: var(--ok); }
.fim .grande .ic { width: 42px; height: 42px; stroke-width: 2.2; }
.fim h1 { font-size: 2.3rem; }

/* rodapé */
.rodape { background: var(--preto); color: rgba(226, 206, 198, .8); padding: 2.2rem 16px 2.4rem; font-size: .92rem; }
.rodape .dentro { max-width: 1100px; margin: 0 auto; display: grid; gap: 1.6rem; grid-template-columns: auto 1fr 1fr; align-items: start; }
.rodape img { width: 64px; display: block; }
.rodape h3 { color: #fff; font-size: 1rem; margin-bottom: .55rem; }
.rodape p { margin: 0 0 .35rem; display: flex; gap: .5rem; align-items: flex-start; }
.rodape-lojas, .rodape-priv { grid-column: 1 / -1; }
.rodape .lojas-grade { display: grid; gap: 1rem 1.6rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.rodape .lojas-grade p { margin: 0; }
.rodape-priv { margin: 0; padding-top: .8rem; border-top: 1px solid rgba(226, 206, 198, .18); }
.rodape .ic { color: var(--bege); margin-top: .2em; }
.rodape a { color: rgba(226, 206, 198, .9); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; } /* link dentro de texto: sublinhado (WCAG 1.4.1: não depender só da cor) */
.rodape a:hover { color: #fff; }
@media (max-width: 760px) { .rodape .dentro { grid-template-columns: minmax(0, 1fr); } }
body.com-barra .rodape { padding-bottom: 8rem; }
body:not(.com-barra) .pagina { padding-bottom: 3rem; }

/* painel da equipe */
.abas { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.4rem; background: var(--branco); padding: .5rem; border-radius: 16px; box-shadow: var(--sombra); border: 1px solid var(--linha); }
.abas .grupo-abas { flex: 1 1 auto; background: var(--cor-fundo, #f7f3f1); border-radius: 12px; padding: .3rem .4rem .4rem; border: 1px solid var(--cor-borda, var(--linha)); border-top: 4px solid var(--cor-borda, var(--linha)); }
.grupo-nome { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--cor, var(--preto-2)); margin: 0 0 .2rem .3rem; }
.grupo-botoes { display: flex; gap: .25rem; flex-wrap: wrap; }
.abas .grupo-abas button { color: var(--cor, var(--preto-2)); }
.abas .grupo-abas button:hover { background: #fff; }
.abas .grupo-abas button.ativa { background: #fff; color: var(--cor); box-shadow: inset 0 0 0 2px var(--cor-borda), 0 1px 3px rgba(0,0,0,.08); }
.abas .grupo-abas button.ativa .ic { opacity: 1; }
.abas button { border: 0; background: transparent; border-radius: 11px; padding: .55rem .9rem; cursor: pointer; font-weight: 600; color: var(--preto-2); transition: background .12s; font-size: .93rem; display: inline-flex; align-items: center; gap: .45rem; }
.abas button .ic { width: 17px; height: 17px; opacity: .8; }
.abas button:hover { background: var(--bege-claro); }
.abas button.ativa { background: var(--preto); color: #fff; }
.tabela { width: 100%; border-collapse: collapse; background: #fff; font-size: .93rem; }
.tabela th, .tabela td { padding: .55rem .55rem; border-bottom: 1px solid var(--linha); text-align: left; vertical-align: middle; }
.tabela th { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--suave); font-weight: 700; background: #fcf9f7; }
.tabela tbody tr:hover td { background: #fdfaf8; }
.tabela input, .tabela select { border: 1px solid var(--linha-forte); border-radius: 9px; padding: .35rem .5rem; width: 100%; min-width: 60px; background: #fff; }
.tabela input:focus, .tabela select:focus { outline: none; border-color: var(--preto); box-shadow: 0 0 0 3px rgba(226, 206, 198, .6); }
.rolagem { overflow-x: auto; }
.salvar-barra { position: -webkit-sticky; position: sticky; top: 0; z-index: 5; background: rgba(250, 246, 243, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: .7rem 0; display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; border-bottom: 1px solid var(--linha); margin-bottom: 1rem; }
.cor-input { width: 44px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; }
.modal-fundo { position: fixed; top: 0; right: 0; bottom: 0; left: 0; inset: 0; background: rgba(32, 30, 30, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); display: grid; place-items: center; z-index: 50; padding: 16px; }
.modal { background: var(--fundo); border-radius: var(--raio); max-width: 860px; width: 100%; max-height: 92vh; overflow: auto; padding: 1.5rem; box-shadow: var(--sombra-alta); }
.toast { position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%); background: var(--preto); color: #fff; padding: .8rem 1.3rem; border-radius: 999px; z-index: 99;
  box-shadow: var(--sombra-alta); font-weight: 600; animation: sobe .2s ease-out; }
@keyframes sobe { from { opacity: 0; transform: translate(-50%, 8px); } }
details > summary { list-style-position: outside; }
details.aviso-box > summary, details.erro-box > summary { list-style: none; }
details.aviso-box > summary::-webkit-details-marker, details.erro-box > summary::-webkit-details-marker { display: none; }
details.aviso-box > summary::after, details.erro-box > summary::after { content: "▾"; float: right; transition: transform .15s; }
details[open].aviso-box > summary::after, details[open].erro-box > summary::after { transform: rotate(180deg); }

/* login e telas simples */
.tela-login { min-height: calc(100vh - 70px); display: grid; place-items: center; padding: 2rem 16px;
 }
.tela-login .bloco { width: 100%; max-width: 400px; padding: 2rem; }
.tela-login img { width: 72px; display: block; margin: 0 auto 1rem; }
.tela-login h1 { text-align: center; font-size: 1.7rem; }

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .topo { gap: .6rem; }
  .topo img { width: 38px; }
  .topo .marca small { display: none; }
  .topo-cliente img { width: 44px; }
  .topo-cliente .marca b { font-size: 1.2rem; }
  .topo-cliente .marca small { display: block; font-size: .58rem; letter-spacing: .18em; }
  .topo-titulo { font-size: 1.3rem; padding-left: .9rem; flex-basis: 100%; border-left: 0; padding-left: 0; }
  .topo .marca b { font-size: 1.02rem; }
  .topo .dir { gap: .6rem; font-size: .82rem; }
  h1 { font-size: 1.65rem; }
  .bloco { padding: 1.1rem; }
  .bloco::before { left: 1.1rem; right: 1.1rem; }
  .barra .total b { font-size: 1.22rem; }
  .barra #avancar { min-width: 0; }
  .botao { padding: .8rem 1.15rem; }
  .cartao.grande { min-height: 0; padding: 1.25rem; }
}
.campo input.cor-input, input.cor-input { width: 64px; height: 44px; padding: 2px; border-radius: 10px; }
@media print {
  .setor-nome { display: none !important; } /* lista de produção impressa: setores agrupados e separados, sem o nome do setor */
  .topo, .abas, .salvar-barra, .nao-imprimir, .barra, .toast, .hero, .rodape { display: none !important; }
  body { background: #fff; } .pagina { padding: 0; max-width: none; } .bloco { box-shadow: none; break-inside: avoid; border: 1px solid #ddd; }
}

.escolhidos { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1rem; }
.chip { border: 1px solid #f7f1ee; border: 1px solid color-mix(in srgb, var(--cor) 22%, white); border-radius: 99px; padding: .35rem .8rem; background: #f7f1ee; background: color-mix(in srgb, var(--cor) 9%, white);
  color: #3a2f2b; color: color-mix(in srgb, var(--cor) 75%, black); cursor: pointer; font-size: .88rem; transition: background .12s; }
.chip:hover { background: #f7f1ee; background: color-mix(in srgb, var(--cor) 16%, white); }
.chip b { margin-left: .2rem; } .chip span { opacity: .6; margin-left: .25rem; }
@media (max-width: 560px) {
  .abas { flex-wrap: nowrap; overflow-x: auto; border-radius: 14px; }
  .grupo-abas { flex: none; }
  .grupo-botoes { flex-wrap: nowrap; }
  .abas button { white-space: nowrap; flex: none; }
  .topo .dir #quem { display: none; }
}
.link-btn { background: none; border: 0; padding: 0; color: var(--texto); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.chip.sel { background: var(--cor); color: #fff; border-color: var(--cor); }
.fim svg.qr, .doc svg { width: 100%; height: auto; display: block; }
.qr-caixa svg { width: 100%; height: auto; display: block; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* celular: cartões com ícone ficam na horizontal (ícone ao lado do texto) = metade da rolagem */
.campo .stepper { align-self: flex-start; }
@media (max-width: 560px) {
  .grade .cartao:not(.grande):not(.compacto):has(> .icone) { display: grid; grid-template-columns: 50px 1fr; column-gap: .9rem; row-gap: .15rem;
    padding: 1rem 2.8rem 1rem 1rem; align-items: start; }
  .grade .cartao:not(.grande):not(.compacto):has(> .icone) > .icone { grid-row: 1 / span 4; margin: 0; width: 50px; height: 50px; font-size: 1.6rem; border-radius: 14px; }
  .grade .cartao:not(.grande):not(.compacto):has(> .icone) > :not(.icone) { grid-column: 2; }
  .grade .cartao:not(.grande):not(.compacto).sel::after { top: 1rem; right: .8rem; width: 24px; height: 24px; font-size: .8rem; }
  .cartao .sub { font-size: .95rem; }
}
@media (max-width: 560px) {
  .barra .dentro { gap: .5rem; }
  .barra #barra-rotulo { font-size: .76rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #voltar { padding: .8rem; width: auto; min-width: 46px; height: auto; min-height: 46px; flex: none; } #voltar .txt { display: none; }
  .barra #avancar { padding: .8rem 1.1rem; }
  .grade:has(> .cartao.compacto) { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .grade > .cartao.compacto { padding: .8rem 2.2rem .8rem .8rem; gap: .6rem; font-size: .95rem; }
  .grade > .cartao.compacto .icone { width: 38px; height: 38px; border-radius: 11px; }
  .grade > .cartao.compacto .icone .ic { width: 20px; height: 20px; }
  .grade > .cartao.compacto.sel::after { right: .55rem; width: 22px; height: 22px; font-size: .75rem; }
  .grade > .cartao.compacto[data-loja] { grid-column: 1 / -1; }
}
@media (max-width: 400px) { .barra .por-conv { display: none; } }

/* "Precisa de mais alguma coisa?" (descartáveis e acessórios) */
.acessorios { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); margin-bottom: 1.6rem; }
.acess { background: #fff; border: 1.5px solid var(--linha); border-radius: var(--raio-p); transition: border-color .14s, box-shadow .14s; }
.acess:hover { border-color: var(--cor); border-color: color-mix(in srgb, var(--cor) 50%, white); box-shadow: var(--sombra); }
.acess.sel { border-color: var(--cor); background: #f7f1ee; background: color-mix(in srgb, var(--cor) 6%, white); box-shadow: 0 0 0 2px rgba(32, 30, 30, .12); box-shadow: 0 0 0 2px color-mix(in srgb, var(--cor) 16%, transparent); }
.acess-toque { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: .75rem; align-items: center; width: 100%; padding: .75rem .9rem; position: relative; }
.acess-toque:focus-visible { outline: 3px solid var(--cor); outline: 3px solid color-mix(in srgb, var(--cor) 55%, white); outline-offset: 2px; border-radius: var(--raio-p); }
.acess-toque .marca-sel { position: static; flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--linha-forte); display: grid; place-items: center; color: #fff; font-size: .8rem; }
.acess.sel .marca-sel { background: var(--cor); border-color: var(--cor); }
.acess-txt { display: flex; flex-direction: column; gap: .1rem; min-width: 0; line-height: 1.3; }
.acess-txt b { font-weight: 600; }
.acess-qtd { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: 0 .9rem .75rem 2.95rem; }
.acess-qtd .stepper button { width: 36px; height: 34px; } .acess-qtd .stepper input { width: 60px; height: 34px; }

/* foto do produto (miniatura ao lado do nome) */
.foto-prod { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; background: var(--bege-claro); border: 1px solid var(--linha); }
.sabor.tem-foto { flex-direction: row; align-items: flex-start; gap: .7rem; }
.sabor.tem-foto .sabor-txt { display: flex; flex-direction: column; gap: .15rem; min-width: 0; flex: 1; }
.foto-botao { border: 1.5px dashed var(--linha-forte); border-radius: 10px; background: var(--bege-claro); cursor: pointer; padding: 0; overflow: hidden;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--suave); font-size: .66rem; font-weight: 700; flex: none; }
.foto-botao:hover { border-color: var(--preto); color: var(--preto); }
.foto-botao img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto-botao:has(img) { border-style: solid; }
.sabor.cheio { opacity: .62; } .sabor.cheio:hover { opacity: 1; }
body.com-barra .toast { bottom: 6.2rem; }
.toast { max-width: calc(100vw - 32px); text-align: center; }

/* cores anti-erro nos campos: verde = certo, vermelho = errado, amarelo = falta preencher */
input[data-estado="ok"], textarea[data-estado="ok"], .stepper[data-estado="ok"] { border-color: #3d9a63 !important; background-color: #f6fbf8; }
input[data-estado="erro"], textarea[data-estado="erro"], .stepper[data-estado="erro"] { border-color: var(--erro) !important; background-color: #fff7f6; box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }
input[data-estado="falta"], textarea[data-estado="falta"], .stepper[data-estado="falta"] { border-color: #e2b24a; border-left-width: 5px; }
.stepper[data-estado] input { background: transparent; }
.dica-campo { font-size: .86rem; font-weight: 600; min-height: 0; display: block; }
.dica-campo:empty { display: none; }
.dica-campo[data-estado="erro"] { color: var(--erro); }
.dica-campo[data-estado="erro"]::before { content: "⚠ "; }
.dica-campo[data-estado="falta"] { color: var(--aviso); }
.dica-campo[data-estado="ok"] { color: var(--ok); font-size: .8rem; }
.campo input[data-estado="ok"]:focus, .campo textarea[data-estado="ok"]:focus { box-shadow: 0 0 0 4px rgba(61, 154, 99, .18); }
/* Continuar com pendência: continua tocável (mostra o problema), mas visualmente "ainda não" */
.botao.bloqueado { background: #8d8483; box-shadow: none; }
.botao.bloqueado:hover { background: #7a7170; transform: none; }

/* faixa "há informações novas" (atualização automática) */
.faixa-atualizar { position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: var(--bege); color: var(--preto); display: flex; gap: .8rem;
  align-items: center; justify-content: center; padding: .6rem 16px; font-weight: 600; box-shadow: var(--sombra-alta); flex-wrap: wrap; text-align: center; }

/* ---- ajustes da revisão de uso (09/10) ---- */
/* aviso flutuante: largo e legível (antes virava uma "bolha" estreita no celular) */
.toast { left: 16px; right: 16px; margin: 0 auto; width: fit-content; max-width: 560px; transform: none; border-radius: 14px; text-align: center; line-height: 1.35; }
@keyframes sobe { from { opacity: 0; translate: 0 8px; } }
/* barra inferior com altura estável: o motivo fica em 1 linha */
.barra .motivo { white-space: normal; overflow: hidden; max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } /* 2 linhas no celular (não corta o motivo) */
/* áreas de toque de pelo menos 40 px */
.chip { min-height: 40px; display: inline-flex; align-items: center; }
.acess-qtd .stepper button { width: 42px; height: 40px; } .acess-qtd .stepper input { height: 40px; }
details > summary { min-height: 40px; display: flex; align-items: center; }
.rodape a, .link-btn { display: inline-block; min-height: 32px; padding: .3rem 0; }
.topo .dir a, .topo .dir button { min-height: 40px; display: inline-flex; align-items: center; }
.tabela input[type=checkbox], .check input[type=checkbox] { width: 22px; height: 22px; }
/* no celular o "passar o mouse" não fica grudado depois do toque */
@media (hover: none) {
  .cartao:hover, .sabor:hover, .acess:hover, .chip:hover { transform: none; box-shadow: var(--sombra); }
  .chip:hover { background: #f7f1ee; background: color-mix(in srgb, var(--cor) 9%, white); }
  .chip.sel:hover { background: var(--cor); }
}
/* editor (modal) do painel: botão fechar sempre visível no topo */
.modal { position: relative; }
.modal-fechar { position: -webkit-sticky; position: sticky; top: 0; float: right; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bege-claro); cursor: pointer; font-size: 1.1rem; }
/* impressão do orçamento: sem a caixa do "copia e cola" (inútil no papel) */
@media print { textarea, .nao-imprimir { display: none !important; } }

/* contraste mínimo WCAG AA (4,5:1) — conferido com axe-core em 09/10 */
.botao.bloqueado { background: #6e6665; } .botao.bloqueado:hover { background: #5f5857; }
.botao.verde { background: #1a7a42; } .botao.verde:hover:not(:disabled) { background: #146536; }
.sabor .qtd { color: #3a2f2b; color: color-mix(in srgb, var(--cor) 60%, black); }
tr.inativo td { background: #f3eeeb; color: var(--suave); } tr.inativo td b::after { content: " · desligado"; font-weight: 600; font-size: .8em; color: var(--suave); }

/* painel no celular: botões de situação numa linha só, com rolagem lateral (a lista de pedidos aparece mais cedo) */
@media (max-width: 640px) {
  .chips { flex-wrap: nowrap !important; overflow-x: auto; padding-bottom: .3rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .chips > * { flex: 0 0 auto; }
}

/* celular estreito (320–400 px): cartões pequenos de nota/pagamento em 1 coluna (texto não fica espremido) */
@media (max-width: 400px) { .grade:has(> .cartao.compacto) { grid-template-columns: 1fr; } }
/* texto ampliado (acessibilidade): a barra de baixo quebra em 2 linhas em vez de sobrepor; tabelas e passos não vazam */
.barra .dentro { flex-wrap: wrap; }
.barra .total { flex: 1 1 0; min-width: 0; } /* só quebra linha quando o texto está ampliado */
.passos { flex-wrap: wrap; }
table.resumo td { overflow-wrap: anywhere; }

/* descartável que entrou sozinho (café → sachês, torta → pratinhos...): selo verde discreto */
.selo-auto { color: var(--ok); font-weight: 600; }

/* desconto por volume: quanto o cliente economizou, junto do total */
.economia { clear: both; text-align: right; font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--ok); padding-top: .3rem; }

/* calendário de datas do espaço da loja */
.calendario { margin-top: .6rem; border: 1px solid var(--linha); border-radius: var(--raio-p); padding: .6rem; background: #fff; max-width: 340px; }
.cal-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; text-transform: capitalize; }
.cal-topo .link-btn { font-size: 1.4rem; padding: 0 .9rem; min-width: 44px; min-height: 44px; text-decoration: none; }
.cal-grade { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.cal-sem { font-size: .72rem; color: var(--suave); font-weight: 700; }
.cal-legenda .cal-dia { min-width: 22px; min-height: 22px; vertical-align: middle; }
.cal-dia { display: inline-grid; place-items: center; min-height: 34px; border-radius: 8px; font-size: .9rem; border: 0; }
.cal-dia.livre { background: var(--ok-fundo); color: var(--ok); font-weight: 700; cursor: pointer; }
.cal-dia.livre.sel { background: var(--preto); color: #fff; }
.cal-dia.reservado { background: var(--erro-fundo); color: var(--erro); text-decoration: line-through; }
.cal-dia.fechado { background: var(--bege-claro); color: #b5aaa6; }
.cal-dia.passado { color: #cfc6c2; }
.cal-legenda { margin-top: .4rem; display: flex; gap: .3rem; align-items: center; flex-wrap: wrap; }
.cal-legenda .cal-dia { min-height: 22px; width: 22px; font-size: .7rem; }

/* celular: cartões de sabor mais compactos (cardápio ~17% mais curto, mais sabores por tela) */
@media (max-width: 520px) { .sabores { gap: .35rem; } .sabor { padding: .4rem .6rem; } .sabor .foto-prod { width: 40px; height: 40px; }
  .sabor.tem-foto { align-items: center; } }
/* Vander (10/10/2026): total de salgadinhos/docinhos e média por pessoa, à vista na barra de baixo */
.barra .minis { display: block; font-size: .82rem; font-weight: 600; color: var(--preto); white-space: normal; }
.resumo-minis .num { text-align: right; white-space: nowrap; }
/* letra muito grande / zoom 200% num celular (tela útil < 300 px): barra empilhada, sem empurrar a página para o lado */
.barra { max-height: 55vh; overflow-y: auto; }
.barra .botao { white-space: normal; }
@media (max-width: 300px) {
  .barra .dentro { flex-direction: column; align-items: stretch; }
  .barra .total { flex: none; }
  .barra .minis { display: none; }
  .barra #voltar, .barra #avancar { width: 100%; min-width: 0; }
  .pagina table { font-size: .8rem; }
}

/* rodapé escuro: texto pequeno legível (antes 2,6:1) */
.rodape .pequeno { color: rgba(226, 206, 198, .85); }
/* celular pequeno: a barra de baixo fica compacta (os totais de minis aparecem no resumo da tela) */
@media (max-width: 400px) { .barra .minis { display: none; } .barra .motivo { -webkit-line-clamp: 3; } }

.campo input[data-estado]:focus-visible, .campo textarea[data-estado]:focus-visible, .campo select:focus-visible { outline: 3px solid #5c4a44; outline-offset: 2px; }

/* Conferência AV: zoom e fonte grande (320–390 px, fonte até 200%) sem rolagem lateral; alvos de toque de 44 px */
.cal-grade { grid-template-columns: repeat(7, minmax(0, 1fr)); }
@media (min-width: 301px) { .barra .total { flex: 1 1 7rem; } }
.passos li.atual span { white-space: normal; overflow-wrap: anywhere; }
.fim h1 { overflow-wrap: anywhere; }
@media (max-width: 400px) { .chip { white-space: normal; max-width: 100%; } }
.cal-dia, .botao.peq, .link-btn { min-height: 44px; }
.rodape a { min-height: 44px; display: inline-flex; align-items: center; }

/* AV/AW: telas muito estreitas ou com fonte 200% */
table.resumo td { overflow-wrap: anywhere; }
@media (max-width: 360px) {
  table.resumo { font-size: .85rem; } table.resumo td.num, table.resumo th.num { white-space: normal; width: auto; }
  .barra { max-height: 38vh; } .barra .motivo { -webkit-line-clamp: 2; }
}
/* telas muito estreitas: Voltar/Continuar ficam no topo da barra (sempre à vista), o total e o motivo rolam embaixo */
@media (max-width: 360px) { .barra #voltar, .barra #avancar { order: -1; } }
.fim p, .fim h2, .fim div, .fim section, .fim span { overflow-wrap: anywhere; }

/* explicações para quem é leigo */
.como-funciona { list-style: none; counter-reset: passo; display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; margin: 0 0 1.1rem; padding: 0; }
.como-funciona li { counter-increment: passo; position: relative; display: flex; align-items: center; min-width: 0; min-height: 2.6rem; padding: .55rem .8rem .55rem 2.6rem; background: var(--bege-claro); border: 1px solid var(--bege-medio); border-radius: var(--raio-p); font-size: .95rem; }
.como-funciona li::before { content: counter(passo); position: absolute; left: .7rem; top: 50%; transform: translateY(-50%); width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--preto); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
@media (min-width: 760px) { .como-funciona { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ajuda-aba { margin: .2rem 0 1rem; padding: .6rem .9rem; border-left: 4px solid var(--bege-medio); background: var(--bege-claro); border-radius: 0 var(--raio-p) var(--raio-p) 0; font-size: .95rem; color: var(--preto-2); }
@media print { .como-funciona, .ajuda-aba { display: none !important; } }
.grupo-tit.preco { text-transform: none; letter-spacing: 0; font-size: .92rem; font-weight: 600; color: var(--preto-2); }
.grupo-tit.preco b { font-size: 1.05rem; }

/* tela de "Atualizar o programa agora": quase a tela toda, não dá para ignorar (Vander, 17/10/2026) */
.atualizar-tela { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; background: rgba(32, 30, 30, .94); overflow-y: auto; }
.atualizar-caixa { width: min(94vw, 1000px); min-height: min(76vh, 620px); box-sizing: border-box; background: #fff; color: var(--preto); border-radius: 24px; padding: clamp(1.4rem, 5vw, 3rem);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1.2rem; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.atualizar-icone .ic { width: 72px; height: 72px; color: #2563EB; }
.atualizar-caixa h2 { margin: 0; font-size: clamp(1.9rem, 7vw, 2.8rem); line-height: 1.15; }
.atualizar-caixa p { margin: 0; font-size: clamp(1.1rem, 3.6vw, 1.4rem); line-height: 1.4; }
.atualizar-extra { background: #FEF3C7; border: 2px solid #D97706; border-radius: 12px; padding: .8rem 1rem; font-weight: 700; }
.atualizar-botao { width: 100%; min-height: 72px; font-size: clamp(1.25rem, 4.5vw, 1.6rem); font-weight: 800; background: #2563EB; color: #fff; border-radius: 16px; }
.atualizar-botao:hover, .atualizar-botao:focus-visible { background: #1D4ED8; }
body.atualizar-aberta { overflow: hidden; }
@media print { .atualizar-tela { display: none !important; } }

/* lista de carga (separar e levar): uma linha por item, caixas grandes para o dedo; cor mostra a situação */
.carga-barra { height: 6px; background: var(--linha); border-radius: 3px; overflow: hidden; margin-bottom: .5rem; }
.carga-barra > div { height: 100%; background: #3d9a63; }
.carga-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.carga-item { border: 1px solid var(--linha); border-left: 6px solid #b9b2aa; border-radius: 10px; padding: .5rem .6rem; background: #fff; }
.carga-item.meio { border-left-color: #e2b24a; background: #fffaf0; }
.carga-item.pronto { border-left-color: #3d9a63; background: #f1f9f4; }
.carga-nome { display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; min-width: 0; }
.carga-nome > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.carga-qtd { font-weight: 700; min-width: 2.2rem; text-align: center; background: var(--linha); border-radius: 6px; padding: 0 .35rem; }
.carga-caixas { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .4rem; }
.carga-caixa { flex: 1 1 8rem; margin: 0; min-height: 44px; display: flex; align-items: center; border: 1px solid var(--linha); border-radius: 8px; padding: .3rem .5rem; background: #fff; }
.carga-caixa.feito { border-color: #3d9a63; background: #e4f3ea; }
@media print { .carga-item { break-inside: avoid; } .carga-caixa { border: 1px solid #000; } }

.aceite-texto { margin: .8rem 0 0; padding: .7rem .9rem; background: #f4efe9; border-left: 4px solid var(--cor-marca, #A65A27); border-radius: 8px; font-size: .95rem; }
@media print { .aceite-texto { display: none; } }
.carga-lote { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .5rem; }

.hero .hero-titulo { font-family: var(--serifa); line-height: 1.18; letter-spacing: -.01em; margin-top: 0; }

/* tabela que vira lista de cartões no celular (o botão de ação nunca fica escondido do lado) */
@media (max-width: 640px) {
  .tabela-cartoes, .tabela-cartoes tbody, .tabela-cartoes tr, .tabela-cartoes td { display: block; width: 100%; }
  .tabela-cartoes thead { position: absolute; left: -9999px; }
  .tabela-cartoes tr { border: 1px solid var(--linha); border-radius: 10px; padding: .5rem .7rem; margin-bottom: .6rem; background: #fff; }
  .tabela-cartoes td { border: 0; padding: .2rem 0; text-align: left; }
  .tabela-cartoes td[data-rotulo]::before { content: attr(data-rotulo) ": "; font-weight: 700; color: var(--cinza, #64748B); font-size: .8rem; }
  .tabela-cartoes .acao-celula .botao { width: 100%; margin-top: .3rem; }
}

/* mostrar / ocultar a senha (senha.js) */
.senha-wrap { position: relative; display: block; }
.senha-wrap input { padding-right: 5.6rem; width: 100%; box-sizing: border-box; }
.senha-olho { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: inherit; font: inherit; font-size: .85rem;
  text-decoration: underline; padding: .4rem .6rem; min-height: 40px; cursor: pointer; border-radius: 8px; }
.senha-olho:focus-visible { outline: 3px solid var(--preto, #201E1E); outline-offset: 1px; }

/* editor de tipo de evento em seções numeradas (Vander, 18/10/2026) */
.sec-evento { border: 1px solid var(--linha); border-radius: 14px; padding: .9rem 1rem; margin: .8rem 0; background: #fff; }
.sec-evento h3 { margin: 0 0 .4rem; display: flex; align-items: center; gap: .5rem; }
.num-sec { display: inline-grid; place-items: center; min-width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--preto, #201E1E); color: #fff; font-size: .85em; }
.resumo-evento ul, .checklist-evento ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.checklist-evento li.feito { color: #1f6b3f; } .checklist-evento li.falta { color: #8a3b00; font-weight: 600; }
.cartao-check { background: #fff; align-items: flex-start; }
.modo-cards .cartao.sel { outline: 3px solid var(--preto, #201E1E); }

/* central de tarefas do painel (Pedidos): um cartão por pedido com as tarefas dele */
.central-tarefas .pedido-tarefas { border-top: 1px solid var(--linha); padding: .6rem 0; }
.central-tarefas .pt-cab { display: flex; gap: .6rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.central-tarefas .pt-acoes { display: inline-flex; gap: .4rem; flex-wrap: wrap; }
.central-tarefas .tarefa { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin: .45rem 0 0 .8rem; padding-left: .6rem; border-left: 3px solid var(--cor); }
.central-tarefas .tarefa-alt { display: block; }
.central-tarefas .t-rot { font-weight: 600; }
.central-tarefas .t-texto { overflow-wrap: anywhere; margin: .2rem 0; }
.central-tarefas .t-linha { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-top: .3rem; }
