/* Portal do cliente — identidade da João Ativa Negócios (JoaoAtivaNegocios/css/style.css e brand/brand-book.html), e a de cada
   marca no fim do :root (tarefa 28, 2/11/2026): In Digi (violeta, Montserrat — o site in-digi.com) e Company Formation (azul petróleo
   e ciano, Heebo e Libre Franklin — a plataforma companyformation.lu). A página é a mesma; mudam as cores, as letras e o logótipo. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(fonts/sora-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(fonts/sora-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* as letras das outras marcas: o navegador só as descarrega na página dessa marca */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/montserrat-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/montserrat-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/heebo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/heebo-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/libre-franklin-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Libre Franklin"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/libre-franklin-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ciano: #0cc0df;
  --azul: #046bd2;
  --acento-rgb: 12, 192, 223;   /* o --ciano, para as transparências */
  --acento2-rgb: 4, 107, 210;   /* o --azul */
  --sobre-acento: #021018;      /* o texto e o visto em cima do gradiente */
  --fundo: #050505;
  --fundo-rgb: 5, 5, 5;
  --superficie: #0c0e12;
  --superficie-2: #12151b;
  --borda: rgba(255, 255, 255, 0.08);
  --borda-forte: rgba(255, 255, 255, 0.16);
  --texto: #f4f7fb;
  --texto-suave: rgba(244, 247, 251, 0.68);
  --texto-fraco: rgba(244, 247, 251, 0.45);
  /* cores dos estados (pedido do João, 29/10/2026: o concluído no azul da marca, o resto em amarelo/laranja/vermelho):
     azul (ciano) = concluído · amarelo = à espera de nós ou da entidade · laranja = falta o cliente fazer · vermelho = problema ou atraso.
     Sem verde: o botão do WhatsApp também usa o azul da marca (pedido do Rodolfo e do João, 29/10/2026). */
  --coral: #ff6b6b;
  --ambar: #f5b84a;
  --laranja: #ff8a3d;
  --gradiente: linear-gradient(120deg, var(--ciano), var(--azul));
  --raio: 14px;
  --fonte-titulo: "Sora", "Inter", system-ui, sans-serif;
  --fonte: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
/* a marca do cliente (tarefa 28, 2/11/2026): o portal.js põe data-marca no <html> pela ficha (antes de ler, pelo endereço) */
html[data-marca="indigi"] {
  --ciano: #c27bff; --azul: #8a1fe6; --acento-rgb: 194, 123, 255; --acento2-rgb: 157, 0, 255;
  --fundo: #09060f; --fundo-rgb: 9, 6, 15; --superficie: #120d1c; --superficie-2: #191124;
  --gradiente: linear-gradient(120deg, #a63cff, #7a00d1); --sobre-acento: #ffffff;
  --fonte-titulo: "Montserrat", system-ui, sans-serif;
  --fonte: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
html[data-marca="cf"] {
  --ciano: #22aad2; --azul: #0f7a9b; --acento-rgb: 34, 170, 210; --acento2-rgb: 15, 122, 155;
  --fundo: #060f1a; --fundo-rgb: 6, 15, 26; --superficie: #0b1726; --superficie-2: #10213a;
  --gradiente: linear-gradient(120deg, #22aad2, #0f7a9b); --sobre-acento: #021018;
  --fonte-titulo: "Heebo", "Libre Franklin", system-ui, sans-serif;
  --fonte: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--fundo); color: var(--texto);
  font-family: var(--fonte); font-size: 16px; line-height: 1.55;
  background-image: radial-gradient(60rem 28rem at 85% -10%, rgba(var(--acento-rgb), 0.13), transparent 60%),
                    radial-gradient(50rem 24rem at -10% 10%, rgba(var(--acento2-rgb), 0.12), transparent 60%);
  background-repeat: no-repeat;
}
img { max-width: 100%; display: block; }
a { color: var(--ciano); }
:focus-visible { outline: 2px solid var(--ciano); outline-offset: 3px; border-radius: 6px; }
.visivel-so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 1rem; top: -3rem; background: var(--superficie); padding: .5rem .75rem; border-radius: 8px; z-index: 10; }
.saltar:focus { top: 1rem; }

.topo { position: sticky; top: 0; z-index: 5; backdrop-filter: blur(12px); background: rgba(var(--fundo-rgb), 0.72); border-bottom: 1px solid var(--borda); }
.topo-dentro { max-width: 760px; margin: 0 auto; padding: .7rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { height: 38px; width: auto; }
.lingua select {
  appearance: none; background: var(--superficie); color: var(--texto); border: 1px solid var(--borda-forte);
  border-radius: 999px; padding: .4rem 2rem .4rem .9rem; font: 600 .85rem var(--fonte); cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--texto-suave) 50%), linear-gradient(135deg, var(--texto-suave) 50%, transparent 50%);
  background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}

.conteudo { max-width: 760px; margin: 0 auto; padding: 1.5rem 1rem 2rem; display: grid; gap: 1rem; }
.cartao { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio); padding: 1.25rem; }
@media (min-width: 640px) { .cartao { padding: 1.6rem 1.75rem; } .conteudo { padding-top: 2.25rem; gap: 1.25rem; } }
h1, h2, h3 { font-family: var(--fonte-titulo); line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.7rem, 4.6vw, 2.3rem); font-weight: 700; }
h2 { font-size: 1.15rem; font-weight: 600; margin-bottom: .9rem; }
h3 { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--texto-fraco); margin: 1.1rem 0 .55rem; font-family: var(--fonte); }
p { margin: 0; }
.suave { color: var(--texto-suave); }
.fraco { color: var(--texto-fraco); font-size: .88rem; }

/* cabeçalho do cliente */
.ola { display: grid; gap: .55rem; padding-top: .25rem; }
.ola .sobre { color: var(--texto-suave); font-size: 1rem; }
.ola .empresa { font-weight: 600; color: var(--texto); }
.aviso-demo { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 600; color: var(--ambar);
  border: 1px solid rgba(245, 184, 74, .35); background: rgba(245, 184, 74, .08); border-radius: 999px; padding: .25rem .7rem; width: fit-content; }

/* próximo passo */
.proximo { position: relative; border: 1px solid transparent; background:
  linear-gradient(var(--superficie-2), var(--superficie-2)) padding-box, var(--gradiente) border-box; }
.proximo .rotulo { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--gradiente); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .45rem; }
.proximo p.texto { font-size: 1.08rem; font-weight: 500; }
.proximo.pausa { background: linear-gradient(var(--superficie-2), var(--superficie-2)) padding-box, linear-gradient(120deg, var(--ambar), #d98a1c) border-box; }
/* o próximo passo dentro da linha de um serviço (ajuda, diploma, SME) */
.proximo-linha { margin-top: 1.1rem; padding: .8rem .95rem; border-radius: 12px; border: 1px solid transparent; background:
  linear-gradient(var(--superficie-2), var(--superficie-2)) padding-box, var(--gradiente) border-box; }
.proximo-linha .rotulo { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--gradiente); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .3rem; }
.proximo-linha p.texto { font-weight: 500; }
.linha-servico > .fraco { margin-top: .6rem; }

/* etapas */
.etapas { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.etapa { display: grid; grid-template-columns: 1.9rem 1fr; gap: .8rem; position: relative; padding-bottom: 1rem; }
.etapa:last-child { padding-bottom: 0; }
.etapa::before { content: ""; position: absolute; left: calc(.95rem - 1px); top: 1.9rem; bottom: 0; width: 2px; background: var(--borda-forte); }
.etapa:last-child::before { display: none; }
.etapa.feita::before { background: linear-gradient(var(--ciano), var(--azul)); }
.bola { width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; font-size: .82rem; font-weight: 700;
  border: 2px solid var(--borda-forte); color: var(--texto-fraco); background: var(--fundo); position: relative; z-index: 1; }
.etapa.feita .bola { border-color: transparent; background: var(--gradiente); color: var(--sobre-acento); }
/* o visto desenhado (2/11/2026): o «✓» da letra saía fino e torto no iPhone; assim é igual em todos os telemóveis */
.etapa.feita .bola::after { content: ""; width: .36rem; height: .66rem; margin-top: -.12rem; border: solid var(--sobre-acento); border-width: 0 .16rem .16rem 0; border-radius: 1px; transform: rotate(45deg); }
.etapa.atual .bola { border-color: var(--ciano); color: var(--ciano); box-shadow: 0 0 0 4px rgba(var(--acento-rgb), .16), 0 0 24px rgba(var(--acento-rgb), .35); }
.etapa .nome { padding-top: .2rem; color: var(--texto-fraco); }
.etapa.feita .nome { color: var(--texto-suave); }
.etapa.atual .nome { color: var(--texto); font-weight: 600; }
.etiqueta-agora { display: inline-block; margin-left: .5rem; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .1rem .5rem; border-radius: 999px; background: rgba(var(--acento-rgb), .14); color: var(--ciano); vertical-align: 2px; }
.etapa .nome .chip { display: inline-block; margin-left: .5rem; font-weight: 600; vertical-align: 1px; }
.etapa .nome .detalhe { display: block; font-size: .85rem; font-weight: 400; color: var(--texto-fraco); margin-top: .1rem; }

/* listas */
.lista { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.lista li { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: start; padding: .7rem .85rem; border-radius: 10px;
  background: rgba(255, 255, 255, .025); border: 1px solid var(--borda); }
.lista li .principal { min-width: 0; }
.lista li .principal span { display: block; }
.lista .ponto { width: .55rem; height: .55rem; border-radius: 50%; margin-top: .5rem; background: var(--texto-fraco); }
.lista .ponto.falta { background: var(--laranja); box-shadow: 0 0 10px rgba(255, 138, 61, .5); }
.lista .ponto.ok { background: var(--gradiente); }
.lista .ponto.analise { background: var(--ambar); }
.lista .ponto.feito { background: var(--gradiente); }
.lista .detalhe { font-size: .85rem; color: var(--texto-fraco); margin-top: .1rem; }
.lista .detalhe.alerta { color: var(--ambar); }
.vazio { color: var(--texto-suave); padding: .2rem 0; }
.tudo-certo { display: flex; gap: .6rem; align-items: center; color: var(--texto-suave); }
.tudo-certo::before { content: ""; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: rgba(var(--acento-rgb), .15); }
.tudo-certo { position: relative; }
.tudo-certo::after { content: ""; position: absolute; left: .58rem; top: 50%; width: .3rem; height: .58rem; margin-top: -.36rem; border: solid var(--ciano); border-width: 0 .15rem .15rem 0; transform: rotate(45deg); }

/* um cartão por serviço (2/11/2026): o nome, «2 de 9 etapas» e a barra do que está feito */
.servico { position: relative; overflow: hidden; }
.servico::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gradiente); }
.cab-servico { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem .8rem; }
.cab-servico h2 { margin: 0; }
.barra { height: 6px; border-radius: 999px; background: var(--borda-forte); overflow: hidden; margin: .75rem 0 1.15rem; }
.barra span { display: block; height: 100%; border-radius: 999px; background: var(--gradiente); min-width: 6px; }
.servico .proximo-linha { margin-top: 1.2rem; }
.servico > h3:first-of-type { margin-top: 1.3rem; }
.proximo-linha.pausa { background: linear-gradient(var(--superficie-2), var(--superficie-2)) padding-box, linear-gradient(120deg, var(--ambar), #d98a1c) border-box; }
.proximo-linha.pausa .rotulo { background: linear-gradient(120deg, var(--ambar), #d98a1c); -webkit-background-clip: text; background-clip: text; }
.resumo-servicos { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.resumo-servicos li { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .55rem .8rem; border-radius: 10px; border: 1px solid var(--borda); background: rgba(255, 255, 255, .025); }
.resumo-servicos .nome { font-weight: 600; }
.ola h3 { margin: .9rem 0 .1rem; }

.chip { font-size: .75rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; white-space: nowrap; border: 1px solid var(--borda-forte); color: var(--texto-suave); align-self: center; }
.chip.ok { color: var(--ciano); border-color: rgba(var(--acento-rgb), .45); background: rgba(var(--acento-rgb), .1); }        /* concluído: paga, aceite */
.chip.analise { color: var(--ambar); border-color: rgba(245, 184, 74, .45); background: rgba(245, 184, 74, .08); }   /* à espera: em análise, pedido entregue, em conferência */
.chip.pendente { color: var(--laranja); border-color: rgba(255, 138, 61, .45); background: rgba(255, 138, 61, .08); } /* falta o cliente: por pagar, parcial */
.chip.atencao { color: var(--coral); border-color: rgba(255, 107, 107, .45); background: rgba(255, 107, 107, .08); }  /* problema: vencida, substituir */

/* faturas */
.nota-faturas { margin: -.3rem 0 .8rem; font-size: .9rem; }
.faturas { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.fatura { display: grid; grid-template-columns: 1fr auto; gap: .35rem .8rem; padding: .85rem .95rem; border-radius: 10px; border: 1px solid var(--borda); background: rgba(255, 255, 255, .025); }
.fatura .numero { font-weight: 600; }
.fatura .valor { font-family: var(--fonte-titulo); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.fatura .datas { font-size: .85rem; color: var(--texto-fraco); }
.fatura .acoes { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; margin-top: .25rem; }
.botao { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.5rem; padding: .55rem 1.1rem; border-radius: 999px;
  font: 600 .92rem var(--fonte); text-decoration: none; border: 1px solid var(--borda-forte); color: var(--texto); background: transparent; cursor: pointer; }
.botao.cheio { border-color: transparent; background: var(--gradiente); color: var(--sobre-acento); }
.botao.whatsapp { border-color: transparent; background: var(--gradiente); color: var(--sobre-acento); }
.botao:hover { filter: brightness(1.08); }

/* serviços sugeridos (tarefa 28) */
.nota-sugeridos { margin: -.3rem 0 .9rem; font-size: .92rem; }
.sugestoes { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.sugestao { display: grid; gap: .65rem; align-items: center; padding: .85rem .95rem; border-radius: 10px; border: 1px solid var(--borda); background: rgba(255, 255, 255, .025); }
@media (min-width: 640px) { .sugestao { grid-template-columns: 1fr auto; } }
.sugestao .principal { min-width: 0; }
.sugestao .nome { display: block; font-weight: 600; }
.sugestao .detalhe { display: block; font-size: .88rem; color: var(--texto-suave); margin-top: .15rem; }
.sugestao .botao { justify-self: start; }
.sugestao .botao:disabled { opacity: .6; cursor: wait; }
.interesse-ok { font-size: .88rem; font-weight: 600; color: var(--ciano); }
.interesse-erro { grid-column: 1 / -1; font-size: .85rem; color: var(--coral); }

/* ajuda */
.ajuda { display: grid; gap: .8rem; }
@media (min-width: 640px) { .ajuda { grid-template-columns: 1fr auto; align-items: center; } }

/* estados da página */
.estado { min-height: 9rem; }
.esqueleto { display: grid; gap: .8rem; }
.esqueleto span { display: block; height: .95rem; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.09), rgba(255,255,255,.04)); background-size: 200% 100%; animation: brilho 1.4s infinite; }
.esqueleto span:nth-child(1) { width: 55%; height: 1.6rem; }
.esqueleto span:nth-child(2) { width: 85%; }
.esqueleto span:nth-child(3) { width: 70%; }
@keyframes brilho { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.erro h1 { font-size: 1.4rem; margin-bottom: .6rem; }
.erro p { color: var(--texto-suave); }
.erro .botao { margin-top: 1rem; }

.rodape { max-width: 760px; margin: 0 auto; padding: .5rem 1rem 2.5rem; color: var(--texto-fraco); font-size: .82rem; display: grid; gap: .25rem; text-align: center; }
.rodape .marca { font-family: var(--fonte-titulo); font-weight: 600; letter-spacing: .02em; color: var(--texto-suave); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
