/* Acréscimos das páginas de serviço (/servicos/ e /pt/) sobre o site.css do site principal. */

/* bandeira de Portugal ao lado do nome, no topo da versão .pt e no link do rodapé */
.bandeira { width: 24px; height: 16px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.marca .bandeira { width: 27px; height: 18px; margin-left: 2px; }

/* seis apps em três colunas */
.apps-grade.seis, #apps .apps-grade { grid-template-columns: repeat(3, 1fr); }

/* ---------- chamada grande para mexer no kanban ---------- */
.kb-dica { display: flex; align-items: center; gap: 22px; margin: 0 0 22px; padding: 22px 26px; border-radius: 22px; border: 1.5px dashed rgba(255,181,71,.6); background: rgba(255,181,71,.07); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: border-color .4s, background .4s; }
.kb-dica h3 { margin: 0 0 6px; font-size: clamp(32px, 4.8vw, 60px); line-height: 1; letter-spacing: -0.045em; font-weight: 700; color: #fff; }
.kb-dica p { margin: 0; color: #e4e4ea; font-size: 17px; max-width: 760px; }
.kb-dica-ic { width: 68px; height: 68px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--ambar); color: #0b0b0f; animation: kbmao 1.8s ease-in-out infinite; }
.kb-dica-ic svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kb-dica-seta { margin-left: auto; width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,181,71,.6); color: var(--ambar); animation: kbseta 1.4s ease-in-out infinite; }
.kb-dica-seta svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.kb-dica.feito { border-style: solid; border-color: rgba(127,209,168,.6); background: rgba(127,209,168,.08); }
.kb-dica.feito .kb-dica-ic { background: var(--menta); animation: none; }
.kb-dica.feito .kb-dica-seta { display: none; }
@keyframes kbmao { 0%, 100% { transform: translateX(0) rotate(0); } 50% { transform: translateX(10px) rotate(8deg); } }
@keyframes kbseta { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* o primeiro cartão chama para ser arrastado até alguém mexer */
.kb.ensina .kb-col:first-child .kb-col-cab + .kb-card { animation: kbchama 2.2s ease-in-out infinite; border-color: rgba(255,181,71,.7); }
.kb.ensina .kb-col:first-child .kb-col-cab + .kb-card::after { content: ''; position: absolute; right: 10px; bottom: 8px; width: 26px; height: 26px; pointer-events: none; animation: kbarrasta 2.2s ease-in-out infinite;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffb547' stroke='%230b0b0f' stroke-width='1.2' stroke-linejoin='round'%3E%3Cpath d='M9 11V5.5a1.5 1.5 0 0 1 3 0V10V4a1.5 1.5 0 0 1 3 0v6a1.5 1.5 0 0 1 3 0V14a7 7 0 0 1-7 7h-.6a6 6 0 0 1-4.9-2.6L3.2 15a1.6 1.6 0 0 1 2.5-2L9 16z'/%3E%3C/svg%3E"); }
@keyframes kbchama { 0%, 100% { transform: translateX(0); box-shadow: 0 0 0 0 rgba(255,181,71,0); } 45% { transform: translateX(14px) rotate(1.5deg); box-shadow: 0 14px 40px -12px rgba(255,181,71,.55); } 60% { transform: translateX(14px) rotate(1.5deg); } }
@keyframes kbarrasta { 0%, 100% { transform: translate(0, 0); } 45%, 60% { transform: translate(8px, -4px); } }

/* preço com número ganha destaque na lista de serviços */
.serv-cab .pr.tem { justify-self: end; padding: 7px 12px; border-radius: 999px; background: rgba(127,209,168,.1); border: 1px solid rgba(127,209,168,.35); color: var(--menta); font-size: 12.5px; }

/* calculadora da comissão do marketplace (página /loja-propria/) */
.conta-caixa { align-items: stretch; padding: 28px; border-radius: 22px; border: 1px solid var(--linha2); background: rgba(8,8,12,.72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.conta-caixa .campo label { font-size: 15px; }
.conta-caixa .campo label b { font-size: 17px; }
.conta-caixa input[type=range] { --cor: var(--ambar); height: 6px; margin: 10px 0 6px; }
.conta-nota { margin: 6px 0 0; color: var(--mut); font-size: 13.5px; line-height: 1.5; }
.conta-saida .mono { display: block; font-size: 12px; letter-spacing: .08em; color: var(--mut); }
.conta-saida .grande + .mono { margin-top: 18px; }
.conta-saida .grande.ano { color: var(--ambar); }
.conta-saida p { margin: 18px 0 20px; color: #fff; font-size: 17px; line-height: 1.45; }
@media (max-width: 760px) { .conta-caixa { padding: 20px; } .conta-caixa.duas { grid-template-columns: 1fr; gap: 18px; } .conta-saida .grande { font-size: 38px; } }

/* como funciona: quatro passos */
.como-grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.como-grade > * { min-width: 0; }

/* formulário de quatro campos */
.estreito-form { max-width: 900px; }
.proposta.quatro { margin-top: 0; grid-template-columns: 1fr 1fr; }
.proposta .ct-texto { margin: 0; color: var(--mut); }
.proposta label > span { color: var(--mut); }

/* rodapé: link para a outra versão */
.outra-versao { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--mut); text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--linha2); }
.outra-versao:hover { color: #fff; border-color: rgba(255,255,255,.4); }

/* faixa de cookies (só aparece quando há código de medição no painel) */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 170; max-width: 720px; margin: 0 auto; display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 18px; background: rgba(12,12,18,.96); border: 1px solid var(--linha2); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.cookies[hidden] { display: none; }
.cookies p { margin: 0; font-size: 14px; color: #ddd; }
.cookies div { display: flex; gap: 8px; flex: none; }

@media (max-width: 1080px) {
  #apps .apps-grade { grid-template-columns: repeat(2, 1fr); }
  .como-grade { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .proposta.quatro { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  #apps .apps-grade, .como-grade { grid-template-columns: 1fr; }
  .kb-dica { flex-wrap: wrap; align-items: flex-start; gap: 14px; padding: 18px; }
  .kb-dica-ic { width: 52px; height: 52px; }
  .kb-dica-ic svg { width: 26px; height: 26px; }
  .kb-dica > div { flex: 1 1 200px; min-width: 0; }
  .kb-dica p { font-size: 15.5px; }
  .kb-dica-seta { display: none; }
  .serv-cab .pr.tem { justify-self: start; }
  .marca .bandeira { width: 24px; height: 16px; }
  .cookies { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .kb-dica-ic, .kb-dica-seta, .kb.ensina .kb-col:first-child .kb-col-cab + .kb-card, .kb.ensina .kb-col:first-child .kb-col-cab + .kb-card::after { animation: none; }
}

/* botão fixo de WhatsApp (página de anúncio do Brasil, PAGINA.zapFixo) */
.zap-fixo { position: fixed; right: 18px; bottom: 18px; z-index: 160; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #25d366; color: #06210f; font-size: 15px; font-weight: 700; text-decoration: none; box-shadow: 0 14px 40px rgba(0,0,0,.45); transition: transform .25s, box-shadow .25s; }
.zap-fixo:hover { transform: translateY(-2px); box-shadow: 0 18px 48px rgba(0,0,0,.55); }
.zap-fixo svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
@media (max-width: 600px) { .zap-fixo { right: 14px; bottom: 14px; padding: 13px; } .zap-fixo span { display: none; } }
